Struct aws_sdk_appsync::model::LogConfig
source · [−]#[non_exhaustive]pub struct LogConfig {
pub field_log_level: Option<FieldLogLevel>,
pub cloud_watch_logs_role_arn: Option<String>,
pub exclude_verbose_content: bool,
}
Expand description
The Amazon CloudWatch Logs configuration.
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.field_log_level: 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.
-
cloud_watch_logs_role_arn: Option<String>
The service role that AppSync assumes to publish to CloudWatch logs in your account.
exclude_verbose_content: bool
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
Implementations
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.
-
The service role that AppSync assumes to publish to CloudWatch logs in your account.
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LogConfig
impl UnwindSafe for LogConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more