untag_resource
async
¶
untag_resource(
tag_keys: TagKeyList,
resource_arn: ResourceARN,
*,
config_overrides: Optional[AsyncKinesisClientConfig] = None,
stream_id: Optional[StreamId] = None,
) -> None
Removes tags from the specified Kinesis resource. Removed tags are deleted and can't be recovered after this operation completes successfully.
The Kinesis resource can be a data stream, a queue, or an enhanced fan-out consumer.
Parameters:
-
tag_keys(TagKeyList) –A list of tag key-value pairs. Existing tags of the resource whose keys are members of this list will be removed from the Kinesis resource.
-
resource_arn(ResourceARN) –The Amazon Resource Name (ARN) of the Kinesis resource from which to remove tags.
-
stream_id(Optional[StreamId], default:None) –Not Implemented. Reserved for future use.
Raises:
-
AccessDeniedException–Specifies that you do not have the permissions required to perform this operation.
-
InternalFailureException–The processing of the request failed because of an unknown error, exception, or failure.
-
InvalidArgumentException–A specified parameter exceeds its restrictions, is not supported, or can't be used. For more information, see the returned message.
-
LimitExceededException–The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
-
ResourceInUseException–The resource is not available for this operation. For successful operation, the resource must be in the
ACTIVEstate. -
ResourceNotFoundException–The requested resource could not be found. The stream might not be specified correctly.
-
ValidationException–The request failed validation. For example, a parameter value is not valid, a combination of parameters is not supported, or the operation is not supported for the stream's capacity mode. The error message describes the specific reason.
-
UnknownServiceError–The service returned an error code this client does not model.