libZSservicesZSamazonka-elbZSamazonka-elb
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.ELB.AddTags

Description

Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.

Each tag consists of a key and an optional value. If a tag with the same key is already associated with the load balancer, AddTags updates its value.

For more information, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide.

Synopsis

Creating a Request

data AddTags Source #

Contains the parameters for AddTags.

See: newAddTags smart constructor.

Constructors

AddTags' 

Fields

Instances

Instances details
Eq AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Methods

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

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

Read AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Show AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Generic AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Associated Types

type Rep AddTags :: Type -> Type #

Methods

from :: AddTags -> Rep AddTags x #

to :: Rep AddTags x -> AddTags #

NFData AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Methods

rnf :: AddTags -> () #

Hashable AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Methods

hashWithSalt :: Int -> AddTags -> Int #

hash :: AddTags -> Int #

AWSRequest AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Associated Types

type AWSResponse AddTags #

ToHeaders AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Methods

toHeaders :: AddTags -> [Header] #

ToPath AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Methods

toPath :: AddTags -> ByteString #

ToQuery AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

type Rep AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

type Rep AddTags = D1 ('MetaData "AddTags" "Amazonka.ELB.AddTags" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "AddTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Tag))))
type AWSResponse AddTags Source # 
Instance details

Defined in Amazonka.ELB.AddTags

newAddTags Source #

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:loadBalancerNames:AddTags', addTags_loadBalancerNames - The name of the load balancer. You can specify one load balancer only.

$sel:tags:AddTags', addTags_tags - The tags.

Request Lenses

addTags_loadBalancerNames :: Lens' AddTags [Text] Source #

The name of the load balancer. You can specify one load balancer only.

Destructuring the Response

data AddTagsResponse Source #

Contains the output of AddTags.

See: newAddTagsResponse smart constructor.

Constructors

AddTagsResponse' 

Fields

Instances

Instances details
Eq AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Read AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Show AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Generic AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Associated Types

type Rep AddTagsResponse :: Type -> Type #

NFData AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELB.AddTags

Methods

rnf :: AddTagsResponse -> () #

type Rep AddTagsResponse Source # 
Instance details

Defined in Amazonka.ELB.AddTags

type Rep AddTagsResponse = D1 ('MetaData "AddTagsResponse" "Amazonka.ELB.AddTags" "libZSservicesZSamazonka-elbZSamazonka-elb" '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.