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 |
Requests a description of a specified set of deployments.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
See: AWS API Reference for DescribeDeployments.
- describeDeployments :: DescribeDeployments
- data DescribeDeployments
- ddAppId :: Lens' DescribeDeployments (Maybe Text)
- ddDeploymentIds :: Lens' DescribeDeployments [Text]
- ddStackId :: Lens' DescribeDeployments (Maybe Text)
- describeDeploymentsResponse :: Int -> DescribeDeploymentsResponse
- data DescribeDeploymentsResponse
- ddrsDeployments :: Lens' DescribeDeploymentsResponse [Deployment]
- ddrsResponseStatus :: Lens' DescribeDeploymentsResponse Int
Creating a Request
describeDeployments :: DescribeDeployments Source
Creates a value of DescribeDeployments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeDeployments Source
See: describeDeployments
smart constructor.
Request Lenses
ddAppId :: Lens' DescribeDeployments (Maybe Text) Source
The app ID. If you include this parameter, DescribeDeployments
returns
a description of the commands associated with the specified app.
ddDeploymentIds :: Lens' DescribeDeployments [Text] Source
An array of deployment IDs to be described. If you include this
parameter, DescribeDeployments
returns a description of the specified
deployments. Otherwise, it returns a description of every deployment.
ddStackId :: Lens' DescribeDeployments (Maybe Text) Source
The stack ID. If you include this parameter, DescribeDeployments
returns a description of the commands associated with the specified
stack.
Destructuring the Response
describeDeploymentsResponse Source
Creates a value of DescribeDeploymentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeDeploymentsResponse Source
Contains the response to a DescribeDeployments
request.
See: describeDeploymentsResponse
smart constructor.
Response Lenses
ddrsDeployments :: Lens' DescribeDeploymentsResponse [Deployment] Source
An array of Deployment
objects that describe the deployments.
ddrsResponseStatus :: Lens' DescribeDeploymentsResponse Int Source
The response status code.