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)


3635
3636
3637
3638
3639
3640
3641
# File 'lib/aws-sdk-appsync/types.rb', line 3635

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)


3635
3636
3637
3638
3639
3640
3641
# File 'lib/aws-sdk-appsync/types.rb', line 3635

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, INFO, DEBUG, or ALL.

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in the error category:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • INFO: Logs the following information only for the fields that are in the info and error categories:

    • Info-level messages.

    • The user messages sent through ‘$util.log.info` and `console.log`.

    • Field-level tracing and mapping logs are not shown.

  • DEBUG: Logs the following information only for the fields that are in the debug, info, and error categories:

    • Debug-level messages.

    • The user messages sent through ‘$util.log.info`, `$util.log.debug`, `console.log`, and `console.debug`.

    • Field-level tracing and mapping logs are not shown.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that were resolved for each field.

Returns:

  • (String)


3635
3636
3637
3638
3639
3640
3641
# File 'lib/aws-sdk-appsync/types.rb', line 3635

class LogConfig < Struct.new(
  :field_log_level,
  :cloud_watch_logs_role_arn,
  :exclude_verbose_content)
  SENSITIVE = []
  include Aws::Structure
end