Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all the Amazon Lex bots currently associated with the instance.
This operation returns paginated results.
Synopsis
- data ListLexBots = ListLexBots' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- instanceId :: Text
- newListLexBots :: Text -> ListLexBots
- listLexBots_nextToken :: Lens' ListLexBots (Maybe Text)
- listLexBots_maxResults :: Lens' ListLexBots (Maybe Natural)
- listLexBots_instanceId :: Lens' ListLexBots Text
- data ListLexBotsResponse = ListLexBotsResponse' {}
- newListLexBotsResponse :: Int -> ListLexBotsResponse
- listLexBotsResponse_nextToken :: Lens' ListLexBotsResponse (Maybe Text)
- listLexBotsResponse_lexBots :: Lens' ListLexBotsResponse (Maybe [LexBot])
- listLexBotsResponse_httpStatus :: Lens' ListLexBotsResponse Int
Creating a Request
data ListLexBots Source #
See: newListLexBots
smart constructor.
ListLexBots' | |
|
Instances
Create a value of ListLexBots
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:nextToken:ListLexBots'
, listLexBots_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListLexBots'
, listLexBots_maxResults
- The maximum number of results to return per page. If no value is
specified, the default is 10.
$sel:instanceId:ListLexBots'
, listLexBots_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listLexBots_nextToken :: Lens' ListLexBots (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listLexBots_maxResults :: Lens' ListLexBots (Maybe Natural) Source #
The maximum number of results to return per page. If no value is specified, the default is 10.
listLexBots_instanceId :: Lens' ListLexBots Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListLexBotsResponse Source #
See: newListLexBotsResponse
smart constructor.
Instances
newListLexBotsResponse Source #
Create a value of ListLexBotsResponse
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:nextToken:ListLexBots'
, listLexBotsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:lexBots:ListLexBotsResponse'
, listLexBotsResponse_lexBots
- The names and Regions of the Amazon Lex bots associated with the
specified instance.
$sel:httpStatus:ListLexBotsResponse'
, listLexBotsResponse_httpStatus
- The response's http status code.
Response Lenses
listLexBotsResponse_nextToken :: Lens' ListLexBotsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listLexBotsResponse_lexBots :: Lens' ListLexBotsResponse (Maybe [LexBot]) Source #
The names and Regions of the Amazon Lex bots associated with the specified instance.
listLexBotsResponse_httpStatus :: Lens' ListLexBotsResponse Int Source #
The response's http status code.