Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBodyString ¶
func ParseHostname ¶
ParseHostname returns the service and region identifiers from a hostname.
It performs minimmal validation, e.g. "ec200.amazonaws.com" does not emit an error. Instead, it returns errors only if the structure of the hostname fails basic checks, e.g. length.
If the region is not included, "us-east-1" is returned.
Types ¶
type Input ¶
type Input struct { Req *http.Request Creds *credentials.Credentials Body io.ReadSeeker }
Input holds request details for a invocation.
Click to show internal directories.
Click to hide internal directories.