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.DestinationConfig

Description

 
Synopsis

Documentation

data DestinationConfig Source #

A configuration object that specifies the destination of an event after Lambda processes it.

See: newDestinationConfig smart constructor.

Constructors

DestinationConfig' 

Fields

Instances

Instances details
FromJSON DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

ToJSON DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

Generic DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

Associated Types

type Rep DestinationConfig :: Type -> Type #

Read DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

Show DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

NFData DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

Methods

rnf :: DestinationConfig -> () #

Eq DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

Hashable DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

type Rep DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

type Rep DestinationConfig = D1 ('MetaData "DestinationConfig" "Amazonka.Lambda.Types.DestinationConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "DestinationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "onFailure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OnFailure)) :*: S1 ('MetaSel ('Just "onSuccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OnSuccess))))

newDestinationConfig :: DestinationConfig Source #

Create a value of DestinationConfig 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:onFailure:DestinationConfig', destinationConfig_onFailure - The destination configuration for failed invocations.

$sel:onSuccess:DestinationConfig', destinationConfig_onSuccess - The destination configuration for successful invocations.

destinationConfig_onFailure :: Lens' DestinationConfig (Maybe OnFailure) Source #

The destination configuration for failed invocations.

destinationConfig_onSuccess :: Lens' DestinationConfig (Maybe OnSuccess) Source #

The destination configuration for successful invocations.