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 |
List custom vocabulary items for the specified locale in the specified bot.
Synopsis
- data ListCustomVocabularyItems = ListCustomVocabularyItems' {}
- newListCustomVocabularyItems :: Text -> Text -> Text -> ListCustomVocabularyItems
- listCustomVocabularyItems_maxResults :: Lens' ListCustomVocabularyItems (Maybe Natural)
- listCustomVocabularyItems_nextToken :: Lens' ListCustomVocabularyItems (Maybe Text)
- listCustomVocabularyItems_botId :: Lens' ListCustomVocabularyItems Text
- listCustomVocabularyItems_botVersion :: Lens' ListCustomVocabularyItems Text
- listCustomVocabularyItems_localeId :: Lens' ListCustomVocabularyItems Text
- data ListCustomVocabularyItemsResponse = ListCustomVocabularyItemsResponse' {}
- newListCustomVocabularyItemsResponse :: Int -> ListCustomVocabularyItemsResponse
- listCustomVocabularyItemsResponse_botId :: Lens' ListCustomVocabularyItemsResponse (Maybe Text)
- listCustomVocabularyItemsResponse_botVersion :: Lens' ListCustomVocabularyItemsResponse (Maybe Text)
- listCustomVocabularyItemsResponse_customVocabularyItems :: Lens' ListCustomVocabularyItemsResponse (Maybe [CustomVocabularyItem])
- listCustomVocabularyItemsResponse_localeId :: Lens' ListCustomVocabularyItemsResponse (Maybe Text)
- listCustomVocabularyItemsResponse_nextToken :: Lens' ListCustomVocabularyItemsResponse (Maybe Text)
- listCustomVocabularyItemsResponse_httpStatus :: Lens' ListCustomVocabularyItemsResponse Int
Creating a Request
data ListCustomVocabularyItems Source #
See: newListCustomVocabularyItems
smart constructor.
ListCustomVocabularyItems' | |
|
Instances
newListCustomVocabularyItems Source #
:: Text | |
-> Text | |
-> Text | |
-> ListCustomVocabularyItems |
Create a value of ListCustomVocabularyItems
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:
$sel:maxResults:ListCustomVocabularyItems'
, listCustomVocabularyItems_maxResults
- The maximum results to the list custom vocabulary request.
ListCustomVocabularyItems
, listCustomVocabularyItems_nextToken
- The nextToken identifier to the list custom vocabulary request.
ListCustomVocabularyItems
, listCustomVocabularyItems_botId
- The unique identifier of the bot to the list custom vocabulary request.
ListCustomVocabularyItems
, listCustomVocabularyItems_botVersion
- The bot version of the bot to the list custom vocabulary request.
ListCustomVocabularyItems
, listCustomVocabularyItems_localeId
- The locale identifier of the bot to the list custom vocabulary request.
Request Lenses
listCustomVocabularyItems_maxResults :: Lens' ListCustomVocabularyItems (Maybe Natural) Source #
The maximum results to the list custom vocabulary request.
listCustomVocabularyItems_nextToken :: Lens' ListCustomVocabularyItems (Maybe Text) Source #
The nextToken identifier to the list custom vocabulary request.
listCustomVocabularyItems_botId :: Lens' ListCustomVocabularyItems Text Source #
The unique identifier of the bot to the list custom vocabulary request.
listCustomVocabularyItems_botVersion :: Lens' ListCustomVocabularyItems Text Source #
The bot version of the bot to the list custom vocabulary request.
listCustomVocabularyItems_localeId :: Lens' ListCustomVocabularyItems Text Source #
The locale identifier of the bot to the list custom vocabulary request.
Destructuring the Response
data ListCustomVocabularyItemsResponse Source #
See: newListCustomVocabularyItemsResponse
smart constructor.
ListCustomVocabularyItemsResponse' | |
|
Instances
newListCustomVocabularyItemsResponse Source #
Create a value of ListCustomVocabularyItemsResponse
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:
ListCustomVocabularyItems
, listCustomVocabularyItemsResponse_botId
- The unique identifier of the bot to the list custom vocabulary response.
ListCustomVocabularyItems
, listCustomVocabularyItemsResponse_botVersion
- The bot version of the bot to the list custom vocabulary response.
$sel:customVocabularyItems:ListCustomVocabularyItemsResponse'
, listCustomVocabularyItemsResponse_customVocabularyItems
- The custom vocabulary items from the list custom vocabulary response.
ListCustomVocabularyItems
, listCustomVocabularyItemsResponse_localeId
- The locale identifier of the bot to the list custom vocabulary response.
ListCustomVocabularyItems
, listCustomVocabularyItemsResponse_nextToken
- The nextToken identifier to the list custom vocabulary response.
$sel:httpStatus:ListCustomVocabularyItemsResponse'
, listCustomVocabularyItemsResponse_httpStatus
- The response's http status code.
Response Lenses
listCustomVocabularyItemsResponse_botId :: Lens' ListCustomVocabularyItemsResponse (Maybe Text) Source #
The unique identifier of the bot to the list custom vocabulary response.
listCustomVocabularyItemsResponse_botVersion :: Lens' ListCustomVocabularyItemsResponse (Maybe Text) Source #
The bot version of the bot to the list custom vocabulary response.
listCustomVocabularyItemsResponse_customVocabularyItems :: Lens' ListCustomVocabularyItemsResponse (Maybe [CustomVocabularyItem]) Source #
The custom vocabulary items from the list custom vocabulary response.
listCustomVocabularyItemsResponse_localeId :: Lens' ListCustomVocabularyItemsResponse (Maybe Text) Source #
The locale identifier of the bot to the list custom vocabulary response.
listCustomVocabularyItemsResponse_nextToken :: Lens' ListCustomVocabularyItemsResponse (Maybe Text) Source #
The nextToken identifier to the list custom vocabulary response.
listCustomVocabularyItemsResponse_httpStatus :: Lens' ListCustomVocabularyItemsResponse Int Source #
The response's http status code.