| 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.RobOMaker.ListWorldGenerationJobs
Description
Lists world generator jobs.
This operation returns paginated results.
Synopsis
- data ListWorldGenerationJobs = ListWorldGenerationJobs' {}
- newListWorldGenerationJobs :: ListWorldGenerationJobs
- listWorldGenerationJobs_filters :: Lens' ListWorldGenerationJobs (Maybe (NonEmpty Filter))
- listWorldGenerationJobs_maxResults :: Lens' ListWorldGenerationJobs (Maybe Int)
- listWorldGenerationJobs_nextToken :: Lens' ListWorldGenerationJobs (Maybe Text)
- data ListWorldGenerationJobsResponse = ListWorldGenerationJobsResponse' {}
- newListWorldGenerationJobsResponse :: Int -> ListWorldGenerationJobsResponse
- listWorldGenerationJobsResponse_nextToken :: Lens' ListWorldGenerationJobsResponse (Maybe Text)
- listWorldGenerationJobsResponse_httpStatus :: Lens' ListWorldGenerationJobsResponse Int
- listWorldGenerationJobsResponse_worldGenerationJobSummaries :: Lens' ListWorldGenerationJobsResponse [WorldGenerationJobSummary]
Creating a Request
data ListWorldGenerationJobs Source #
See: newListWorldGenerationJobs smart constructor.
Constructors
| ListWorldGenerationJobs' | |
Fields
| |
Instances
newListWorldGenerationJobs :: ListWorldGenerationJobs Source #
Create a value of ListWorldGenerationJobs 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:filters:ListWorldGenerationJobs', listWorldGenerationJobs_filters - Optional filters to limit results. You can use status and
templateId.
$sel:maxResults:ListWorldGenerationJobs', listWorldGenerationJobs_maxResults - When this parameter is used, ListWorldGeneratorJobs only returns
maxResults results in a single page along with a nextToken response
element. The remaining results of the initial request can be seen by
sending another ListWorldGeneratorJobs request with the returned
nextToken value. This value can be between 1 and 100. If this
parameter is not used, then ListWorldGeneratorJobs returns up to 100
results and a nextToken value if applicable.
ListWorldGenerationJobs, listWorldGenerationJobs_nextToken - If the previous paginated request did not return all of the remaining
results, the response object's nextToken parameter value is set to a
token. To retrieve the next set of results, call
ListWorldGenerationJobsRequest again and assign that token to the
request object's nextToken parameter. If there are no remaining
results, the previous response object's NextToken parameter is set to
null.
Request Lenses
listWorldGenerationJobs_filters :: Lens' ListWorldGenerationJobs (Maybe (NonEmpty Filter)) Source #
Optional filters to limit results. You can use status and
templateId.
listWorldGenerationJobs_maxResults :: Lens' ListWorldGenerationJobs (Maybe Int) Source #
When this parameter is used, ListWorldGeneratorJobs only returns
maxResults results in a single page along with a nextToken response
element. The remaining results of the initial request can be seen by
sending another ListWorldGeneratorJobs request with the returned
nextToken value. This value can be between 1 and 100. If this
parameter is not used, then ListWorldGeneratorJobs returns up to 100
results and a nextToken value if applicable.
listWorldGenerationJobs_nextToken :: Lens' ListWorldGenerationJobs (Maybe Text) Source #
If the previous paginated request did not return all of the remaining
results, the response object's nextToken parameter value is set to a
token. To retrieve the next set of results, call
ListWorldGenerationJobsRequest again and assign that token to the
request object's nextToken parameter. If there are no remaining
results, the previous response object's NextToken parameter is set to
null.
Destructuring the Response
data ListWorldGenerationJobsResponse Source #
See: newListWorldGenerationJobsResponse smart constructor.
Constructors
| ListWorldGenerationJobsResponse' | |
Fields
| |
Instances
newListWorldGenerationJobsResponse Source #
Create a value of ListWorldGenerationJobsResponse 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:
ListWorldGenerationJobs, listWorldGenerationJobsResponse_nextToken - If the previous paginated request did not return all of the remaining
results, the response object's nextToken parameter value is set to a
token. To retrieve the next set of results, call
ListWorldGeneratorJobsRequest again and assign that token to the
request object's nextToken parameter. If there are no remaining
results, the previous response object's NextToken parameter is set to
null.
$sel:httpStatus:ListWorldGenerationJobsResponse', listWorldGenerationJobsResponse_httpStatus - The response's http status code.
$sel:worldGenerationJobSummaries:ListWorldGenerationJobsResponse', listWorldGenerationJobsResponse_worldGenerationJobSummaries - Summary information for world generator jobs.
Response Lenses
listWorldGenerationJobsResponse_nextToken :: Lens' ListWorldGenerationJobsResponse (Maybe Text) Source #
If the previous paginated request did not return all of the remaining
results, the response object's nextToken parameter value is set to a
token. To retrieve the next set of results, call
ListWorldGeneratorJobsRequest again and assign that token to the
request object's nextToken parameter. If there are no remaining
results, the previous response object's NextToken parameter is set to
null.
listWorldGenerationJobsResponse_httpStatus :: Lens' ListWorldGenerationJobsResponse Int Source #
The response's http status code.
listWorldGenerationJobsResponse_worldGenerationJobSummaries :: Lens' ListWorldGenerationJobsResponse [WorldGenerationJobSummary] Source #
Summary information for world generator jobs.