Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateSlotTypeRequest

import type { CreateSlotTypeRequest } from "https://aws-api.deno.dev/v0.4/services/lexmodelsv2.ts?docs=full";
interface CreateSlotTypeRequest {
botId: string;
botVersion: string;
compositeSlotTypeSetting?: CompositeSlotTypeSetting | null;
description?: string | null;
externalSourceSetting?: ExternalSourceSetting | null;
localeId: string;
parentSlotTypeSignature?: string | null;
slotTypeName: string;
slotTypeValues?: SlotTypeValue[] | null;
valueSelectionSetting?: SlotValueSelectionSetting | null;
}

§Properties

§
botId: string
[src]

The identifier of the bot associated with this slot type.

§
botVersion: string
[src]

The identifier of the bot version associated with this slot type.

§
compositeSlotTypeSetting?: CompositeSlotTypeSetting | null
[src]

Specifications for a composite slot type.

§
description?: string | null
[src]

A description of the slot type. Use the description to help identify the slot type in lists.

§
externalSourceSetting?: ExternalSourceSetting | null
[src]

Sets the type of external information used to create the slot type.

§
localeId: string
[src]

The identifier of the language and locale that the slot type will be used in. The string must match one of the supported locales. All of the bots, intents, and slots used by the slot type must have the same locale. For more information, see Supported languages.

§
parentSlotTypeSignature?: string | null
[src]

The built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type.

Only AMAZON.AlphaNumeric is supported.

§
slotTypeName: string
[src]

The name for the slot. A slot type name must be unique within the account.

§
slotTypeValues?: SlotTypeValue[] | null
[src]

A list of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot.

§
valueSelectionSetting?: SlotValueSelectionSetting | null
[src]

Determines the strategy that Amazon Lex uses to select a value from the list of possible values. The field can be set to one of the following values:

  • OriginalValue - Returns the value entered by the user, if the user value is similar to the slot value.
  • TopResolution - If there is a resolution list for the slot, return the first value in the resolution list. If there is no resolution list, return null.

If you don't specify the valueSelectionSetting parameter, the default is OriginalValue.