- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
/
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 '{
"Entries": []
}'
Response Response Example
200 - Example 1
{
"Successful": [],
"Failed": []
}
Request
Header Params
X-Amz-Target
stringÂ
required
Body Params application/json
Entries
array[object (CreateAssociationBatchRequestEntry) {19}]Â
required
>= 1 items
Name
stringÂ
required
arn:aws:ssm:region:account-id:document/document-name
arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document
AWS-ApplyPatchBaseline
or My-Document
.Match pattern:
^[a-zA-Z0-9_\-.:/]{3,128}$
InstanceId
stringÂ
optional
Match pattern:
(^i-(\w{8}|\w{17})$)|(^mi-\w{17}$)
Parameters
objectÂ
optional
AutomationTargetParameterName
stringÂ
optional
>= 1 characters<= 50 characters
DocumentVersion
stringÂ
optional
Match pattern:
([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)
Targets
array [object]Â
optional
>= 0 items<= 5 items
ScheduleExpression
stringÂ
optional
>= 1 characters<= 256 characters
OutputLocation
objectÂ
optional
AssociationName
stringÂ
optional
Match pattern:
^[a-zA-Z0-9_\-.]{3,128}$
MaxErrors
stringÂ
optional
MaxError
to 10%, then the system stops sending the request when the sixth error is received.MaxErrors
is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set MaxConcurrency
to 1 so that executions proceed one at a time.>= 1 characters<= 7 characters
Match pattern:
^([1-9][0-9]*|[0]|[1-9][0-9]%|[0-9]%|100%)$
MaxConcurrency
stringÂ
optional
MaxConcurrency
associations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for MaxConcurrency
.>= 1 characters<= 7 characters
Match pattern:
^([1-9][0-9]*|[1-9][0-9]%|[1-9]%|100%)$
ComplianceSeverity
enum<string>Â
optional
Allowed values:
CRITICALHIGHMEDIUMLOWUNSPECIFIED
SyncCompliance
enum<string>Â
optional
AUTO
or MANUAL
. In AUTO
mode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is COMPLIANT
. If the association execution doesn't run successfully, the association is NON-COMPLIANT
. MANUAL
mode, you must specify the AssociationId
as a parameter for the PutComplianceItems API operation. In this case, compliance data isn't managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the PutComplianceItems API operation.AUTO
mode.Allowed values:
AUTOMANUAL
ApplyOnlyAtCronInterval
booleanÂ
optional
CalendarNames
array[string]
optional
TargetLocations
array[object (TargetLocation) {6}]Â
optional
>= 1 items<= 100 items
ScheduleOffset
integerÂ
optional
>= 1<= 6
TargetMaps
array[object (TargetMap)]Â
optional
>= 0 items<= 300 items
AlarmConfiguration
objectÂ
AlarmConfiguration
Examples
Responses
🟢200Success
application/json
Body
Successful
array[object (AssociationDescription) {28}]Â
optional
Name
stringÂ
optional
Match pattern:
^[a-zA-Z0-9_\-.:/]{3,128}$
InstanceId
stringÂ
optional
Match pattern:
(^i-(\w{8}|\w{17})$)|(^mi-\w{17}$)
AssociationVersion
stringÂ
optional
Match pattern:
([$]LATEST)|([1-9][0-9]*)
Date
string <date-time>
optional
LastUpdateAssociationDate
string <date-time>
optional
Status
objectÂ
optional
Overview
objectÂ
optional
DocumentVersion
stringÂ
optional
Match pattern:
([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)
AutomationTargetParameterName
stringÂ
optional
>= 1 characters<= 50 characters
Parameters
objectÂ
optional
AssociationId
stringÂ
optional
Match pattern:
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Targets
array [object]Â
optional
>= 0 items<= 5 items
ScheduleExpression
stringÂ
optional
>= 1 characters<= 256 characters
OutputLocation
objectÂ
optional
LastExecutionDate
string <date-time>
optional
LastSuccessfulExecutionDate
string <date-time>
optional
AssociationName
stringÂ
optional
Match pattern:
^[a-zA-Z0-9_\-.]{3,128}$
MaxErrors
stringÂ
optional
MaxError
to 10%, then the system stops sending the request when the sixth error is received.MaxErrors
is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set MaxConcurrency
to 1 so that executions proceed one at a time.>= 1 characters<= 7 characters
Match pattern:
^([1-9][0-9]*|[0]|[1-9][0-9]%|[0-9]%|100%)$
MaxConcurrency
stringÂ
optional
MaxConcurrency
associations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for MaxConcurrency
.>= 1 characters<= 7 characters
Match pattern:
^([1-9][0-9]*|[1-9][0-9]%|[1-9]%|100%)$
ComplianceSeverity
enum<string>Â
optional
Allowed values:
CRITICALHIGHMEDIUMLOWUNSPECIFIED
SyncCompliance
enum<string>Â
optional
AUTO
or MANUAL
. In AUTO
mode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is COMPLIANT
. If the association execution doesn't run successfully, the association is NON-COMPLIANT
.MANUAL
mode, you must specify the AssociationId
as a parameter for the PutComplianceItems API operation. In this case, compliance data isn't managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the PutComplianceItems API operation.AUTO
mode.Allowed values:
AUTOMANUAL
ApplyOnlyAtCronInterval
booleanÂ
optional
CalendarNames
array[string]
optional
TargetLocations
array[object (TargetLocation) {6}]Â
optional
>= 1 items<= 100 items
ScheduleOffset
integerÂ
optional
>= 1<= 6
TargetMaps
array[object (TargetMap)]Â
optional
>= 0 items<= 300 items
AlarmConfiguration
objectÂ
AlarmConfiguration
TriggeredAlarms
array[object (AlarmStateInformation) {2}]Â
optional
>= 1 items<= 1 items
Failed
array[object (FailedCreateAssociation) {3}]Â
optional
Entry
objectÂ
optional
Message
stringÂ
optional
Fault
enum<string>Â
optional
Allowed values:
ClientServerUnknown
đźź 480InternalServerError
đźź 481InvalidDocument
đźź 482InvalidDocumentVersion
đźź 483InvalidInstanceId
đźź 484InvalidParameters
đźź 485DuplicateInstanceId
đźź 486AssociationLimitExceeded
đźź 487UnsupportedPlatformType
đźź 488InvalidOutputLocation
đźź 489InvalidTarget
đźź 490InvalidSchedule
đźź 491InvalidTargetMaps