Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes a bulk thing provisioning task.
- describeThingRegistrationTask :: Text -> DescribeThingRegistrationTask
- data DescribeThingRegistrationTask
- dtrtTaskId :: Lens' DescribeThingRegistrationTask Text
- describeThingRegistrationTaskResponse :: Int -> DescribeThingRegistrationTaskResponse
- data DescribeThingRegistrationTaskResponse
- dtrtrsStatus :: Lens' DescribeThingRegistrationTaskResponse (Maybe TaskStatus)
- dtrtrsLastModifiedDate :: Lens' DescribeThingRegistrationTaskResponse (Maybe UTCTime)
- dtrtrsInputFileKey :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text)
- dtrtrsTaskId :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text)
- dtrtrsCreationDate :: Lens' DescribeThingRegistrationTaskResponse (Maybe UTCTime)
- dtrtrsPercentageProgress :: Lens' DescribeThingRegistrationTaskResponse (Maybe Natural)
- dtrtrsTemplateBody :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text)
- dtrtrsSuccessCount :: Lens' DescribeThingRegistrationTaskResponse (Maybe Int)
- dtrtrsMessage :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text)
- dtrtrsFailureCount :: Lens' DescribeThingRegistrationTaskResponse (Maybe Int)
- dtrtrsInputFileBucket :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text)
- dtrtrsRoleARN :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text)
- dtrtrsResponseStatus :: Lens' DescribeThingRegistrationTaskResponse Int
Creating a Request
describeThingRegistrationTask Source #
Creates a value of DescribeThingRegistrationTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtrtTaskId
- The task ID.
data DescribeThingRegistrationTask Source #
See: describeThingRegistrationTask
smart constructor.
Request Lenses
dtrtTaskId :: Lens' DescribeThingRegistrationTask Text Source #
The task ID.
Destructuring the Response
describeThingRegistrationTaskResponse Source #
Creates a value of DescribeThingRegistrationTaskResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtrtrsStatus
- The status of the bulk thing provisioning task.dtrtrsLastModifiedDate
- The date when the task was last modified.dtrtrsInputFileKey
- The input file key.dtrtrsTaskId
- The task ID.dtrtrsCreationDate
- The task creation date.dtrtrsPercentageProgress
- The progress of the bulk provisioning task expressed as a percentage.dtrtrsTemplateBody
- The task's template.dtrtrsSuccessCount
- The number of things successfully provisioned.dtrtrsMessage
- The message.dtrtrsFailureCount
- The number of things that failed to be provisioned.dtrtrsInputFileBucket
- The S3 bucket that contains the input file.dtrtrsRoleARN
- The role ARN that grants access to the input file bucket.dtrtrsResponseStatus
- -- | The response status code.
data DescribeThingRegistrationTaskResponse Source #
See: describeThingRegistrationTaskResponse
smart constructor.
Response Lenses
dtrtrsStatus :: Lens' DescribeThingRegistrationTaskResponse (Maybe TaskStatus) Source #
The status of the bulk thing provisioning task.
dtrtrsLastModifiedDate :: Lens' DescribeThingRegistrationTaskResponse (Maybe UTCTime) Source #
The date when the task was last modified.
dtrtrsInputFileKey :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text) Source #
The input file key.
dtrtrsTaskId :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text) Source #
The task ID.
dtrtrsCreationDate :: Lens' DescribeThingRegistrationTaskResponse (Maybe UTCTime) Source #
The task creation date.
dtrtrsPercentageProgress :: Lens' DescribeThingRegistrationTaskResponse (Maybe Natural) Source #
The progress of the bulk provisioning task expressed as a percentage.
dtrtrsTemplateBody :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text) Source #
The task's template.
dtrtrsSuccessCount :: Lens' DescribeThingRegistrationTaskResponse (Maybe Int) Source #
The number of things successfully provisioned.
dtrtrsMessage :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text) Source #
The message.
dtrtrsFailureCount :: Lens' DescribeThingRegistrationTaskResponse (Maybe Int) Source #
The number of things that failed to be provisioned.
dtrtrsInputFileBucket :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text) Source #
The S3 bucket that contains the input file.
dtrtrsRoleARN :: Lens' DescribeThingRegistrationTaskResponse (Maybe Text) Source #
The role ARN that grants access to the input file bucket.
dtrtrsResponseStatus :: Lens' DescribeThingRegistrationTaskResponse Int Source #
- - | The response status code.