pub struct StartDocumentAnalysisRequest {
pub client_request_token: Option<String>,
pub document_location: DocumentLocation,
pub feature_types: Vec<String>,
pub job_tag: Option<String>,
pub notification_channel: Option<NotificationChannel>,
}Fields§
§client_request_token: Option<String>The idempotent token that you use to identify the start request. If you use the same token with multiple StartDocumentAnalysis requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations.
document_location: DocumentLocationThe location of the document to be processed.
feature_types: Vec<String>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 FeatureTypes. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes).
job_tag: Option<String>An identifier that you specify that's included in the completion notification published to the Amazon SNS topic. For example, you can use JobTag to identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).
notification_channel: Option<NotificationChannel>The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
Trait Implementations§
Source§impl Clone for StartDocumentAnalysisRequest
impl Clone for StartDocumentAnalysisRequest
Source§fn clone(&self) -> StartDocumentAnalysisRequest
fn clone(&self) -> StartDocumentAnalysisRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StartDocumentAnalysisRequest
impl Debug for StartDocumentAnalysisRequest
Source§impl Default for StartDocumentAnalysisRequest
impl Default for StartDocumentAnalysisRequest
Source§fn default() -> StartDocumentAnalysisRequest
fn default() -> StartDocumentAnalysisRequest
Source§impl PartialEq for StartDocumentAnalysisRequest
impl PartialEq for StartDocumentAnalysisRequest
Source§fn eq(&self, other: &StartDocumentAnalysisRequest) -> bool
fn eq(&self, other: &StartDocumentAnalysisRequest) -> bool
self and other values to be equal, and is used by ==.