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 |
Returns a collection of OriginEndpoint records.
This operation returns paginated results.
Synopsis
- data ListOriginEndpoints = ListOriginEndpoints' {}
- newListOriginEndpoints :: ListOriginEndpoints
- listOriginEndpoints_channelId :: Lens' ListOriginEndpoints (Maybe Text)
- listOriginEndpoints_nextToken :: Lens' ListOriginEndpoints (Maybe Text)
- listOriginEndpoints_maxResults :: Lens' ListOriginEndpoints (Maybe Natural)
- data ListOriginEndpointsResponse = ListOriginEndpointsResponse' {}
- newListOriginEndpointsResponse :: Int -> ListOriginEndpointsResponse
- listOriginEndpointsResponse_originEndpoints :: Lens' ListOriginEndpointsResponse (Maybe [OriginEndpoint])
- listOriginEndpointsResponse_nextToken :: Lens' ListOriginEndpointsResponse (Maybe Text)
- listOriginEndpointsResponse_httpStatus :: Lens' ListOriginEndpointsResponse Int
Creating a Request
data ListOriginEndpoints Source #
See: newListOriginEndpoints
smart constructor.
Instances
newListOriginEndpoints :: ListOriginEndpoints Source #
Create a value of ListOriginEndpoints
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:channelId:ListOriginEndpoints'
, listOriginEndpoints_channelId
- When specified, the request will return only OriginEndpoints associated
with the given Channel ID.
$sel:nextToken:ListOriginEndpoints'
, listOriginEndpoints_nextToken
- A token used to resume pagination from the end of a previous request.
$sel:maxResults:ListOriginEndpoints'
, listOriginEndpoints_maxResults
- The upper bound on the number of records to return.
Request Lenses
listOriginEndpoints_channelId :: Lens' ListOriginEndpoints (Maybe Text) Source #
When specified, the request will return only OriginEndpoints associated with the given Channel ID.
listOriginEndpoints_nextToken :: Lens' ListOriginEndpoints (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
listOriginEndpoints_maxResults :: Lens' ListOriginEndpoints (Maybe Natural) Source #
The upper bound on the number of records to return.
Destructuring the Response
data ListOriginEndpointsResponse Source #
See: newListOriginEndpointsResponse
smart constructor.
ListOriginEndpointsResponse' | |
|
Instances
newListOriginEndpointsResponse Source #
Create a value of ListOriginEndpointsResponse
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:originEndpoints:ListOriginEndpointsResponse'
, listOriginEndpointsResponse_originEndpoints
- A list of OriginEndpoint records.
$sel:nextToken:ListOriginEndpoints'
, listOriginEndpointsResponse_nextToken
- A token that can be used to resume pagination from the end of the
collection.
$sel:httpStatus:ListOriginEndpointsResponse'
, listOriginEndpointsResponse_httpStatus
- The response's http status code.
Response Lenses
listOriginEndpointsResponse_originEndpoints :: Lens' ListOriginEndpointsResponse (Maybe [OriginEndpoint]) Source #
A list of OriginEndpoint records.
listOriginEndpointsResponse_nextToken :: Lens' ListOriginEndpointsResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
listOriginEndpointsResponse_httpStatus :: Lens' ListOriginEndpointsResponse Int Source #
The response's http status code.