DescribeTags - Elastic Load Balancing

DescribeTags

Describes the tags associated with the specified load balancers.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

LoadBalancerNames.member.N

The names of the load balancers.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 20 items.

Required: Yes

Response Elements

The following element is returned by the service.

TagDescriptions.member.N

Information about the tags.

Type: Array of TagDescription objects

Errors

For information about the errors that are common to all actions, see Common Errors.

LoadBalancerNotFound

The specified load balancer does not exist.

HTTP Status Code: 400

Examples

Describe load balancer tags

This example describes the tags assigned to the specified load balancer.

Sample Request

https://elasticloadbalancing.amazonaws.com/?Action=DescribeTags &LoadBalancerNames.member.1=my-loadbalancer &Version=2012-06-01 &AUTHPARAMS

Sample Response

<DescribeTagsResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/"> <DescribeTagsResult> <TagDescriptions> <member> <Tags> <member> <Value>lima</Value> <Key>project</Key> </member> <member> <Value>digital-media</Value> <Key>department</Key> </member> </Tags> <LoadBalancerName>my-loadbalancer</LoadBalancerName> </member> </TagDescriptions> </DescribeTagsResult> <ResponseMetadata> <RequestId>07b1ecbc-1100-11e3-acaf-dd7edEXAMPLE</RequestId> </ResponseMetadata> </DescribeTagsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: