Skip to content

Batch Get Lifecycle Policy

opensearchserviceserverless_batch_get_lifecycle_policy R Documentation

Returns one or more configured OpenSearch Serverless lifecycle policies

Description

Returns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.

Usage

opensearchserviceserverless_batch_get_lifecycle_policy(identifiers)

Arguments

identifiers

[required] The unique identifiers of policy types and policy names.

Value

A list with the following syntax:

list(
  lifecyclePolicyDetails = list(
    list(
      createdDate = 123,
      description = "string",
      lastModifiedDate = 123,
      name = "string",
      policy = list(),
      policyVersion = "string",
      type = "retention"
    )
  ),
  lifecyclePolicyErrorDetails = list(
    list(
      errorCode = "string",
      errorMessage = "string",
      name = "string",
      type = "retention"
    )
  )
)

Request syntax

svc$batch_get_lifecycle_policy(
  identifiers = list(
    list(
      name = "string",
      type = "retention"
    )
  )
)