untag_resource
async
¶
untag_resource(
resource_arn: ScanNameArn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[AsyncCodeGuruSecurityClientConfig] = None,
) -> UntagResourceResponse
Use to remove one or more tags from an existing scan.
Parameters:
-
resource_arn(ScanNameArn) –The ARN of the
ScanNameobject. You can retrieve this ARN by callingCreateScan,ListScans, orGetScan. -
tag_keys(TagKeyList) –A list of keys for each tag you want to remove from a scan.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource specified in the request was not found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.