| 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.AppConfig.ListDeployments
Description
Lists the deployments for an environment in descending deployment number order.
Synopsis
- data ListDeployments = ListDeployments' {}
- newListDeployments :: Text -> Text -> ListDeployments
- listDeployments_maxResults :: Lens' ListDeployments (Maybe Natural)
- listDeployments_nextToken :: Lens' ListDeployments (Maybe Text)
- 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.
Constructors
| ListDeployments' | |
Fields
| |
Instances
Arguments
| :: 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:maxResults:ListDeployments', listDeployments_maxResults - The maximum number of items that may be returned for this call. If there
are items that have not yet been returned, the response will include a
non-null NextToken that you can provide in a subsequent call to get
the next set of results.
ListDeployments, listDeployments_nextToken - The token returned by a prior call to this operation indicating the next
set of results to be returned. If not specified, the operation will
return the first set of results.
ListDeployments, listDeployments_applicationId - The application ID.
ListDeployments, listDeployments_environmentId - The environment ID.
Request Lenses
listDeployments_maxResults :: Lens' ListDeployments (Maybe Natural) Source #
The maximum number of items that may be returned for this call. If there
are items that have not yet been returned, the response will include a
non-null NextToken that you can provide in a subsequent call to get
the next set of results.
listDeployments_nextToken :: Lens' ListDeployments (Maybe Text) Source #
The token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first 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.
Constructors
| ListDeploymentsResponse' | |
Fields
| |
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.
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.