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.BatchUpdateCustomVocabularyItem

Description

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

Synopsis

Creating a Request

data BatchUpdateCustomVocabularyItem Source #

See: newBatchUpdateCustomVocabularyItem smart constructor.

Constructors

BatchUpdateCustomVocabularyItem' 

Fields

  • botId :: Text

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

  • botVersion :: Text

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

  • localeId :: Text

    The locale identifier of the bot to the batch update request for the custom vocabulary item.

  • customVocabularyItemList :: NonEmpty CustomVocabularyItem

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

Instances

Instances details
ToJSON BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

ToHeaders BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

ToPath BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

ToQuery BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

AWSRequest BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

Generic BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

Associated Types

type Rep BatchUpdateCustomVocabularyItem :: Type -> Type #

Read BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

Show BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

NFData BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

Eq BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

Hashable BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

type AWSResponse BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

type Rep BatchUpdateCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

type Rep BatchUpdateCustomVocabularyItem = D1 ('MetaData "BatchUpdateCustomVocabularyItem" "Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "BatchUpdateCustomVocabularyItem'" '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 CustomVocabularyItem)))))

newBatchUpdateCustomVocabularyItem Source #

Create a value of BatchUpdateCustomVocabularyItem 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:

BatchUpdateCustomVocabularyItem, batchUpdateCustomVocabularyItem_botId - The unique identifier of the bot to the batch update request for the custom vocabulary item.

BatchUpdateCustomVocabularyItem, batchUpdateCustomVocabularyItem_botVersion - The bot version of the bot to the batch update request for the custom vocabulary item.

BatchUpdateCustomVocabularyItem, batchUpdateCustomVocabularyItem_localeId - The locale identifier of the bot to the batch update request for the custom vocabulary item.

$sel:customVocabularyItemList:BatchUpdateCustomVocabularyItem', batchUpdateCustomVocabularyItem_customVocabularyItemList - The custom vocabulary item list of the bot to the batch update request for the custom vocabulary item.

Request Lenses

batchUpdateCustomVocabularyItem_botId :: Lens' BatchUpdateCustomVocabularyItem Text Source #

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

batchUpdateCustomVocabularyItem_botVersion :: Lens' BatchUpdateCustomVocabularyItem Text Source #

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

batchUpdateCustomVocabularyItem_localeId :: Lens' BatchUpdateCustomVocabularyItem Text Source #

The locale identifier of the bot to the batch update request for the custom vocabulary item.

batchUpdateCustomVocabularyItem_customVocabularyItemList :: Lens' BatchUpdateCustomVocabularyItem (NonEmpty CustomVocabularyItem) Source #

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

Destructuring the Response

data BatchUpdateCustomVocabularyItemResponse Source #

Constructors

BatchUpdateCustomVocabularyItemResponse' 

Fields

Instances

Instances details
Generic BatchUpdateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

Read BatchUpdateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

Show BatchUpdateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

NFData BatchUpdateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

Eq BatchUpdateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

type Rep BatchUpdateCustomVocabularyItemResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem

type Rep BatchUpdateCustomVocabularyItemResponse = D1 ('MetaData "BatchUpdateCustomVocabularyItemResponse" "Amazonka.LexV2Models.BatchUpdateCustomVocabularyItem" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "BatchUpdateCustomVocabularyItemResponse'" '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)))))

newBatchUpdateCustomVocabularyItemResponse Source #

Create a value of BatchUpdateCustomVocabularyItemResponse 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:

BatchUpdateCustomVocabularyItem, batchUpdateCustomVocabularyItemResponse_botId - The unique identifier of the bot to the batch update response for the custom vocabulary item.

BatchUpdateCustomVocabularyItem, batchUpdateCustomVocabularyItemResponse_botVersion - The bot version of the bot to the batch update response for the custom vocabulary item.

$sel:errors:BatchUpdateCustomVocabularyItemResponse', batchUpdateCustomVocabularyItemResponse_errors - The errors of the action to batch update response for the custom vocabulary item.

BatchUpdateCustomVocabularyItem, batchUpdateCustomVocabularyItemResponse_localeId - The locale identifier of the bot to the batch update response for the custom vocabulary item.

$sel:resources:BatchUpdateCustomVocabularyItemResponse', batchUpdateCustomVocabularyItemResponse_resources - The resources of the action to batch update response for the custom vocabulary item.

$sel:httpStatus:BatchUpdateCustomVocabularyItemResponse', batchUpdateCustomVocabularyItemResponse_httpStatus - The response's http status code.

Response Lenses

batchUpdateCustomVocabularyItemResponse_botId :: Lens' BatchUpdateCustomVocabularyItemResponse (Maybe Text) Source #

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

batchUpdateCustomVocabularyItemResponse_botVersion :: Lens' BatchUpdateCustomVocabularyItemResponse (Maybe Text) Source #

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

batchUpdateCustomVocabularyItemResponse_errors :: Lens' BatchUpdateCustomVocabularyItemResponse (Maybe [FailedCustomVocabularyItem]) Source #

The errors of the action to batch update response for the custom vocabulary item.

batchUpdateCustomVocabularyItemResponse_localeId :: Lens' BatchUpdateCustomVocabularyItemResponse (Maybe Text) Source #

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

batchUpdateCustomVocabularyItemResponse_resources :: Lens' BatchUpdateCustomVocabularyItemResponse (Maybe [CustomVocabularyItem]) Source #

The resources of the action to batch update response for the custom vocabulary item.