amazonka-lambda-2.0: Amazon Lambda SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lambda.Types.TracingConfig

Description

 
Synopsis

Documentation

data TracingConfig Source #

The function's X-Ray tracing configuration. To sample and record incoming requests, set Mode to Active.

See: newTracingConfig smart constructor.

Constructors

TracingConfig' 

Fields

Instances

Instances details
ToJSON TracingConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.TracingConfig

Generic TracingConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.TracingConfig

Associated Types

type Rep TracingConfig :: Type -> Type #

Read TracingConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.TracingConfig

Show TracingConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.TracingConfig

NFData TracingConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.TracingConfig

Methods

rnf :: TracingConfig -> () #

Eq TracingConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.TracingConfig

Hashable TracingConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.TracingConfig

type Rep TracingConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.TracingConfig

type Rep TracingConfig = D1 ('MetaData "TracingConfig" "Amazonka.Lambda.Types.TracingConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "TracingConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TracingMode))))

newTracingConfig :: TracingConfig Source #

Create a value of TracingConfig 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:mode:TracingConfig', tracingConfig_mode - The tracing mode.