#[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 ==
.impl StructuralPartialEq for AwsAppSyncGraphQlApiLogConfigDetails
Auto Trait Implementations§
impl Freeze for AwsAppSyncGraphQlApiLogConfigDetails
impl RefUnwindSafe for AwsAppSyncGraphQlApiLogConfigDetails
impl Send for AwsAppSyncGraphQlApiLogConfigDetails
impl Sync for AwsAppSyncGraphQlApiLogConfigDetails
impl Unpin for AwsAppSyncGraphQlApiLogConfigDetails
impl UnwindSafe for AwsAppSyncGraphQlApiLogConfigDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more