Skip to content

LogConfig

Source code in docs_src/capo_appsync/types/log_config.py
class LogConfig(TypedDict, closed=True):
    field_log_level: "capo_appsync.types.field_log_level.FieldLogLevel"
    """<p>The field logging level. Values can be NONE, ERROR, or ALL.</p> <ul> <li> <p> <b>NONE</b>: No field-level logs are captured.</p> </li> <li> <p> <b>ERROR</b>: Logs the following information only for the fields that are in error:</p> <ul> <li> <p>The error section in the server response.</p> </li> <li> <p>Field-level errors.</p> </li> <li> <p>The generated request/response functions that got resolved for error fields.</p> </li> </ul> </li> <li> <p> <b>ALL</b>: The following information is logged for all fields in the query:</p> <ul> <li> <p>Field-level tracing information.</p> </li> <li> <p>The generated request/response functions that got resolved for each field.</p> </li> </ul> </li> </ul>"""
    cloud_watch_logs_role_arn: "capo_appsync.types.string.String"
    """<p>The service role that AppSync assumes to publish to CloudWatch logs in your account.</p>"""
    exclude_verbose_content: "capo_appsync.types.boolean.Boolean"
    """<p>Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.</p>"""

cloud_watch_logs_role_arn instance-attribute

cloud_watch_logs_role_arn: String

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

exclude_verbose_content instance-attribute

exclude_verbose_content: Boolean

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

field_log_level instance-attribute

field_log_level: FieldLogLevel

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.