pub struct StartContentModerationRequest {
pub client_request_token: Option<String>,
pub job_tag: Option<String>,
pub min_confidence: Option<f32>,
pub notification_channel: Option<NotificationChannel>,
pub video: Video,
}
Fields
client_request_token: Option<String>
Idempotent token used to identify the start request. If you use the same token with multiple StartContentModeration
requests, the same JobId
is returned. Use ClientRequestToken
to prevent the same job from being accidently started more than once.
job_tag: Option<String>
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag
to group related jobs and identify them in the completion notification.
min_confidence: Option<f32>
Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label. Confidence represents how certain Amazon Rekognition is that the moderated content is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition doesn't return any moderated content labels with a confidence level lower than this specified value. If you don't specify MinConfidence
, GetContentModeration
returns labels with confidence values greater than or equal to 50 percent.
notification_channel: Option<NotificationChannel>
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the unsafe content analysis to.
video: Video
The video in which you want to detect unsafe content. The video must be stored in an Amazon S3 bucket.
Trait Implementations
sourceimpl Clone for StartContentModerationRequest
impl Clone for StartContentModerationRequest
sourcefn clone(&self) -> StartContentModerationRequest
fn clone(&self) -> StartContentModerationRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StartContentModerationRequest
impl Debug for StartContentModerationRequest
sourceimpl Default for StartContentModerationRequest
impl Default for StartContentModerationRequest
sourcefn default() -> StartContentModerationRequest
fn default() -> StartContentModerationRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartContentModerationRequest> for StartContentModerationRequest
impl PartialEq<StartContentModerationRequest> for StartContentModerationRequest
sourcefn eq(&self, other: &StartContentModerationRequest) -> bool
fn eq(&self, other: &StartContentModerationRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartContentModerationRequest) -> bool
fn ne(&self, other: &StartContentModerationRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartContentModerationRequest
Auto Trait Implementations
impl RefUnwindSafe for StartContentModerationRequest
impl Send for StartContentModerationRequest
impl Sync for StartContentModerationRequest
impl Unpin for StartContentModerationRequest
impl UnwindSafe for StartContentModerationRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more