Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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: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.