Struct aws_sdk_comprehend::client::fluent_builders::StartEventsDetectionJob [−][src]
pub struct StartEventsDetectionJob<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartEventsDetectionJob
.
Starts an asynchronous event detection job for a collection of documents.
Implementations
impl<C, M, R> StartEventsDetectionJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartEventsDetectionJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartEventsDetectionJobOutput, SdkError<StartEventsDetectionJobError>> where
R::Policy: SmithyRetryPolicy<StartEventsDetectionJobInputOperationOutputAlias, StartEventsDetectionJobOutput, StartEventsDetectionJobError, StartEventsDetectionJobInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartEventsDetectionJobOutput, SdkError<StartEventsDetectionJobError>> where
R::Policy: SmithyRetryPolicy<StartEventsDetectionJobInputOperationOutputAlias, StartEventsDetectionJobOutput, StartEventsDetectionJobError, StartEventsDetectionJobInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Specifies the format and location of the input data for the job.
Specifies the format and location of the input data for the job.
Specifies where to send the output files.
Specifies where to send the output files.
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.
The identifier of the events detection job.
The identifier of the events detection job.
The language code of the input documents.
The language code of the input documents.
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
Appends an item to TargetEventTypes
.
To override the contents of this collection use set_target_event_types
.
The types of events to detect in the input documents.
The types of events to detect in the input documents.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
Tags to be associated with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
Tags to be associated with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartEventsDetectionJob<C, M, R>
impl<C, M, R> Send for StartEventsDetectionJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartEventsDetectionJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartEventsDetectionJob<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartEventsDetectionJob<C, M, R>
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