Copyright | (c) 2013-2021 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 |
Requests a description of a specified set of deployments.
This call accepts only one resource-identifying parameter.
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 about user permissions, see Managing User Permissions.
Synopsis
- data DescribeDeployments = DescribeDeployments' {}
- newDescribeDeployments :: DescribeDeployments
- describeDeployments_appId :: Lens' DescribeDeployments (Maybe Text)
- describeDeployments_deploymentIds :: Lens' DescribeDeployments (Maybe [Text])
- describeDeployments_stackId :: Lens' DescribeDeployments (Maybe Text)
- data DescribeDeploymentsResponse = DescribeDeploymentsResponse' {
- deployments :: Maybe [Deployment]
- httpStatus :: Int
- newDescribeDeploymentsResponse :: Int -> DescribeDeploymentsResponse
- describeDeploymentsResponse_deployments :: Lens' DescribeDeploymentsResponse (Maybe [Deployment])
- describeDeploymentsResponse_httpStatus :: Lens' DescribeDeploymentsResponse Int
Creating a Request
data DescribeDeployments Source #
See: newDescribeDeployments
smart constructor.
DescribeDeployments' | |
|
Instances
newDescribeDeployments :: DescribeDeployments Source #
Create a value of DescribeDeployments
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:appId:DescribeDeployments'
, describeDeployments_appId
- The app ID. If you include this parameter, the command returns a
description of the commands associated with the specified app.
$sel:deploymentIds:DescribeDeployments'
, describeDeployments_deploymentIds
- 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.
$sel:stackId:DescribeDeployments'
, describeDeployments_stackId
- The stack ID. If you include this parameter, the command returns a
description of the commands associated with the specified stack.
Request Lenses
describeDeployments_appId :: 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.
describeDeployments_deploymentIds :: Lens' DescribeDeployments (Maybe [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.
describeDeployments_stackId :: 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
data DescribeDeploymentsResponse Source #
Contains the response to a DescribeDeployments
request.
See: newDescribeDeploymentsResponse
smart constructor.
DescribeDeploymentsResponse' | |
|
Instances
newDescribeDeploymentsResponse Source #
Create a value of DescribeDeploymentsResponse
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:deployments:DescribeDeploymentsResponse'
, describeDeploymentsResponse_deployments
- An array of Deployment
objects that describe the deployments.
$sel:httpStatus:DescribeDeploymentsResponse'
, describeDeploymentsResponse_httpStatus
- The response's http status code.
Response Lenses
describeDeploymentsResponse_deployments :: Lens' DescribeDeploymentsResponse (Maybe [Deployment]) Source #
An array of Deployment
objects that describe the deployments.
describeDeploymentsResponse_httpStatus :: Lens' DescribeDeploymentsResponse Int Source #
The response's http status code.