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 |
Deletes a deployment group.
Synopsis
- data DeleteDeploymentGroup = DeleteDeploymentGroup' {}
- newDeleteDeploymentGroup :: Text -> Text -> DeleteDeploymentGroup
- deleteDeploymentGroup_applicationName :: Lens' DeleteDeploymentGroup Text
- deleteDeploymentGroup_deploymentGroupName :: Lens' DeleteDeploymentGroup Text
- data DeleteDeploymentGroupResponse = DeleteDeploymentGroupResponse' {}
- newDeleteDeploymentGroupResponse :: Int -> DeleteDeploymentGroupResponse
- deleteDeploymentGroupResponse_hooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse (Maybe [AutoScalingGroup])
- deleteDeploymentGroupResponse_httpStatus :: Lens' DeleteDeploymentGroupResponse Int
Creating a Request
data DeleteDeploymentGroup Source #
Represents the input of a DeleteDeploymentGroup
operation.
See: newDeleteDeploymentGroup
smart constructor.
DeleteDeploymentGroup' | |
|
Instances
newDeleteDeploymentGroup Source #
:: Text | |
-> Text | |
-> DeleteDeploymentGroup |
Create a value of DeleteDeploymentGroup
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:applicationName:DeleteDeploymentGroup'
, deleteDeploymentGroup_applicationName
- The name of an AWS CodeDeploy application associated with the IAM user
or AWS account.
$sel:deploymentGroupName:DeleteDeploymentGroup'
, deleteDeploymentGroup_deploymentGroupName
- The name of a deployment group for the specified application.
Request Lenses
deleteDeploymentGroup_applicationName :: Lens' DeleteDeploymentGroup Text Source #
The name of an AWS CodeDeploy application associated with the IAM user or AWS account.
deleteDeploymentGroup_deploymentGroupName :: Lens' DeleteDeploymentGroup Text Source #
The name of a deployment group for the specified application.
Destructuring the Response
data DeleteDeploymentGroupResponse Source #
Represents the output of a DeleteDeploymentGroup
operation.
See: newDeleteDeploymentGroupResponse
smart constructor.
DeleteDeploymentGroupResponse' | |
|
Instances
newDeleteDeploymentGroupResponse Source #
Create a value of DeleteDeploymentGroupResponse
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:hooksNotCleanedUp:DeleteDeploymentGroupResponse'
, deleteDeploymentGroupResponse_hooksNotCleanedUp
- 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.
$sel:httpStatus:DeleteDeploymentGroupResponse'
, deleteDeploymentGroupResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDeploymentGroupResponse_hooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse (Maybe [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 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.
deleteDeploymentGroupResponse_httpStatus :: Lens' DeleteDeploymentGroupResponse Int Source #
The response's http status code.