amazonka-iot-1.6.1: Amazon IoT SDK.

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

Network.AWS.IoT.StartThingRegistrationTask

Contents

Description

Creates a bulk thing provisioning task.

Synopsis

Creating a Request

startThingRegistrationTask Source #

Creates a value of StartThingRegistrationTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • strtTemplateBody - The provisioning template.
  • strtInputFileBucket - The S3 bucket that contains the input file.
  • strtInputFileKey - 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).
  • strtRoleARN - The IAM role ARN that grants permission the input file.

data StartThingRegistrationTask Source #

See: startThingRegistrationTask smart constructor.

Instances
Eq StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Data StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartThingRegistrationTask -> c StartThingRegistrationTask #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartThingRegistrationTask #

toConstr :: StartThingRegistrationTask -> Constr #

dataTypeOf :: StartThingRegistrationTask -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StartThingRegistrationTask) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartThingRegistrationTask) #

gmapT :: (forall b. Data b => b -> b) -> StartThingRegistrationTask -> StartThingRegistrationTask #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartThingRegistrationTask -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartThingRegistrationTask -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartThingRegistrationTask -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartThingRegistrationTask -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartThingRegistrationTask -> m StartThingRegistrationTask #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartThingRegistrationTask -> m StartThingRegistrationTask #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartThingRegistrationTask -> m StartThingRegistrationTask #

Read StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Show StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Generic StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Associated Types

type Rep StartThingRegistrationTask :: Type -> Type #

Hashable StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

ToJSON StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

AWSRequest StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Associated Types

type Rs StartThingRegistrationTask :: Type #

ToHeaders StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

ToPath StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

ToQuery StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

NFData StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

type Rep StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

type Rep StartThingRegistrationTask = D1 (MetaData "StartThingRegistrationTask" "Network.AWS.IoT.StartThingRegistrationTask" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "StartThingRegistrationTask'" PrefixI True) ((S1 (MetaSel (Just "_strtTemplateBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_strtInputFileBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_strtInputFileKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_strtRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs StartThingRegistrationTask Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Request Lenses

strtInputFileBucket :: Lens' StartThingRegistrationTask Text Source #

The S3 bucket that contains the input file.

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

strtRoleARN :: Lens' StartThingRegistrationTask Text Source #

The IAM role ARN that grants permission the input file.

Destructuring the Response

startThingRegistrationTaskResponse Source #

Creates a value of StartThingRegistrationTaskResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data StartThingRegistrationTaskResponse Source #

See: startThingRegistrationTaskResponse smart constructor.

Instances
Eq StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Data StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartThingRegistrationTaskResponse -> c StartThingRegistrationTaskResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartThingRegistrationTaskResponse #

toConstr :: StartThingRegistrationTaskResponse -> Constr #

dataTypeOf :: StartThingRegistrationTaskResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StartThingRegistrationTaskResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartThingRegistrationTaskResponse) #

gmapT :: (forall b. Data b => b -> b) -> StartThingRegistrationTaskResponse -> StartThingRegistrationTaskResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartThingRegistrationTaskResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartThingRegistrationTaskResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartThingRegistrationTaskResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartThingRegistrationTaskResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartThingRegistrationTaskResponse -> m StartThingRegistrationTaskResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartThingRegistrationTaskResponse -> m StartThingRegistrationTaskResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartThingRegistrationTaskResponse -> m StartThingRegistrationTaskResponse #

Read StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Show StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Generic StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

Associated Types

type Rep StartThingRegistrationTaskResponse :: Type -> Type #

NFData StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

type Rep StartThingRegistrationTaskResponse Source # 
Instance details

Defined in Network.AWS.IoT.StartThingRegistrationTask

type Rep StartThingRegistrationTaskResponse = D1 (MetaData "StartThingRegistrationTaskResponse" "Network.AWS.IoT.StartThingRegistrationTask" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "StartThingRegistrationTaskResponse'" PrefixI True) (S1 (MetaSel (Just "_strtrsTaskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_strtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

strtrsTaskId :: Lens' StartThingRegistrationTaskResponse (Maybe Text) Source #

The bulk thing provisioning task ID.