amazonka-elb-1.3.1: Amazon Elastic Load Balancing SDK.

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

Network.AWS.ELB.AddTags

Contents

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 Load Balancer in the Elastic Load Balancing Developer Guide.

See: AWS API Reference for AddTags.

Synopsis

Creating a Request

addTags Source

Arguments

:: NonEmpty Tag

atTags

-> AddTags 

Creates a value of AddTags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

atLoadBalancerNames :: Lens' AddTags [Text] Source

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

Destructuring the Response

addTagsResponse Source

Creates a value of AddTagsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

atrsResponseStatus :: Lens' AddTagsResponse Int Source

The response status code.