amazonka-iot-1.6.0: 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 # 
Data StartThingRegistrationTask Source # 

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 # 
Show StartThingRegistrationTask Source # 
Generic StartThingRegistrationTask Source # 
Hashable StartThingRegistrationTask Source # 
ToJSON StartThingRegistrationTask Source # 
NFData StartThingRegistrationTask Source # 
AWSRequest StartThingRegistrationTask Source # 
ToHeaders StartThingRegistrationTask Source # 
ToPath StartThingRegistrationTask Source # 
ToQuery StartThingRegistrationTask Source # 
type Rep StartThingRegistrationTask Source # 
type Rep StartThingRegistrationTask = D1 * (MetaData "StartThingRegistrationTask" "Network.AWS.IoT.StartThingRegistrationTask" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "StartThingRegistrationTask'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_strtTemplateBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_strtInputFileBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_strtInputFileKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_strtRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs StartThingRegistrationTask Source # 

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 # 
Data StartThingRegistrationTaskResponse Source # 

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 # 
Show StartThingRegistrationTaskResponse Source # 
Generic StartThingRegistrationTaskResponse Source # 
NFData StartThingRegistrationTaskResponse Source # 
type Rep StartThingRegistrationTaskResponse Source # 
type Rep StartThingRegistrationTaskResponse = D1 * (MetaData "StartThingRegistrationTaskResponse" "Network.AWS.IoT.StartThingRegistrationTask" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "StartThingRegistrationTaskResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_strtrsTaskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_strtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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

The bulk thing provisioning task ID.