Class: Aws::S3::Types::PutBucketAccelerateConfigurationRequest

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 PutBucketAccelerateConfigurationRequest data as a hash:

{
  bucket: "BucketName", # required
  accelerate_configuration: { # required
    status: "Enabled", # accepts Enabled, Suspended
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#accelerate_configurationTypes::AccelerateConfiguration

Specifies the Accelerate Configuration you want to set for the bucket.



5826
5827
5828
5829
5830
# File 'lib/aws-sdk-s3/types.rb', line 5826

class PutBucketAccelerateConfigurationRequest < Struct.new(
  :bucket,
  :accelerate_configuration)
  include Aws::Structure
end

#bucketString

Name of the bucket for which the accelerate configuration is set.

Returns:

  • (String)


5826
5827
5828
5829
5830
# File 'lib/aws-sdk-s3/types.rb', line 5826

class PutBucketAccelerateConfigurationRequest < Struct.new(
  :bucket,
  :accelerate_configuration)
  include Aws::Structure
end