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 |
Synopsis
- data AsyncInferenceNotificationConfig = AsyncInferenceNotificationConfig' {
- errorTopic :: Maybe Text
- successTopic :: Maybe Text
- newAsyncInferenceNotificationConfig :: AsyncInferenceNotificationConfig
- asyncInferenceNotificationConfig_errorTopic :: Lens' AsyncInferenceNotificationConfig (Maybe Text)
- asyncInferenceNotificationConfig_successTopic :: Lens' AsyncInferenceNotificationConfig (Maybe Text)
Documentation
data AsyncInferenceNotificationConfig Source #
Specifies the configuration for notifications of inference results for asynchronous inference.
See: newAsyncInferenceNotificationConfig
smart constructor.
AsyncInferenceNotificationConfig' | |
|
Instances
newAsyncInferenceNotificationConfig :: AsyncInferenceNotificationConfig Source #
Create a value of AsyncInferenceNotificationConfig
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:errorTopic:AsyncInferenceNotificationConfig'
, asyncInferenceNotificationConfig_errorTopic
- Amazon SNS topic to post a notification to when inference fails. If no
topic is provided, no notification is sent on failure.
$sel:successTopic:AsyncInferenceNotificationConfig'
, asyncInferenceNotificationConfig_successTopic
- Amazon SNS topic to post a notification to when inference completes
successfully. If no topic is provided, no notification is sent on
success.
asyncInferenceNotificationConfig_errorTopic :: Lens' AsyncInferenceNotificationConfig (Maybe Text) Source #
Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
asyncInferenceNotificationConfig_successTopic :: Lens' AsyncInferenceNotificationConfig (Maybe Text) Source #
Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.