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 |
Gets a paginated list of code generation jobs for a snapshot.
This operation returns paginated results.
Synopsis
- data ListGeneratedCodeJobs = ListGeneratedCodeJobs' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- gameName :: Text
- snapshotId :: Text
- newListGeneratedCodeJobs :: Text -> Text -> ListGeneratedCodeJobs
- listGeneratedCodeJobs_maxResults :: Lens' ListGeneratedCodeJobs (Maybe Natural)
- listGeneratedCodeJobs_nextToken :: Lens' ListGeneratedCodeJobs (Maybe Text)
- listGeneratedCodeJobs_gameName :: Lens' ListGeneratedCodeJobs Text
- listGeneratedCodeJobs_snapshotId :: Lens' ListGeneratedCodeJobs Text
- data ListGeneratedCodeJobsResponse = ListGeneratedCodeJobsResponse' {}
- newListGeneratedCodeJobsResponse :: Int -> ListGeneratedCodeJobsResponse
- listGeneratedCodeJobsResponse_generatedCodeJobs :: Lens' ListGeneratedCodeJobsResponse (Maybe [GeneratedCodeJobDetails])
- listGeneratedCodeJobsResponse_nextToken :: Lens' ListGeneratedCodeJobsResponse (Maybe Text)
- listGeneratedCodeJobsResponse_httpStatus :: Lens' ListGeneratedCodeJobsResponse Int
Creating a Request
data ListGeneratedCodeJobs Source #
See: newListGeneratedCodeJobs
smart constructor.
ListGeneratedCodeJobs' | |
|
Instances
newListGeneratedCodeJobs Source #
Create a value of ListGeneratedCodeJobs
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:ListGeneratedCodeJobs'
, listGeneratedCodeJobs_maxResults
- The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
ListGeneratedCodeJobs
, listGeneratedCodeJobs_nextToken
- The token that indicates the start of the next sequential page of
results.
Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
$sel:gameName:ListGeneratedCodeJobs'
, listGeneratedCodeJobs_gameName
- The name of the game.
ListGeneratedCodeJobs
, listGeneratedCodeJobs_snapshotId
- The identifier of the snapshot.
Request Lenses
listGeneratedCodeJobs_maxResults :: Lens' ListGeneratedCodeJobs (Maybe Natural) Source #
The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
listGeneratedCodeJobs_nextToken :: Lens' ListGeneratedCodeJobs (Maybe Text) Source #
The token that indicates the start of the next sequential page of results.
Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
listGeneratedCodeJobs_gameName :: Lens' ListGeneratedCodeJobs Text Source #
The name of the game.
listGeneratedCodeJobs_snapshotId :: Lens' ListGeneratedCodeJobs Text Source #
The identifier of the snapshot.
Destructuring the Response
data ListGeneratedCodeJobsResponse Source #
See: newListGeneratedCodeJobsResponse
smart constructor.
ListGeneratedCodeJobsResponse' | |
|
Instances
newListGeneratedCodeJobsResponse Source #
Create a value of ListGeneratedCodeJobsResponse
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:generatedCodeJobs:ListGeneratedCodeJobsResponse'
, listGeneratedCodeJobsResponse_generatedCodeJobs
- The list of generated code jobs.
ListGeneratedCodeJobs
, listGeneratedCodeJobsResponse_nextToken
- The token that indicates the start of the next sequential page of
results.
Use this value when making the next call to this operation to continue where the last one finished.
$sel:httpStatus:ListGeneratedCodeJobsResponse'
, listGeneratedCodeJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listGeneratedCodeJobsResponse_generatedCodeJobs :: Lens' ListGeneratedCodeJobsResponse (Maybe [GeneratedCodeJobDetails]) Source #
The list of generated code jobs.
listGeneratedCodeJobsResponse_nextToken :: Lens' ListGeneratedCodeJobsResponse (Maybe Text) Source #
The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
listGeneratedCodeJobsResponse_httpStatus :: Lens' ListGeneratedCodeJobsResponse Int Source #
The response's http status code.