abstract class AWS::Client
- AWS::Client
- Reference
- Object
Direct Known Subclasses
Defined in:
client.crConstant Summary
-
DEFAULT_HEADERS =
HTTP::Headers {"Connection" => "keep-alive", "User-Agent" => "Crystal AWS #{VERSION}"}
Constructors
Instance Method Summary
- #delete(path : String, headers = HTTP::Headers.new)
- #get(path : String, headers = HTTP::Headers.new)
- #get(path : String, headers = HTTP::Headers.new, &block : HTTP::Client::Response -> )
- #head(path : String, headers : HTTP::Headers)
- #post(path : String, body : String, headers = HTTP::Headers.new)
- #put(path : String, body : IO, headers = HTTP::Headers.new)
Macro Summary
Constructor Detail
def self.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"))
#