class AWS::S3::Client
- AWS::S3::Client
- AWS::Client
- Reference
- Object
Defined in:
s3.crConstant Summary
-
SERVICE_NAME =
"s3"
Instance Method Summary
- #delete_object(bucket_name : String, key : String)
- #get_object(bucket_name : String, key : String, io : IO) : Nil
- #get_object(bucket : Bucket, key : String)
- #get_object(bucket_name : String, key : String) : String
- #head_object(bucket : Bucket, key : String)
- #head_object(bucket_name : String, key : String)
- #list_buckets
- #list_objects(bucket : Bucket)
- #list_objects(bucket_name : String)
- #presigned_url(method : String, bucket_name : String, key : String, ttl = 10.minutes, headers = HTTP::Headers.new)
- #put_object(bucket_name : String, key : String, headers my_headers : HTTP::Headers, body : IO)
- #put_object(bucket_name : String, key : String, headers : HTTP::Headers, body : String)
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 presigned_url(method : String, bucket_name : String, key : String, ttl = 10.minutes, headers = HTTP::Headers.new)
#
def put_object(bucket_name : String, key : String, headers my_headers : HTTP::Headers, body : IO)
#
def put_object(bucket_name : String, key : String, headers : HTTP::Headers, body : String)
#