Learn R Programming

paws.analytics (version 0.7.0)

opensearchserviceserverless_update_lifecycle_policy: Updates an OpenSearch Serverless access policy

Description

Updates an OpenSearch Serverless access policy. For more information, see Updating data lifecycle policies.

See https://www.paws-r-sdk.com/docs/opensearchserviceserverless_update_lifecycle_policy/ for full documentation.

Usage

opensearchserviceserverless_update_lifecycle_policy(
  clientToken = NULL,
  description = NULL,
  name,
  policy = NULL,
  policyVersion,
  type
)

Arguments

clientToken

A unique, case-sensitive identifier to ensure idempotency of the request.

description

A description of the lifecycle policy.

name

[required] The name of the policy.

policy

The JSON policy document to use as the content for the lifecycle policy.

policyVersion

[required] The version of the policy being updated.

type

[required] The type of lifecycle policy.