| 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.LookoutVision.ListModelPackagingJobs
Description
Lists the model packaging jobs created for an Amazon Lookout for Vision project.
This operation requires permissions to perform the
lookoutvision:ListModelPackagingJobs operation.
For more information, see /Using your Amazon Lookout for Vision model on an edge device/ in the Amazon Lookout for Vision Developer Guide.
This operation returns paginated results.
Synopsis
- data ListModelPackagingJobs = ListModelPackagingJobs' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- projectName :: Text
- newListModelPackagingJobs :: Text -> ListModelPackagingJobs
- listModelPackagingJobs_maxResults :: Lens' ListModelPackagingJobs (Maybe Natural)
- listModelPackagingJobs_nextToken :: Lens' ListModelPackagingJobs (Maybe Text)
- listModelPackagingJobs_projectName :: Lens' ListModelPackagingJobs Text
- data ListModelPackagingJobsResponse = ListModelPackagingJobsResponse' {}
- newListModelPackagingJobsResponse :: Int -> ListModelPackagingJobsResponse
- listModelPackagingJobsResponse_modelPackagingJobs :: Lens' ListModelPackagingJobsResponse (Maybe [ModelPackagingJobMetadata])
- listModelPackagingJobsResponse_nextToken :: Lens' ListModelPackagingJobsResponse (Maybe Text)
- listModelPackagingJobsResponse_httpStatus :: Lens' ListModelPackagingJobsResponse Int
Creating a Request
data ListModelPackagingJobs Source #
See: newListModelPackagingJobs smart constructor.
Constructors
| ListModelPackagingJobs' | |
Fields
| |
Instances
newListModelPackagingJobs Source #
Arguments
| :: Text | |
| -> ListModelPackagingJobs |
Create a value of ListModelPackagingJobs 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:ListModelPackagingJobs', listModelPackagingJobs_maxResults - The maximum number of results to return per paginated call. The largest
value you can specify is 100. If you specify a value greater than 100, a
ValidationException error occurs. The default value is 100.
ListModelPackagingJobs, listModelPackagingJobs_nextToken - If the previous response was incomplete (because there is more results
to retrieve), Amazon Lookout for Vision returns a pagination token in
the response. You can use this pagination token to retrieve the next set
of results.
ListModelPackagingJobs, listModelPackagingJobs_projectName - The name of the project for which you want to list the model packaging
jobs.
Request Lenses
listModelPackagingJobs_maxResults :: Lens' ListModelPackagingJobs (Maybe Natural) Source #
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
listModelPackagingJobs_nextToken :: Lens' ListModelPackagingJobs (Maybe Text) Source #
If the previous response was incomplete (because there is more results to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
listModelPackagingJobs_projectName :: Lens' ListModelPackagingJobs Text Source #
The name of the project for which you want to list the model packaging jobs.
Destructuring the Response
data ListModelPackagingJobsResponse Source #
See: newListModelPackagingJobsResponse smart constructor.
Constructors
| ListModelPackagingJobsResponse' | |
Fields
| |
Instances
newListModelPackagingJobsResponse Source #
Create a value of ListModelPackagingJobsResponse 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:modelPackagingJobs:ListModelPackagingJobsResponse', listModelPackagingJobsResponse_modelPackagingJobs - A list of the model packaging jobs created for the specified Amazon
Lookout for Vision project.
ListModelPackagingJobs, listModelPackagingJobsResponse_nextToken - If the previous response was incomplete (because there is more results
to retrieve), Amazon Lookout for Vision returns a pagination token in
the response. You can use this pagination token to retrieve the next set
of results.
$sel:httpStatus:ListModelPackagingJobsResponse', listModelPackagingJobsResponse_httpStatus - The response's http status code.
Response Lenses
listModelPackagingJobsResponse_modelPackagingJobs :: Lens' ListModelPackagingJobsResponse (Maybe [ModelPackagingJobMetadata]) Source #
A list of the model packaging jobs created for the specified Amazon Lookout for Vision project.
listModelPackagingJobsResponse_nextToken :: Lens' ListModelPackagingJobsResponse (Maybe Text) Source #
If the previous response was incomplete (because there is more results to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
listModelPackagingJobsResponse_httpStatus :: Lens' ListModelPackagingJobsResponse Int Source #
The response's http status code.