#[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.
The inference response is included only if the response size is less than or equal to 128 KB.
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 ==
.impl StructuralPartialEq for AsyncInferenceNotificationConfig
Auto Trait Implementations§
impl RefUnwindSafe for AsyncInferenceNotificationConfig
impl Send for AsyncInferenceNotificationConfig
impl Sync for AsyncInferenceNotificationConfig
impl Unpin for AsyncInferenceNotificationConfig
impl UnwindSafe for AsyncInferenceNotificationConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more