amazonka-iot-1.6.1: Amazon IoT 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.IoT.ListStreams

Contents

Description

Lists all of the streams in your AWS account.

Synopsis

Creating a Request

listStreams :: ListStreams Source #

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

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

  • lsNextToken - A token used to get the next set of results.
  • lsAscendingOrder - Set to true to return the list of streams in ascending order.
  • lsMaxResults - The maximum number of results to return at a time.

data ListStreams Source #

See: listStreams smart constructor.

Instances
Eq ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Data ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Methods

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

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

toConstr :: ListStreams -> Constr #

dataTypeOf :: ListStreams -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Show ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Generic ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Associated Types

type Rep ListStreams :: Type -> Type #

Hashable ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

AWSRequest ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Associated Types

type Rs ListStreams :: Type #

ToHeaders ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Methods

toHeaders :: ListStreams -> [Header] #

ToPath ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

ToQuery ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

NFData ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Methods

rnf :: ListStreams -> () #

type Rep ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

type Rep ListStreams = D1 (MetaData "ListStreams" "Network.AWS.IoT.ListStreams" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListStreams'" PrefixI True) (S1 (MetaSel (Just "_lsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lsAscendingOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_lsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListStreams Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Request Lenses

lsNextToken :: Lens' ListStreams (Maybe Text) Source #

A token used to get the next set of results.

lsAscendingOrder :: Lens' ListStreams (Maybe Bool) Source #

Set to true to return the list of streams in ascending order.

lsMaxResults :: Lens' ListStreams (Maybe Natural) Source #

The maximum number of results to return at a time.

Destructuring the Response

listStreamsResponse Source #

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

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

data ListStreamsResponse Source #

See: listStreamsResponse smart constructor.

Instances
Eq ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Data ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Methods

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

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

toConstr :: ListStreamsResponse -> Constr #

dataTypeOf :: ListStreamsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Show ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Generic ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Associated Types

type Rep ListStreamsResponse :: Type -> Type #

NFData ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

Methods

rnf :: ListStreamsResponse -> () #

type Rep ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListStreams

type Rep ListStreamsResponse = D1 (MetaData "ListStreamsResponse" "Network.AWS.IoT.ListStreams" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListStreamsResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lsrsStreams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StreamSummary])) :*: S1 (MetaSel (Just "_lsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lsrsNextToken :: Lens' ListStreamsResponse (Maybe Text) Source #

A token used to get the next set of results.

lsrsResponseStatus :: Lens' ListStreamsResponse Int Source #

  • - | The response status code.