Copyright | (c) 2013-2015 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 |
Lists the deployments within a deployment group for an application registered with the applicable IAM user or AWS account.
See: AWS API Reference for ListDeployments.
- 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.
Request Lenses
ldCreateTimeRange :: Lens' ListDeployments (Maybe TimeRange) Source
A deployment creation start- and end-time range for returning a subset of the list of deployments.
ldNextToken :: Lens' ListDeployments (Maybe Text) Source
An identifier that was returned from the previous list deployments call, which 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 in the resulting list created deployments.
- Queued: Include in the resulting list queued deployments.
- In Progress: Include in the resulting list in-progress deployments.
- Succeeded: Include in the resulting list succeeded deployments.
- Failed: Include in the resulting list failed deployments.
- Aborted: Include in the resulting list aborted deployments.
ldApplicationName :: Lens' ListDeployments (Maybe Text) Source
The name of an existing 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
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 the amount of information that is returned is significantly large, an identifier will also be returned, which 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.