v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141381,185842.7 KB

For a specified resource ID, this API operation returns a list of compliance statuses for different resource types. Currently, you can only specify one resource ID per call. List results depend on the criteria specified in the filter.

post/#X-Amz-Target=AmazonSSM.ListComplianceItems

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'AmazonSSM.ListComplianceItems' required

Request body

ResourceIdsComplianceResourceId[]

The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.

ResourceTypesComplianceResourceType[]

The type of resource from which to get compliance information. Currently, the only supported resource type is <code>ManagedInstance</code>.

NextTokenstring

A token to start the list. Use this token to get the next set of results.

MaxResultsinteger

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Response

Success

NextTokenstring

The token for the next set of items to return. Use this token to get the next set of results.