MigrationHubOrchestrator / Client / list_tags_for_resource

list_tags_for_resource#

MigrationHubOrchestrator.Client.list_tags_for_resource(**kwargs)#

List the tags added to a resource.

See also: AWS API Documentation

Request Syntax

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

resourceArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the resource.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • tags (dict) –

      The tags added to a resource.

      • (string) –

        • (string) –

Exceptions

  • MigrationHubOrchestrator.Client.exceptions.ValidationException

  • MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException