class AWS::S3::Client

Defined in:

s3.cr

Constant Summary

SERVICE_NAME = "s3"

Instance Method Summary

Instance methods inherited from class AWS::Client

delete(path : String, headers = HTTP::Headers.new) delete, get(path : String, headers = HTTP::Headers.new)
get(path : String, headers = HTTP::Headers.new, &block : HTTP::Client::Response -> )
get
, head(path : String, headers : HTTP::Headers) head, post(path : String, body : String, headers = HTTP::Headers.new) post, put(path : String, body : IO, headers = HTTP::Headers.new) put

Constructor methods inherited from class AWS::Client

new(access_key_id : String = AWS.access_key_id, secret_access_key : String = AWS.secret_access_key, region : String = AWS.region, endpoint : URI = URI.parse("https://#{service_name}.#{region}.amazonaws.com")) new

Instance Method Detail

def delete_object(bucket_name : String, key : String) #

[View source]
def get_object(bucket_name : String, key : String, io : IO) : Nil #

[View source]
def get_object(bucket : Bucket, key : String) #

[View source]
def get_object(bucket_name : String, key : String) : String #

[View source]
def head_object(bucket : Bucket, key : String) #

[View source]
def head_object(bucket_name : String, key : String) #

[View source]
def list_buckets #

[View source]
def list_objects(bucket : Bucket) #

[View source]
def list_objects(bucket_name : String) #

[View source]
def presigned_url(method : String, bucket_name : String, key : String, ttl = 10.minutes, headers = HTTP::Headers.new) #

[View source]
def put_object(bucket_name : String, key : String, headers my_headers : HTTP::Headers, body : IO) #

[View source]
def put_object(bucket_name : String, key : String, headers : HTTP::Headers, body : String) #

[View source]