libZSservicesZSamazonka-lambdaZSamazonka-lambda
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

Read DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

Show 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 #

NFData DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

Methods

rnf :: DestinationConfig -> () #

Hashable DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

ToJSON DestinationConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.DestinationConfig

FromJSON 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" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "DestinationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "onSuccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OnSuccess)) :*: S1 ('MetaSel ('Just "onFailure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OnFailure))))

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:onSuccess:DestinationConfig', destinationConfig_onSuccess - The destination configuration for successful invocations.

$sel:onFailure:DestinationConfig', destinationConfig_onFailure - The destination configuration for failed invocations.

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

The destination configuration for successful invocations.

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

The destination configuration for failed invocations.