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 stage deployment summaries from the game.
This operation returns paginated results.
Synopsis
- data ListStageDeployments = ListStageDeployments' {}
- newListStageDeployments :: Text -> Text -> ListStageDeployments
- listStageDeployments_maxResults :: Lens' ListStageDeployments (Maybe Natural)
- listStageDeployments_nextToken :: Lens' ListStageDeployments (Maybe Text)
- listStageDeployments_gameName :: Lens' ListStageDeployments Text
- listStageDeployments_stageName :: Lens' ListStageDeployments Text
- data ListStageDeploymentsResponse = ListStageDeploymentsResponse' {}
- newListStageDeploymentsResponse :: Int -> ListStageDeploymentsResponse
- listStageDeploymentsResponse_nextToken :: Lens' ListStageDeploymentsResponse (Maybe Text)
- listStageDeploymentsResponse_stageDeployments :: Lens' ListStageDeploymentsResponse (Maybe [StageDeploymentSummary])
- listStageDeploymentsResponse_httpStatus :: Lens' ListStageDeploymentsResponse Int
Creating a Request
data ListStageDeployments Source #
See: newListStageDeployments
smart constructor.
ListStageDeployments' | |
|
Instances
newListStageDeployments Source #
:: Text | |
-> Text | |
-> ListStageDeployments |
Create a value of ListStageDeployments
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:ListStageDeployments'
, listStageDeployments_maxResults
- The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
ListStageDeployments
, listStageDeployments_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:ListStageDeployments'
, listStageDeployments_gameName
- The name of the game.
$sel:stageName:ListStageDeployments'
, listStageDeployments_stageName
- The name of the stage.
Request Lenses
listStageDeployments_maxResults :: Lens' ListStageDeployments (Maybe Natural) Source #
The maximum number of results to return.
Use this parameter with NextToken to get results as a set of sequential pages.
listStageDeployments_nextToken :: Lens' ListStageDeployments (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.
listStageDeployments_gameName :: Lens' ListStageDeployments Text Source #
The name of the game.
listStageDeployments_stageName :: Lens' ListStageDeployments Text Source #
The name of the stage.
Destructuring the Response
data ListStageDeploymentsResponse Source #
See: newListStageDeploymentsResponse
smart constructor.
ListStageDeploymentsResponse' | |
|
Instances
newListStageDeploymentsResponse Source #
Create a value of ListStageDeploymentsResponse
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:
ListStageDeployments
, listStageDeploymentsResponse_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:stageDeployments:ListStageDeploymentsResponse'
, listStageDeploymentsResponse_stageDeployments
- A list of stage deployment summaries. You can use the deployment IDs in
the UpdateStageDeployment
and GetStageDeployment
actions.
$sel:httpStatus:ListStageDeploymentsResponse'
, listStageDeploymentsResponse_httpStatus
- The response's http status code.
Response Lenses
listStageDeploymentsResponse_nextToken :: Lens' ListStageDeploymentsResponse (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.
listStageDeploymentsResponse_stageDeployments :: Lens' ListStageDeploymentsResponse (Maybe [StageDeploymentSummary]) Source #
A list of stage deployment summaries. You can use the deployment IDs in
the UpdateStageDeployment
and GetStageDeployment
actions.
listStageDeploymentsResponse_httpStatus :: Lens' ListStageDeploymentsResponse Int Source #
The response's http status code.