AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

SignSDKRequest

import "github.com/aws/aws-sdk-go/aws/signer/v4"

func SignSDKRequest(req *request.Request)

SignSDKRequest signs an AWS request with the V4 signature. This request handler should only be used with the SDK's built in service client's API operation requests.

This function should not be used on its on its own, but in conjunction with an AWS service client's API operation call. To sign a standalone request not created by a service client's API operation method use the "Sign" or "Presign" functions of the "Signer" type.

If the credentials of the request's config are set to credentials.AnonymousCredentials the request will not be signed.

req

Type: *request.Request

On this page: