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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opensearchserverless/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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 1129

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)


1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 1129

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