Struct aws_sdk_route53resolver::client::fluent_builders::PutResolverQueryLogConfigPolicy [−][src]
pub struct PutResolverQueryLogConfigPolicy<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PutResolverQueryLogConfigPolicy
.
Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.
Implementations
impl<C, M, R> PutResolverQueryLogConfigPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutResolverQueryLogConfigPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutResolverQueryLogConfigPolicyOutput, SdkError<PutResolverQueryLogConfigPolicyError>> where
R::Policy: SmithyRetryPolicy<PutResolverQueryLogConfigPolicyInputOperationOutputAlias, PutResolverQueryLogConfigPolicyOutput, PutResolverQueryLogConfigPolicyError, PutResolverQueryLogConfigPolicyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutResolverQueryLogConfigPolicyOutput, SdkError<PutResolverQueryLogConfigPolicyError>> where
R::Policy: SmithyRetryPolicy<PutResolverQueryLogConfigPolicyInputOperationOutputAlias, PutResolverQueryLogConfigPolicyOutput, PutResolverQueryLogConfigPolicyError, PutResolverQueryLogConfigPolicyInputOperationRetryAlias>,
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 Amazon Resource Name (ARN) of the account that you want to share rules with.
The Amazon Resource Name (ARN) of the account that you want to share rules with.
An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account
and the operations that you want the account to be able to perform. You can specify the following operations in the Actions
section
of the statement:
-
route53resolver:AssociateResolverQueryLogConfig
-
route53resolver:DisassociateResolverQueryLogConfig
-
route53resolver:ListResolverQueryLogConfigAssociations
-
route53resolver:ListResolverQueryLogConfigs
In the Resource
section of the statement, you specify the ARNs for the query logging configurations that you want to share
with the account that you specified in Arn
.
An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account
and the operations that you want the account to be able to perform. You can specify the following operations in the Actions
section
of the statement:
-
route53resolver:AssociateResolverQueryLogConfig
-
route53resolver:DisassociateResolverQueryLogConfig
-
route53resolver:ListResolverQueryLogConfigAssociations
-
route53resolver:ListResolverQueryLogConfigs
In the Resource
section of the statement, you specify the ARNs for the query logging configurations that you want to share
with the account that you specified in Arn
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for PutResolverQueryLogConfigPolicy<C, M, R>
impl<C, M, R> Send for PutResolverQueryLogConfigPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutResolverQueryLogConfigPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutResolverQueryLogConfigPolicy<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for PutResolverQueryLogConfigPolicy<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