AWS AppSync
API Reference (API Version 2017-07-25)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.


The CloudWatch Logs configuration.



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

Type: String

Required: Yes


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

Type: Boolean

Required: No


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.

Type: String

Valid Values: NONE | ERROR | ALL

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: