Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists the deployments for an environment.
Synopsis
- data ListDeployments = ListDeployments' {}
- newListDeployments :: Text -> Text -> ListDeployments
- listDeployments_nextToken :: Lens' ListDeployments (Maybe Text)
- listDeployments_maxResults :: Lens' ListDeployments (Maybe Natural)
- listDeployments_applicationId :: Lens' ListDeployments Text
- listDeployments_environmentId :: Lens' ListDeployments Text
- data ListDeploymentsResponse = ListDeploymentsResponse' {
- items :: Maybe [DeploymentSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDeploymentsResponse :: Int -> ListDeploymentsResponse
- listDeploymentsResponse_items :: Lens' ListDeploymentsResponse (Maybe [DeploymentSummary])
- listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text)
- listDeploymentsResponse_httpStatus :: Lens' ListDeploymentsResponse Int
Creating a Request
data ListDeployments Source #
See: newListDeployments
smart constructor.
ListDeployments' | |
|
Instances
:: Text | |
-> Text | |
-> ListDeployments |
Create a value of ListDeployments
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:nextToken:ListDeployments'
, listDeployments_nextToken
- A token to start the list. Use this token to get the next set of
results.
$sel:maxResults:ListDeployments'
, listDeployments_maxResults
- The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
$sel:applicationId:ListDeployments'
, listDeployments_applicationId
- The application ID.
$sel:environmentId:ListDeployments'
, listDeployments_environmentId
- The environment ID.
Request Lenses
listDeployments_nextToken :: Lens' ListDeployments (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
listDeployments_maxResults :: Lens' ListDeployments (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
listDeployments_applicationId :: Lens' ListDeployments Text Source #
The application ID.
listDeployments_environmentId :: Lens' ListDeployments Text Source #
The environment ID.
Destructuring the Response
data ListDeploymentsResponse Source #
See: newListDeploymentsResponse
smart constructor.
ListDeploymentsResponse' | |
|
Instances
newListDeploymentsResponse Source #
Create a value of ListDeploymentsResponse
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:ListDeploymentsResponse'
, listDeploymentsResponse_items
- The elements from this collection.
$sel:nextToken:ListDeployments'
, listDeploymentsResponse_nextToken
- The token for the next set of items to return. Use this token to get the
next set of results.
$sel:httpStatus:ListDeploymentsResponse'
, listDeploymentsResponse_httpStatus
- The response's http status code.
Response Lenses
listDeploymentsResponse_items :: Lens' ListDeploymentsResponse (Maybe [DeploymentSummary]) Source #
The elements from this collection.
listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #
The token for the next set of items to return. Use this token to get the next set of results.
listDeploymentsResponse_httpStatus :: Lens' ListDeploymentsResponse Int Source #
The response's http status code.