Updates an OpenSearch Serverless access policy
Source:R/opensearchserviceserverless_operations.R
opensearchserviceserverless_update_lifecycle_policy.RdUpdates 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(
type,
name,
policyVersion,
description = NULL,
policy = NULL,
clientToken = NULL
)Arguments
- type
[required] The type of lifecycle policy.
- name
[required] The name of the policy.
- policyVersion
[required] The version of the policy being updated.
- description
A description of the lifecycle policy.
- policy
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.