Documentation ¶
Overview ¶
Package rest provides RESTful serialization of AWS requests and responses.
Index ¶
Constants ¶
const RFC1123GMT = "Mon, 2 Jan 2006 15:04:05 GMT"
RFC1123GMT is a RFC1123 (RFC822) formated timestame. This format is not using the standard library's time.RFC1123 due to the desire to always use GMT as the timezone.
Variables ¶
var BuildHandler = request.NamedHandler{Name: "awssdk.rest.Build", Fn: Build}
BuildHandler is a named request handler for building rest protocol requests
var UnmarshalHandler = request.NamedHandler{Name: "awssdk.rest.Unmarshal", Fn: Unmarshal}
UnmarshalHandler is a named request handler for unmarshaling rest protocol requests
var UnmarshalMetaHandler = request.NamedHandler{Name: "awssdk.rest.UnmarshalMeta", Fn: UnmarshalMeta}
UnmarshalMetaHandler is a named request handler for unmarshaling rest protocol request metadata
Functions ¶
func BuildAsGET ¶ added in v1.5.12
BuildAsGET builds the REST component of a service request with the ability to hoist data from the body.
func EscapePath ¶
EscapePath escapes part of a URL path in Amazon style
func PayloadMember ¶
func PayloadMember(i interface{}) interface{}
PayloadMember returns the payload field member of i if there is one, or nil.
func PayloadType ¶
func PayloadType(i interface{}) string
PayloadType returns the type of a payload field member of i if there is one, or "".
func UnmarshalMeta ¶
UnmarshalMeta unmarshals the REST metadata of a response in a REST service
Types ¶
This section is empty.