pub struct LogConfig {
pub cloud_watch_logs_role_arn: String,
pub exclude_verbose_content: Option<bool>,
pub field_log_level: String,
}
Expand description
The CloudWatch Logs configuration.
Fields§
§cloud_watch_logs_role_arn: String
The service role that AWS AppSync will assume to publish to Amazon 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: String
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.
-