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.



6459
6460
6461
6462
6463
# File 'lib/aws-sdk-s3/types.rb', line 6459

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)


6459
6460
6461
6462
6463
# File 'lib/aws-sdk-s3/types.rb', line 6459

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