Interface AwsComprehendNodeParameters

Source
interface AwsComprehendNodeParameters {
    additionalFields?: { endpointArn?: string };
    languageCode?:
        | "en"
        | "fr"
        | "de"
        | "ja"
        | "pt"
        | "es"
        | "ar"
        | "zh"
        | "zh-TW"
        | "hi"
        | "it"
        | "ko";
    operation?: | "detectDominantLanguage"
    | "detectEntities"
    | "detectSentiment";
    resource?: "text";
    simple?: boolean;
    text?: string;
}

Properties§

Source§

readonly additionalFields?: { endpointArn?: string }

Default: {}

Source§

readonly languageCode?:
    | "en"
    | "fr"
    | "de"
    | "ja"
    | "pt"
    | "es"
    | "ar"
    | "zh"
    | "zh-TW"
    | "hi"
    | "it"
    | "ko"

The language code for text Default: "en"

Source§

readonly operation?:
    | "detectDominantLanguage"
    | "detectEntities"
    | "detectSentiment"

Default: "detectDominantLanguage"

Source§

readonly resource?: "text"

The resource to perform Default: "text"

Source§

readonly simple?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true

Source§

readonly text?: string

The text to send