Returns a list of OpenSearch Serverless lifecycle policies
Source:R/opensearchserviceserverless_operations.R
opensearchserviceserverless_list_lifecycle_policies.RdReturns a list of OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
See https://www.paws-r-sdk.com/docs/opensearchserviceserverless_list_lifecycle_policies/ for full documentation.
Usage
opensearchserviceserverless_list_lifecycle_policies(
type,
resources = NULL,
nextToken = NULL,
maxResults = NULL
)Arguments
- type
[required] The type of lifecycle policy.
- resources
Resource filters that policies can apply to. Currently, the only supported resource type is
index.- nextToken
If your initial
list_lifecycle_policiesoperation returns anextToken, you can include the returnednextTokenin subsequentlist_lifecycle_policiesoperations, which returns results in the next page.- maxResults
An optional parameter that specifies the maximum number of results to return. You can use use
nextTokento get the next page of results. The default is 10.