v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1446252177.2 KB

Returns information about a list of OpenSearch Serverless access policies.

post/#X-Amz-Target=OpenSearchServerless.ListAccessPolicies

Headers

X-Amz-Target'OpenSearchServerless.ListAccessPolicies' required

Request body

type'data' required

The type of access policy.

resourceResource[]

Resource filters (can be collections or indexes) that policies can apply to.

nextTokenstring

If your initial <code>ListAccessPolicies</code> operation returns a <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent <code>ListAccessPolicies</code> operations, which returns results in the next page.

maxResultsinteger

An optional parameter that specifies the maximum number of results to return. You can use <code>nextToken</code> to get the next page of results. The default is 20.

Response

Success

nextTokenstring

When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.