| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.MediaPackage.ListOriginEndpoints
Description
Returns a collection of OriginEndpoint records.
This operation returns paginated results.
Synopsis
- listOriginEndpoints :: ListOriginEndpoints
- data ListOriginEndpoints
- loeChannelId :: Lens' ListOriginEndpoints (Maybe Text)
- loeNextToken :: Lens' ListOriginEndpoints (Maybe Text)
- loeMaxResults :: Lens' ListOriginEndpoints (Maybe Natural)
- listOriginEndpointsResponse :: Int -> ListOriginEndpointsResponse
- data ListOriginEndpointsResponse
- loersOriginEndpoints :: Lens' ListOriginEndpointsResponse [OriginEndpoint]
- loersNextToken :: Lens' ListOriginEndpointsResponse (Maybe Text)
- loersResponseStatus :: Lens' ListOriginEndpointsResponse Int
Creating a Request
listOriginEndpoints :: ListOriginEndpoints Source #
Creates a value of ListOriginEndpoints with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
loeChannelId- When specified, the request will return only OriginEndpoints associated with the given Channel ID.loeNextToken- A token used to resume pagination from the end of a previous request.loeMaxResults- The upper bound on the number of records to return.
data ListOriginEndpoints Source #
See: listOriginEndpoints smart constructor.
Instances
Request Lenses
loeChannelId :: Lens' ListOriginEndpoints (Maybe Text) Source #
When specified, the request will return only OriginEndpoints associated with the given Channel ID.
loeNextToken :: Lens' ListOriginEndpoints (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
loeMaxResults :: Lens' ListOriginEndpoints (Maybe Natural) Source #
The upper bound on the number of records to return.
Destructuring the Response
listOriginEndpointsResponse Source #
Arguments
| :: Int | |
| -> ListOriginEndpointsResponse |
Creates a value of ListOriginEndpointsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
loersOriginEndpoints- A list of OriginEndpoint records.loersNextToken- A token that can be used to resume pagination from the end of the collection.loersResponseStatus- -- | The response status code.
data ListOriginEndpointsResponse Source #
See: listOriginEndpointsResponse smart constructor.
Instances
Response Lenses
loersOriginEndpoints :: Lens' ListOriginEndpointsResponse [OriginEndpoint] Source #
A list of OriginEndpoint records.
loersNextToken :: Lens' ListOriginEndpointsResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
loersResponseStatus :: Lens' ListOriginEndpointsResponse Int Source #
- - | The response status code.