Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Client.AddTags C# (CSharp) Method

AddTags() public method

Adds the specified tags to the specified resource. You can tag your Application Load Balancers and your target groups.

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.

To list the current tags for your resources, use DescribeTags. To remove tags from your resources, use RemoveTags.

/// A tag key was specified more than once. /// /// The specified load balancer does not exist. /// /// The specified target group does not exist. /// /// You've reached the limit on the number of tags per load balancer. ///
public AddTags ( AddTagsRequest request ) : AddTagsResponse
request Amazon.ElasticLoadBalancingV2.Model.AddTagsRequest Container for the necessary parameters to execute the AddTags service method.
return AddTagsResponse
        public AddTagsResponse AddTags(AddTagsRequest request)
        {
            var marshaller = new AddTagsRequestMarshaller();
            var unmarshaller = AddTagsResponseUnmarshaller.Instance;

            return Invoke<AddTagsRequest,AddTagsResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticLoadBalancingV2Client