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 |
Gets a list of aliases for the specified bot.
Synopsis
- data ListBotAliases = ListBotAliases' {}
- newListBotAliases :: Text -> ListBotAliases
- listBotAliases_maxResults :: Lens' ListBotAliases (Maybe Natural)
- listBotAliases_nextToken :: Lens' ListBotAliases (Maybe Text)
- listBotAliases_botId :: Lens' ListBotAliases Text
- data ListBotAliasesResponse = ListBotAliasesResponse' {
- botAliasSummaries :: Maybe [BotAliasSummary]
- botId :: Maybe Text
- nextToken :: Maybe Text
- httpStatus :: Int
- newListBotAliasesResponse :: Int -> ListBotAliasesResponse
- listBotAliasesResponse_botAliasSummaries :: Lens' ListBotAliasesResponse (Maybe [BotAliasSummary])
- listBotAliasesResponse_botId :: Lens' ListBotAliasesResponse (Maybe Text)
- listBotAliasesResponse_nextToken :: Lens' ListBotAliasesResponse (Maybe Text)
- listBotAliasesResponse_httpStatus :: Lens' ListBotAliasesResponse Int
Creating a Request
data ListBotAliases Source #
See: newListBotAliases
smart constructor.
ListBotAliases' | |
|
Instances
Create a value of ListBotAliases
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:ListBotAliases'
, listBotAliases_maxResults
- The maximum number of aliases 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.
ListBotAliases
, listBotAliases_nextToken
- If the response from the ListBotAliases
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.
ListBotAliases
, listBotAliases_botId
- The identifier of the bot to list aliases for.
Request Lenses
listBotAliases_maxResults :: Lens' ListBotAliases (Maybe Natural) Source #
The maximum number of aliases 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.
listBotAliases_nextToken :: Lens' ListBotAliases (Maybe Text) Source #
If the response from the ListBotAliases
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.
listBotAliases_botId :: Lens' ListBotAliases Text Source #
The identifier of the bot to list aliases for.
Destructuring the Response
data ListBotAliasesResponse Source #
See: newListBotAliasesResponse
smart constructor.
ListBotAliasesResponse' | |
|
Instances
newListBotAliasesResponse Source #
Create a value of ListBotAliasesResponse
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:botAliasSummaries:ListBotAliasesResponse'
, listBotAliasesResponse_botAliasSummaries
- Summary information for the bot aliases that meet the filter criteria
specified in the request. The length of the list is specified in the
maxResults
parameter of the request. If there are more aliases
available, the nextToken
field contains a token to get the next page
of results.
ListBotAliases
, listBotAliasesResponse_botId
- The identifier of the bot associated with the aliases.
ListBotAliases
, listBotAliasesResponse_nextToken
- A token that indicates whether there are more results to return in a
response to the ListBotAliases
operation. If the nextToken
field is
present, you send the contents as the nextToken
parameter of a
ListBotAliases
operation request to get the next page of results.
$sel:httpStatus:ListBotAliasesResponse'
, listBotAliasesResponse_httpStatus
- The response's http status code.
Response Lenses
listBotAliasesResponse_botAliasSummaries :: Lens' ListBotAliasesResponse (Maybe [BotAliasSummary]) Source #
Summary information for the bot aliases that meet the filter criteria
specified in the request. The length of the list is specified in the
maxResults
parameter of the request. If there are more aliases
available, the nextToken
field contains a token to get the next page
of results.
listBotAliasesResponse_botId :: Lens' ListBotAliasesResponse (Maybe Text) Source #
The identifier of the bot associated with the aliases.
listBotAliasesResponse_nextToken :: Lens' ListBotAliasesResponse (Maybe Text) Source #
A token that indicates whether there are more results to return in a
response to the ListBotAliases
operation. If the nextToken
field is
present, you send the contents as the nextToken
parameter of a
ListBotAliases
operation request to get the next page of results.
listBotAliasesResponse_httpStatus :: Lens' ListBotAliasesResponse Int Source #
The response's http status code.