opensearchserviceserverless_create_lifecycle_policy {paws.analytics} | R Documentation |
Creates a lifecyle policy to be applied to OpenSearch Serverless indexes
Description
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.
Usage
opensearchserviceserverless_create_lifecycle_policy(
type,
name,
description = NULL,
policy,
clientToken = NULL
)
Arguments
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. |
[Package paws.analytics version 0.9.0 Index]