1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartTextDetection`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`video(Video)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::video) / [`set_video(Option<Video>)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::set_video):<br>required: **true**<br><p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <code>StartLabelDetection</code> use <code>Video</code> to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p><br>
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::set_client_request_token):<br>required: **false**<br><p>Idempotent token used to identify the start request. If you use the same token with multiple <code>StartTextDetection</code> requests, the same <code>JobId</code> is returned. Use <code>ClientRequestToken</code> to prevent the same job from being accidentaly started more than once.</p><br>
    ///   - [`notification_channel(NotificationChannel)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::notification_channel) / [`set_notification_channel(Option<NotificationChannel>)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::set_notification_channel):<br>required: **false**<br><p>The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the completion status of a video analysis operation. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/api-video.html">Calling Amazon Rekognition Video operations</a>. Note that the Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html#api-video-roles-all-topics">Giving access to multiple Amazon SNS topics</a>.</p><br>
    ///   - [`job_tag(impl Into<String>)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::job_tag) / [`set_job_tag(Option<String>)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::set_job_tag):<br>required: **false**<br><p>An identifier returned in the completion status published by your Amazon Simple Notification Service topic. For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p><br>
    ///   - [`filters(StartTextDetectionFilters)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::filters) / [`set_filters(Option<StartTextDetectionFilters>)`](crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::set_filters):<br>required: **false**<br><p>Optional parameters that let you set criteria the text must meet to be included in your response.</p><br>
    /// - On success, responds with [`StartTextDetectionOutput`](crate::operation::start_text_detection::StartTextDetectionOutput) with field(s):
    ///   - [`job_id(Option<String>)`](crate::operation::start_text_detection::StartTextDetectionOutput::job_id): <p>Identifier for the text detection job. Use <code>JobId</code> to identify the job in a subsequent call to <code>GetTextDetection</code>.</p>
    /// - On failure, responds with [`SdkError<StartTextDetectionError>`](crate::operation::start_text_detection::StartTextDetectionError)
    pub fn start_text_detection(&self) -> crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder {
        crate::operation::start_text_detection::builders::StartTextDetectionFluentBuilder::new(self.handle.clone())
    }
}