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 |
Searches for Amazon Braket jobs that match the specified filter values.
This operation returns paginated results.
Synopsis
- data SearchJobs = SearchJobs' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- filters :: [SearchJobsFilter]
- newSearchJobs :: SearchJobs
- searchJobs_maxResults :: Lens' SearchJobs (Maybe Natural)
- searchJobs_nextToken :: Lens' SearchJobs (Maybe Text)
- searchJobs_filters :: Lens' SearchJobs [SearchJobsFilter]
- data SearchJobsResponse = SearchJobsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- jobs :: [JobSummary]
- newSearchJobsResponse :: Int -> SearchJobsResponse
- searchJobsResponse_nextToken :: Lens' SearchJobsResponse (Maybe Text)
- searchJobsResponse_httpStatus :: Lens' SearchJobsResponse Int
- searchJobsResponse_jobs :: Lens' SearchJobsResponse [JobSummary]
Creating a Request
data SearchJobs Source #
See: newSearchJobs
smart constructor.
SearchJobs' | |
|
Instances
newSearchJobs :: SearchJobs Source #
Create a value of SearchJobs
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:SearchJobs'
, searchJobs_maxResults
- The maximum number of results to return in the response.
SearchJobs
, searchJobs_nextToken
- A token used for pagination of results returned in the response. Use the
token returned from the previous request to continue results where the
previous request ended.
$sel:filters:SearchJobs'
, searchJobs_filters
- The filter values to use when searching for a job.
Request Lenses
searchJobs_maxResults :: Lens' SearchJobs (Maybe Natural) Source #
The maximum number of results to return in the response.
searchJobs_nextToken :: Lens' SearchJobs (Maybe Text) Source #
A token used for pagination of results returned in the response. Use the token returned from the previous request to continue results where the previous request ended.
searchJobs_filters :: Lens' SearchJobs [SearchJobsFilter] Source #
The filter values to use when searching for a job.
Destructuring the Response
data SearchJobsResponse Source #
See: newSearchJobsResponse
smart constructor.
SearchJobsResponse' | |
|
Instances
newSearchJobsResponse Source #
Create a value of SearchJobsResponse
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:
SearchJobs
, searchJobsResponse_nextToken
- A token used for pagination of results, or null
if there are no
additional results. Use the token value in a subsequent request to
continue results where the previous request ended.
$sel:httpStatus:SearchJobsResponse'
, searchJobsResponse_httpStatus
- The response's http status code.
$sel:jobs:SearchJobsResponse'
, searchJobsResponse_jobs
- An array of JobSummary
objects for devices that match the specified
filter values.
Response Lenses
searchJobsResponse_nextToken :: Lens' SearchJobsResponse (Maybe Text) Source #
A token used for pagination of results, or null
if there are no
additional results. Use the token value in a subsequent request to
continue results where the previous request ended.
searchJobsResponse_httpStatus :: Lens' SearchJobsResponse Int Source #
The response's http status code.
searchJobsResponse_jobs :: Lens' SearchJobsResponse [JobSummary] Source #
An array of JobSummary
objects for devices that match the specified
filter values.