class AmazonS3::CreateBucketRequest

Included Modules

Defined in:

clients/s3.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module AWSSdk::RestXML::Structure

process(request : HTTP::Request) process, serialize(xml : XML::Builder) serialize

Constructor Detail

def self.new(bucket : String, acl : String = nil, create_bucket_configuration : CreateBucketConfigurationStruct = nil, grant_full_control : String = nil, grant_read : String = nil, grant_read_acp : String = nil, grant_write : String = nil, grant_write_acp : String = nil, object_lock_enabled_for_bucket : Bool = nil) #

[View source]

Class Method Detail

def self.deserialize(xml : XML::Node) #

[View source]
def self.from_response(request : HTTP::Client::Response) #

[View source]

Instance Method Detail

def acl : String | Nil #

[View source]
def acl=(acl : String | Nil) #

[View source]
def bucket : String #

[View source]
def bucket=(bucket : String) #

[View source]
def create_bucket_configuration : CreateBucketConfigurationStruct | Nil #

[View source]
def create_bucket_configuration=(create_bucket_configuration : CreateBucketConfigurationStruct | Nil) #

[View source]
def grant_full_control : String | Nil #

[View source]
def grant_full_control=(grant_full_control : String | Nil) #

[View source]
def grant_read : String | Nil #

[View source]
def grant_read=(grant_read : String | Nil) #

[View source]
def grant_read_acp : String | Nil #

[View source]
def grant_read_acp=(grant_read_acp : String | Nil) #

[View source]
def grant_write : String | Nil #

[View source]
def grant_write=(grant_write : String | Nil) #

[View source]
def grant_write_acp : String | Nil #

[View source]
def grant_write_acp=(grant_write_acp : String | Nil) #

[View source]
def object_lock_enabled_for_bucket : Bool | Nil #

[View source]
def object_lock_enabled_for_bucket=(object_lock_enabled_for_bucket : Bool | Nil) #

[View source]