| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.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.
- addTags :: NonEmpty Tag -> AddTags
- data AddTags
- atLoadBalancerNames :: Lens' AddTags [Text]
- atTags :: Lens' AddTags (NonEmpty Tag)
- addTagsResponse :: Int -> AddTagsResponse
- data AddTagsResponse
- atrsResponseStatus :: Lens' AddTagsResponse Int
Creating a Request
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:
Contains the parameters for AddTags.
See: addTags smart constructor.
Instances
Request Lenses
atLoadBalancerNames :: Lens' AddTags [Text] Source #
The name of the load balancer. You can specify one load balancer only.
Destructuring the Response
Arguments
| :: Int | |
| -> AddTagsResponse |
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:
data AddTagsResponse Source #
Contains the output of AddTags.
See: addTagsResponse smart constructor.
Response Lenses
atrsResponseStatus :: Lens' AddTagsResponse Int Source #
The response status code.