Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.CodeDeploy.ListDeployments
Description
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
- listDeployments :: ListDeployments
- data ListDeployments
- ldCreateTimeRange :: Lens' ListDeployments (Maybe TimeRange)
- ldNextToken :: Lens' ListDeployments (Maybe Text)
- ldIncludeOnlyStatuses :: Lens' ListDeployments [DeploymentStatus]
- ldApplicationName :: Lens' ListDeployments (Maybe Text)
- ldDeploymentGroupName :: Lens' ListDeployments (Maybe Text)
- listDeploymentsResponse :: Int -> ListDeploymentsResponse
- data ListDeploymentsResponse
- ldrsNextToken :: Lens' ListDeploymentsResponse (Maybe Text)
- ldrsDeployments :: Lens' ListDeploymentsResponse [Text]
- ldrsResponseStatus :: Lens' ListDeploymentsResponse Int
Creating a Request
listDeployments :: ListDeployments Source #
Creates a value of ListDeployments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDeployments Source #
Represents the input of a list deployments operation.
See: listDeployments
smart constructor.
Instances
Request Lenses
ldCreateTimeRange :: Lens' ListDeployments (Maybe TimeRange) Source #
A time range (start and end) for returning a subset of the list of deployments.
ldNextToken :: Lens' ListDeployments (Maybe Text) Source #
An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.
ldIncludeOnlyStatuses :: Lens' ListDeployments [DeploymentStatus] Source #
A subset of deployments to list by status:
- Created: Include created deployments in the resulting list.
- Queued: Include queued deployments in the resulting list.
- In Progress: Include in-progress deployments in the resulting list.
- Succeeded: Include successful deployments in the resulting list.
- Failed: Include failed deployments in the resulting list.
- Stopped: Include stopped deployments in the resulting list.
ldApplicationName :: Lens' ListDeployments (Maybe Text) Source #
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
ldDeploymentGroupName :: Lens' ListDeployments (Maybe Text) Source #
The name of an existing deployment group for the specified application.
Destructuring the Response
listDeploymentsResponse Source #
Arguments
:: Int | |
-> ListDeploymentsResponse |
Creates a value of ListDeploymentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDeploymentsResponse Source #
Represents the output of a list deployments operation.
See: listDeploymentsResponse
smart constructor.
Response Lenses
ldrsNextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.
ldrsDeployments :: Lens' ListDeploymentsResponse [Text] Source #
A list of deployment IDs.
ldrsResponseStatus :: Lens' ListDeploymentsResponse Int Source #
The response status code.