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