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.

StartThingRegistrationTaskInput

import "github.com/aws/aws-sdk-go/service/iot"

type StartThingRegistrationTaskInput struct { InputFileBucket *string `locationName:"inputFileBucket" min:"3" type:"string" required:"true"` InputFileKey *string `locationName:"inputFileKey" min:"1" type:"string" required:"true"` RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` TemplateBody *string `locationName:"templateBody" type:"string" required:"true"` }

InputFileBucket

Type: *string

The S3 bucket that contains the input file.

InputFileBucket is a required field

InputFileKey

Type: *string

The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).

InputFileKey is a required field

RoleArn

Type: *string

The IAM role ARN that grants permission the input file.

RoleArn is a required field

TemplateBody

Type: *string

The provisioning template.

TemplateBody is a required field

Method

GoString

func (s StartThingRegistrationTaskInput) GoString() string

GoString returns the string representation

SetInputFileBucket

func (s *StartThingRegistrationTaskInput) SetInputFileBucket(v string) *StartThingRegistrationTaskInput

SetInputFileBucket sets the InputFileBucket field's value.

SetInputFileKey

func (s *StartThingRegistrationTaskInput) SetInputFileKey(v string) *StartThingRegistrationTaskInput

SetInputFileKey sets the InputFileKey field's value.

SetRoleArn

func (s *StartThingRegistrationTaskInput) SetRoleArn(v string) *StartThingRegistrationTaskInput

SetRoleArn sets the RoleArn field's value.

SetTemplateBody

func (s *StartThingRegistrationTaskInput) SetTemplateBody(v string) *StartThingRegistrationTaskInput

SetTemplateBody sets the TemplateBody field's value.

String

func (s StartThingRegistrationTaskInput) String() string

String returns the string representation

Validate

func (s *StartThingRegistrationTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: