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.

New

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

func New(cfg aws.Config, info metadata.ClientInfo, handlers request.Handlers, options ...func(*Client)) *Client

New will return a pointer to a new initialized service client.

cfg

A Config provides configuration to a service client instance.

info

Type: metadata.ClientInfo

handlers

Type: request.Handlers

options

Type: 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.

Client

Type: 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.

On this page: