Struct aws_sdk_route53resolver::client::fluent_builders::DeleteResolverQueryLogConfig [−][src]
pub struct DeleteResolverQueryLogConfig<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteResolverQueryLogConfig
.
Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration.
Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig.
If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.
Implementations
impl<C, M, R> DeleteResolverQueryLogConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteResolverQueryLogConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteResolverQueryLogConfigOutput, SdkError<DeleteResolverQueryLogConfigError>> where
R::Policy: SmithyRetryPolicy<DeleteResolverQueryLogConfigInputOperationOutputAlias, DeleteResolverQueryLogConfigOutput, DeleteResolverQueryLogConfigError, DeleteResolverQueryLogConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteResolverQueryLogConfigOutput, SdkError<DeleteResolverQueryLogConfigError>> where
R::Policy: SmithyRetryPolicy<DeleteResolverQueryLogConfigInputOperationOutputAlias, DeleteResolverQueryLogConfigOutput, DeleteResolverQueryLogConfigError, DeleteResolverQueryLogConfigInputOperationRetryAlias>,
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 ID of the query logging configuration that you want to delete.
The ID of the query logging configuration that you want to delete.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteResolverQueryLogConfig<C, M, R>
impl<C, M, R> Send for DeleteResolverQueryLogConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteResolverQueryLogConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteResolverQueryLogConfig<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteResolverQueryLogConfig<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