class AmazonS3::PutObjectRequest

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(key : String, bucket : String, acl : String = nil, storage_class : String = nil, website_redirect_location : String = nil, sse_customer_algorithm : String = nil, sse_customer_key : String = nil, sse_customer_key_md5 : String = nil, ssekms_key_id : String = nil, ssekms_encryption_context : String = nil, bucket_key_enabled : Bool = nil, request_payer : String = nil, tagging : String = nil, object_lock_mode : String = nil, object_lock_retain_until_date : Time = nil, object_lock_legal_hold_status : String = nil, server_side_encryption : String = nil, metadata : Hash(String, String) = nil, grant_write_acp : String = nil, grant_read_acp : String = nil, grant_read : String = nil, grant_full_control : String = nil, expires : Time = nil, content_type : String = nil, content_md5 : String = nil, content_length : Int64 = nil, content_language : String = nil, content_encoding : String = nil, content_disposition : String = nil, cache_control : String = nil, body : IO | String | Bytes = nil, expected_bucket_owner : String = 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 body : IO | String | Bytes | Nil #

[View source]
def body=(body : IO | String | Bytes | Nil) #

[View source]
def bucket : String #

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

[View source]
def bucket_key_enabled : Bool | Nil #

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

[View source]
def cache_control : String | Nil #

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

[View source]
def content_disposition : String | Nil #

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

[View source]
def content_encoding : String | Nil #

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

[View source]
def content_language : String | Nil #

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

[View source]
def content_length : Int64 | Nil #

[View source]
def content_length=(content_length : Int64 | Nil) #

[View source]
def content_md5 : String | Nil #

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

[View source]
def content_type : String | Nil #

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

[View source]
def expected_bucket_owner : String | Nil #

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

[View source]
def expires : Time | Nil #

[View source]
def expires=(expires : Time | 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_acp : String | Nil #

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

[View source]
def key : String #

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

[View source]
def metadata : Hash(String, String) | Nil #

[View source]
def metadata=(metadata : Hash(String, String) | Nil) #

[View source]
def object_lock_legal_hold_status : String | Nil #

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

[View source]
def object_lock_mode : String | Nil #

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

[View source]
def object_lock_retain_until_date : Time | Nil #

[View source]
def object_lock_retain_until_date=(object_lock_retain_until_date : Time | Nil) #

[View source]
def request_payer : String | Nil #

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

[View source]
def server_side_encryption : String | Nil #

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

[View source]
def sse_customer_algorithm : String | Nil #

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

[View source]
def sse_customer_key : String | Nil #

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

[View source]
def sse_customer_key_md5 : String | Nil #

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

[View source]
def ssekms_encryption_context : String | Nil #

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

[View source]
def ssekms_key_id : String | Nil #

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

[View source]
def storage_class : String | Nil #

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

[View source]
def tagging : String | Nil #

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

[View source]
def website_redirect_location : String | Nil #

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

[View source]