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/service/iot1clickdevicesservice"

func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoT1ClickDevicesService

New creates a new instance of the IoT1ClickDevicesService client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a IoT1ClickDevicesService client from just a session. svc := iot1clickdevicesservice.New(mySession) // Create a IoT1ClickDevicesService client with additional configuration svc := iot1clickdevicesservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

p

Type: client.ConfigProvider

cfgs

Type: ...*aws.Config

IoT1ClickDevicesService

Type: type IoT1ClickDevicesService struct { *client.Client }

IoT1ClickDevicesService provides the API operation methods for making requests to AWS IoT 1-Click Devices Service. See this package's package overview docs for details on the service.

IoT1ClickDevicesService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

On this page: