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 |
Retrieves a list of API destination in the account in the current Region.
Synopsis
- data ListApiDestinations = ListApiDestinations' {}
- newListApiDestinations :: ListApiDestinations
- listApiDestinations_nextToken :: Lens' ListApiDestinations (Maybe Text)
- listApiDestinations_namePrefix :: Lens' ListApiDestinations (Maybe Text)
- listApiDestinations_limit :: Lens' ListApiDestinations (Maybe Natural)
- listApiDestinations_connectionArn :: Lens' ListApiDestinations (Maybe Text)
- data ListApiDestinationsResponse = ListApiDestinationsResponse' {}
- newListApiDestinationsResponse :: Int -> ListApiDestinationsResponse
- listApiDestinationsResponse_apiDestinations :: Lens' ListApiDestinationsResponse (Maybe [ApiDestination])
- listApiDestinationsResponse_nextToken :: Lens' ListApiDestinationsResponse (Maybe Text)
- listApiDestinationsResponse_httpStatus :: Lens' ListApiDestinationsResponse Int
Creating a Request
data ListApiDestinations Source #
See: newListApiDestinations
smart constructor.
ListApiDestinations' | |
|
Instances
newListApiDestinations :: ListApiDestinations Source #
Create a value of ListApiDestinations
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:ListApiDestinations'
, listApiDestinations_nextToken
- The token returned by a previous call to retrieve the next set of
results.
$sel:namePrefix:ListApiDestinations'
, listApiDestinations_namePrefix
- A name prefix to filter results returned. Only API destinations with a
name that starts with the prefix are returned.
$sel:limit:ListApiDestinations'
, listApiDestinations_limit
- The maximum number of API destinations to include in the response.
$sel:connectionArn:ListApiDestinations'
, listApiDestinations_connectionArn
- The ARN of the connection specified for the API destination.
Request Lenses
listApiDestinations_nextToken :: Lens' ListApiDestinations (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listApiDestinations_namePrefix :: Lens' ListApiDestinations (Maybe Text) Source #
A name prefix to filter results returned. Only API destinations with a name that starts with the prefix are returned.
listApiDestinations_limit :: Lens' ListApiDestinations (Maybe Natural) Source #
The maximum number of API destinations to include in the response.
listApiDestinations_connectionArn :: Lens' ListApiDestinations (Maybe Text) Source #
The ARN of the connection specified for the API destination.
Destructuring the Response
data ListApiDestinationsResponse Source #
See: newListApiDestinationsResponse
smart constructor.
ListApiDestinationsResponse' | |
|
Instances
newListApiDestinationsResponse Source #
Create a value of ListApiDestinationsResponse
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:apiDestinations:ListApiDestinationsResponse'
, listApiDestinationsResponse_apiDestinations
- An array of ApiDestination
objects that include information about an
API destination.
$sel:nextToken:ListApiDestinations'
, listApiDestinationsResponse_nextToken
- A token you can use in a subsequent request to retrieve the next set of
results.
$sel:httpStatus:ListApiDestinationsResponse'
, listApiDestinationsResponse_httpStatus
- The response's http status code.
Response Lenses
listApiDestinationsResponse_apiDestinations :: Lens' ListApiDestinationsResponse (Maybe [ApiDestination]) Source #
An array of ApiDestination
objects that include information about an
API destination.
listApiDestinationsResponse_nextToken :: Lens' ListApiDestinationsResponse (Maybe Text) Source #
A token you can use in a subsequent request to retrieve the next set of results.
listApiDestinationsResponse_httpStatus :: Lens' ListApiDestinationsResponse Int Source #
The response's http status code.