Struct aws_sdk_route53resolver::operation::create_resolver_query_log_config::CreateResolverQueryLogConfigInput
source · #[non_exhaustive]pub struct CreateResolverQueryLogConfigInput {
pub name: Option<String>,
pub destination_arn: Option<String>,
pub creator_request_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name that you want to give the query logging configuration.
destination_arn: Option<String>
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
creator_request_id: Option<String>
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 list of the tag keys and values that you want to associate with the query logging configuration.
Implementations§
source§impl CreateResolverQueryLogConfigInput
impl CreateResolverQueryLogConfigInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name that you want to give the query logging configuration.
sourcepub fn destination_arn(&self) -> Option<&str>
pub fn destination_arn(&self) -> Option<&str>
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
sourcepub fn creator_request_id(&self) -> Option<&str>
pub fn creator_request_id(&self) -> Option<&str>
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 list of the tag keys and values that you want to associate with the query logging configuration.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateResolverQueryLogConfigInput
impl CreateResolverQueryLogConfigInput
sourcepub fn builder() -> CreateResolverQueryLogConfigInputBuilder
pub fn builder() -> CreateResolverQueryLogConfigInputBuilder
Creates a new builder-style object to manufacture CreateResolverQueryLogConfigInput
.
Trait Implementations§
source§impl Clone for CreateResolverQueryLogConfigInput
impl Clone for CreateResolverQueryLogConfigInput
source§fn clone(&self) -> CreateResolverQueryLogConfigInput
fn clone(&self) -> CreateResolverQueryLogConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateResolverQueryLogConfigInput
impl PartialEq for CreateResolverQueryLogConfigInput
source§fn eq(&self, other: &CreateResolverQueryLogConfigInput) -> bool
fn eq(&self, other: &CreateResolverQueryLogConfigInput) -> bool
self
and other
values to be equal, and is used
by ==
.