You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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.



5296
5297
5298
5299
5300
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5296

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)


5296
5297
5298
5299
5300
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5296

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