ComprehendClient

Struct ComprehendClient 

Source
pub struct ComprehendClient { /* private fields */ }
Expand description

A client for the Amazon Comprehend API.

Implementations§

Source§

impl ComprehendClient

Source

pub fn new(region: Region) -> ComprehendClient

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

Source

pub fn new_with<P, D>( request_dispatcher: D, credentials_provider: P, region: Region, ) -> ComprehendClient
where P: ProvideAwsCredentials + Send + Sync + 'static, D: DispatchSignedRequest + Send + Sync + 'static,

Source

pub fn new_with_client(client: Client, region: Region) -> ComprehendClient

Trait Implementations§

Source§

impl Clone for ComprehendClient

Source§

fn clone(&self) -> ComprehendClient

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Comprehend for ComprehendClient

Source§

fn batch_detect_dominant_language<'life0, 'async_trait>( &'life0 self, input: BatchDetectDominantLanguageRequest, ) -> Pin<Box<dyn Future<Output = Result<BatchDetectDominantLanguageResponse, RusotoError<BatchDetectDominantLanguageError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Determines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.

Source§

fn batch_detect_entities<'life0, 'async_trait>( &'life0 self, input: BatchDetectEntitiesRequest, ) -> Pin<Box<dyn Future<Output = Result<BatchDetectEntitiesResponse, RusotoError<BatchDetectEntitiesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see how-entities

Source§

fn batch_detect_key_phrases<'life0, 'async_trait>( &'life0 self, input: BatchDetectKeyPhrasesRequest, ) -> Pin<Box<dyn Future<Output = Result<BatchDetectKeyPhrasesResponse, RusotoError<BatchDetectKeyPhrasesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Detects the key noun phrases found in a batch of documents.

Source§

fn batch_detect_sentiment<'life0, 'async_trait>( &'life0 self, input: BatchDetectSentimentRequest, ) -> Pin<Box<dyn Future<Output = Result<BatchDetectSentimentResponse, RusotoError<BatchDetectSentimentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE, NEUTRAL, MIXED, or NEGATIVE, in each one.

Source§

fn batch_detect_syntax<'life0, 'async_trait>( &'life0 self, input: BatchDetectSyntaxRequest, ) -> Pin<Box<dyn Future<Output = Result<BatchDetectSyntaxResponse, RusotoError<BatchDetectSyntaxError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see how-syntax.

Source§

fn classify_document<'life0, 'async_trait>( &'life0 self, input: ClassifyDocumentRequest, ) -> Pin<Box<dyn Future<Output = Result<ClassifyDocumentResponse, RusotoError<ClassifyDocumentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint.

Source§

fn create_document_classifier<'life0, 'async_trait>( &'life0 self, input: CreateDocumentClassifierRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateDocumentClassifierResponse, RusotoError<CreateDocumentClassifierError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see how-document-classification.

Source§

fn create_endpoint<'life0, 'async_trait>( &'life0 self, input: CreateEndpointRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateEndpointResponse, RusotoError<CreateEndpointError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a model-specific endpoint for synchronous inference for a previously trained custom model

Source§

fn create_entity_recognizer<'life0, 'async_trait>( &'life0 self, input: CreateEntityRecognizerRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateEntityRecognizerResponse, RusotoError<CreateEntityRecognizerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates an entity recognizer using submitted files. After your CreateEntityRecognizer request is submitted, you can check job status using the API.

Source§

fn delete_document_classifier<'life0, 'async_trait>( &'life0 self, input: DeleteDocumentClassifierRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteDocumentClassifierResponse, RusotoError<DeleteDocumentClassifierError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes a previously created document classifier

Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ResourceInUseException will be returned.

This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.

Source§

fn delete_endpoint<'life0, 'async_trait>( &'life0 self, input: DeleteEndpointRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteEndpointResponse, RusotoError<DeleteEndpointError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted.

Source§

fn delete_entity_recognizer<'life0, 'async_trait>( &'life0 self, input: DeleteEntityRecognizerRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteEntityRecognizerResponse, RusotoError<DeleteEntityRecognizerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an entity recognizer.

Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ResourceInUseException will be returned.

This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.

Source§

fn describe_document_classification_job<'life0, 'async_trait>( &'life0 self, input: DescribeDocumentClassificationJobRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeDocumentClassificationJobResponse, RusotoError<DescribeDocumentClassificationJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.

Source§

fn describe_document_classifier<'life0, 'async_trait>( &'life0 self, input: DescribeDocumentClassifierRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeDocumentClassifierResponse, RusotoError<DescribeDocumentClassifierError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the properties associated with a document classifier.

Source§

fn describe_dominant_language_detection_job<'life0, 'async_trait>( &'life0 self, input: DescribeDominantLanguageDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeDominantLanguageDetectionJobResponse, RusotoError<DescribeDominantLanguageDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.

Source§

fn describe_endpoint<'life0, 'async_trait>( &'life0 self, input: DescribeEndpointRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeEndpointResponse, RusotoError<DescribeEndpointError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint.

Source§

fn describe_entities_detection_job<'life0, 'async_trait>( &'life0 self, input: DescribeEntitiesDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeEntitiesDetectionJobResponse, RusotoError<DescribeEntitiesDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.

Source§

fn describe_entity_recognizer<'life0, 'async_trait>( &'life0 self, input: DescribeEntityRecognizerRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeEntityRecognizerResponse, RusotoError<DescribeEntityRecognizerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.

Source§

fn describe_key_phrases_detection_job<'life0, 'async_trait>( &'life0 self, input: DescribeKeyPhrasesDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeKeyPhrasesDetectionJobResponse, RusotoError<DescribeKeyPhrasesDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.

Source§

fn describe_sentiment_detection_job<'life0, 'async_trait>( &'life0 self, input: DescribeSentimentDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeSentimentDetectionJobResponse, RusotoError<DescribeSentimentDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.

Source§

fn describe_topics_detection_job<'life0, 'async_trait>( &'life0 self, input: DescribeTopicsDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeTopicsDetectionJobResponse, RusotoError<DescribeTopicsDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.

Source§

fn detect_dominant_language<'life0, 'async_trait>( &'life0 self, input: DetectDominantLanguageRequest, ) -> Pin<Box<dyn Future<Output = Result<DetectDominantLanguageResponse, RusotoError<DetectDominantLanguageError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.

Source§

fn detect_entities<'life0, 'async_trait>( &'life0 self, input: DetectEntitiesRequest, ) -> Pin<Box<dyn Future<Output = Result<DetectEntitiesResponse, RusotoError<DetectEntitiesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.

Source§

fn detect_key_phrases<'life0, 'async_trait>( &'life0 self, input: DetectKeyPhrasesRequest, ) -> Pin<Box<dyn Future<Output = Result<DetectKeyPhrasesResponse, RusotoError<DetectKeyPhrasesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Detects the key noun phrases found in the text.

Source§

fn detect_sentiment<'life0, 'async_trait>( &'life0 self, input: DetectSentimentRequest, ) -> Pin<Box<dyn Future<Output = Result<DetectSentimentResponse, RusotoError<DetectSentimentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL, MIXED, or NEGATIVE).

Source§

fn detect_syntax<'life0, 'async_trait>( &'life0 self, input: DetectSyntaxRequest, ) -> Pin<Box<dyn Future<Output = Result<DetectSyntaxResponse, RusotoError<DetectSyntaxError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.

Source§

fn list_document_classification_jobs<'life0, 'async_trait>( &'life0 self, input: ListDocumentClassificationJobsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListDocumentClassificationJobsResponse, RusotoError<ListDocumentClassificationJobsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a list of the documentation classification jobs that you have submitted.

Source§

fn list_document_classifiers<'life0, 'async_trait>( &'life0 self, input: ListDocumentClassifiersRequest, ) -> Pin<Box<dyn Future<Output = Result<ListDocumentClassifiersResponse, RusotoError<ListDocumentClassifiersError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a list of the document classifiers that you have created.

Source§

fn list_dominant_language_detection_jobs<'life0, 'async_trait>( &'life0 self, input: ListDominantLanguageDetectionJobsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListDominantLanguageDetectionJobsResponse, RusotoError<ListDominantLanguageDetectionJobsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a list of the dominant language detection jobs that you have submitted.

Source§

fn list_endpoints<'life0, 'async_trait>( &'life0 self, input: ListEndpointsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListEndpointsResponse, RusotoError<ListEndpointsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a list of all existing endpoints that you've created.

Source§

fn list_entities_detection_jobs<'life0, 'async_trait>( &'life0 self, input: ListEntitiesDetectionJobsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListEntitiesDetectionJobsResponse, RusotoError<ListEntitiesDetectionJobsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a list of the entity detection jobs that you have submitted.

Source§

fn list_entity_recognizers<'life0, 'async_trait>( &'life0 self, input: ListEntityRecognizersRequest, ) -> Pin<Box<dyn Future<Output = Result<ListEntityRecognizersResponse, RusotoError<ListEntityRecognizersError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.

The results of this list are not in any particular order. Please get the list and sort locally if needed.

Source§

fn list_key_phrases_detection_jobs<'life0, 'async_trait>( &'life0 self, input: ListKeyPhrasesDetectionJobsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListKeyPhrasesDetectionJobsResponse, RusotoError<ListKeyPhrasesDetectionJobsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get a list of key phrase detection jobs that you have submitted.

Source§

fn list_sentiment_detection_jobs<'life0, 'async_trait>( &'life0 self, input: ListSentimentDetectionJobsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListSentimentDetectionJobsResponse, RusotoError<ListSentimentDetectionJobsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a list of sentiment detection jobs that you have submitted.

Source§

fn list_tags_for_resource<'life0, 'async_trait>( &'life0 self, input: ListTagsForResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists all tags associated with a given Amazon Comprehend resource.

Source§

fn list_topics_detection_jobs<'life0, 'async_trait>( &'life0 self, input: ListTopicsDetectionJobsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListTopicsDetectionJobsResponse, RusotoError<ListTopicsDetectionJobsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a list of the topic detection jobs that you have submitted.

Source§

fn start_document_classification_job<'life0, 'async_trait>( &'life0 self, input: StartDocumentClassificationJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StartDocumentClassificationJobResponse, RusotoError<StartDocumentClassificationJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Starts an asynchronous document classification job. Use the operation to track the progress of the job.

Source§

fn start_dominant_language_detection_job<'life0, 'async_trait>( &'life0 self, input: StartDominantLanguageDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StartDominantLanguageDetectionJobResponse, RusotoError<StartDominantLanguageDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.

Source§

fn start_entities_detection_job<'life0, 'async_trait>( &'life0 self, input: StartEntitiesDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StartEntitiesDetectionJobResponse, RusotoError<StartEntitiesDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.

This API can be used for either standard entity detection or custom entity recognition. In order to be used for custom entity recognition, the optional EntityRecognizerArn must be used in order to provide access to the recognizer being used to detect the custom entity.

Source§

fn start_key_phrases_detection_job<'life0, 'async_trait>( &'life0 self, input: StartKeyPhrasesDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StartKeyPhrasesDetectionJobResponse, RusotoError<StartKeyPhrasesDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.

Source§

fn start_sentiment_detection_job<'life0, 'async_trait>( &'life0 self, input: StartSentimentDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StartSentimentDetectionJobResponse, RusotoError<StartSentimentDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Starts an asynchronous sentiment detection job for a collection of documents. use the operation to track the status of a job.

Source§

fn start_topics_detection_job<'life0, 'async_trait>( &'life0 self, input: StartTopicsDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StartTopicsDetectionJobResponse, RusotoError<StartTopicsDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob operation to track the status of a job.

Source§

fn stop_dominant_language_detection_job<'life0, 'async_trait>( &'life0 self, input: StopDominantLanguageDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StopDominantLanguageDetectionJobResponse, RusotoError<StopDominantLanguageDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Stops a dominant language detection job in progress.

If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state.

If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception.

When a job is stopped, any documents already processed are written to the output location.

Source§

fn stop_entities_detection_job<'life0, 'async_trait>( &'life0 self, input: StopEntitiesDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StopEntitiesDetectionJobResponse, RusotoError<StopEntitiesDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Stops an entities detection job in progress.

If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state.

If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception.

When a job is stopped, any documents already processed are written to the output location.

Source§

fn stop_key_phrases_detection_job<'life0, 'async_trait>( &'life0 self, input: StopKeyPhrasesDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StopKeyPhrasesDetectionJobResponse, RusotoError<StopKeyPhrasesDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Stops a key phrases detection job in progress.

If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state.

If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception.

When a job is stopped, any documents already processed are written to the output location.

Source§

fn stop_sentiment_detection_job<'life0, 'async_trait>( &'life0 self, input: StopSentimentDetectionJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StopSentimentDetectionJobResponse, RusotoError<StopSentimentDetectionJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Stops a sentiment detection job in progress.

If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is be stopped and put into the STOPPED state.

If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception.

When a job is stopped, any documents already processed are written to the output location.

Source§

fn stop_training_document_classifier<'life0, 'async_trait>( &'life0 self, input: StopTrainingDocumentClassifierRequest, ) -> Pin<Box<dyn Future<Output = Result<StopTrainingDocumentClassifierResponse, RusotoError<StopTrainingDocumentClassifierError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Stops a document classifier training job while in progress.

If the training job state is TRAINING, the job is marked for termination and put into the STOP_REQUESTED state. If the training job completes before it can be stopped, it is put into the TRAINED; otherwise the training job is stopped and put into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.

Source§

fn stop_training_entity_recognizer<'life0, 'async_trait>( &'life0 self, input: StopTrainingEntityRecognizerRequest, ) -> Pin<Box<dyn Future<Output = Result<StopTrainingEntityRecognizerResponse, RusotoError<StopTrainingEntityRecognizerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Stops an entity recognizer training job while in progress.

If the training job state is TRAINING, the job is marked for termination and put into the STOP_REQUESTED state. If the training job completes before it can be stopped, it is put into the TRAINED; otherwise the training job is stopped and putted into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.

Source§

fn tag_resource<'life0, 'async_trait>( &'life0 self, input: TagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Associates a specific tag with an Amazon Comprehend resource. A tag is a key-value pair that adds as a 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.

Source§

fn untag_resource<'life0, 'async_trait>( &'life0 self, input: UntagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Removes a specific tag associated with an Amazon Comprehend resource.

Source§

fn update_endpoint<'life0, 'async_trait>( &'life0 self, input: UpdateEndpointRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateEndpointResponse, RusotoError<UpdateEndpointError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates information about the specified endpoint.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more