Amazon Simple Storage Service

2016/04/19 - Amazon Simple Storage Service - 2 new api methods

Changes  Add support for s3 accelerate configuration Add support for Amazon S3 Transfer Acceleration

PutBucketAccelerateConfiguration (new) Link ¶

Sets the accelerate configuration of an existing bucket.

Request Syntax

client.put_bucket_accelerate_configuration(
    Bucket='string',
    AccelerateConfiguration={
        'Status': 'Enabled'|'Suspended'
    }
)
type Bucket

string

param Bucket

[REQUIRED] Name of the bucket for which the accelerate configuration is set.

type AccelerateConfiguration

dict

param AccelerateConfiguration

[REQUIRED] Specifies the Accelerate Configuration you want to set for the bucket.

  • Status (string) -- The accelerate configuration of the bucket.

returns

None

GetBucketAccelerateConfiguration (new) Link ¶

Returns the accelerate configuration of a bucket.

Request Syntax

client.get_bucket_accelerate_configuration(
    Bucket='string'
)
type Bucket

string

param Bucket

[REQUIRED] Name of the bucket for which the accelerate configuration is retrieved.

rtype

dict

returns

Response Syntax

{
    'Status': 'Enabled'|'Suspended'
}

Response Structure

  • (dict) --

    • Status (string) -- The accelerate configuration of the bucket.