Struct aws_sdk_route53resolver::operation::associate_resolver_query_log_config::builders::AssociateResolverQueryLogConfigFluentBuilder
source · pub struct AssociateResolverQueryLogConfigFluentBuilder { /* 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§
source§impl AssociateResolverQueryLogConfigFluentBuilder
impl AssociateResolverQueryLogConfigFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AssociateResolverQueryLogConfig, AwsResponseRetryClassifier>, SdkError<AssociateResolverQueryLogConfigError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AssociateResolverQueryLogConfig, AwsResponseRetryClassifier>, SdkError<AssociateResolverQueryLogConfigError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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§
source§impl Clone for AssociateResolverQueryLogConfigFluentBuilder
impl Clone for AssociateResolverQueryLogConfigFluentBuilder
source§fn clone(&self) -> AssociateResolverQueryLogConfigFluentBuilder
fn clone(&self) -> AssociateResolverQueryLogConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more