baiji v0.6.11 Baiji.Request

Makes a request to the AWS API based on the contents of an Operation struct

Link to this section Summary

Functions

Add a content-type header based on the operation’s protocol

Add the appropriate headers to the given request on the operation type, version and host

Add the appropriate Host header to the request

Add an X-Amz-Target header to the given request based on its target-prefix and action name

Add Version and Action headers to the request based on the endpoint type

Execute a Request and generate a Response struct

Determine the host to which the request should be sent based on the operation parameters

Make a request based on the provided operation

Generate a Request struct

Generate a Query string for the given operation

Sign the given request using the authentication data contained in its operation struct

Determine the full URL to which the request should be sent

Validate that the given operation includes correctly formatted inputs

Link to this section Functions

Link to this function add_content_type_header(req)

Add a content-type header based on the operation’s protocol

Link to this function add_headers(request)

Add the appropriate headers to the given request on the operation type, version and host

Link to this function add_host_header(req)

Add the appropriate Host header to the request

Link to this function add_target_header(req)

Add an X-Amz-Target header to the given request based on its target-prefix and action name

Link to this function add_version_and_action_headers(req)

Add Version and Action headers to the request based on the endpoint type

Link to this function execute(request)

Execute a Request and generate a Response struct

Link to this function host(operation)

Determine the host to which the request should be sent based on the operation parameters

Make a request based on the provided operation

Generate a Request struct

Generate a Query string for the given operation

Sign the given request using the authentication data contained in its operation struct

Determine the full URL to which the request should be sent

Link to this function validate!(operation)

Validate that the given operation includes correctly formatted inputs