#[non_exhaustive]pub struct AsyncInferenceNotificationConfig { /* private fields */ }
Expand description
Specifies the configuration for notifications of inference results for asynchronous inference.
Implementations§
source§impl AsyncInferenceNotificationConfig
impl AsyncInferenceNotificationConfig
sourcepub fn success_topic(&self) -> Option<&str>
pub fn success_topic(&self) -> Option<&str>
Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.
sourcepub fn error_topic(&self) -> Option<&str>
pub fn error_topic(&self) -> Option<&str>
Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
sourcepub fn include_inference_response_in(
&self
) -> Option<&[AsyncNotificationTopicTypes]>
pub fn include_inference_response_in( &self ) -> Option<&[AsyncNotificationTopicTypes]>
The Amazon SNS topics where you want the inference response to be included.
source§impl AsyncInferenceNotificationConfig
impl AsyncInferenceNotificationConfig
sourcepub fn builder() -> AsyncInferenceNotificationConfigBuilder
pub fn builder() -> AsyncInferenceNotificationConfigBuilder
Creates a new builder-style object to manufacture AsyncInferenceNotificationConfig
.
Trait Implementations§
source§impl Clone for AsyncInferenceNotificationConfig
impl Clone for AsyncInferenceNotificationConfig
source§fn clone(&self) -> AsyncInferenceNotificationConfig
fn clone(&self) -> AsyncInferenceNotificationConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<AsyncInferenceNotificationConfig> for AsyncInferenceNotificationConfig
impl PartialEq<AsyncInferenceNotificationConfig> for AsyncInferenceNotificationConfig
source§fn eq(&self, other: &AsyncInferenceNotificationConfig) -> bool
fn eq(&self, other: &AsyncInferenceNotificationConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.