aws_erin v0.4.2 AwsErin.Http View Source
Documentation for AWS HTTP.
Link to this section Summary
Link to this section Functions
Link to this function
delete(endpoint_uri, region_name, service_name, headers, options)
View Sourcedelete( %URI{ authority: term(), fragment: term(), host: term(), path: term(), port: term(), query: term(), scheme: term(), userinfo: term() }, String.t(), String.t(), map(), keyword() ) :: {:ok, %HTTPoison.Response{ body: term(), headers: term(), request: term(), request_url: term(), status_code: term() }} | {:error, %HTTPoison.Error{__exception__: term(), id: term(), reason: term()}}
DELETE AWS rest api.
Link to this function
get(endpoint_uri, region_name, service_name, headers, options)
View Sourceget( %URI{ authority: term(), fragment: term(), host: term(), path: term(), port: term(), query: term(), scheme: term(), userinfo: term() }, String.t(), String.t(), map(), keyword() ) :: {:ok, %HTTPoison.Response{ body: term(), headers: term(), request: term(), request_url: term(), status_code: term() }} | {:error, %HTTPoison.Error{__exception__: term(), id: term(), reason: term()}}
GET AWS rest api.
Link to this function
post(endpoint_uri, region_name, service_name, headers, request_payload, options)
View Sourcepost( %URI{ authority: term(), fragment: term(), host: term(), path: term(), port: term(), query: term(), scheme: term(), userinfo: term() }, String.t(), String.t(), map(), String.t(), keyword() ) :: {:ok, %HTTPoison.Response{ body: term(), headers: term(), request: term(), request_url: term(), status_code: term() }} | {:error, %HTTPoison.Error{__exception__: term(), id: term(), reason: term()}}
POST AWS rest api.
Link to this function
put(endpoint_uri, region_name, service_name, headers, request_payload, options)
View Sourceput( %URI{ authority: term(), fragment: term(), host: term(), path: term(), port: term(), query: term(), scheme: term(), userinfo: term() }, String.t(), String.t(), map(), String.t(), keyword() ) :: {:ok, %HTTPoison.Response{ body: term(), headers: term(), request: term(), request_url: term(), status_code: term() }} | {:error, %HTTPoison.Error{__exception__: term(), id: term(), reason: term()}}
PUT AWS rest api.
Link to this function
request(endpoint_uri, http_request_method, region_name, service_name, headers, request_payload, options \\ [])
View Sourcerequest( %URI{ authority: term(), fragment: term(), host: term(), path: term(), port: term(), query: term(), scheme: term(), userinfo: term() }, String.t(), String.t(), String.t(), map(), String.t(), keyword() ) :: {:ok, %HTTPoison.Response{ body: term(), headers: term(), request: term(), request_url: term(), status_code: term() }} | {:error, %HTTPoison.Error{__exception__: term(), id: term(), reason: term()}}
Request AWS rest api.