| 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.Panorama.ListDevicesJobs
Description
Returns a list of jobs.
Synopsis
- data ListDevicesJobs = ListDevicesJobs' {}
- newListDevicesJobs :: ListDevicesJobs
- listDevicesJobs_deviceId :: Lens' ListDevicesJobs (Maybe Text)
- listDevicesJobs_maxResults :: Lens' ListDevicesJobs (Maybe Natural)
- listDevicesJobs_nextToken :: Lens' ListDevicesJobs (Maybe Text)
- data ListDevicesJobsResponse = ListDevicesJobsResponse' {
- deviceJobs :: Maybe [DeviceJob]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDevicesJobsResponse :: Int -> ListDevicesJobsResponse
- listDevicesJobsResponse_deviceJobs :: Lens' ListDevicesJobsResponse (Maybe [DeviceJob])
- listDevicesJobsResponse_nextToken :: Lens' ListDevicesJobsResponse (Maybe Text)
- listDevicesJobsResponse_httpStatus :: Lens' ListDevicesJobsResponse Int
Creating a Request
data ListDevicesJobs Source #
See: newListDevicesJobs smart constructor.
Constructors
| ListDevicesJobs' | |
Instances
newListDevicesJobs :: ListDevicesJobs Source #
Create a value of ListDevicesJobs 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:
ListDevicesJobs, listDevicesJobs_deviceId - Filter results by the job's target device ID.
$sel:maxResults:ListDevicesJobs', listDevicesJobs_maxResults - The maximum number of device jobs to return in one page of results.
ListDevicesJobs, listDevicesJobs_nextToken - Specify the pagination token from a previous request to retrieve the
next page of results.
Request Lenses
listDevicesJobs_deviceId :: Lens' ListDevicesJobs (Maybe Text) Source #
Filter results by the job's target device ID.
listDevicesJobs_maxResults :: Lens' ListDevicesJobs (Maybe Natural) Source #
The maximum number of device jobs to return in one page of results.
listDevicesJobs_nextToken :: Lens' ListDevicesJobs (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
Destructuring the Response
data ListDevicesJobsResponse Source #
See: newListDevicesJobsResponse smart constructor.
Constructors
| ListDevicesJobsResponse' | |
Fields
| |
Instances
newListDevicesJobsResponse Source #
Create a value of ListDevicesJobsResponse 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:deviceJobs:ListDevicesJobsResponse', listDevicesJobsResponse_deviceJobs - A list of jobs.
ListDevicesJobs, listDevicesJobsResponse_nextToken - A pagination token that's included if more results are available.
$sel:httpStatus:ListDevicesJobsResponse', listDevicesJobsResponse_httpStatus - The response's http status code.
Response Lenses
listDevicesJobsResponse_deviceJobs :: Lens' ListDevicesJobsResponse (Maybe [DeviceJob]) Source #
A list of jobs.
listDevicesJobsResponse_nextToken :: Lens' ListDevicesJobsResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listDevicesJobsResponse_httpStatus :: Lens' ListDevicesJobsResponse Int Source #
The response's http status code.