Struct aws_sdk_rekognition::input::DetectFacesInput
source · [−]#[non_exhaustive]pub struct DetectFacesInput { /* private fields */ }Implementations
sourceimpl DetectFacesInput
impl DetectFacesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectFaces, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectFaces, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DetectFaces>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectFacesInput.
sourceimpl DetectFacesInput
impl DetectFacesInput
sourcepub fn image(&self) -> Option<&Image>
pub fn image(&self) -> Option<&Image>
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.
sourcepub fn attributes(&self) -> Option<&[Attribute]>
pub fn attributes(&self) -> Option<&[Attribute]>
An array of facial attributes you want to be returned. This can be the default list of attributes or all attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"], the API returns the following subset of facial attributes: BoundingBox, Confidence, Pose, Quality, and Landmarks. If you provide ["ALL"], all facial attributes are returned, but the operation takes longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which attributes to return (in this case, all attributes).
Trait Implementations
sourceimpl Clone for DetectFacesInput
impl Clone for DetectFacesInput
sourcefn clone(&self) -> DetectFacesInput
fn clone(&self) -> DetectFacesInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more