amazonka-stepfunctions-2.0: Amazon Step Functions 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.StepFunctions.Types.LoggingConfiguration

Description

 
Synopsis

Documentation

data LoggingConfiguration Source #

The LoggingConfiguration data type is used to set CloudWatch Logs options.

See: newLoggingConfiguration smart constructor.

Constructors

LoggingConfiguration' 

Fields

  • destinations :: Maybe [LogDestination]

    An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.

  • includeExecutionData :: Maybe Bool

    Determines whether execution data is included in your log. When set to false, data is excluded.

  • level :: Maybe LogLevel

    Defines which category of execution history events are logged.

Instances

Instances details
FromJSON LoggingConfiguration Source # 
Instance details

Defined in Amazonka.StepFunctions.Types.LoggingConfiguration

ToJSON LoggingConfiguration Source # 
Instance details

Defined in Amazonka.StepFunctions.Types.LoggingConfiguration

Generic LoggingConfiguration Source # 
Instance details

Defined in Amazonka.StepFunctions.Types.LoggingConfiguration

Associated Types

type Rep LoggingConfiguration :: Type -> Type #

Read LoggingConfiguration Source # 
Instance details

Defined in Amazonka.StepFunctions.Types.LoggingConfiguration

Show LoggingConfiguration Source # 
Instance details

Defined in Amazonka.StepFunctions.Types.LoggingConfiguration

NFData LoggingConfiguration Source # 
Instance details

Defined in Amazonka.StepFunctions.Types.LoggingConfiguration

Methods

rnf :: LoggingConfiguration -> () #

Eq LoggingConfiguration Source # 
Instance details

Defined in Amazonka.StepFunctions.Types.LoggingConfiguration

Hashable LoggingConfiguration Source # 
Instance details

Defined in Amazonka.StepFunctions.Types.LoggingConfiguration

type Rep LoggingConfiguration Source # 
Instance details

Defined in Amazonka.StepFunctions.Types.LoggingConfiguration

type Rep LoggingConfiguration = D1 ('MetaData "LoggingConfiguration" "Amazonka.StepFunctions.Types.LoggingConfiguration" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "LoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LogDestination])) :*: (S1 ('MetaSel ('Just "includeExecutionData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogLevel)))))

newLoggingConfiguration :: LoggingConfiguration Source #

Create a value of LoggingConfiguration 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:destinations:LoggingConfiguration', loggingConfiguration_destinations - An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.

$sel:includeExecutionData:LoggingConfiguration', loggingConfiguration_includeExecutionData - Determines whether execution data is included in your log. When set to false, data is excluded.

$sel:level:LoggingConfiguration', loggingConfiguration_level - Defines which category of execution history events are logged.

loggingConfiguration_destinations :: Lens' LoggingConfiguration (Maybe [LogDestination]) Source #

An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.

loggingConfiguration_includeExecutionData :: Lens' LoggingConfiguration (Maybe Bool) Source #

Determines whether execution data is included in your log. When set to false, data is excluded.

loggingConfiguration_level :: Lens' LoggingConfiguration (Maybe LogLevel) Source #

Defines which category of execution history events are logged.