| 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.MacieV2.ListClassificationJobs
Description
Retrieves a subset of information about one or more classification jobs.
This operation returns paginated results.
Synopsis
- data ListClassificationJobs = ListClassificationJobs' {}
- newListClassificationJobs :: ListClassificationJobs
- listClassificationJobs_filterCriteria :: Lens' ListClassificationJobs (Maybe ListJobsFilterCriteria)
- listClassificationJobs_maxResults :: Lens' ListClassificationJobs (Maybe Int)
- listClassificationJobs_nextToken :: Lens' ListClassificationJobs (Maybe Text)
- listClassificationJobs_sortCriteria :: Lens' ListClassificationJobs (Maybe ListJobsSortCriteria)
- data ListClassificationJobsResponse = ListClassificationJobsResponse' {
- items :: Maybe [JobSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListClassificationJobsResponse :: Int -> ListClassificationJobsResponse
- listClassificationJobsResponse_items :: Lens' ListClassificationJobsResponse (Maybe [JobSummary])
- listClassificationJobsResponse_nextToken :: Lens' ListClassificationJobsResponse (Maybe Text)
- listClassificationJobsResponse_httpStatus :: Lens' ListClassificationJobsResponse Int
Creating a Request
data ListClassificationJobs Source #
See: newListClassificationJobs smart constructor.
Constructors
| ListClassificationJobs' | |
Fields
| |
Instances
newListClassificationJobs :: ListClassificationJobs Source #
Create a value of ListClassificationJobs 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:filterCriteria:ListClassificationJobs', listClassificationJobs_filterCriteria - The criteria to use to filter the results.
$sel:maxResults:ListClassificationJobs', listClassificationJobs_maxResults - The maximum number of items to include in each page of the response.
ListClassificationJobs, listClassificationJobs_nextToken - The nextToken string that specifies which page of results to return in a
paginated response.
$sel:sortCriteria:ListClassificationJobs', listClassificationJobs_sortCriteria - The criteria to use to sort the results.
Request Lenses
listClassificationJobs_filterCriteria :: Lens' ListClassificationJobs (Maybe ListJobsFilterCriteria) Source #
The criteria to use to filter the results.
listClassificationJobs_maxResults :: Lens' ListClassificationJobs (Maybe Int) Source #
The maximum number of items to include in each page of the response.
listClassificationJobs_nextToken :: Lens' ListClassificationJobs (Maybe Text) Source #
The nextToken string that specifies which page of results to return in a paginated response.
listClassificationJobs_sortCriteria :: Lens' ListClassificationJobs (Maybe ListJobsSortCriteria) Source #
The criteria to use to sort the results.
Destructuring the Response
data ListClassificationJobsResponse Source #
See: newListClassificationJobsResponse smart constructor.
Constructors
| ListClassificationJobsResponse' | |
Fields
| |
Instances
newListClassificationJobsResponse Source #
Create a value of ListClassificationJobsResponse 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:items:ListClassificationJobsResponse', listClassificationJobsResponse_items - An array of objects, one for each job that matches the filter criteria
specified in the request.
ListClassificationJobs, listClassificationJobsResponse_nextToken - The string to use in a subsequent request to get the next page of
results in a paginated response. This value is null if there are no
additional pages.
$sel:httpStatus:ListClassificationJobsResponse', listClassificationJobsResponse_httpStatus - The response's http status code.
Response Lenses
listClassificationJobsResponse_items :: Lens' ListClassificationJobsResponse (Maybe [JobSummary]) Source #
An array of objects, one for each job that matches the filter criteria specified in the request.
listClassificationJobsResponse_nextToken :: Lens' ListClassificationJobsResponse (Maybe Text) Source #
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
listClassificationJobsResponse_httpStatus :: Lens' ListClassificationJobsResponse Int Source #
The response's http status code.