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.DeleteDeploymentGroup
Description
Deletes a deployment group.
- deleteDeploymentGroup :: Text -> Text -> DeleteDeploymentGroup
- data DeleteDeploymentGroup
- ddgApplicationName :: Lens' DeleteDeploymentGroup Text
- ddgDeploymentGroupName :: Lens' DeleteDeploymentGroup Text
- deleteDeploymentGroupResponse :: Int -> DeleteDeploymentGroupResponse
- data DeleteDeploymentGroupResponse
- ddgrsHooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse [AutoScalingGroup]
- ddgrsResponseStatus :: Lens' DeleteDeploymentGroupResponse Int
Creating a Request
Arguments
:: Text | |
-> Text | |
-> DeleteDeploymentGroup |
Creates a value of DeleteDeploymentGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddgApplicationName
- The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.ddgDeploymentGroupName
- The name of an existing deployment group for the specified application.
data DeleteDeploymentGroup #
Represents the input of a delete deployment group operation.
See: deleteDeploymentGroup
smart constructor.
Instances
Request Lenses
ddgApplicationName :: Lens' DeleteDeploymentGroup Text #
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
ddgDeploymentGroupName :: Lens' DeleteDeploymentGroup Text #
The name of an existing deployment group for the specified application.
Destructuring the Response
deleteDeploymentGroupResponse #
Arguments
:: Int | |
-> DeleteDeploymentGroupResponse |
Creates a value of DeleteDeploymentGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddgrsHooksNotCleanedUp
- If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.ddgrsResponseStatus
- -- | The response status code.
data DeleteDeploymentGroupResponse #
Represents the output of a delete deployment group operation.
See: deleteDeploymentGroupResponse
smart constructor.
Response Lenses
ddgrsHooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse [AutoScalingGroup] #
If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.
ddgrsResponseStatus :: Lens' DeleteDeploymentGroupResponse Int #
- - | The response status code.