- /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 '{
"InstanceIds": [],
"NextToken": "string",
"MaxResults": 0
}'
Response Response Example
200 - Example 1
{
"InstancePatchStates": [],
"NextToken": "string"
}
Request
Query Params
MaxResults
stringÂ
optional
NextToken
stringÂ
optional
Header Params
X-Amz-Target
stringÂ
required
Body Params application/json
InstanceIds
array[string]
required
>= 0 items<= 50 items
NextToken
stringÂ
optional
MaxResults
integerÂ
optional
>= 10<= 100
Examples
Responses
🟢200Success
application/json
Body
InstancePatchStates
array[object (InstancePatchState) {22}]Â
optional
InstanceId
stringÂ
required
Match pattern:
(^i-(\w{8}|\w{17})$)|(^mi-\w{17}$)
PatchGroup
stringÂ
required
>= 1 characters<= 256 characters
Match pattern:
^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
BaselineId
stringÂ
required
>= 20 characters<= 128 characters
Match pattern:
^[a-zA-Z0-9_\-:/]{20,128}$
SnapshotId
stringÂ
optional
>= 36 characters<= 36 characters
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}$
InstallOverrideList
stringÂ
optional
AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.InstallOverrideList
parameter, see About the AWS-RunPatchBaseline
SSM document in the Amazon Web Services Systems Manager User Guide.>= 1 characters<= 256 characters
Match pattern:
^https://.+$|^s3://([^/]+)/(.*?([^/]+))$
OwnerInformation
string <password>
optional
>= 1 characters<= 128 characters
InstalledCount
integerÂ
optional
InstalledOtherCount
integerÂ
optional
InstalledPendingRebootCount
integerÂ
optional
InstalledRejectedCount
integerÂ
optional
RejectedPatches
list. Patches with a status of InstalledRejected
were typically installed before they were added to a RejectedPatches
list.MissingCount
integerÂ
optional
FailedCount
integerÂ
optional
UnreportedNotApplicableCount
integerÂ
optional
NotApplicableCount
that aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.NotApplicableCount
integerÂ
optional
UnreportedNotApplicableCount
.OperationStartTime
string <date-time>
required
OperationEndTime
string <date-time>
required
Operation
enum<string>Â
required
-
SCAN
assesses the patch compliance state. -
INSTALL
installs missing patches.
Allowed values:
ScanInstall
LastNoRebootInstallOperationTime
string <date-time>
optional
NoReboot
specified as the reboot option.RebootOption
enum<string>Â
optional
-
RebootIfNeeded
: Patch Manager tries to reboot the managed node if it installed any patches, or if any patches are detected with a status ofInstalledPendingReboot
. -
NoReboot
: Patch Manager attempts to install missing packages without trying to reboot the system. Patches installed with this option are assigned a status ofInstalledPendingReboot
. These patches might not be in effect until a reboot is performed.
Allowed values:
RebootIfNeededNoReboot
CriticalNonCompliantCount
integerÂ
optional
Critical
for compliance reporting in the patch baseline aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes is NON_COMPLIANT
.SecurityNonCompliantCount
integerÂ
optional
Security
in a patch advisory aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes is NON_COMPLIANT
.OtherNonCompliantCount
integerÂ
optional
Critical
or Security
but aren't compliant with the patch baseline. The status of these managed nodes is NON_COMPLIANT
.NextToken
stringÂ
optional
🟠480InternalServerError
🟠481InvalidNextToken