| 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 |
Amazonka.IoT.ListThingRegistrationTaskReports
Description
Information about the thing registration tasks.
This operation returns paginated results.
Synopsis
- data ListThingRegistrationTaskReports = ListThingRegistrationTaskReports' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- taskId :: Text
- reportType :: ReportType
- newListThingRegistrationTaskReports :: Text -> ReportType -> ListThingRegistrationTaskReports
- listThingRegistrationTaskReports_nextToken :: Lens' ListThingRegistrationTaskReports (Maybe Text)
- listThingRegistrationTaskReports_maxResults :: Lens' ListThingRegistrationTaskReports (Maybe Natural)
- listThingRegistrationTaskReports_taskId :: Lens' ListThingRegistrationTaskReports Text
- listThingRegistrationTaskReports_reportType :: Lens' ListThingRegistrationTaskReports ReportType
- data ListThingRegistrationTaskReportsResponse = ListThingRegistrationTaskReportsResponse' {
- resourceLinks :: Maybe [Text]
- nextToken :: Maybe Text
- reportType :: Maybe ReportType
- httpStatus :: Int
- newListThingRegistrationTaskReportsResponse :: Int -> ListThingRegistrationTaskReportsResponse
- listThingRegistrationTaskReportsResponse_resourceLinks :: Lens' ListThingRegistrationTaskReportsResponse (Maybe [Text])
- listThingRegistrationTaskReportsResponse_nextToken :: Lens' ListThingRegistrationTaskReportsResponse (Maybe Text)
- listThingRegistrationTaskReportsResponse_reportType :: Lens' ListThingRegistrationTaskReportsResponse (Maybe ReportType)
- listThingRegistrationTaskReportsResponse_httpStatus :: Lens' ListThingRegistrationTaskReportsResponse Int
Creating a Request
data ListThingRegistrationTaskReports Source #
See: newListThingRegistrationTaskReports smart constructor.
Constructors
| ListThingRegistrationTaskReports' | |
Fields
| |
Instances
newListThingRegistrationTaskReports Source #
Arguments
| :: Text | |
| -> ReportType | |
| -> ListThingRegistrationTaskReports |
Create a value of ListThingRegistrationTaskReports 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:ListThingRegistrationTaskReports', listThingRegistrationTaskReports_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:ListThingRegistrationTaskReports', listThingRegistrationTaskReports_maxResults - The maximum number of results to return per request.
$sel:taskId:ListThingRegistrationTaskReports', listThingRegistrationTaskReports_taskId - The id of the task.
$sel:reportType:ListThingRegistrationTaskReports', listThingRegistrationTaskReports_reportType - The type of task report.
Request Lenses
listThingRegistrationTaskReports_nextToken :: Lens' ListThingRegistrationTaskReports (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.
listThingRegistrationTaskReports_maxResults :: Lens' ListThingRegistrationTaskReports (Maybe Natural) Source #
The maximum number of results to return per request.
listThingRegistrationTaskReports_taskId :: Lens' ListThingRegistrationTaskReports Text Source #
The id of the task.
listThingRegistrationTaskReports_reportType :: Lens' ListThingRegistrationTaskReports ReportType Source #
The type of task report.
Destructuring the Response
data ListThingRegistrationTaskReportsResponse Source #
See: newListThingRegistrationTaskReportsResponse smart constructor.
Constructors
| ListThingRegistrationTaskReportsResponse' | |
Fields
| |
Instances
newListThingRegistrationTaskReportsResponse Source #
Arguments
| :: Int | |
| -> ListThingRegistrationTaskReportsResponse |
Create a value of ListThingRegistrationTaskReportsResponse 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:resourceLinks:ListThingRegistrationTaskReportsResponse', listThingRegistrationTaskReportsResponse_resourceLinks - Links to the task resources.
$sel:nextToken:ListThingRegistrationTaskReports', listThingRegistrationTaskReportsResponse_nextToken - The token to use to get the next set of results, or null if there
are no additional results.
$sel:reportType:ListThingRegistrationTaskReports', listThingRegistrationTaskReportsResponse_reportType - The type of task report.
$sel:httpStatus:ListThingRegistrationTaskReportsResponse', listThingRegistrationTaskReportsResponse_httpStatus - The response's http status code.
Response Lenses
listThingRegistrationTaskReportsResponse_resourceLinks :: Lens' ListThingRegistrationTaskReportsResponse (Maybe [Text]) Source #
Links to the task resources.
listThingRegistrationTaskReportsResponse_nextToken :: Lens' ListThingRegistrationTaskReportsResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listThingRegistrationTaskReportsResponse_reportType :: Lens' ListThingRegistrationTaskReportsResponse (Maybe ReportType) Source #
The type of task report.
listThingRegistrationTaskReportsResponse_httpStatus :: Lens' ListThingRegistrationTaskReportsResponse Int Source #
The response's http status code.