| 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.ListCustomRoutingAccelerators
Description
List the custom routing accelerators for an Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListCustomRoutingAccelerators = ListCustomRoutingAccelerators' {}
- newListCustomRoutingAccelerators :: ListCustomRoutingAccelerators
- listCustomRoutingAccelerators_maxResults :: Lens' ListCustomRoutingAccelerators (Maybe Natural)
- listCustomRoutingAccelerators_nextToken :: Lens' ListCustomRoutingAccelerators (Maybe Text)
- data ListCustomRoutingAcceleratorsResponse = ListCustomRoutingAcceleratorsResponse' {}
- newListCustomRoutingAcceleratorsResponse :: Int -> ListCustomRoutingAcceleratorsResponse
- listCustomRoutingAcceleratorsResponse_accelerators :: Lens' ListCustomRoutingAcceleratorsResponse (Maybe [CustomRoutingAccelerator])
- listCustomRoutingAcceleratorsResponse_nextToken :: Lens' ListCustomRoutingAcceleratorsResponse (Maybe Text)
- listCustomRoutingAcceleratorsResponse_httpStatus :: Lens' ListCustomRoutingAcceleratorsResponse Int
Creating a Request
data ListCustomRoutingAccelerators Source #
See: newListCustomRoutingAccelerators smart constructor.
Constructors
| ListCustomRoutingAccelerators' | |
Instances
newListCustomRoutingAccelerators :: ListCustomRoutingAccelerators Source #
Create a value of ListCustomRoutingAccelerators 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:ListCustomRoutingAccelerators', listCustomRoutingAccelerators_maxResults - The number of custom routing Global Accelerator objects that you want to
return with this call. The default value is 10.
ListCustomRoutingAccelerators, listCustomRoutingAccelerators_nextToken - The token for the next set of results. You receive this token from a
previous call.
Request Lenses
listCustomRoutingAccelerators_maxResults :: Lens' ListCustomRoutingAccelerators (Maybe Natural) Source #
The number of custom routing Global Accelerator objects that you want to return with this call. The default value is 10.
listCustomRoutingAccelerators_nextToken :: Lens' ListCustomRoutingAccelerators (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
Destructuring the Response
data ListCustomRoutingAcceleratorsResponse Source #
See: newListCustomRoutingAcceleratorsResponse smart constructor.
Constructors
| ListCustomRoutingAcceleratorsResponse' | |
Fields
| |
Instances
newListCustomRoutingAcceleratorsResponse Source #
Arguments
| :: Int | |
| -> ListCustomRoutingAcceleratorsResponse |
Create a value of ListCustomRoutingAcceleratorsResponse 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:ListCustomRoutingAcceleratorsResponse', listCustomRoutingAcceleratorsResponse_accelerators - The list of custom routing accelerators for a customer account.
ListCustomRoutingAccelerators, listCustomRoutingAcceleratorsResponse_nextToken - The token for the next set of results. You receive this token from a
previous call.
$sel:httpStatus:ListCustomRoutingAcceleratorsResponse', listCustomRoutingAcceleratorsResponse_httpStatus - The response's http status code.
Response Lenses
listCustomRoutingAcceleratorsResponse_accelerators :: Lens' ListCustomRoutingAcceleratorsResponse (Maybe [CustomRoutingAccelerator]) Source #
The list of custom routing accelerators for a customer account.
listCustomRoutingAcceleratorsResponse_nextToken :: Lens' ListCustomRoutingAcceleratorsResponse (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
listCustomRoutingAcceleratorsResponse_httpStatus :: Lens' ListCustomRoutingAcceleratorsResponse Int Source #
The response's http status code.