Struct aws_sdk_rekognition::input::DetectLabelsInput
source · [−]#[non_exhaustive]pub struct DetectLabelsInput { /* private fields */ }Implementations
sourceimpl DetectLabelsInput
impl DetectLabelsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectLabels, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectLabels, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DetectLabels>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectLabelsInput.
sourceimpl DetectLabelsInput
impl DetectLabelsInput
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 image bytes is not supported. Images stored in an S3 Bucket do not need to be base64-encoded.
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 max_labels(&self) -> Option<i32>
pub fn max_labels(&self) -> Option<i32>
Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels.
sourcepub fn min_confidence(&self) -> Option<f32>
pub fn min_confidence(&self) -> Option<f32>
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value.
If MinConfidence is not specified, the operation returns labels with a confidence values greater than or equal to 55 percent.
Trait Implementations
sourceimpl Clone for DetectLabelsInput
impl Clone for DetectLabelsInput
sourcefn clone(&self) -> DetectLabelsInput
fn clone(&self) -> DetectLabelsInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more