func Build(r *aws.Request) {
	rest.Build(r)
	if t := rest.PayloadType(r.Params); t == "structure" || t == "" {
		jsonrpc.Build(r)
	}
}
Build builds a request for the REST JSON protocol.
package restjson
import (
	"encoding/json"
	"io/ioutil"
	"strings"
	"github.com/ks3sdklib/aws-sdk-go/aws"
	"github.com/ks3sdklib/aws-sdk-go/internal/apierr"
	"github.com/ks3sdklib/aws-sdk-go/internal/protocol/jsonrpc"
	"github.com/ks3sdklib/aws-sdk-go/internal/protocol/rest"
)