Class: Aws::S3::Types::PutBucketIntelligentTieringConfigurationRequest

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

Overview

Note:

When making an API call, you may pass PutBucketIntelligentTieringConfigurationRequest data as a hash:

{
  bucket: "BucketName", # required
  id: "IntelligentTieringId", # required
  intelligent_tiering_configuration: { # required
    id: "IntelligentTieringId", # required
    filter: {
      prefix: "Prefix",
      tag: {
        key: "ObjectKey", # required
        value: "Value", # required
      },
      and: {
        prefix: "Prefix",
        tags: [
          {
            key: "ObjectKey", # required
            value: "Value", # required
          },
        ],
      },
    },
    status: "Enabled", # required, accepts Enabled, Disabled
    tierings: [ # required
      {
        days: 1, # required
        access_tier: "ARCHIVE_ACCESS", # required, accepts ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS
      },
    ],
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

Returns:

  • (String)

10507
10508
10509
10510
10511
10512
10513
# File 'lib/aws-sdk-s3/types.rb', line 10507

class PutBucketIntelligentTieringConfigurationRequest < Struct.new(
  :bucket,
  :id,
  :intelligent_tiering_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID used to identify the S3 Intelligent-Tiering configuration.

Returns:

  • (String)

10507
10508
10509
10510
10511
10512
10513
# File 'lib/aws-sdk-s3/types.rb', line 10507

class PutBucketIntelligentTieringConfigurationRequest < Struct.new(
  :bucket,
  :id,
  :intelligent_tiering_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#intelligent_tiering_configurationTypes::IntelligentTieringConfiguration

Container for S3 Intelligent-Tiering configuration.


10507
10508
10509
10510
10511
10512
10513
# File 'lib/aws-sdk-s3/types.rb', line 10507

class PutBucketIntelligentTieringConfigurationRequest < Struct.new(
  :bucket,
  :id,
  :intelligent_tiering_configuration)
  SENSITIVE = []
  include Aws::Structure
end