Struct aws_sdk_route53resolver::client::fluent_builders::CreateResolverQueryLogConfig [−][src]
pub struct CreateResolverQueryLogConfig<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateResolverQueryLogConfig
.
Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration.
To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig
. For more information, see
AssociateResolverQueryLogConfig.
You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration.
Implementations
impl<C, M, R> CreateResolverQueryLogConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateResolverQueryLogConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateResolverQueryLogConfigOutput, SdkError<CreateResolverQueryLogConfigError>> where
R::Policy: SmithyRetryPolicy<CreateResolverQueryLogConfigInputOperationOutputAlias, CreateResolverQueryLogConfigOutput, CreateResolverQueryLogConfigError, CreateResolverQueryLogConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateResolverQueryLogConfigOutput, SdkError<CreateResolverQueryLogConfigError>> where
R::Policy: SmithyRetryPolicy<CreateResolverQueryLogConfigInputOperationOutputAlias, CreateResolverQueryLogConfigOutput, CreateResolverQueryLogConfigError, CreateResolverQueryLogConfigInputOperationRetryAlias>,
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 name that you want to give the query logging configuration.
The name that you want to give the query logging configuration.
The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:
-
S3 bucket:
arn:aws:s3:::examplebucket
You can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/
-
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*
-
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:
-
S3 bucket:
arn:aws:s3:::examplebucket
You can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/
-
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*
-
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
A unique string that identifies the request and that allows failed requests to be retried
without the risk of running the operation twice. CreatorRequestId
can be
any unique string, for example, a date/time stamp.
A unique string that identifies the request and that allows failed requests to be retried
without the risk of running the operation twice. CreatorRequestId
can be
any unique string, for example, a date/time stamp.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of the tag keys and values that you want to associate with the query logging configuration.
A list of the tag keys and values that you want to associate with the query logging configuration.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateResolverQueryLogConfig<C, M, R>
impl<C, M, R> Send for CreateResolverQueryLogConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateResolverQueryLogConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateResolverQueryLogConfig<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateResolverQueryLogConfig<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