Skip to content

/AWS1/CL_OSS=>LISTSECURITYPOLICIES()

About ListSecurityPolicies

Returns information about configured OpenSearch Serverless security policies.

Method Signature

IMPORTING

Required arguments:

IV_TYPE TYPE /AWS1/OSSSECURITYPOLICYTYPE /AWS1/OSSSECURITYPOLICYTYPE

The type of policy.

Optional arguments:

IT_RESOURCE TYPE /AWS1/CL_OSSRESOURCEFILTER_W=>TT_RESOURCEFILTER TT_RESOURCEFILTER

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

IV_NEXTTOKEN TYPE /AWS1/OSSSTRING /AWS1/OSSSTRING

If your initial ListSecurityPolicies operation returns a nextToken, you can include the returned nextToken in subsequent ListSecurityPolicies 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_OSSLISTSECPOLRESPONSE /AWS1/CL_OSSLISTSECPOLRESPONSE