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