Skip to content

AsyncInferenceNotificationConfig

Source code in docs_src/capo_sagemaker/types/async_inference_notification_config.py
class AsyncInferenceNotificationConfig(TypedDict, closed=True):
    success_topic: NotRequired["capo_sagemaker.types.sns_topic_arn.SnsTopicArn"]
    """<p>Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.</p>"""
    error_topic: NotRequired["capo_sagemaker.types.sns_topic_arn.SnsTopicArn"]
    """<p>Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.</p>"""
    include_inference_response_in: NotRequired[
        "capo_sagemaker.types.async_notification_topic_type_list.AsyncNotificationTopicTypeList"
    ]
    """<p>The Amazon SNS topics where you want the inference response to be included.</p> <note> <p>The inference response is included only if the response size is less than or equal to 128 KB.</p> </note>"""

error_topic instance-attribute

error_topic: NotRequired[SnsTopicArn]

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

include_inference_response_in instance-attribute

include_inference_response_in: NotRequired[AsyncNotificationTopicTypeList]

The Amazon SNS topics where you want the inference response to be included.

The inference response is included only if the response size is less than or equal to 128 KB.

success_topic instance-attribute

success_topic: NotRequired[SnsTopicArn]

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