| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppSync.Types.LogConfig
Description
Documentation
The Amazon CloudWatch Logs configuration.
See: newLogConfig smart constructor.
Constructors
| LogConfig' | |
Fields
| |
Instances
| FromJSON LogConfig Source # | |
| ToJSON LogConfig Source # | |
Defined in Amazonka.AppSync.Types.LogConfig | |
| Generic LogConfig Source # | |
| Read LogConfig Source # | |
| Show LogConfig Source # | |
| NFData LogConfig Source # | |
Defined in Amazonka.AppSync.Types.LogConfig | |
| Eq LogConfig Source # | |
| Hashable LogConfig Source # | |
Defined in Amazonka.AppSync.Types.LogConfig | |
| type Rep LogConfig Source # | |
Defined in Amazonka.AppSync.Types.LogConfig type Rep LogConfig = D1 ('MetaData "LogConfig" "Amazonka.AppSync.Types.LogConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "LogConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "excludeVerboseContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "fieldLogLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldLogLevel) :*: S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |
Arguments
| :: FieldLogLevel | |
| -> Text | |
| -> LogConfig |
Create a value of LogConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:excludeVerboseContent:LogConfig', logConfig_excludeVerboseContent - Set to TRUE to exclude sections that contain information such as
headers, context, and evaluated mapping templates, regardless of logging
level.
$sel:fieldLogLevel:LogConfig', logConfig_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.
$sel:cloudWatchLogsRoleArn:LogConfig', logConfig_cloudWatchLogsRoleArn - The service role that AppSync assumes to publish to CloudWatch logs in
your account.
logConfig_excludeVerboseContent :: Lens' LogConfig (Maybe Bool) Source #
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
logConfig_fieldLogLevel :: Lens' LogConfig FieldLogLevel Source #
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.