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 |
Batch delete custom vocabulary item for the specified locale in the specified bot.
Synopsis
- data BatchDeleteCustomVocabularyItem = BatchDeleteCustomVocabularyItem' {}
- newBatchDeleteCustomVocabularyItem :: Text -> Text -> Text -> NonEmpty CustomVocabularyEntryId -> BatchDeleteCustomVocabularyItem
- batchDeleteCustomVocabularyItem_botId :: Lens' BatchDeleteCustomVocabularyItem Text
- batchDeleteCustomVocabularyItem_botVersion :: Lens' BatchDeleteCustomVocabularyItem Text
- batchDeleteCustomVocabularyItem_localeId :: Lens' BatchDeleteCustomVocabularyItem Text
- batchDeleteCustomVocabularyItem_customVocabularyItemList :: Lens' BatchDeleteCustomVocabularyItem (NonEmpty CustomVocabularyEntryId)
- data BatchDeleteCustomVocabularyItemResponse = BatchDeleteCustomVocabularyItemResponse' {}
- newBatchDeleteCustomVocabularyItemResponse :: Int -> BatchDeleteCustomVocabularyItemResponse
- batchDeleteCustomVocabularyItemResponse_botId :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe Text)
- batchDeleteCustomVocabularyItemResponse_botVersion :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe Text)
- batchDeleteCustomVocabularyItemResponse_errors :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe [FailedCustomVocabularyItem])
- batchDeleteCustomVocabularyItemResponse_localeId :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe Text)
- batchDeleteCustomVocabularyItemResponse_resources :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe [CustomVocabularyItem])
- batchDeleteCustomVocabularyItemResponse_httpStatus :: Lens' BatchDeleteCustomVocabularyItemResponse Int
Creating a Request
data BatchDeleteCustomVocabularyItem Source #
See: newBatchDeleteCustomVocabularyItem
smart constructor.
BatchDeleteCustomVocabularyItem' | |
|
Instances
newBatchDeleteCustomVocabularyItem Source #
:: Text | |
-> Text | |
-> Text | |
-> NonEmpty CustomVocabularyEntryId |
|
-> BatchDeleteCustomVocabularyItem |
Create a value of BatchDeleteCustomVocabularyItem
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:
BatchDeleteCustomVocabularyItem
, batchDeleteCustomVocabularyItem_botId
- The unique identifier of the bot to batch delete request for the custom
vocabulary item.
BatchDeleteCustomVocabularyItem
, batchDeleteCustomVocabularyItem_botVersion
- The version of the bot to batch delete request for the custom vocabulary
item.
BatchDeleteCustomVocabularyItem
, batchDeleteCustomVocabularyItem_localeId
- The locale identifier of the bot to batch delete request for the custom
vocabulary item.
$sel:customVocabularyItemList:BatchDeleteCustomVocabularyItem'
, batchDeleteCustomVocabularyItem_customVocabularyItemList
- The custom vocabulary list to batch delete request for the custom
vocabulary item.
Request Lenses
batchDeleteCustomVocabularyItem_botId :: Lens' BatchDeleteCustomVocabularyItem Text Source #
The unique identifier of the bot to batch delete request for the custom vocabulary item.
batchDeleteCustomVocabularyItem_botVersion :: Lens' BatchDeleteCustomVocabularyItem Text Source #
The version of the bot to batch delete request for the custom vocabulary item.
batchDeleteCustomVocabularyItem_localeId :: Lens' BatchDeleteCustomVocabularyItem Text Source #
The locale identifier of the bot to batch delete request for the custom vocabulary item.
batchDeleteCustomVocabularyItem_customVocabularyItemList :: Lens' BatchDeleteCustomVocabularyItem (NonEmpty CustomVocabularyEntryId) Source #
The custom vocabulary list to batch delete request for the custom vocabulary item.
Destructuring the Response
data BatchDeleteCustomVocabularyItemResponse Source #
See: newBatchDeleteCustomVocabularyItemResponse
smart constructor.
BatchDeleteCustomVocabularyItemResponse' | |
|
Instances
newBatchDeleteCustomVocabularyItemResponse Source #
Create a value of BatchDeleteCustomVocabularyItemResponse
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:
BatchDeleteCustomVocabularyItem
, batchDeleteCustomVocabularyItemResponse_botId
- The unique identifier of the bot to batch delete response for the custom
vocabulary item.
BatchDeleteCustomVocabularyItem
, batchDeleteCustomVocabularyItemResponse_botVersion
- The version of the bot to batch delete response for the custom
vocabulary item.
$sel:errors:BatchDeleteCustomVocabularyItemResponse'
, batchDeleteCustomVocabularyItemResponse_errors
- The errors of the action to batch delete response for the custom
vocabulary item.
BatchDeleteCustomVocabularyItem
, batchDeleteCustomVocabularyItemResponse_localeId
- The locale identifier of the bot to batch delete response for the custom
vocabulary item.
$sel:resources:BatchDeleteCustomVocabularyItemResponse'
, batchDeleteCustomVocabularyItemResponse_resources
- The resources of the action to batch delete response for the custom
vocabulary item.
$sel:httpStatus:BatchDeleteCustomVocabularyItemResponse'
, batchDeleteCustomVocabularyItemResponse_httpStatus
- The response's http status code.
Response Lenses
batchDeleteCustomVocabularyItemResponse_botId :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe Text) Source #
The unique identifier of the bot to batch delete response for the custom vocabulary item.
batchDeleteCustomVocabularyItemResponse_botVersion :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe Text) Source #
The version of the bot to batch delete response for the custom vocabulary item.
batchDeleteCustomVocabularyItemResponse_errors :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe [FailedCustomVocabularyItem]) Source #
The errors of the action to batch delete response for the custom vocabulary item.
batchDeleteCustomVocabularyItemResponse_localeId :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe Text) Source #
The locale identifier of the bot to batch delete response for the custom vocabulary item.
batchDeleteCustomVocabularyItemResponse_resources :: Lens' BatchDeleteCustomVocabularyItemResponse (Maybe [CustomVocabularyItem]) Source #
The resources of the action to batch delete response for the custom vocabulary item.
batchDeleteCustomVocabularyItemResponse_httpStatus :: Lens' BatchDeleteCustomVocabularyItemResponse Int Source #
The response's http status code.