/
The Amazon SSM multi-region endpoint
http://ssm.{region}.amazonaws.com
The Amazon SSM multi-region endpoint
http://ssm.{region}.amazonaws.com
POST
/
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://ssm.{region}.amazonaws.com/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
"Content": "string",
"Requires": [],
"Attachments": [],
"Name": "string",
"DisplayName": "string",
"VersionName": "string",
"DocumentType": "Command",
"DocumentFormat": "YAML",
"TargetType": "string",
"Tags": []
}'
Response Response Example
200 - Example 1
{
"DocumentDescription": {
"Sha1": "string",
"Hash": "string",
"HashType": "Sha256",
"Name": "string",
"DisplayName": "string",
"VersionName": "string",
"Owner": "string",
"CreatedDate": "string",
"Status": "Creating",
"StatusInformation": "string",
"DocumentVersion": "string",
"Description": "string",
"Parameters": [],
"PlatformTypes": [],
"DocumentType": "Command",
"SchemaVersion": "string",
"LatestVersion": "string",
"DefaultVersion": "string",
"DocumentFormat": "YAML",
"TargetType": "string",
"Tags": [],
"AttachmentsInformation": [],
"Requires": [],
"Author": "string",
"ReviewInformation": [],
"ApprovedVersion": "string",
"PendingReviewVersion": "string",
"ReviewStatus": "APPROVED",
"Category": [],
"CategoryEnum": []
}
}
Request
Header Params
X-Amz-Target
stringÂ
required
Body Params application/json