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 |
Get a list of bot recommendations that meet the specified criteria.
Synopsis
- data ListBotRecommendations = ListBotRecommendations' {}
- newListBotRecommendations :: Text -> Text -> Text -> ListBotRecommendations
- listBotRecommendations_maxResults :: Lens' ListBotRecommendations (Maybe Natural)
- listBotRecommendations_nextToken :: Lens' ListBotRecommendations (Maybe Text)
- listBotRecommendations_botId :: Lens' ListBotRecommendations Text
- listBotRecommendations_botVersion :: Lens' ListBotRecommendations Text
- listBotRecommendations_localeId :: Lens' ListBotRecommendations Text
- data ListBotRecommendationsResponse = ListBotRecommendationsResponse' {}
- newListBotRecommendationsResponse :: Int -> ListBotRecommendationsResponse
- listBotRecommendationsResponse_botId :: Lens' ListBotRecommendationsResponse (Maybe Text)
- listBotRecommendationsResponse_botRecommendationSummaries :: Lens' ListBotRecommendationsResponse (Maybe [BotRecommendationSummary])
- listBotRecommendationsResponse_botVersion :: Lens' ListBotRecommendationsResponse (Maybe Text)
- listBotRecommendationsResponse_localeId :: Lens' ListBotRecommendationsResponse (Maybe Text)
- listBotRecommendationsResponse_nextToken :: Lens' ListBotRecommendationsResponse (Maybe Text)
- listBotRecommendationsResponse_httpStatus :: Lens' ListBotRecommendationsResponse Int
Creating a Request
data ListBotRecommendations Source #
See: newListBotRecommendations
smart constructor.
ListBotRecommendations' | |
|
Instances
newListBotRecommendations Source #
:: Text | |
-> Text | |
-> Text | |
-> ListBotRecommendations |
Create a value of ListBotRecommendations
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:ListBotRecommendations'
, listBotRecommendations_maxResults
- The maximum number of bot recommendations to return in each page of
results. If there are fewer results than the max page size, only the
actual number of results are returned.
ListBotRecommendations
, listBotRecommendations_nextToken
- If the response from the ListBotRecommendation operation contains more
results than specified in the maxResults parameter, a token is returned
in the response. Use that token in the nextToken parameter to return the
next page of results.
ListBotRecommendations
, listBotRecommendations_botId
- The unique identifier of the bot that contains the bot recommendation
list.
ListBotRecommendations
, listBotRecommendations_botVersion
- The version of the bot that contains the bot recommendation list.
ListBotRecommendations
, listBotRecommendations_localeId
- The identifier of the language and locale of the bot recommendation
list.
Request Lenses
listBotRecommendations_maxResults :: Lens' ListBotRecommendations (Maybe Natural) Source #
The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
listBotRecommendations_nextToken :: Lens' ListBotRecommendations (Maybe Text) Source #
If the response from the ListBotRecommendation operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
listBotRecommendations_botId :: Lens' ListBotRecommendations Text Source #
The unique identifier of the bot that contains the bot recommendation list.
listBotRecommendations_botVersion :: Lens' ListBotRecommendations Text Source #
The version of the bot that contains the bot recommendation list.
listBotRecommendations_localeId :: Lens' ListBotRecommendations Text Source #
The identifier of the language and locale of the bot recommendation list.
Destructuring the Response
data ListBotRecommendationsResponse Source #
See: newListBotRecommendationsResponse
smart constructor.
ListBotRecommendationsResponse' | |
|
Instances
newListBotRecommendationsResponse Source #
Create a value of ListBotRecommendationsResponse
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:
ListBotRecommendations
, listBotRecommendationsResponse_botId
- The unique identifier of the bot that contains the bot recommendation
list.
$sel:botRecommendationSummaries:ListBotRecommendationsResponse'
, listBotRecommendationsResponse_botRecommendationSummaries
- Summary information for the bot recommendations that meet the filter
specified in this request. The length of the list is specified in the
maxResults parameter of the request. If there are more bot
recommendations available, the nextToken field contains a token to get
the next page of results.
ListBotRecommendations
, listBotRecommendationsResponse_botVersion
- The version of the bot that contains the bot recommendation list.
ListBotRecommendations
, listBotRecommendationsResponse_localeId
- The identifier of the language and locale of the bot recommendation
list.
ListBotRecommendations
, listBotRecommendationsResponse_nextToken
- A token that indicates whether there are more results to return in a
response to the ListBotRecommendations operation. If the nextToken field
is present, you send the contents as the nextToken parameter of a
ListBotRecommendations operation request to get the next page of
results.
$sel:httpStatus:ListBotRecommendationsResponse'
, listBotRecommendationsResponse_httpStatus
- The response's http status code.
Response Lenses
listBotRecommendationsResponse_botId :: Lens' ListBotRecommendationsResponse (Maybe Text) Source #
The unique identifier of the bot that contains the bot recommendation list.
listBotRecommendationsResponse_botRecommendationSummaries :: Lens' ListBotRecommendationsResponse (Maybe [BotRecommendationSummary]) Source #
Summary information for the bot recommendations that meet the filter specified in this request. The length of the list is specified in the maxResults parameter of the request. If there are more bot recommendations available, the nextToken field contains a token to get the next page of results.
listBotRecommendationsResponse_botVersion :: Lens' ListBotRecommendationsResponse (Maybe Text) Source #
The version of the bot that contains the bot recommendation list.
listBotRecommendationsResponse_localeId :: Lens' ListBotRecommendationsResponse (Maybe Text) Source #
The identifier of the language and locale of the bot recommendation list.
listBotRecommendationsResponse_nextToken :: Lens' ListBotRecommendationsResponse (Maybe Text) Source #
A token that indicates whether there are more results to return in a response to the ListBotRecommendations operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotRecommendations operation request to get the next page of results.
listBotRecommendationsResponse_httpStatus :: Lens' ListBotRecommendationsResponse Int Source #
The response's http status code.