Class: Aws::AppSync::Types::LogConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appsync/types.rb

Overview

The Amazon CloudWatch Logs configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logs_role_arnString

The service role that AppSync assumes to publish to CloudWatch logs in your account.

Returns:

  • (String)


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_contentBoolean

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

Returns:

  • (Boolean)


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_levelString

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.

Returns:

  • (String)


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