| 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 |
Amazonka.Chime.ListBots
Description
Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.
Synopsis
- data ListBots = ListBots' {}
- newListBots :: Text -> ListBots
- listBots_maxResults :: Lens' ListBots (Maybe Natural)
- listBots_nextToken :: Lens' ListBots (Maybe Text)
- 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.
Constructors
| ListBots' | |
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:maxResults:ListBots', listBots_maxResults - The maximum number of results to return in a single call. The default is
10.
ListBots, listBots_nextToken - The token to use to retrieve the next page of results.
ListBots, listBots_accountId - The Amazon Chime account ID.
Request Lenses
listBots_maxResults :: Lens' ListBots (Maybe Natural) Source #
The maximum number of results to return in a single call. The default is 10.
listBots_nextToken :: Lens' ListBots (Maybe Text) Source #
The token to use to retrieve the next page of results.
Destructuring the Response
data ListBotsResponse Source #
See: newListBotsResponse smart constructor.
Constructors
| ListBotsResponse' | |
Instances
Arguments
| :: Int | |
| -> ListBotsResponse |
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.
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.