amazonka-elbv2-2.0: Amazon Elastic Load Balancing 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.ELBV2.AddTags

Description

Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, and rules.

Each tag consists of a key and an optional value. If a resource already has a tag with the same key, AddTags updates its value.

Synopsis

Creating a Request

data AddTags Source #

See: newAddTags smart constructor.

Constructors

AddTags' 

Fields

Instances

Instances details
ToHeaders AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Methods

toHeaders :: AddTags -> [Header] #

ToPath AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Methods

toPath :: AddTags -> ByteString #

ToQuery AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

AWSRequest AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Associated Types

type AWSResponse AddTags #

Generic AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Associated Types

type Rep AddTags :: Type -> Type #

Methods

from :: AddTags -> Rep AddTags x #

to :: Rep AddTags x -> AddTags #

Read AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Show AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

NFData AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Methods

rnf :: AddTags -> () #

Eq AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Methods

(==) :: AddTags -> AddTags -> Bool #

(/=) :: AddTags -> AddTags -> Bool #

Hashable AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Methods

hashWithSalt :: Int -> AddTags -> Int #

hash :: AddTags -> Int #

type AWSResponse AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

type Rep AddTags Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

type Rep AddTags = D1 ('MetaData "AddTags" "Amazonka.ELBV2.AddTags" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "AddTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Tag))))

newAddTags Source #

Arguments

:: NonEmpty Tag

AddTags

-> AddTags 

Create a value of AddTags 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:resourceArns:AddTags', addTags_resourceArns - The Amazon Resource Name (ARN) of the resource.

AddTags, addTags_tags - The tags.

Request Lenses

addTags_resourceArns :: Lens' AddTags [Text] Source #

The Amazon Resource Name (ARN) of the resource.

Destructuring the Response

data AddTagsResponse Source #

See: newAddTagsResponse smart constructor.

Constructors

AddTagsResponse' 

Fields

Instances

Instances details
Generic AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Associated Types

type Rep AddTagsResponse :: Type -> Type #

Read AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Show AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

NFData AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

Methods

rnf :: AddTagsResponse -> () #

Eq AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

type Rep AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.AddTags

type Rep AddTagsResponse = D1 ('MetaData "AddTagsResponse" "Amazonka.ELBV2.AddTags" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "AddTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddTagsResponse Source #

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

Response Lenses

addTagsResponse_httpStatus :: Lens' AddTagsResponse Int Source #

The response's http status code.