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 |
Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.
Synopsis
- data ListBots = ListBots' {}
- newListBots :: Text -> ListBots
- listBots_nextToken :: Lens' ListBots (Maybe Text)
- listBots_maxResults :: Lens' ListBots (Maybe Natural)
- listBots_accountId :: Lens' ListBots Text
- data ListBotsResponse = ListBotsResponse' {}
- newListBotsResponse :: Int -> ListBotsResponse
- listBotsResponse_bots :: Lens' ListBotsResponse (Maybe [Bot])
- listBotsResponse_nextToken :: Lens' ListBotsResponse (Maybe Text)
- listBotsResponse_httpStatus :: Lens' ListBotsResponse Int
Creating a Request
See: newListBots
smart constructor.
Instances
Create a value of ListBots
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:ListBots'
, listBots_nextToken
- The token to use to retrieve the next page of results.
$sel:maxResults:ListBots'
, listBots_maxResults
- The maximum number of results to return in a single call. The default is
10.
$sel:accountId:ListBots'
, listBots_accountId
- The Amazon Chime account ID.
Request Lenses
listBots_nextToken :: Lens' ListBots (Maybe Text) Source #
The token to use to retrieve the next page of results.
listBots_maxResults :: Lens' ListBots (Maybe Natural) Source #
The maximum number of results to return in a single call. The default is 10.
Destructuring the Response
data ListBotsResponse Source #
See: newListBotsResponse
smart constructor.
Instances
Create a value of ListBotsResponse
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:bots:ListBotsResponse'
, listBotsResponse_bots
- List of bots and bot details.
$sel:nextToken:ListBots'
, listBotsResponse_nextToken
- The token to use to retrieve the next page of results.
$sel:httpStatus:ListBotsResponse'
, listBotsResponse_httpStatus
- The response's http status code.
Response Lenses
listBotsResponse_bots :: Lens' ListBotsResponse (Maybe [Bot]) Source #
List of bots and bot details.
listBotsResponse_nextToken :: Lens' ListBotsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results.
listBotsResponse_httpStatus :: Lens' ListBotsResponse Int Source #
The response's http status code.