#[non_exhaustive]pub struct StartFaceDetectionInput {
pub video: Option<Video>,
pub client_request_token: Option<String>,
pub notification_channel: Option<NotificationChannel>,
pub face_attributes: Option<FaceAttributes>,
pub job_tag: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.video: Option<Video>The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.
client_request_token: Option<String>Idempotent token used to identify the start request. If you use the same token with multiple StartFaceDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.
notification_channel: Option<NotificationChannel>The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
face_attributes: Option<FaceAttributes>The face attributes you want returned.
DEFAULT - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks.
ALL - All facial attributes are returned.
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.
Implementations§
source§impl StartFaceDetectionInput
impl StartFaceDetectionInput
sourcepub fn video(&self) -> Option<&Video>
pub fn video(&self) -> Option<&Video>
The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Idempotent token used to identify the start request. If you use the same token with multiple StartFaceDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.
sourcepub fn notification_channel(&self) -> Option<&NotificationChannel>
pub fn notification_channel(&self) -> Option<&NotificationChannel>
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
sourcepub fn face_attributes(&self) -> Option<&FaceAttributes>
pub fn face_attributes(&self) -> Option<&FaceAttributes>
The face attributes you want returned.
DEFAULT - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks.
ALL - All facial attributes are returned.
source§impl StartFaceDetectionInput
impl StartFaceDetectionInput
sourcepub fn builder() -> StartFaceDetectionInputBuilder
pub fn builder() -> StartFaceDetectionInputBuilder
Creates a new builder-style object to manufacture StartFaceDetectionInput.
Trait Implementations§
source§impl Clone for StartFaceDetectionInput
impl Clone for StartFaceDetectionInput
source§fn clone(&self) -> StartFaceDetectionInput
fn clone(&self) -> StartFaceDetectionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartFaceDetectionInput
impl Debug for StartFaceDetectionInput
source§impl PartialEq for StartFaceDetectionInput
impl PartialEq for StartFaceDetectionInput
source§fn eq(&self, other: &StartFaceDetectionInput) -> bool
fn eq(&self, other: &StartFaceDetectionInput) -> bool
self and other values to be equal, and is used
by ==.