PI / Client / untag_resource

untag_resource#

PI.Client.untag_resource(**kwargs)#

Deletes the metadata tags from the Amazon RDS Performance Insights resource.

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    ServiceType='RDS'|'DOCDB',
    ResourceARN='string',
    TagKeys=[
        'string',
    ]
)
Parameters:
  • ServiceType (string) –

    [REQUIRED]

    List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.

  • ResourceARN (string) –

    [REQUIRED]

    The Amazon RDS Performance Insights resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

  • TagKeys (list) –

    [REQUIRED]

    The metadata assigned to an Amazon RDS Performance Insights resource consisting of a key-value pair.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • PI.Client.exceptions.InvalidArgumentException

  • PI.Client.exceptions.InternalServiceError

  • PI.Client.exceptions.NotAuthorizedException