Returns information about a list of OpenSearch Serverless access policies¶
Description¶
Returns information about a list of OpenSearch Serverless access policies.
Usage¶
Arguments¶
-
type[required] The type of access policy.
-
resourceResource filters (can be collections or indexes) that policies can apply to.
-
nextTokenIf your initial
list_access_policiesoperation returns anextToken, you can include the returnednextTokenin subsequentlist_access_policiesoperations, which returns results in the next page. -
maxResultsAn optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. The default is 20.
Value¶
A list with the following syntax:
list(
accessPolicySummaries = list(
list(
type = "data",
name = "string",
policyVersion = "string",
description = "string",
createdDate = 123,
lastModifiedDate = 123
)
),
nextToken = "string"
)