Struct aws_sdk_comprehend::client::Client [−][src]
pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Client for Amazon Comprehend
Client for invoking operations on Amazon Comprehend. Each operation on Amazon Comprehend is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_comprehend::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_comprehend::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_comprehend::Client::from_conf(config);Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the BatchDetectDominantLanguage operation.
See BatchDetectDominantLanguage for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchDetectEntities operation.
See BatchDetectEntities for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchDetectKeyPhrases operation.
See BatchDetectKeyPhrases for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchDetectSentiment operation.
See BatchDetectSentiment for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchDetectSyntax operation.
See BatchDetectSyntax for more information about the
operation and its arguments.
Constructs a fluent builder for the ClassifyDocument operation.
See ClassifyDocument for more information about the
operation and its arguments.
Constructs a fluent builder for the ContainsPiiEntities operation.
See ContainsPiiEntities for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateDocumentClassifier operation.
See CreateDocumentClassifier for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateEndpoint operation.
See CreateEndpoint for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateEntityRecognizer operation.
See CreateEntityRecognizer for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteDocumentClassifier operation.
See DeleteDocumentClassifier for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteEndpoint operation.
See DeleteEndpoint for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteEntityRecognizer operation.
See DeleteEntityRecognizer for more information about the
operation and its arguments.
pub fn describe_document_classification_job(
&self
) -> DescribeDocumentClassificationJob<C, M, R>
pub fn describe_document_classification_job(
&self
) -> DescribeDocumentClassificationJob<C, M, R>
Constructs a fluent builder for the DescribeDocumentClassificationJob operation.
See DescribeDocumentClassificationJob for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeDocumentClassifier operation.
See DescribeDocumentClassifier for more information about the
operation and its arguments.
pub fn describe_dominant_language_detection_job(
&self
) -> DescribeDominantLanguageDetectionJob<C, M, R>
pub fn describe_dominant_language_detection_job(
&self
) -> DescribeDominantLanguageDetectionJob<C, M, R>
Constructs a fluent builder for the DescribeDominantLanguageDetectionJob operation.
See DescribeDominantLanguageDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeEndpoint operation.
See DescribeEndpoint for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeEntitiesDetectionJob operation.
See DescribeEntitiesDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeEntityRecognizer operation.
See DescribeEntityRecognizer for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeEventsDetectionJob operation.
See DescribeEventsDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeKeyPhrasesDetectionJob operation.
See DescribeKeyPhrasesDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribePiiEntitiesDetectionJob operation.
See DescribePiiEntitiesDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeSentimentDetectionJob operation.
See DescribeSentimentDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeTopicsDetectionJob operation.
See DescribeTopicsDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the DetectDominantLanguage operation.
See DetectDominantLanguage for more information about the
operation and its arguments.
Constructs a fluent builder for the DetectEntities operation.
See DetectEntities for more information about the
operation and its arguments.
Constructs a fluent builder for the DetectKeyPhrases operation.
See DetectKeyPhrases for more information about the
operation and its arguments.
Constructs a fluent builder for the DetectPiiEntities operation.
See DetectPiiEntities for more information about the
operation and its arguments.
Constructs a fluent builder for the DetectSentiment operation.
See DetectSentiment for more information about the
operation and its arguments.
Constructs a fluent builder for the DetectSyntax operation.
See DetectSyntax for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDocumentClassificationJobs operation.
See ListDocumentClassificationJobs for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDocumentClassifiers operation.
See ListDocumentClassifiers for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDocumentClassifierSummaries operation.
See ListDocumentClassifierSummaries for more information about the
operation and its arguments.
pub fn list_dominant_language_detection_jobs(
&self
) -> ListDominantLanguageDetectionJobs<C, M, R>
pub fn list_dominant_language_detection_jobs(
&self
) -> ListDominantLanguageDetectionJobs<C, M, R>
Constructs a fluent builder for the ListDominantLanguageDetectionJobs operation.
See ListDominantLanguageDetectionJobs for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEndpoints operation.
See ListEndpoints for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEntitiesDetectionJobs operation.
See ListEntitiesDetectionJobs for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEntityRecognizers operation.
See ListEntityRecognizers for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEntityRecognizerSummaries operation.
See ListEntityRecognizerSummaries for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEventsDetectionJobs operation.
See ListEventsDetectionJobs for more information about the
operation and its arguments.
Constructs a fluent builder for the ListKeyPhrasesDetectionJobs operation.
See ListKeyPhrasesDetectionJobs for more information about the
operation and its arguments.
Constructs a fluent builder for the ListPiiEntitiesDetectionJobs operation.
See ListPiiEntitiesDetectionJobs for more information about the
operation and its arguments.
Constructs a fluent builder for the ListSentimentDetectionJobs operation.
See ListSentimentDetectionJobs for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTagsForResource operation.
See ListTagsForResource for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTopicsDetectionJobs operation.
See ListTopicsDetectionJobs for more information about the
operation and its arguments.
Constructs a fluent builder for the StartDocumentClassificationJob operation.
See StartDocumentClassificationJob for more information about the
operation and its arguments.
pub fn start_dominant_language_detection_job(
&self
) -> StartDominantLanguageDetectionJob<C, M, R>
pub fn start_dominant_language_detection_job(
&self
) -> StartDominantLanguageDetectionJob<C, M, R>
Constructs a fluent builder for the StartDominantLanguageDetectionJob operation.
See StartDominantLanguageDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StartEntitiesDetectionJob operation.
See StartEntitiesDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StartEventsDetectionJob operation.
See StartEventsDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StartKeyPhrasesDetectionJob operation.
See StartKeyPhrasesDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StartPiiEntitiesDetectionJob operation.
See StartPiiEntitiesDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StartSentimentDetectionJob operation.
See StartSentimentDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StartTopicsDetectionJob operation.
See StartTopicsDetectionJob for more information about the
operation and its arguments.
pub fn stop_dominant_language_detection_job(
&self
) -> StopDominantLanguageDetectionJob<C, M, R>
pub fn stop_dominant_language_detection_job(
&self
) -> StopDominantLanguageDetectionJob<C, M, R>
Constructs a fluent builder for the StopDominantLanguageDetectionJob operation.
See StopDominantLanguageDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StopEntitiesDetectionJob operation.
See StopEntitiesDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StopEventsDetectionJob operation.
See StopEventsDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StopKeyPhrasesDetectionJob operation.
See StopKeyPhrasesDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StopPiiEntitiesDetectionJob operation.
See StopPiiEntitiesDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StopSentimentDetectionJob operation.
See StopSentimentDetectionJob for more information about the
operation and its arguments.
Constructs a fluent builder for the StopTrainingDocumentClassifier operation.
See StopTrainingDocumentClassifier for more information about the
operation and its arguments.
Constructs a fluent builder for the StopTrainingEntityRecognizer operation.
See StopTrainingEntityRecognizer for more information about the
operation and its arguments.
Constructs a fluent builder for the TagResource operation.
See TagResource for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagResource operation.
See UntagResource for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateEndpoint operation.
See UpdateEndpoint for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<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
