Struct aws_sdk_route53resolver::client::fluent_builders::AssociateResolverQueryLogConfig
source · [−]pub struct AssociateResolverQueryLogConfig { /* private fields */ }
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
sourceimpl AssociateResolverQueryLogConfig
impl AssociateResolverQueryLogConfig
sourcepub async fn send(
self
) -> Result<AssociateResolverQueryLogConfigOutput, SdkError<AssociateResolverQueryLogConfigError>>
pub async fn send(
self
) -> Result<AssociateResolverQueryLogConfigOutput, SdkError<AssociateResolverQueryLogConfigError>>
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.
sourcepub fn resolver_query_log_config_id(self, input: impl Into<String>) -> Self
pub fn resolver_query_log_config_id(self, input: impl Into<String>) -> Self
The ID of the query logging configuration that you want to associate a VPC with.
sourcepub fn set_resolver_query_log_config_id(self, input: Option<String>) -> Self
pub fn set_resolver_query_log_config_id(self, input: Option<String>) -> Self
The ID of the query logging configuration that you want to associate a VPC with.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
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
sourceimpl Clone for AssociateResolverQueryLogConfig
impl Clone for AssociateResolverQueryLogConfig
sourcefn clone(&self) -> AssociateResolverQueryLogConfig
fn clone(&self) -> AssociateResolverQueryLogConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for AssociateResolverQueryLogConfig
impl Send for AssociateResolverQueryLogConfig
impl Sync for AssociateResolverQueryLogConfig
impl Unpin for AssociateResolverQueryLogConfig
impl !UnwindSafe for AssociateResolverQueryLogConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more