Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Requests a description of a specified set of deployments.
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 .
Synopsis
- 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:
ddAppId
- The app ID. If you include this parameter, the command returns a description of the commands associated with the specified app.ddDeploymentIds
- An array of deployment IDs to be described. If you include this parameter, the command returns a description of the specified deployments. Otherwise, it returns a description of every deployment.ddStackId
- The stack ID. If you include this parameter, the command returns a description of the commands associated with the specified stack.
data DescribeDeployments Source #
See: describeDeployments
smart constructor.
Instances
Request Lenses
ddAppId :: Lens' DescribeDeployments (Maybe Text) Source #
The app ID. If you include this parameter, the command 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, the command 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, the command 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:
ddrsDeployments
- An array ofDeployment
objects that describe the deployments.ddrsResponseStatus
- -- | The response status code.
data DescribeDeploymentsResponse Source #
Contains the response to a DescribeDeployments
request.
See: describeDeploymentsResponse
smart constructor.
Instances
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.