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.

Client

import "github.com/aws/aws-sdk-go/aws/client"

type Client struct { request.Retryer metadata.ClientInfo Config aws.Config Handlers request.Handlers }

A Client implements the base client request and response handling used by all service clients.

Retryer

Type: request.Retryer

ClientInfo

Type: metadata.ClientInfo

Config

A Config provides configuration to a service client instance.

Handlers

Type: request.Handlers

Method

AddDebugHandlers

func (c *Client) AddDebugHandlers()

AddDebugHandlers injects debug logging handlers into the service to log request debug information.

NewRequest

func (c *Client) NewRequest(operation *request.Operation, params interface{}, data interface{}) *request.Request

NewRequest returns a new Request pointer for the service API operation and parameters.

On this page: