Class: Aws::AppSync::Types::LogConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::LogConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appsync/types.rb
Overview
The Amazon CloudWatch Logs configuration.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cloud_watch_logs_role_arn ⇒ String
The service role that AppSync assumes to publish to CloudWatch logs in your account.
-
#exclude_verbose_content ⇒ Boolean
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.
Instance Attribute Details
#cloud_watch_logs_role_arn ⇒ String
The service role that AppSync assumes to publish to CloudWatch logs in your account.
4152 4153 4154 4155 4156 4157 4158 |
# File 'lib/aws-sdk-appsync/types.rb', line 4152 class LogConfig < Struct.new( :field_log_level, :cloud_watch_logs_role_arn, :exclude_verbose_content) SENSITIVE = [] include Aws::Structure end |
#exclude_verbose_content ⇒ Boolean
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
4152 4153 4154 4155 4156 4157 4158 |
# File 'lib/aws-sdk-appsync/types.rb', line 4152 class LogConfig < Struct.new( :field_log_level, :cloud_watch_logs_role_arn, :exclude_verbose_content) SENSITIVE = [] include Aws::Structure end |
#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.
-
4152 4153 4154 4155 4156 4157 4158 |
# File 'lib/aws-sdk-appsync/types.rb', line 4152 class LogConfig < Struct.new( :field_log_level, :cloud_watch_logs_role_arn, :exclude_verbose_content) SENSITIVE = [] include Aws::Structure end |