Returns 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.
opensearchserviceserverless_list_lifecycle_policies(
type,
resources = NULL,
nextToken = NULL,
maxResults = NULL
)
[required] The type of lifecycle policy.
Resource filters that policies can apply to. Currently, the only
supported resource type is index
.
If your initial
list_lifecycle_policies
operation returns a nextToken
, you can include the returned
nextToken
in subsequent
list_lifecycle_policies
operations, which returns results in the next page.
An optional parameter that specifies the maximum number of results to
return. You can use use nextToken
to get the next page of results. The
default is 10.