Copyright | (c) 2013-2021 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 |
List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
This operation returns paginated results.
Synopsis
- data ListThingRegistrationTasks = ListThingRegistrationTasks' {}
- newListThingRegistrationTasks :: ListThingRegistrationTasks
- listThingRegistrationTasks_status :: Lens' ListThingRegistrationTasks (Maybe TaskStatus)
- listThingRegistrationTasks_nextToken :: Lens' ListThingRegistrationTasks (Maybe Text)
- listThingRegistrationTasks_maxResults :: Lens' ListThingRegistrationTasks (Maybe Natural)
- data ListThingRegistrationTasksResponse = ListThingRegistrationTasksResponse' {}
- newListThingRegistrationTasksResponse :: Int -> ListThingRegistrationTasksResponse
- listThingRegistrationTasksResponse_nextToken :: Lens' ListThingRegistrationTasksResponse (Maybe Text)
- listThingRegistrationTasksResponse_taskIds :: Lens' ListThingRegistrationTasksResponse (Maybe [Text])
- listThingRegistrationTasksResponse_httpStatus :: Lens' ListThingRegistrationTasksResponse Int
Creating a Request
data ListThingRegistrationTasks Source #
See: newListThingRegistrationTasks
smart constructor.
ListThingRegistrationTasks' | |
|
Instances
newListThingRegistrationTasks :: ListThingRegistrationTasks Source #
Create a value of ListThingRegistrationTasks
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:status:ListThingRegistrationTasks'
, listThingRegistrationTasks_status
- The status of the bulk thing provisioning task.
$sel:nextToken:ListThingRegistrationTasks'
, listThingRegistrationTasks_nextToken
- To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
$sel:maxResults:ListThingRegistrationTasks'
, listThingRegistrationTasks_maxResults
- The maximum number of results to return at one time.
Request Lenses
listThingRegistrationTasks_status :: Lens' ListThingRegistrationTasks (Maybe TaskStatus) Source #
The status of the bulk thing provisioning task.
listThingRegistrationTasks_nextToken :: Lens' ListThingRegistrationTasks (Maybe Text) Source #
To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
listThingRegistrationTasks_maxResults :: Lens' ListThingRegistrationTasks (Maybe Natural) Source #
The maximum number of results to return at one time.
Destructuring the Response
data ListThingRegistrationTasksResponse Source #
See: newListThingRegistrationTasksResponse
smart constructor.
Instances
newListThingRegistrationTasksResponse Source #
Create a value of ListThingRegistrationTasksResponse
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:nextToken:ListThingRegistrationTasks'
, listThingRegistrationTasksResponse_nextToken
- The token to use to get the next set of results, or null if there
are no additional results.
$sel:taskIds:ListThingRegistrationTasksResponse'
, listThingRegistrationTasksResponse_taskIds
- A list of bulk thing provisioning task IDs.
$sel:httpStatus:ListThingRegistrationTasksResponse'
, listThingRegistrationTasksResponse_httpStatus
- The response's http status code.
Response Lenses
listThingRegistrationTasksResponse_nextToken :: Lens' ListThingRegistrationTasksResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listThingRegistrationTasksResponse_taskIds :: Lens' ListThingRegistrationTasksResponse (Maybe [Text]) Source #
A list of bulk thing provisioning task IDs.
listThingRegistrationTasksResponse_httpStatus :: Lens' ListThingRegistrationTasksResponse Int Source #
The response's http status code.