mgn / Client / list_tags_for_resource

list_tags_for_resource#

mgn.Client.list_tags_for_resource(**kwargs)#

List all tags for your Application Migration Service resources.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    resourceArn='string'
)
Parameters:

resourceArn (string) –

[REQUIRED]

List tags for resource request by ARN.

Return type:

dict

Returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • tags (dict) –

      List tags for resource response.

      • (string) –

        • (string) –

Exceptions

  • mgn.Client.exceptions.ResourceNotFoundException

  • mgn.Client.exceptions.ThrottlingException

  • mgn.Client.exceptions.ValidationException

  • mgn.Client.exceptions.AccessDeniedException

  • mgn.Client.exceptions.InternalServerException