Struct aws_sdk_secretsmanager::client::fluent_builders::UntagResource
source ·
[−]pub struct UntagResource<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UntagResource
.
Removes specific tags from a secret.
This operation is idempotent. If a requested tag is not attached to the secret, no error is returned and the secret metadata is unchanged.
If you use tags as part of your security strategy, then removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error.
Implementations
impl<C, M, R> UntagResource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UntagResource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UntagResourceOutput, SdkError<UntagResourceError>> where
R::Policy: SmithyRetryPolicy<UntagResourceInputOperationOutputAlias, UntagResourceOutput, UntagResourceError, UntagResourceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UntagResourceOutput, SdkError<UntagResourceError>> where
R::Policy: SmithyRetryPolicy<UntagResourceInputOperationOutputAlias, UntagResourceOutput, UntagResourceError, UntagResourceInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ARN or name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
The ARN or name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
Appends an item to TagKeys
.
To override the contents of this collection use set_tag_keys
.
A list of tag key names to remove from the secret. You don't specify the value. Both the key and its associated value are removed.
This parameter requires a JSON text string argument.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
A list of tag key names to remove from the secret. You don't specify the value. Both the key and its associated value are removed.
This parameter requires a JSON text string argument.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UntagResource<C, M, R>
impl<C, M, R> Unpin for UntagResource<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UntagResource<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more