Struct aws_sdk_comprehend::operation::start_targeted_sentiment_detection_job::StartTargetedSentimentDetectionJobOutput
source · #[non_exhaustive]pub struct StartTargetedSentimentDetectionJobOutput {
pub job_id: Option<String>,
pub job_arn: Option<String>,
pub job_status: Option<JobStatus>,
/* private fields */
}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.job_id: Option<String>The identifier generated for the job. To get the status of a job, use this identifier with the DescribeTargetedSentimentDetectionJob operation.
job_arn: Option<String>The Amazon Resource Name (ARN) of the targeted sentiment detection 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:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
job_status: Option<JobStatus>The status of the job.
-
SUBMITTED - The job has been received and is 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. To get details, use the
DescribeTargetedSentimentDetectionJoboperation.
Implementations§
source§impl StartTargetedSentimentDetectionJobOutput
impl StartTargetedSentimentDetectionJobOutput
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 a job, use this identifier with the DescribeTargetedSentimentDetectionJob operation.
sourcepub fn job_arn(&self) -> Option<&str>
pub fn job_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the targeted sentiment detection 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:targeted-sentiment-detection-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 is 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. To get details, use the
DescribeTargetedSentimentDetectionJoboperation.
source§impl StartTargetedSentimentDetectionJobOutput
impl StartTargetedSentimentDetectionJobOutput
sourcepub fn builder() -> StartTargetedSentimentDetectionJobOutputBuilder
pub fn builder() -> StartTargetedSentimentDetectionJobOutputBuilder
Creates a new builder-style object to manufacture StartTargetedSentimentDetectionJobOutput.
Trait Implementations§
source§impl Clone for StartTargetedSentimentDetectionJobOutput
impl Clone for StartTargetedSentimentDetectionJobOutput
source§fn clone(&self) -> StartTargetedSentimentDetectionJobOutput
fn clone(&self) -> StartTargetedSentimentDetectionJobOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for StartTargetedSentimentDetectionJobOutput
impl PartialEq for StartTargetedSentimentDetectionJobOutput
source§fn eq(&self, other: &StartTargetedSentimentDetectionJobOutput) -> bool
fn eq(&self, other: &StartTargetedSentimentDetectionJobOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for StartTargetedSentimentDetectionJobOutput
impl RequestId for StartTargetedSentimentDetectionJobOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for StartTargetedSentimentDetectionJobOutput
Auto Trait Implementations§
impl Freeze for StartTargetedSentimentDetectionJobOutput
impl RefUnwindSafe for StartTargetedSentimentDetectionJobOutput
impl Send for StartTargetedSentimentDetectionJobOutput
impl Sync for StartTargetedSentimentDetectionJobOutput
impl Unpin for StartTargetedSentimentDetectionJobOutput
impl UnwindSafe for StartTargetedSentimentDetectionJobOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more