ListTagsForResource - AWS Elastic Beanstalk

ListTagsForResource

Return the tags applied to an AWS Elastic Beanstalk resource. The response contains a list of tag key-value pairs.

Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging Application Resources.

Request Parameters

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

ResourceArn

The Amazon Resource Name (ARN) of the resouce for which a tag list is requested.

Must be the ARN of an Elastic Beanstalk resource.

Type: String

Required: Yes

Response Elements

The following elements are returned by the service.

ResourceArn

The Amazon Resource Name (ARN) of the resource for which a tag list was requested.

Type: String

ResourceTags.member.N

A list of tag key-value pairs.

Type: Array of Tag objects

Errors

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

InsufficientPrivileges

The specified account does not have sufficient privileges for one or more AWS services.

HTTP Status Code: 403

ResourceNotFound

A resource doesn't exist for the specified Amazon Resource Name (ARN).

HTTP Status Code: 400

ResourceTypeNotSupported

The type of the specified Amazon Resource Name (ARN) isn't supported for this operation.

HTTP Status Code: 400

See Also

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