Struct aws_sdk_textract::input::StartDocumentTextDetectionInput [−][src]
#[non_exhaustive]pub struct StartDocumentTextDetectionInput {
pub document_location: Option<DocumentLocation>,
pub client_request_token: Option<String>,
pub job_tag: Option<String>,
pub notification_channel: Option<NotificationChannel>,
pub output_config: Option<OutputConfig>,
pub kms_key_id: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.document_location: Option<DocumentLocation>The location of the document to be processed.
client_request_token: Option<String>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.
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.
output_config: 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.
kms_key_id: Option<String>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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartDocumentTextDetection, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartDocumentTextDetection, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartDocumentTextDetection>
Creates a new builder-style object to manufacture StartDocumentTextDetectionInput
The location of the document to be processed.
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.
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).
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
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.
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for StartDocumentTextDetectionInput
impl Sync for StartDocumentTextDetectionInput
impl Unpin for StartDocumentTextDetectionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more