| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LexV2Models.BatchCreateCustomVocabularyItem
Description
Batch create custom vocabulary item for the specified locale in the specified bot.
Synopsis
- data BatchCreateCustomVocabularyItem = BatchCreateCustomVocabularyItem' {}
- newBatchCreateCustomVocabularyItem :: Text -> Text -> Text -> NonEmpty NewCustomVocabularyItem -> BatchCreateCustomVocabularyItem
- batchCreateCustomVocabularyItem_botId :: Lens' BatchCreateCustomVocabularyItem Text
- batchCreateCustomVocabularyItem_botVersion :: Lens' BatchCreateCustomVocabularyItem Text
- batchCreateCustomVocabularyItem_localeId :: Lens' BatchCreateCustomVocabularyItem Text
- batchCreateCustomVocabularyItem_customVocabularyItemList :: Lens' BatchCreateCustomVocabularyItem (NonEmpty NewCustomVocabularyItem)
- data BatchCreateCustomVocabularyItemResponse = BatchCreateCustomVocabularyItemResponse' {}
- newBatchCreateCustomVocabularyItemResponse :: Int -> BatchCreateCustomVocabularyItemResponse
- batchCreateCustomVocabularyItemResponse_botId :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe Text)
- batchCreateCustomVocabularyItemResponse_botVersion :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe Text)
- batchCreateCustomVocabularyItemResponse_errors :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe [FailedCustomVocabularyItem])
- batchCreateCustomVocabularyItemResponse_localeId :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe Text)
- batchCreateCustomVocabularyItemResponse_resources :: Lens' BatchCreateCustomVocabularyItemResponse (Maybe [CustomVocabularyItem])
- batchCreateCustomVocabularyItemResponse_httpStatus :: Lens' BatchCreateCustomVocabularyItemResponse Int
Creating a Request
data BatchCreateCustomVocabularyItem Source #
See: newBatchCreateCustomVocabularyItem smart constructor.
Constructors
| BatchCreateCustomVocabularyItem' | |
Fields
| |
Instances
newBatchCreateCustomVocabularyItem Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> NonEmpty NewCustomVocabularyItem |
|
| -> BatchCreateCustomVocabularyItem |
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 #
See: newBatchCreateCustomVocabularyItemResponse smart constructor.
Constructors
| BatchCreateCustomVocabularyItemResponse' | |
Fields
| |
Instances
newBatchCreateCustomVocabularyItemResponse Source #
Arguments
| :: Int | |
| -> BatchCreateCustomVocabularyItemResponse |
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.
batchCreateCustomVocabularyItemResponse_httpStatus :: Lens' BatchCreateCustomVocabularyItemResponse Int Source #
The response's http status code.