package restjson

import "github.com/aws/aws-sdk-go-v2/private/protocol/restjson"

Package restjson provides RESTful JSON serialization of AWS requests and responses.

Index

Variables

var BuildHandler = request.NamedHandler{Name: "awssdk.restjson.Build", Fn: Build}

BuildHandler is a named request handler for building restjson protocol requests

var UnmarshalErrorHandler = request.NamedHandler{Name: "awssdk.restjson.UnmarshalError", Fn: UnmarshalError}

UnmarshalErrorHandler is a named request handler for unmarshaling restjson protocol request errors

var UnmarshalHandler = request.NamedHandler{Name: "awssdk.restjson.Unmarshal", Fn: Unmarshal}

UnmarshalHandler is a named request handler for unmarshaling restjson protocol requests

var UnmarshalMetaHandler = request.NamedHandler{Name: "awssdk.restjson.UnmarshalMeta", Fn: UnmarshalMeta}

UnmarshalMetaHandler is a named request handler for unmarshaling restjson protocol request metadata

Functions

func Build

func Build(r *request.Request)

Build builds a request for the REST JSON protocol.

func Unmarshal

func Unmarshal(r *request.Request)

Unmarshal unmarshals a response body for the REST JSON protocol.

func UnmarshalError

func UnmarshalError(r *request.Request)

UnmarshalError unmarshals a response error for the REST JSON protocol.

func UnmarshalMeta

func UnmarshalMeta(r *request.Request)

UnmarshalMeta unmarshals response headers for the REST JSON protocol.

Source Files

restjson.go

Version
v2.0.0-preview.2+incompatible
Published
Jan 15, 2018
Platform
darwin/amd64
Imports
7 packages
Last checked
25 seconds ago

Tools for package owners.