libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.StartThingRegistrationTask

Description

Creates a bulk thing provisioning task.

Requires permission to access the StartThingRegistrationTask action.

Synopsis

Creating a Request

data StartThingRegistrationTask Source #

See: newStartThingRegistrationTask smart constructor.

Constructors

StartThingRegistrationTask' 

Fields

  • templateBody :: Text

    The provisioning template.

  • inputFileBucket :: Text

    The S3 bucket that contains the input file.

  • inputFileKey :: Text

    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).

  • roleArn :: Text

    The IAM role ARN that grants permission the input file.

Instances

Instances details
Eq StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

Read StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

Show StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

Generic StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

Associated Types

type Rep StartThingRegistrationTask :: Type -> Type #

NFData StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

Hashable StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

ToJSON StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

AWSRequest StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

ToHeaders StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

ToPath StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

ToQuery StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

type Rep StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

type Rep StartThingRegistrationTask = D1 ('MetaData "StartThingRegistrationTask" "Amazonka.IoT.StartThingRegistrationTask" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "StartThingRegistrationTask'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "templateBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "inputFileBucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "inputFileKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse StartThingRegistrationTask Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

newStartThingRegistrationTask Source #

Create a value of StartThingRegistrationTask with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:templateBody:StartThingRegistrationTask', startThingRegistrationTask_templateBody - The provisioning template.

$sel:inputFileBucket:StartThingRegistrationTask', startThingRegistrationTask_inputFileBucket - The S3 bucket that contains the input file.

$sel:inputFileKey:StartThingRegistrationTask', startThingRegistrationTask_inputFileKey - 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).

$sel:roleArn:StartThingRegistrationTask', startThingRegistrationTask_roleArn - The IAM role ARN that grants permission the input file.

Request Lenses

startThingRegistrationTask_inputFileKey :: Lens' StartThingRegistrationTask Text Source #

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).

startThingRegistrationTask_roleArn :: Lens' StartThingRegistrationTask Text Source #

The IAM role ARN that grants permission the input file.

Destructuring the Response

data StartThingRegistrationTaskResponse Source #

Constructors

StartThingRegistrationTaskResponse' 

Fields

Instances

Instances details
Eq StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

Read StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

Show StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

Generic StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

Associated Types

type Rep StartThingRegistrationTaskResponse :: Type -> Type #

NFData StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

type Rep StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartThingRegistrationTask

type Rep StartThingRegistrationTaskResponse = D1 ('MetaData "StartThingRegistrationTaskResponse" "Amazonka.IoT.StartThingRegistrationTask" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "StartThingRegistrationTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartThingRegistrationTaskResponse Source #

Create a value of StartThingRegistrationTaskResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:taskId:StartThingRegistrationTaskResponse', startThingRegistrationTaskResponse_taskId - The bulk thing provisioning task ID.

$sel:httpStatus:StartThingRegistrationTaskResponse', startThingRegistrationTaskResponse_httpStatus - The response's http status code.

Response Lenses