| 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.GlobalAccelerator.ListAccelerators
Description
List the accelerators for an Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListAccelerators = ListAccelerators' {}
- newListAccelerators :: ListAccelerators
- listAccelerators_maxResults :: Lens' ListAccelerators (Maybe Natural)
- listAccelerators_nextToken :: Lens' ListAccelerators (Maybe Text)
- data ListAcceleratorsResponse = ListAcceleratorsResponse' {
- accelerators :: Maybe [Accelerator]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAcceleratorsResponse :: Int -> ListAcceleratorsResponse
- listAcceleratorsResponse_accelerators :: Lens' ListAcceleratorsResponse (Maybe [Accelerator])
- listAcceleratorsResponse_nextToken :: Lens' ListAcceleratorsResponse (Maybe Text)
- listAcceleratorsResponse_httpStatus :: Lens' ListAcceleratorsResponse Int
Creating a Request
data ListAccelerators Source #
See: newListAccelerators smart constructor.
Constructors
| ListAccelerators' | |
Instances
newListAccelerators :: ListAccelerators Source #
Create a value of ListAccelerators 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:ListAccelerators', listAccelerators_maxResults - The number of Global Accelerator objects that you want to return with
this call. The default value is 10.
ListAccelerators, listAccelerators_nextToken - The token for the next set of results. You receive this token from a
previous call.
Request Lenses
listAccelerators_maxResults :: Lens' ListAccelerators (Maybe Natural) Source #
The number of Global Accelerator objects that you want to return with this call. The default value is 10.
listAccelerators_nextToken :: Lens' ListAccelerators (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
Destructuring the Response
data ListAcceleratorsResponse Source #
See: newListAcceleratorsResponse smart constructor.
Constructors
| ListAcceleratorsResponse' | |
Fields
| |
Instances
newListAcceleratorsResponse Source #
Create a value of ListAcceleratorsResponse 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:accelerators:ListAcceleratorsResponse', listAcceleratorsResponse_accelerators - The list of accelerators for a customer account.
ListAccelerators, listAcceleratorsResponse_nextToken - The token for the next set of results. You receive this token from a
previous call.
$sel:httpStatus:ListAcceleratorsResponse', listAcceleratorsResponse_httpStatus - The response's http status code.
Response Lenses
listAcceleratorsResponse_accelerators :: Lens' ListAcceleratorsResponse (Maybe [Accelerator]) Source #
The list of accelerators for a customer account.
listAcceleratorsResponse_nextToken :: Lens' ListAcceleratorsResponse (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
listAcceleratorsResponse_httpStatus :: Lens' ListAcceleratorsResponse Int Source #
The response's http status code.