untag_resource
¶
untag_resource(
tag_keys: TagKeyList,
resource_arn: ResourceARN,
*,
config_overrides: Optional[KinesisClientConfig] = 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.
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.
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.