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 |
Returns a list of all deployments of a specific application. A deployment is a combination of a specific application and a specific version of that application. Each deployment is mapped to a particular application version.
This operation returns paginated results.
Synopsis
- data ListDeployments = ListDeployments' {}
- newListDeployments :: Text -> ListDeployments
- listDeployments_maxResults :: Lens' ListDeployments (Maybe Natural)
- listDeployments_nextToken :: Lens' ListDeployments (Maybe Text)
- listDeployments_applicationId :: Lens' ListDeployments Text
- data ListDeploymentsResponse = ListDeploymentsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- deployments :: [DeploymentSummary]
- newListDeploymentsResponse :: Int -> ListDeploymentsResponse
- listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text)
- listDeploymentsResponse_httpStatus :: Lens' ListDeploymentsResponse Int
- listDeploymentsResponse_deployments :: Lens' ListDeploymentsResponse [DeploymentSummary]
Creating a Request
data ListDeployments Source #
See: newListDeployments
smart constructor.
ListDeployments' | |
|
Instances
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:maxResults:ListDeployments'
, listDeployments_maxResults
- The maximum number of objects to return.
ListDeployments
, listDeployments_nextToken
- A pagination token returned from a previous call to this operation. This
specifies the next item to return. To return to the beginning of the
list, exclude this parameter.
ListDeployments
, listDeployments_applicationId
- The application identifier.
Request Lenses
listDeployments_maxResults :: Lens' ListDeployments (Maybe Natural) Source #
The maximum number of objects to return.
listDeployments_nextToken :: Lens' ListDeployments (Maybe Text) Source #
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
listDeployments_applicationId :: Lens' ListDeployments Text Source #
The application identifier.
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:
ListDeployments
, listDeploymentsResponse_nextToken
- If there are more items to return, this contains a token that is passed
to a subsequent call to this operation to retrieve the next set of
items.
$sel:httpStatus:ListDeploymentsResponse'
, listDeploymentsResponse_httpStatus
- The response's http status code.
$sel:deployments:ListDeploymentsResponse'
, listDeploymentsResponse_deployments
- The list of deployments that is returned.
Response Lenses
listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
listDeploymentsResponse_httpStatus :: Lens' ListDeploymentsResponse Int Source #
The response's http status code.
listDeploymentsResponse_deployments :: Lens' ListDeploymentsResponse [DeploymentSummary] Source #
The list of deployments that is returned.