v1

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

Describes the permissions for a Amazon Web Services Systems Manager document (SSM document). If you created the document, you are the owner. If a document is shared, it can either be shared privately (by specifying a user's Amazon Web Services account ID) or publicly (<i>All</i>).

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

Headers

X-Amz-Target'AmazonSSM.DescribeDocumentPermission' required

Request body

Namestring required

The name of the document for which you are the owner.

PermissionType'Share' required

The permission type for the document. The permission type can be <i>Share</i>.

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.

NextTokenstring

The token for the next set of items to return. (You received this token from a previous call.)

Response

Success

AccountIdsAccountId[]

The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or <i>All</i>.

NextTokenstring

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