Struct aws_sdk_textract::input::StartExpenseAnalysisInput
source · #[non_exhaustive]pub struct StartExpenseAnalysisInput { /* private fields */ }
Implementations§
source§impl StartExpenseAnalysisInput
impl StartExpenseAnalysisInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartExpenseAnalysis, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartExpenseAnalysis, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartExpenseAnalysis
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartExpenseAnalysisInput
.
source§impl StartExpenseAnalysisInput
impl StartExpenseAnalysisInput
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 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 by the GetExpenseAnalysis
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 StartExpenseAnalysisInput
impl Clone for StartExpenseAnalysisInput
source§fn clone(&self) -> StartExpenseAnalysisInput
fn clone(&self) -> StartExpenseAnalysisInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartExpenseAnalysisInput
impl Debug for StartExpenseAnalysisInput
source§impl PartialEq<StartExpenseAnalysisInput> for StartExpenseAnalysisInput
impl PartialEq<StartExpenseAnalysisInput> for StartExpenseAnalysisInput
source§fn eq(&self, other: &StartExpenseAnalysisInput) -> bool
fn eq(&self, other: &StartExpenseAnalysisInput) -> bool
self
and other
values to be equal, and is used
by ==
.