v1

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

Returns an array of the <code>Policy</code> object.

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

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'AmazonSSM.GetResourcePolicies' required

Request body

ResourceArnstring required

Amazon Resource Name (ARN) of the resource to which the policies are attached.

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.