amazonka-mediapackage-1.6.1: 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 # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Data ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

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 # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Show ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Generic ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Associated Types

type Rep ListChannels :: Type -> Type #

Hashable ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

AWSPager ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

AWSRequest ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Associated Types

type Rs ListChannels :: Type #

ToHeaders ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

ToPath ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

ToQuery ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

NFData ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Methods

rnf :: ListChannels -> () #

type Rep ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

type Rep ListChannels = D1 (MetaData "ListChannels" "Network.AWS.MediaPackage.ListChannels" "amazonka-mediapackage-1.6.1-8AxmiJJnVfmHmtFbaXxvVo" False) (C1 (MetaCons "ListChannels'" PrefixI True) (S1 (MetaSel (Just "_lcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))
type Rs ListChannels Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

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 # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Data ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

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 # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Show ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Generic ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Associated Types

type Rep ListChannelsResponse :: Type -> Type #

NFData ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

Methods

rnf :: ListChannelsResponse -> () #

type Rep ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.ListChannels

type Rep ListChannelsResponse = D1 (MetaData "ListChannelsResponse" "Network.AWS.MediaPackage.ListChannels" "amazonka-mediapackage-1.6.1-8AxmiJJnVfmHmtFbaXxvVo" False) (C1 (MetaCons "ListChannelsResponse'" PrefixI True) (S1 (MetaSel (Just "_lcrsChannels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Channel])) :*: (S1 (MetaSel (Just "_lcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.