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 |
Removes a custom vocabulary from the specified locale in the specified bot.
Synopsis
- data DeleteCustomVocabulary = DeleteCustomVocabulary' {}
- newDeleteCustomVocabulary :: Text -> Text -> Text -> DeleteCustomVocabulary
- deleteCustomVocabulary_botId :: Lens' DeleteCustomVocabulary Text
- deleteCustomVocabulary_botVersion :: Lens' DeleteCustomVocabulary Text
- deleteCustomVocabulary_localeId :: Lens' DeleteCustomVocabulary Text
- data DeleteCustomVocabularyResponse = DeleteCustomVocabularyResponse' {}
- newDeleteCustomVocabularyResponse :: Int -> DeleteCustomVocabularyResponse
- deleteCustomVocabularyResponse_botId :: Lens' DeleteCustomVocabularyResponse (Maybe Text)
- deleteCustomVocabularyResponse_botVersion :: Lens' DeleteCustomVocabularyResponse (Maybe Text)
- deleteCustomVocabularyResponse_customVocabularyStatus :: Lens' DeleteCustomVocabularyResponse (Maybe CustomVocabularyStatus)
- deleteCustomVocabularyResponse_localeId :: Lens' DeleteCustomVocabularyResponse (Maybe Text)
- deleteCustomVocabularyResponse_httpStatus :: Lens' DeleteCustomVocabularyResponse Int
Creating a Request
data DeleteCustomVocabulary Source #
See: newDeleteCustomVocabulary
smart constructor.
Instances
newDeleteCustomVocabulary Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteCustomVocabulary |
Create a value of DeleteCustomVocabulary
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:
DeleteCustomVocabulary
, deleteCustomVocabulary_botId
- The unique identifier of the bot to remove the custom vocabulary from.
DeleteCustomVocabulary
, deleteCustomVocabulary_botVersion
- The version of the bot to remove the custom vocabulary from.
DeleteCustomVocabulary
, deleteCustomVocabulary_localeId
- The locale identifier for the locale that contains the custom vocabulary
to remove.
Request Lenses
deleteCustomVocabulary_botId :: Lens' DeleteCustomVocabulary Text Source #
The unique identifier of the bot to remove the custom vocabulary from.
deleteCustomVocabulary_botVersion :: Lens' DeleteCustomVocabulary Text Source #
The version of the bot to remove the custom vocabulary from.
deleteCustomVocabulary_localeId :: Lens' DeleteCustomVocabulary Text Source #
The locale identifier for the locale that contains the custom vocabulary to remove.
Destructuring the Response
data DeleteCustomVocabularyResponse Source #
See: newDeleteCustomVocabularyResponse
smart constructor.
DeleteCustomVocabularyResponse' | |
|
Instances
newDeleteCustomVocabularyResponse Source #
Create a value of DeleteCustomVocabularyResponse
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:
DeleteCustomVocabulary
, deleteCustomVocabularyResponse_botId
- The identifier of the bot that the custom vocabulary was removed from.
DeleteCustomVocabulary
, deleteCustomVocabularyResponse_botVersion
- The version of the bot that the custom vocabulary was removed from.
$sel:customVocabularyStatus:DeleteCustomVocabularyResponse'
, deleteCustomVocabularyResponse_customVocabularyStatus
- The status of removing the custom vocabulary.
DeleteCustomVocabulary
, deleteCustomVocabularyResponse_localeId
- The locale identifier for the locale that the custom vocabulary was
removed from.
$sel:httpStatus:DeleteCustomVocabularyResponse'
, deleteCustomVocabularyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteCustomVocabularyResponse_botId :: Lens' DeleteCustomVocabularyResponse (Maybe Text) Source #
The identifier of the bot that the custom vocabulary was removed from.
deleteCustomVocabularyResponse_botVersion :: Lens' DeleteCustomVocabularyResponse (Maybe Text) Source #
The version of the bot that the custom vocabulary was removed from.
deleteCustomVocabularyResponse_customVocabularyStatus :: Lens' DeleteCustomVocabularyResponse (Maybe CustomVocabularyStatus) Source #
The status of removing the custom vocabulary.
deleteCustomVocabularyResponse_localeId :: Lens' DeleteCustomVocabularyResponse (Maybe Text) Source #
The locale identifier for the locale that the custom vocabulary was removed from.
deleteCustomVocabularyResponse_httpStatus :: Lens' DeleteCustomVocabularyResponse Int Source #
The response's http status code.