[][src]Struct rusoto_comprehend::DetectEntitiesRequest

pub struct DetectEntitiesRequest {
    pub endpoint_arn: Option<String>,
    pub language_code: Option<String>,
    pub text: String,
}

Fields

endpoint_arn: Option<String>

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.

language_code: Option<String>

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.

text: String

A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.

Trait Implementations

impl Clone for DetectEntitiesRequest[src]

impl Debug for DetectEntitiesRequest[src]

impl Default for DetectEntitiesRequest[src]

impl PartialEq<DetectEntitiesRequest> for DetectEntitiesRequest[src]

impl Serialize for DetectEntitiesRequest[src]

impl StructuralPartialEq for DetectEntitiesRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.