Struct aws_sdk_route53resolver::client::fluent_builders::AssociateResolverRule [−][src]
pub struct AssociateResolverRule<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssociateResolverRule
.
Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.
Implementations
impl<C, M, R> AssociateResolverRule<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateResolverRule<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateResolverRuleOutput, SdkError<AssociateResolverRuleError>> where
R::Policy: SmithyRetryPolicy<AssociateResolverRuleInputOperationOutputAlias, AssociateResolverRuleOutput, AssociateResolverRuleError, AssociateResolverRuleInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateResolverRuleOutput, SdkError<AssociateResolverRuleError>> where
R::Policy: SmithyRetryPolicy<AssociateResolverRuleInputOperationOutputAlias, AssociateResolverRuleOutput, AssociateResolverRuleError, AssociateResolverRuleInputOperationRetryAlias>,
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 Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.
The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.
A name for the association that you're creating between a Resolver rule and a VPC.
A name for the association that you're creating between a Resolver rule and a VPC.
The ID of the VPC that you want to associate the Resolver rule with.
The ID of the VPC that you want to associate the Resolver rule with.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for AssociateResolverRule<C, M, R>
impl<C, M, R> Send for AssociateResolverRule<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateResolverRule<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateResolverRule<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for AssociateResolverRule<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