#[non_exhaustive]pub struct AwsAppSyncGraphQlApiLogConfigDetails {
pub cloud_watch_logs_role_arn: Option<String>,
pub exclude_verbose_content: Option<bool>,
pub field_log_level: Option<String>,
}
Expand description
Specifies the logging configuration when writing GraphQL operations and tracing to Amazon CloudWatch for an AppSync GraphQL API.
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.cloud_watch_logs_role_arn: Option<String>
The Amazon Resource Name (ARN) of the service role that AppSync assumes to publish to CloudWatch Logs in your account.
exclude_verbose_content: Option<bool>
Set to TRUE
to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
field_log_level: Option<String>
The field logging level.
Implementations§
source§impl AwsAppSyncGraphQlApiLogConfigDetails
impl AwsAppSyncGraphQlApiLogConfigDetails
sourcepub fn cloud_watch_logs_role_arn(&self) -> Option<&str>
pub fn cloud_watch_logs_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the service role that AppSync assumes to publish to CloudWatch Logs in your account.
sourcepub fn exclude_verbose_content(&self) -> Option<bool>
pub fn exclude_verbose_content(&self) -> Option<bool>
Set to TRUE
to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
sourcepub fn field_log_level(&self) -> Option<&str>
pub fn field_log_level(&self) -> Option<&str>
The field logging level.
source§impl AwsAppSyncGraphQlApiLogConfigDetails
impl AwsAppSyncGraphQlApiLogConfigDetails
sourcepub fn builder() -> AwsAppSyncGraphQlApiLogConfigDetailsBuilder
pub fn builder() -> AwsAppSyncGraphQlApiLogConfigDetailsBuilder
Creates a new builder-style object to manufacture AwsAppSyncGraphQlApiLogConfigDetails
.
Trait Implementations§
source§impl Clone for AwsAppSyncGraphQlApiLogConfigDetails
impl Clone for AwsAppSyncGraphQlApiLogConfigDetails
source§fn clone(&self) -> AwsAppSyncGraphQlApiLogConfigDetails
fn clone(&self) -> AwsAppSyncGraphQlApiLogConfigDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsAppSyncGraphQlApiLogConfigDetails
impl PartialEq for AwsAppSyncGraphQlApiLogConfigDetails
source§fn eq(&self, other: &AwsAppSyncGraphQlApiLogConfigDetails) -> bool
fn eq(&self, other: &AwsAppSyncGraphQlApiLogConfigDetails) -> bool
self
and other
values to be equal, and is used
by ==
.