Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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:
- DeleteBucketIntelligentTieringConfiguration
- GetBucketIntelligentTieringConfiguration
- ListBucketIntelligentTieringConfigurations
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
- data PutBucketIntelligentTieringConfiguration = PutBucketIntelligentTieringConfiguration' {}
- newPutBucketIntelligentTieringConfiguration :: BucketName -> Text -> IntelligentTieringConfiguration -> PutBucketIntelligentTieringConfiguration
- putBucketIntelligentTieringConfiguration_bucket :: Lens' PutBucketIntelligentTieringConfiguration BucketName
- putBucketIntelligentTieringConfiguration_id :: Lens' PutBucketIntelligentTieringConfiguration Text
- putBucketIntelligentTieringConfiguration_intelligentTieringConfiguration :: Lens' PutBucketIntelligentTieringConfiguration IntelligentTieringConfiguration
- data PutBucketIntelligentTieringConfigurationResponse = PutBucketIntelligentTieringConfigurationResponse' {
- newPutBucketIntelligentTieringConfigurationResponse :: PutBucketIntelligentTieringConfigurationResponse
Creating a Request
data PutBucketIntelligentTieringConfiguration Source #
See: newPutBucketIntelligentTieringConfiguration
smart constructor.
PutBucketIntelligentTieringConfiguration' | |
|
Instances
newPutBucketIntelligentTieringConfiguration Source #
:: BucketName | |
-> Text | |
-> IntelligentTieringConfiguration |
|
-> PutBucketIntelligentTieringConfiguration |
Create a value of PutBucketIntelligentTieringConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bucket:PutBucketIntelligentTieringConfiguration'
, putBucketIntelligentTieringConfiguration_bucket
- The name of the Amazon S3 bucket whose configuration you want to modify
or retrieve.
$sel:id:PutBucketIntelligentTieringConfiguration'
, putBucketIntelligentTieringConfiguration_id
- The ID used to identify the S3 Intelligent-Tiering configuration.
$sel:intelligentTieringConfiguration:PutBucketIntelligentTieringConfiguration'
, putBucketIntelligentTieringConfiguration_intelligentTieringConfiguration
- Container for S3 Intelligent-Tiering configuration.
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.
putBucketIntelligentTieringConfiguration_intelligentTieringConfiguration :: Lens' PutBucketIntelligentTieringConfiguration IntelligentTieringConfiguration Source #
Container for S3 Intelligent-Tiering configuration.
Destructuring the Response
data PutBucketIntelligentTieringConfigurationResponse Source #
See: newPutBucketIntelligentTieringConfigurationResponse
smart constructor.
Instances
Eq PutBucketIntelligentTieringConfigurationResponse Source # | |
Read PutBucketIntelligentTieringConfigurationResponse Source # | |
Show PutBucketIntelligentTieringConfigurationResponse Source # | |
Generic PutBucketIntelligentTieringConfigurationResponse Source # | |
NFData PutBucketIntelligentTieringConfigurationResponse Source # | |
type Rep PutBucketIntelligentTieringConfigurationResponse Source # | |
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)) |
newPutBucketIntelligentTieringConfigurationResponse :: PutBucketIntelligentTieringConfigurationResponse Source #
Create a value of PutBucketIntelligentTieringConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.