libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.PutBucketIntelligentTieringConfiguration

Description

Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to 1,000 S3 Intelligent-Tiering configurations per bucket.

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in two low latency and high throughput access tiers. For data that can be accessed asynchronously, you can choose to activate automatic archiving capabilities within the S3 Intelligent-Tiering storage class.

The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.

For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

Operations related to PutBucketIntelligentTieringConfiguration include:

You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically move objects stored in the S3 Intelligent-Tiering storage class to the Archive Access or Deep Archive Access tier.

Special Errors

  • HTTP 400 Bad Request Error

    • Code: InvalidArgument
    • Cause: Invalid Argument
  • HTTP 400 Bad Request Error

    • Code: TooManyConfigurations
    • Cause: You are attempting to create a new configuration but have already reached the 1,000-configuration limit.
  • HTTP 403 Forbidden Error

    • Code: AccessDenied
    • Cause: You are not the owner of the specified bucket, or you do not have the s3:PutIntelligentTieringConfiguration bucket permission to set the configuration on the bucket.
Synopsis

Creating a Request

data PutBucketIntelligentTieringConfiguration Source #

Constructors

PutBucketIntelligentTieringConfiguration' 

Fields

Instances

Instances details
Eq PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

Read PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

Show PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

Generic PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

NFData PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

Hashable PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

AWSRequest PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

ToHeaders PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

ToPath PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

ToQuery PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

ToElement PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

type Rep PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

type Rep PutBucketIntelligentTieringConfiguration = D1 ('MetaData "PutBucketIntelligentTieringConfiguration" "Amazonka.S3.PutBucketIntelligentTieringConfiguration" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "PutBucketIntelligentTieringConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BucketName) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "intelligentTieringConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IntelligentTieringConfiguration))))
type AWSResponse PutBucketIntelligentTieringConfiguration Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

Request Lenses

putBucketIntelligentTieringConfiguration_bucket :: Lens' PutBucketIntelligentTieringConfiguration BucketName Source #

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

putBucketIntelligentTieringConfiguration_id :: Lens' PutBucketIntelligentTieringConfiguration Text Source #

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

Destructuring the Response

data PutBucketIntelligentTieringConfigurationResponse Source #

Instances

Instances details
Eq PutBucketIntelligentTieringConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

Read PutBucketIntelligentTieringConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

Show PutBucketIntelligentTieringConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

Generic PutBucketIntelligentTieringConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

NFData PutBucketIntelligentTieringConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

type Rep PutBucketIntelligentTieringConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.PutBucketIntelligentTieringConfiguration

type Rep PutBucketIntelligentTieringConfigurationResponse = D1 ('MetaData "PutBucketIntelligentTieringConfigurationResponse" "Amazonka.S3.PutBucketIntelligentTieringConfiguration" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "PutBucketIntelligentTieringConfigurationResponse'" 'PrefixI 'False) (U1 :: Type -> Type))