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 |
Deletes a deployment group.
See: AWS API Reference for DeleteDeploymentGroup.
- 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
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:
data DeleteDeploymentGroup Source
Represents the input of a delete deployment group operation.
See: deleteDeploymentGroup
smart constructor.
Request Lenses
ddgApplicationName :: Lens' DeleteDeploymentGroup Text Source
The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.
ddgDeploymentGroupName :: Lens' DeleteDeploymentGroup Text Source
The name of an existing deployment group for the specified application.
Destructuring the Response
deleteDeploymentGroupResponse Source
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:
data DeleteDeploymentGroupResponse Source
Represents the output of a delete deployment group operation.
See: deleteDeploymentGroupResponse
smart constructor.
Response Lenses
ddgrsHooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse [AutoScalingGroup] Source
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. If the output does contain 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 Source
The response status code.