AIOps / Client / untag_resource

untag_resource

AIOps.Client.untag_resource(**kwargs)

Removes one or more tags from the specified resource.

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource that you want to remove the tags from. You can use the ListInvestigationGroups operation to find the ARNs of investigation groups.

  • tagKeys (list) –

    [REQUIRED]

    The list of tag keys to remove from the resource.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AIOps.Client.exceptions.AccessDeniedException

  • AIOps.Client.exceptions.ForbiddenException

  • AIOps.Client.exceptions.ResourceNotFoundException

  • AIOps.Client.exceptions.ThrottlingException

  • AIOps.Client.exceptions.ValidationException

  • AIOps.Client.exceptions.InternalServerException

  • AIOps.Client.exceptions.ConflictException