Struct aws_sdk_comprehend::client::fluent_builders::DetectEntities [−][src]
pub struct DetectEntities<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DetectEntities
.
Inspects text for named entities, and returns information about them. For more information, about named entities, see how-entities.
Implementations
impl<C, M, R> DetectEntities<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DetectEntities<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DetectEntitiesOutput, SdkError<DetectEntitiesError>> where
R::Policy: SmithyRetryPolicy<DetectEntitiesInputOperationOutputAlias, DetectEntitiesOutput, DetectEntitiesError, DetectEntitiesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DetectEntitiesOutput, SdkError<DetectEntitiesError>> where
R::Policy: SmithyRetryPolicy<DetectEntitiesInputOperationOutputAlias, DetectEntitiesOutput, DetectEntitiesError, DetectEntitiesInputOperationRetryAlias>,
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.
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
If your request includes the endpoint for a custom entity recognition model, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you specify here.
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
If your request includes the endpoint for a custom entity recognition model, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you specify here.
The Amazon Resource Name of an endpoint that is associated with a custom entity recognition model. Provide an endpoint if you want to detect entities by using your own custom model instead of the default model that is used by Amazon Comprehend.
If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you provide in your request.
The Amazon Resource Name of an endpoint that is associated with a custom entity recognition model. Provide an endpoint if you want to detect entities by using your own custom model instead of the default model that is used by Amazon Comprehend.
If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you provide in your request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DetectEntities<C, M, R>
impl<C, M, R> Send for DetectEntities<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DetectEntities<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DetectEntities<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DetectEntities<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