AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LogConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  field_log_level: "NONE", # required, accepts NONE, ERROR, ALL
  cloud_watch_logs_role_arn: "String", # required
  exclude_verbose_content: false,
}

The CloudWatch Logs configuration.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logs_role_arnString

The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

Returns:

  • (String)

    The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

#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)

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

#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.

      Possible values:

      • NONE
      • ERROR
      • ALL

Returns:

  • (String)

    The field logging level.