Documentation ¶
Overview ¶
Package aws_signing_client returns an HTTP client for use with AWS services that require signatures but are not supported by the official AWS SDK for Go, such as the Amazon Elasticsearch Service, that signs requests before sending.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New obtains an HTTP client with a RoundTripper that signs AWS requests for the provided service. An existing client can be specified for the `client` value, or--if nil--a new HTTP client will be created.
func SetDebugLog ¶
SetDebugLog sets a logger for use in debugging requests and responses.
Types ¶
type MissingRegionError ¶
type MissingRegionError struct{}
MissingRegionError is an implementation of the error interface that indicates that no AWS region was provided in order to create a client.
func (MissingRegionError) Error ¶
func (err MissingRegionError) Error() string
Error implements the error interface.
type MissingServiceError ¶
type MissingServiceError struct{}
MissingServiceError is an implementation of the error interface that indicates that no AWS service was provided in order to create a client.
func (MissingServiceError) Error ¶
func (err MissingServiceError) Error() string
Error implements the error interface.
type MissingSignerError ¶
type MissingSignerError struct{}
MissingSignerError is an implementation of the error interface that indicates that no AWS v4.Signer was provided in order to create a client.
func (MissingSignerError) Error ¶
func (err MissingSignerError) Error() string
Error implements the error interface.