| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.ListThingRegistrationTasks
Description
List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
This operation returns paginated results.
Synopsis
- data ListThingRegistrationTasks = ListThingRegistrationTasks' {}
- newListThingRegistrationTasks :: ListThingRegistrationTasks
- listThingRegistrationTasks_maxResults :: Lens' ListThingRegistrationTasks (Maybe Natural)
- listThingRegistrationTasks_nextToken :: Lens' ListThingRegistrationTasks (Maybe Text)
- listThingRegistrationTasks_status :: Lens' ListThingRegistrationTasks (Maybe TaskStatus)
- 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.
Constructors
| ListThingRegistrationTasks' | |
Fields
| |
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:maxResults:ListThingRegistrationTasks', listThingRegistrationTasks_maxResults - The maximum number of results to return at one time.
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.
ListThingRegistrationTasks, listThingRegistrationTasks_status - The status of the bulk thing provisioning task.
Request Lenses
listThingRegistrationTasks_maxResults :: Lens' ListThingRegistrationTasks (Maybe Natural) Source #
The maximum number of results to return at one time.
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_status :: Lens' ListThingRegistrationTasks (Maybe TaskStatus) Source #
The status of the bulk thing provisioning task.
Destructuring the Response
data ListThingRegistrationTasksResponse Source #
See: newListThingRegistrationTasksResponse smart constructor.
Constructors
| ListThingRegistrationTasksResponse' | |
Instances
newListThingRegistrationTasksResponse Source #
Arguments
| :: Int | |
| -> ListThingRegistrationTasksResponse |
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:
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.