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

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

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

Overview

Note:

When making an API call, you may pass LogConfig data as a 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.

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)


1942
1943
1944
1945
1946
1947
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1942

class LogConfig < Struct.new(
  :field_log_level,
  :cloud_watch_logs_role_arn,
  :exclude_verbose_content)
  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)


1942
1943
1944
1945
1946
1947
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1942

class LogConfig < Struct.new(
  :field_log_level,
  :cloud_watch_logs_role_arn,
  :exclude_verbose_content)
  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)


1942
1943
1944
1945
1946
1947
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1942

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