CodeGuruSecurity / Client / untag_resource

untag_resource#

CodeGuruSecurity.Client.untag_resource(**kwargs)#

Use to remove one or more tags from an existing scan.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan.

  • tagKeys (list) –

    [REQUIRED]

    A list of keys for each tag you want to remove from a scan.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • CodeGuruSecurity.Client.exceptions.InternalServerException

  • CodeGuruSecurity.Client.exceptions.ConflictException

  • CodeGuruSecurity.Client.exceptions.ResourceNotFoundException

  • CodeGuruSecurity.Client.exceptions.ThrottlingException

  • CodeGuruSecurity.Client.exceptions.ValidationException

  • CodeGuruSecurity.Client.exceptions.AccessDeniedException