amazonka-codedeploy-2.0: Amazon CodeDeploy SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeDeploy.DeleteDeploymentGroup

Description

Deletes a deployment group.

Synopsis

Creating a Request

data DeleteDeploymentGroup Source #

Represents the input of a DeleteDeploymentGroup operation.

See: newDeleteDeploymentGroup smart constructor.

Constructors

DeleteDeploymentGroup' 

Fields

Instances

Instances details
ToJSON DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

ToHeaders DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

ToPath DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

ToQuery DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

AWSRequest DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

Associated Types

type AWSResponse DeleteDeploymentGroup #

Generic DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

Associated Types

type Rep DeleteDeploymentGroup :: Type -> Type #

Read DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

Show DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

NFData DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

Methods

rnf :: DeleteDeploymentGroup -> () #

Eq DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

Hashable DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

type AWSResponse DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

type Rep DeleteDeploymentGroup Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

type Rep DeleteDeploymentGroup = D1 ('MetaData "DeleteDeploymentGroup" "Amazonka.CodeDeploy.DeleteDeploymentGroup" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "DeleteDeploymentGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deploymentGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteDeploymentGroup Source #

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:

DeleteDeploymentGroup, deleteDeploymentGroup_applicationName - The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

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 CodeDeploy application associated with the IAM user or Amazon Web Services 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.

Constructors

DeleteDeploymentGroupResponse' 

Fields

  • hooksNotCleanedUp :: Maybe [AutoScalingGroup]

    If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, 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, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteDeploymentGroupResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

Associated Types

type Rep DeleteDeploymentGroupResponse :: Type -> Type #

Read DeleteDeploymentGroupResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

Show DeleteDeploymentGroupResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

NFData DeleteDeploymentGroupResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

Eq DeleteDeploymentGroupResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

type Rep DeleteDeploymentGroupResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.DeleteDeploymentGroup

type Rep DeleteDeploymentGroupResponse = D1 ('MetaData "DeleteDeploymentGroupResponse" "Amazonka.CodeDeploy.DeleteDeploymentGroup" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "DeleteDeploymentGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hooksNotCleanedUp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AutoScalingGroup])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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, 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, 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, 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, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.