libZSservicesZSamazonka-elbv2ZSamazonka-elbv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ELBV2.DeleteTargetGroup

Description

Deletes the specified target group.

You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 instances continue to run until you stop or terminate them.

Synopsis

Creating a Request

data DeleteTargetGroup Source #

See: newDeleteTargetGroup smart constructor.

Constructors

DeleteTargetGroup' 

Fields

Instances

Instances details
Eq DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Read DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Show DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Generic DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Associated Types

type Rep DeleteTargetGroup :: Type -> Type #

NFData DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Methods

rnf :: DeleteTargetGroup -> () #

Hashable DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

AWSRequest DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Associated Types

type AWSResponse DeleteTargetGroup #

ToHeaders DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

ToPath DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

ToQuery DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

type Rep DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

type Rep DeleteTargetGroup = D1 ('MetaData "DeleteTargetGroup" "Amazonka.ELBV2.DeleteTargetGroup" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "DeleteTargetGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteTargetGroup Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

newDeleteTargetGroup Source #

Create a value of DeleteTargetGroup 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:targetGroupArn:DeleteTargetGroup', deleteTargetGroup_targetGroupArn - The Amazon Resource Name (ARN) of the target group.

Request Lenses

deleteTargetGroup_targetGroupArn :: Lens' DeleteTargetGroup Text Source #

The Amazon Resource Name (ARN) of the target group.

Destructuring the Response

data DeleteTargetGroupResponse Source #

See: newDeleteTargetGroupResponse smart constructor.

Constructors

DeleteTargetGroupResponse' 

Fields

Instances

Instances details
Eq DeleteTargetGroupResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Read DeleteTargetGroupResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Show DeleteTargetGroupResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Generic DeleteTargetGroupResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

Associated Types

type Rep DeleteTargetGroupResponse :: Type -> Type #

NFData DeleteTargetGroupResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

type Rep DeleteTargetGroupResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteTargetGroup

type Rep DeleteTargetGroupResponse = D1 ('MetaData "DeleteTargetGroupResponse" "Amazonka.ELBV2.DeleteTargetGroup" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "DeleteTargetGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteTargetGroupResponse Source #

Create a value of DeleteTargetGroupResponse 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:httpStatus:DeleteTargetGroupResponse', deleteTargetGroupResponse_httpStatus - The response's http status code.

Response Lenses