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