amazonka-iot-analytics-1.6.1: Amazon IoT Analytics 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.IoTAnalytics.ListChannels

Contents

Description

Retrieves a list of channels.

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 - The token for the next set of results.
  • lcMaxResults - The maximum number of results to return in this request. The default value is 100.

data ListChannels Source #

See: listChannels smart constructor.

Instances
Eq ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

Data ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.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.IoTAnalytics.ListChannels

Show ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

Generic ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

Associated Types

type Rep ListChannels :: Type -> Type #

Hashable ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

AWSRequest ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

Associated Types

type Rs ListChannels :: Type #

ToHeaders ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

ToPath ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

ToQuery ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

NFData ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

Methods

rnf :: ListChannels -> () #

type Rep ListChannels Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

type Rep ListChannels = D1 (MetaData "ListChannels" "Network.AWS.IoTAnalytics.ListChannels" "amazonka-iot-analytics-1.6.1-II7URRwPIs5C2HKxTKtgRZ" 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.IoTAnalytics.ListChannels

Request Lenses

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

The token for the next set of results.

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

The maximum number of results to return in this request. The default value is 100.

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.IoTAnalytics.ListChannels

Data ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.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.IoTAnalytics.ListChannels

Show ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

Generic ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

Associated Types

type Rep ListChannelsResponse :: Type -> Type #

NFData ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

Methods

rnf :: ListChannelsResponse -> () #

type Rep ListChannelsResponse Source # 
Instance details

Defined in Network.AWS.IoTAnalytics.ListChannels

type Rep ListChannelsResponse = D1 (MetaData "ListChannelsResponse" "Network.AWS.IoTAnalytics.ListChannels" "amazonka-iot-analytics-1.6.1-II7URRwPIs5C2HKxTKtgRZ" False) (C1 (MetaCons "ListChannelsResponse'" PrefixI True) (S1 (MetaSel (Just "_lcrsChannelSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ChannelSummary])) :*: (S1 (MetaSel (Just "_lcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

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

The token to retrieve the next set of results, or null if there are no more results.

lcrsResponseStatus :: Lens' ListChannelsResponse Int Source #

  • - | The response status code.