Struct aws_sdk_comprehend::operation::start_document_classification_job::StartDocumentClassificationJobOutput
source · #[non_exhaustive]pub struct StartDocumentClassificationJobOutput { /* private fields */ }Implementations§
source§impl StartDocumentClassificationJobOutput
impl StartDocumentClassificationJobOutput
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The identifier generated for the job. To get the status of the job, use this identifier with the DescribeDocumentClassificationJob operation.
sourcepub fn job_arn(&self) -> Option<&str>
pub fn job_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn job_status(&self) -> Option<&JobStatus>
pub fn job_status(&self) -> Option<&JobStatus>
The status of the job:
-
SUBMITTED - The job has been received and queued for processing.
-
IN_PROGRESS - Amazon Comprehend is processing the job.
-
COMPLETED - The job was successfully completed and the output is available.
-
FAILED - The job did not complete. For details, use the
DescribeDocumentClassificationJoboperation. -
STOP_REQUESTED - Amazon Comprehend has received a stop request for the job and is processing the request.
-
STOPPED - The job was successfully stopped without completing.
sourcepub fn document_classifier_arn(&self) -> Option<&str>
pub fn document_classifier_arn(&self) -> Option<&str>
The ARN of the custom classification model.
source§impl StartDocumentClassificationJobOutput
impl StartDocumentClassificationJobOutput
sourcepub fn builder() -> StartDocumentClassificationJobOutputBuilder
pub fn builder() -> StartDocumentClassificationJobOutputBuilder
Creates a new builder-style object to manufacture StartDocumentClassificationJobOutput.
Trait Implementations§
source§impl Clone for StartDocumentClassificationJobOutput
impl Clone for StartDocumentClassificationJobOutput
source§fn clone(&self) -> StartDocumentClassificationJobOutput
fn clone(&self) -> StartDocumentClassificationJobOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<StartDocumentClassificationJobOutput> for StartDocumentClassificationJobOutput
impl PartialEq<StartDocumentClassificationJobOutput> for StartDocumentClassificationJobOutput
source§fn eq(&self, other: &StartDocumentClassificationJobOutput) -> bool
fn eq(&self, other: &StartDocumentClassificationJobOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for StartDocumentClassificationJobOutput
impl RequestId for StartDocumentClassificationJobOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.