Class: Aws::OpenSearchServerless::Types::CreateLifecyclePolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-opensearchserverless/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 658

class CreateLifecyclePolicyRequest < Struct.new(
  :client_token,
  :description,
  :name,
  :policy,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the lifecycle policy.

Returns:

  • (String)


658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 658

class CreateLifecyclePolicyRequest < Struct.new(
  :client_token,
  :description,
  :name,
  :policy,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the lifecycle policy.

Returns:

  • (String)


658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 658

class CreateLifecyclePolicyRequest < Struct.new(
  :client_token,
  :description,
  :name,
  :policy,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#policyString

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

Returns:

  • (String)


658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 658

class CreateLifecyclePolicyRequest < Struct.new(
  :client_token,
  :description,
  :name,
  :policy,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of lifecycle policy.

Returns:

  • (String)


658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 658

class CreateLifecyclePolicyRequest < Struct.new(
  :client_token,
  :description,
  :name,
  :policy,
  :type)
  SENSITIVE = []
  include Aws::Structure
end