untag_resource
¶
untag_resource(
resource_arn: SpaceArn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[OpenSearchMemoryClientConfig] = None,
) -> UntagResourceResponse
Removes the specified tags from the specified space.
Parameters:
-
resource_arn(SpaceArn) –The Amazon Resource Name (ARN) of the space.
-
tag_keys(TagKeyList) –The keys of the tags to remove from the space.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this operation. To use this operation, you must have AWS Identity and Access Management (IAM) permissions for the operation, and on the resource it acts on. If the space uses a customer managed AWS Key Management Service (AWS KMS) key, you must also have permission to use the key.
-
InternalServerException–The service couldn't process the request because of an internal error. Retry the request.
-
ResourceNotFoundException–The specified resource doesn't exist. Check the IDs in the request.
-
ThrottlingException–The service throttled the request. Retry the request with exponential backoff.
-
ValidationException–The request isn't valid. The
reason,message, andfieldListmembers describe the problem. Fix the request, and then try again. -
UnknownServiceError–The service returned an error code this client does not model.