Skip to content

Delete Lifecycle Policy

opensearchserviceserverless_delete_lifecycle_policy R Documentation

Deletes an OpenSearch Serverless lifecycle policy

Description

Deletes an OpenSearch Serverless lifecycle policy. For more information, see Deleting data lifecycle policies.

Usage

opensearchserviceserverless_delete_lifecycle_policy(clientToken, name,
  type)

Arguments

clientToken

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

name

[required] The name of the policy to delete.

type

[required] The type of lifecycle policy.

Value

An empty list.

Request syntax

svc$delete_lifecycle_policy(
  clientToken = "string",
  name = "string",
  type = "retention"
)