Removes one or more tags from the specified pipes.
Parameters:
-
resource_arn
(PipeArn)
–
-
tag_keys
(TagKeyList)
–
The list of tag keys to remove from the pipe.
Raises:
Source code in docs_src/capo_pipes/_services/async_pipes.py
| async def untag_resource(
self,
resource_arn: "capo_pipes.types.pipe_arn.PipeArn",
tag_keys: "capo_pipes.types.tag_key_list.TagKeyList",
*,
config_overrides: Optional[AsyncPipesClientConfig] = None,
) -> "capo_pipes.types.untag_resource_response.UntagResourceResponse":
"""<p>Removes one or more tags from the specified pipes.</p>
Args:
resource_arn: <p>The ARN of the pipe.</p>
tag_keys: <p>The list of tag keys to remove from the pipe.</p>
Raises:
capo_pipes.errors.internal_exception.InternalException: <p>This exception occurs due to unexpected causes.</p>
capo_pipes.errors.not_found_exception.NotFoundException: <p>An entity that you specified does not exist.</p>
capo_pipes.errors.validation_exception.ValidationException: <p>Indicates that an error has occurred while performing a validate operation.</p>
capo_pipes.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_pipes.types.untag_resource_request.UntagResourceRequest]",
) -> AsyncOperationResponse[
"capo_pipes.types.untag_resource_response.UntagResourceResponse"
]:
import capo_pipes._operations.pipes.untag_resource
(
output,
http_response,
) = await capo_pipes._operations.pipes.untag_resource.async_untag_resource(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("UntagResource")
)
input_: capo_pipes.types.untag_resource_request.UntagResourceRequest = {
"resource_arn": resource_arn,
"tag_keys": tag_keys,
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|