View source: R/opensearchserviceserverless_operations.R
opensearchserviceserverless_create_lifecycle_policy | R Documentation |
Creates a lifecyle policy to be applied to OpenSearch Serverless indexes. Lifecycle policies define the number of days or hours to retain the data on an OpenSearch Serverless index. For more information, see Creating data lifecycle policies.
See https://www.paws-r-sdk.com/docs/opensearchserviceserverless_create_lifecycle_policy/ for full documentation.
opensearchserviceserverless_create_lifecycle_policy(
type,
name,
description = NULL,
policy,
clientToken = NULL
)
type |
[required] The type of lifecycle policy. |
name |
[required] The name of the lifecycle policy. |
description |
A description of the lifecycle policy. |
policy |
[required] The JSON policy document to use as the content for the lifecycle policy. |
clientToken |
A unique, case-sensitive identifier to ensure idempotency of the request. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.