libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
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.SageMaker.Types.AsyncInferenceNotificationConfig

Description

 
Synopsis

Documentation

data AsyncInferenceNotificationConfig Source #

Specifies the configuration for notifications of inference results for asynchronous inference.

See: newAsyncInferenceNotificationConfig smart constructor.

Constructors

AsyncInferenceNotificationConfig' 

Fields

  • errorTopic :: Maybe Text

    Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.

  • successTopic :: Maybe Text

    Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.

Instances

Instances details
Eq AsyncInferenceNotificationConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig

Read AsyncInferenceNotificationConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig

Show AsyncInferenceNotificationConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig

Generic AsyncInferenceNotificationConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig

Associated Types

type Rep AsyncInferenceNotificationConfig :: Type -> Type #

NFData AsyncInferenceNotificationConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig

Hashable AsyncInferenceNotificationConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig

ToJSON AsyncInferenceNotificationConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig

FromJSON AsyncInferenceNotificationConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig

type Rep AsyncInferenceNotificationConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig

type Rep AsyncInferenceNotificationConfig = D1 ('MetaData "AsyncInferenceNotificationConfig" "Amazonka.SageMaker.Types.AsyncInferenceNotificationConfig" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "AsyncInferenceNotificationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "successTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.