OpenSearchIngestion / Client / list_tags_for_resource

list_tags_for_resource#

OpenSearchIngestion.Client.list_tags_for_resource(**kwargs)#

Lists all resource tags associated with an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon OpenSearch Ingestion pipelines.

See also: AWS API Documentation

Request Syntax

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

Arn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the pipeline to retrieve tags for.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • Tags (list) –

      A list of tags associated with the given pipeline.

      • (dict) –

        A tag (key-value pair) for an OpenSearch Ingestion pipeline.

        • Key (string) –

          The tag key. Tag keys must be unique for the pipeline to which they are attached.

        • Value (string) –

          The value assigned to the corresponding tag key. Tag values can be null and don’t have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity and cost-center : Trinity

Exceptions

  • OpenSearchIngestion.Client.exceptions.ValidationException

  • OpenSearchIngestion.Client.exceptions.ResourceNotFoundException

  • OpenSearchIngestion.Client.exceptions.InternalException

  • OpenSearchIngestion.Client.exceptions.AccessDeniedException