#[non_exhaustive]pub struct StartDocumentTextDetectionInput { /* private fields */ }
Implementations§
source§impl StartDocumentTextDetectionInput
impl StartDocumentTextDetectionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartDocumentTextDetection, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartDocumentTextDetection, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartDocumentTextDetection
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartDocumentTextDetectionInput
.
source§impl StartDocumentTextDetectionInput
impl StartDocumentTextDetectionInput
sourcepub fn document_location(&self) -> Option<&DocumentLocation>
pub fn document_location(&self) -> Option<&DocumentLocation>
The location of the document to be processed.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
The idempotent token that's used to identify the start request. If you use the same token with multiple StartDocumentTextDetection
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.
sourcepub fn job_tag(&self) -> Option<&str>
pub fn job_tag(&self) -> Option<&str>
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).
sourcepub fn notification_channel(&self) -> Option<&NotificationChannel>
pub fn notification_channel(&self) -> Option<&NotificationChannel>
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
sourcepub fn output_config(&self) -> Option<&OutputConfig>
pub fn output_config(&self) -> Option<&OutputConfig>
Sets if the output will go to a customer defined bucket. By default Amazon Textract will save the results internally to be accessed with the GetDocumentTextDetection operation.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
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.
Trait Implementations§
source§impl Clone for StartDocumentTextDetectionInput
impl Clone for StartDocumentTextDetectionInput
source§fn clone(&self) -> StartDocumentTextDetectionInput
fn clone(&self) -> StartDocumentTextDetectionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<StartDocumentTextDetectionInput> for StartDocumentTextDetectionInput
impl PartialEq<StartDocumentTextDetectionInput> for StartDocumentTextDetectionInput
source§fn eq(&self, other: &StartDocumentTextDetectionInput) -> bool
fn eq(&self, other: &StartDocumentTextDetectionInput) -> bool
self
and other
values to be equal, and is used
by ==
.