Class: Aws::OpenSearchServerless::Types::EffectiveLifecyclePolicyDetail

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

Overview

Error information for an OpenSearch Serverless request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#no_min_retention_periodBoolean

The minimum number of index retention days set. That is an optional param that will return as ‘true` if the minimum number of days or hours is not set to a index resource.

Returns:

  • (Boolean)


1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 1119

class EffectiveLifecyclePolicyDetail < Struct.new(
  :no_min_retention_period,
  :policy_name,
  :resource,
  :resource_type,
  :retention_period,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the lifecycle policy.

Returns:

  • (String)


1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 1119

class EffectiveLifecyclePolicyDetail < Struct.new(
  :no_min_retention_period,
  :policy_name,
  :resource,
  :resource_type,
  :retention_period,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#resourceString

The name of the OpenSearch Serverless index resource.

Returns:

  • (String)


1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 1119

class EffectiveLifecyclePolicyDetail < Struct.new(
  :no_min_retention_period,
  :policy_name,
  :resource,
  :resource_type,
  :retention_period,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of OpenSearch Serverless resource. Currently, the only supported resource is ‘index`.

Returns:

  • (String)


1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 1119

class EffectiveLifecyclePolicyDetail < Struct.new(
  :no_min_retention_period,
  :policy_name,
  :resource,
  :resource_type,
  :retention_period,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#retention_periodString

The minimum number of index retention in days or hours. This is an optional parameter that will return only if it’s set.

Returns:

  • (String)


1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 1119

class EffectiveLifecyclePolicyDetail < Struct.new(
  :no_min_retention_period,
  :policy_name,
  :resource,
  :resource_type,
  :retention_period,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of lifecycle policy.

Returns:

  • (String)


1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'lib/aws-sdk-opensearchserverless/types.rb', line 1119

class EffectiveLifecyclePolicyDetail < Struct.new(
  :no_min_retention_period,
  :policy_name,
  :resource,
  :resource_type,
  :retention_period,
  :type)
  SENSITIVE = []
  include Aws::Structure
end