amazonka-mediapackage-1.6.0: Amazon Elemental MediaPackage SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MediaPackage.ListChannels

Contents

Description

Returns a collection of Channels.

This operation returns paginated results.

Synopsis

Creating a Request

listChannels :: ListChannels Source #

Creates a value of ListChannels with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lcNextToken - A token used to resume pagination from the end of a previous request.
  • lcMaxResults - Upper bound on number of records to return.

data ListChannels Source #

See: listChannels smart constructor.

Instances

Eq ListChannels Source # 
Data ListChannels Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListChannels -> c ListChannels #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListChannels #

toConstr :: ListChannels -> Constr #

dataTypeOf :: ListChannels -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListChannels) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListChannels) #

gmapT :: (forall b. Data b => b -> b) -> ListChannels -> ListChannels #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListChannels -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListChannels -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListChannels -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListChannels -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListChannels -> m ListChannels #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListChannels -> m ListChannels #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListChannels -> m ListChannels #

Read ListChannels Source # 
Show ListChannels Source # 
Generic ListChannels Source # 

Associated Types

type Rep ListChannels :: * -> * #

Hashable ListChannels Source # 
NFData ListChannels Source # 

Methods

rnf :: ListChannels -> () #

AWSPager ListChannels Source # 
AWSRequest ListChannels Source # 
ToHeaders ListChannels Source # 
ToPath ListChannels Source # 
ToQuery ListChannels Source # 
type Rep ListChannels Source # 
type Rep ListChannels = D1 * (MetaData "ListChannels" "Network.AWS.MediaPackage.ListChannels" "amazonka-mediapackage-1.6.0-FgnOM9h3HAK6TMeVGPpxSG" False) (C1 * (MetaCons "ListChannels'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lcMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListChannels Source # 

Request Lenses

lcNextToken :: Lens' ListChannels (Maybe Text) Source #

A token used to resume pagination from the end of a previous request.

lcMaxResults :: Lens' ListChannels (Maybe Natural) Source #

Upper bound on number of records to return.

Destructuring the Response

listChannelsResponse Source #

Creates a value of ListChannelsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListChannelsResponse Source #

See: listChannelsResponse smart constructor.

Instances

Eq ListChannelsResponse Source # 
Data ListChannelsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListChannelsResponse -> c ListChannelsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListChannelsResponse #

toConstr :: ListChannelsResponse -> Constr #

dataTypeOf :: ListChannelsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListChannelsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListChannelsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListChannelsResponse -> ListChannelsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListChannelsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListChannelsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListChannelsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListChannelsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListChannelsResponse -> m ListChannelsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListChannelsResponse -> m ListChannelsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListChannelsResponse -> m ListChannelsResponse #

Read ListChannelsResponse Source # 
Show ListChannelsResponse Source # 
Generic ListChannelsResponse Source # 
NFData ListChannelsResponse Source # 

Methods

rnf :: ListChannelsResponse -> () #

type Rep ListChannelsResponse Source # 
type Rep ListChannelsResponse = D1 * (MetaData "ListChannelsResponse" "Network.AWS.MediaPackage.ListChannels" "amazonka-mediapackage-1.6.0-FgnOM9h3HAK6TMeVGPpxSG" False) (C1 * (MetaCons "ListChannelsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcrsChannels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Channel]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lcrsChannels :: Lens' ListChannelsResponse [Channel] Source #

A list of Channel records.

lcrsNextToken :: Lens' ListChannelsResponse (Maybe Text) Source #

A token that can be used to resume pagination from the end of the collection.

lcrsResponseStatus :: Lens' ListChannelsResponse Int Source #

  • - | The response status code.