Skip to content

/AWS1/CL_OSS=>LISTACCESSPOLICIES()

About ListAccessPolicies

Returns information about a list of OpenSearch Serverless access policies.

Method Signature

IMPORTING

Required arguments:

IV_TYPE TYPE /AWS1/OSSACCESSPOLICYTYPE /AWS1/OSSACCESSPOLICYTYPE

The type of access policy.

Optional arguments:

IT_RESOURCE TYPE /AWS1/CL_OSSRESOURCEFILTER_W=>TT_RESOURCEFILTER TT_RESOURCEFILTER

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

IV_NEXTTOKEN TYPE /AWS1/OSSSTRING /AWS1/OSSSTRING

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

IV_MAXRESULTS TYPE /AWS1/OSSINTEGER /AWS1/OSSINTEGER

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_OSSLISTACCESSPOLRSP /AWS1/CL_OSSLISTACCESSPOLRSP