Struct aws_sdk_appsync::types::builders::LogConfigBuilder
source · #[non_exhaustive]pub struct LogConfigBuilder { /* private fields */ }
Expand description
A builder for LogConfig
.
Implementations§
source§impl LogConfigBuilder
impl LogConfigBuilder
sourcepub fn field_log_level(self, input: FieldLogLevel) -> Self
pub fn field_log_level(self, input: FieldLogLevel) -> Self
The field logging level. Values can be NONE, ERROR, or ALL.
-
NONE: No field-level logs are captured.
-
ERROR: Logs the following information only for the fields that are in error:
-
The error section in the server response.
-
Field-level errors.
-
The generated request/response functions that got resolved for error fields.
-
-
ALL: The following information is logged for all fields in the query:
-
Field-level tracing information.
-
The generated request/response functions that got resolved for each field.
-
sourcepub fn set_field_log_level(self, input: Option<FieldLogLevel>) -> Self
pub fn set_field_log_level(self, input: Option<FieldLogLevel>) -> Self
The field logging level. Values can be NONE, ERROR, or ALL.
-
NONE: No field-level logs are captured.
-
ERROR: Logs the following information only for the fields that are in error:
-
The error section in the server response.
-
Field-level errors.
-
The generated request/response functions that got resolved for error fields.
-
-
ALL: The following information is logged for all fields in the query:
-
Field-level tracing information.
-
The generated request/response functions that got resolved for each field.
-
sourcepub fn get_field_log_level(&self) -> &Option<FieldLogLevel>
pub fn get_field_log_level(&self) -> &Option<FieldLogLevel>
The field logging level. Values can be NONE, ERROR, or ALL.
-
NONE: No field-level logs are captured.
-
ERROR: Logs the following information only for the fields that are in error:
-
The error section in the server response.
-
Field-level errors.
-
The generated request/response functions that got resolved for error fields.
-
-
ALL: The following information is logged for all fields in the query:
-
Field-level tracing information.
-
The generated request/response functions that got resolved for each field.
-
sourcepub fn cloud_watch_logs_role_arn(self, input: impl Into<String>) -> Self
pub fn cloud_watch_logs_role_arn(self, input: impl Into<String>) -> Self
The service role that AppSync assumes to publish to CloudWatch logs in your account.
This field is required.sourcepub fn set_cloud_watch_logs_role_arn(self, input: Option<String>) -> Self
pub fn set_cloud_watch_logs_role_arn(self, input: Option<String>) -> Self
The service role that AppSync assumes to publish to CloudWatch logs in your account.
sourcepub fn get_cloud_watch_logs_role_arn(&self) -> &Option<String>
pub fn get_cloud_watch_logs_role_arn(&self) -> &Option<String>
The service role that AppSync assumes to publish to CloudWatch logs in your account.
sourcepub fn exclude_verbose_content(self, input: bool) -> Self
pub fn exclude_verbose_content(self, input: bool) -> Self
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
sourcepub fn set_exclude_verbose_content(self, input: Option<bool>) -> Self
pub fn set_exclude_verbose_content(self, input: Option<bool>) -> Self
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
sourcepub fn get_exclude_verbose_content(&self) -> &Option<bool>
pub fn get_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.
Trait Implementations§
source§impl Clone for LogConfigBuilder
impl Clone for LogConfigBuilder
source§fn clone(&self) -> LogConfigBuilder
fn clone(&self) -> LogConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LogConfigBuilder
impl Debug for LogConfigBuilder
source§impl Default for LogConfigBuilder
impl Default for LogConfigBuilder
source§fn default() -> LogConfigBuilder
fn default() -> LogConfigBuilder
source§impl PartialEq for LogConfigBuilder
impl PartialEq for LogConfigBuilder
impl StructuralPartialEq for LogConfigBuilder
Auto Trait Implementations§
impl Freeze for LogConfigBuilder
impl RefUnwindSafe for LogConfigBuilder
impl Send for LogConfigBuilder
impl Sync for LogConfigBuilder
impl Unpin for LogConfigBuilder
impl UnwindSafe for LogConfigBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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