Struct aws_sdk_appsync::model::log_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LogConfig
.
Implementations§
source§impl Builder
impl Builder
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 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.
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 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.