// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StartDocumentAnalysis`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`document_location(DocumentLocation)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::document_location) / [`set_document_location(Option<DocumentLocation>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::set_document_location):<br>required: **true**<br><p>The location of the document to be processed.</p><br>
/// - [`feature_types(FeatureType)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::feature_types) / [`set_feature_types(Option<Vec::<FeatureType>>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::set_feature_types):<br>required: **true**<br><p>A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. To perform both types of analysis, add TABLES and FORMS to <code>FeatureTypes</code>. All lines and words detected in the document are included in the response (including text that isn't related to the value of <code>FeatureTypes</code>).</p><br>
/// - [`client_request_token(impl Into<String>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::set_client_request_token):<br>required: **false**<br><p>The idempotent token that you use to identify the start request. If you use the same token with multiple <code>StartDocumentAnalysis</code> requests, the same <code>JobId</code> is returned. Use <code>ClientRequestToken</code> to prevent the same job from being accidentally started more than once. For more information, see <a href="https://docs.aws.amazon.com/textract/latest/dg/api-async.html">Calling Amazon Textract Asynchronous Operations</a>.</p><br>
/// - [`job_tag(impl Into<String>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::job_tag) / [`set_job_tag(Option<String>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::set_job_tag):<br>required: **false**<br><p>An identifier that you specify that's included in the completion notification published to the Amazon SNS topic. For example, you can use <code>JobTag</code> to identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).</p><br>
/// - [`notification_channel(NotificationChannel)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::notification_channel) / [`set_notification_channel(Option<NotificationChannel>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::set_notification_channel):<br>required: **false**<br><p>The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.</p><br>
/// - [`output_config(OutputConfig)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::output_config) / [`set_output_config(Option<OutputConfig>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::set_output_config):<br>required: **false**<br><p>Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results internally to be accessed by the GetDocumentAnalysis operation.</p><br>
/// - [`kms_key_id(impl Into<String>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::kms_key_id) / [`set_kms_key_id(Option<String>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::set_kms_key_id):<br>required: **false**<br><p>The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.</p><br>
/// - [`queries_config(QueriesConfig)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::queries_config) / [`set_queries_config(Option<QueriesConfig>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::set_queries_config):<br>required: **false**<br><p></p><br>
/// - [`adapters_config(AdaptersConfig)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::adapters_config) / [`set_adapters_config(Option<AdaptersConfig>)`](crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::set_adapters_config):<br>required: **false**<br><p>Specifies the adapter to be used when analyzing a document.</p><br>
/// - On success, responds with [`StartDocumentAnalysisOutput`](crate::operation::start_document_analysis::StartDocumentAnalysisOutput) with field(s):
/// - [`job_id(Option<String>)`](crate::operation::start_document_analysis::StartDocumentAnalysisOutput::job_id): <p>The identifier for the document text detection job. Use <code>JobId</code> to identify the job in a subsequent call to <code>GetDocumentAnalysis</code>. A <code>JobId</code> value is only valid for 7 days.</p>
/// - On failure, responds with [`SdkError<StartDocumentAnalysisError>`](crate::operation::start_document_analysis::StartDocumentAnalysisError)
pub fn start_document_analysis(&self) -> crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder {
crate::operation::start_document_analysis::builders::StartDocumentAnalysisFluentBuilder::new(self.handle.clone())
}
}