v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1466336354.1 KB

Returns policies attached to an object in pagination fashion.

post/amazonclouddirectory/2017-01-11/object/policy#x-amz-data-partition

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

x-amz-data-partitionstring required

The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where objects reside. For more information, see <a>arns</a>.

x-amz-consistency-level'SERIALIZABLE' | 'EVENTUAL'

Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.

Request body

NextTokenstring

The pagination token.

MaxResultsinteger

The maximum number of items to be retrieved in a single call. This is an approximate number.

Response

Success

AttachedPolicyIdsObjectIdentifier[]

A list of policy <code>ObjectIdentifiers</code>, that are attached to the object.

NextTokenstring

The pagination token.