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 |
Documentation
data DestinationConfig Source #
A configuration object that specifies the destination of an event after Lambda processes it.
See: newDestinationConfig
smart constructor.
Instances
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.