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)


3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-appsync/types.rb', line 3614

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)


3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-appsync/types.rb', line 3614

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)


3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-appsync/types.rb', line 3614

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