Struct aws_sdk_route53resolver::client::fluent_builders::AssociateResolverQueryLogConfig [−][src]
pub struct AssociateResolverQueryLogConfig<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssociateResolverQueryLogConfig
.
Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs
that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig
request for each VPC.
The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.
To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.
Implementations
impl<C, M, R> AssociateResolverQueryLogConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateResolverQueryLogConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateResolverQueryLogConfigOutput, SdkError<AssociateResolverQueryLogConfigError>> where
R::Policy: SmithyRetryPolicy<AssociateResolverQueryLogConfigInputOperationOutputAlias, AssociateResolverQueryLogConfigOutput, AssociateResolverQueryLogConfigError, AssociateResolverQueryLogConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateResolverQueryLogConfigOutput, SdkError<AssociateResolverQueryLogConfigError>> where
R::Policy: SmithyRetryPolicy<AssociateResolverQueryLogConfigInputOperationOutputAlias, AssociateResolverQueryLogConfigOutput, AssociateResolverQueryLogConfigError, AssociateResolverQueryLogConfigInputOperationRetryAlias>,
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 associate a VPC with.
The ID of the query logging configuration that you want to associate a VPC with.
The ID of an Amazon VPC that you want this query logging configuration to log queries for.
The VPCs and the query logging configuration must be in the same Region.
The ID of an Amazon VPC that you want this query logging configuration to log queries for.
The VPCs and the query logging configuration must be in the same Region.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for AssociateResolverQueryLogConfig<C, M, R>
impl<C, M, R> Send for AssociateResolverQueryLogConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateResolverQueryLogConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateResolverQueryLogConfig<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for AssociateResolverQueryLogConfig<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