amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

Description

Batch create custom vocabulary item for the specified locale in the specified bot.

Synopsis

Creating a Request

data BatchCreateCustomVocabularyItem Source #

See: newBatchCreateCustomVocabularyItem smart constructor.

Constructors

BatchCreateCustomVocabularyItem' 

Fields

Instances

Instances details
ToJSON BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

ToHeaders BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

ToPath BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

ToQuery BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

AWSRequest BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

Generic BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

Associated Types

type Rep BatchCreateCustomVocabularyItem :: Type -> Type #

Read BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

Show BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

NFData BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

Eq BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

Hashable BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

type AWSResponse BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

type Rep BatchCreateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

type Rep BatchCreateCustomVocabularyItem = D1 ('MetaData "BatchCreateCustomVocabularyItem" "Amazonka.LexV2Models.BatchCreateCustomVocabularyItem" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "BatchCreateCustomVocabularyItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "customVocabularyItemList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty NewCustomVocabularyItem)))))

newBatchCreateCustomVocabularyItem Source #

Create a value of BatchCreateCustomVocabularyItem with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

BatchCreateCustomVocabularyItem, batchCreateCustomVocabularyItem_botId - The unique identifier of the bot to batch create the custom vocabulary item for.

BatchCreateCustomVocabularyItem, batchCreateCustomVocabularyItem_botVersion - The bot version of the bot to batch create the custom vocabulary item for.

BatchCreateCustomVocabularyItem, batchCreateCustomVocabularyItem_localeId - The unique locale identifier of the bot to batch create the custom vocabulary item for.

$sel:customVocabularyItemList:BatchCreateCustomVocabularyItem', batchCreateCustomVocabularyItem_customVocabularyItemList - The custom vocabulary item list of the bot to batch create the custom vocabulary item for.

Request Lenses

batchCreateCustomVocabularyItem_botId :: Lens' BatchCreateCustomVocabularyItem Text Source #

The unique identifier of the bot to batch create the custom vocabulary item for.

batchCreateCustomVocabularyItem_botVersion :: Lens' BatchCreateCustomVocabularyItem Text Source #

The bot version of the bot to batch create the custom vocabulary item for.

batchCreateCustomVocabularyItem_localeId :: Lens' BatchCreateCustomVocabularyItem Text Source #

The unique locale identifier of the bot to batch create the custom vocabulary item for.

batchCreateCustomVocabularyItem_customVocabularyItemList :: Lens' BatchCreateCustomVocabularyItem (NonEmpty NewCustomVocabularyItem) Source #

The custom vocabulary item list of the bot to batch create the custom vocabulary item for.

Destructuring the Response

data BatchCreateCustomVocabularyItemResponse Source #

Constructors

BatchCreateCustomVocabularyItemResponse' 

Fields

Instances

Instances details
Generic BatchCreateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

Read BatchCreateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

Show BatchCreateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

NFData BatchCreateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

Eq BatchCreateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

type Rep BatchCreateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchCreateCustomVocabularyItem

type Rep BatchCreateCustomVocabularyItemResponse = D1 ('MetaData "BatchCreateCustomVocabularyItemResponse" "Amazonka.LexV2Models.BatchCreateCustomVocabularyItem" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "BatchCreateCustomVocabularyItemResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedCustomVocabularyItem])))) :*: (S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CustomVocabularyItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newBatchCreateCustomVocabularyItemResponse Source #

Create a value of BatchCreateCustomVocabularyItemResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

BatchCreateCustomVocabularyItem, batchCreateCustomVocabularyItemResponse_botId - The unique identifier of the bot to batch create response for the custom vocabulary item.

BatchCreateCustomVocabularyItem, batchCreateCustomVocabularyItemResponse_botVersion - The bot version of the bot to batch create the custom vocabulary item response for.

$sel:errors:BatchCreateCustomVocabularyItemResponse', batchCreateCustomVocabularyItemResponse_errors - The errors of the action to batch create the custom vocabulary item response for a bot.

BatchCreateCustomVocabularyItem, batchCreateCustomVocabularyItemResponse_localeId - The unique locale identifier of the bot to batch create the custom vocabulary item response for.

$sel:resources:BatchCreateCustomVocabularyItemResponse', batchCreateCustomVocabularyItemResponse_resources - The resources of the action to batch create the custom vocabulary item response for a bot.

$sel:httpStatus:BatchCreateCustomVocabularyItemResponse', batchCreateCustomVocabularyItemResponse_httpStatus - The response's http status code.

Response Lenses

batchCreateCustomVocabularyItemResponse_botId :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe Text) Source #

The unique identifier of the bot to batch create response for the custom vocabulary item.

batchCreateCustomVocabularyItemResponse_botVersion :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe Text) Source #

The bot version of the bot to batch create the custom vocabulary item response for.

batchCreateCustomVocabularyItemResponse_errors :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe [FailedCustomVocabularyItem]) Source #

The errors of the action to batch create the custom vocabulary item response for a bot.

batchCreateCustomVocabularyItemResponse_localeId :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe Text) Source #

The unique locale identifier of the bot to batch create the custom vocabulary item response for.

batchCreateCustomVocabularyItemResponse_resources :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe [CustomVocabularyItem]) Source #

The resources of the action to batch create the custom vocabulary item response for a bot.