amazonka-kinesis-video-1.6.1: Amazon Kinesis Video Streams 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.KinesisVideo.ListStreams

Contents

Description

Returns an array of StreamInfo objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition .

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 - If you specify this parameter, when the result of a ListStreams operation is truncated, the call returns the NextToken in the response. To get another batch of streams, provide this token in your next request.
  • lsStreamNameCondition - Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
  • lsMaxResults - The maximum number of streams to return in the response. The default is 10,000.

data ListStreams Source #

See: listStreams smart constructor.

Instances
Eq ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Data ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.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.KinesisVideo.ListStreams

Show ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Generic ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Associated Types

type Rep ListStreams :: Type -> Type #

Hashable ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

ToJSON ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

AWSRequest ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Associated Types

type Rs ListStreams :: Type #

ToHeaders ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Methods

toHeaders :: ListStreams -> [Header] #

ToPath ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

ToQuery ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

NFData ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Methods

rnf :: ListStreams -> () #

type Rep ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

type Rep ListStreams = D1 (MetaData "ListStreams" "Network.AWS.KinesisVideo.ListStreams" "amazonka-kinesis-video-1.6.1-DmBW3ngoQkA6qcsiLaMbWy" False) (C1 (MetaCons "ListStreams'" PrefixI True) (S1 (MetaSel (Just "_lsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lsStreamNameCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StreamNameCondition)) :*: S1 (MetaSel (Just "_lsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListStreams Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Request Lenses

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

If you specify this parameter, when the result of a ListStreams operation is truncated, the call returns the NextToken in the response. To get another batch of streams, provide this token in your next request.

lsStreamNameCondition :: Lens' ListStreams (Maybe StreamNameCondition) Source #

Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.

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

The maximum number of streams to return in the response. The default is 10,000.

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:

  • lsrsStreamInfoList - An array of StreamInfo objects.
  • lsrsNextToken - If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.
  • lsrsResponseStatus - -- | The response status code.

data ListStreamsResponse Source #

See: listStreamsResponse smart constructor.

Instances
Eq ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Data ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.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.KinesisVideo.ListStreams

Show ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Generic ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Associated Types

type Rep ListStreamsResponse :: Type -> Type #

NFData ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

Methods

rnf :: ListStreamsResponse -> () #

type Rep ListStreamsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListStreams

type Rep ListStreamsResponse = D1 (MetaData "ListStreamsResponse" "Network.AWS.KinesisVideo.ListStreams" "amazonka-kinesis-video-1.6.1-DmBW3ngoQkA6qcsiLaMbWy" False) (C1 (MetaCons "ListStreamsResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrsStreamInfoList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StreamInfo])) :*: (S1 (MetaSel (Just "_lsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lsrsStreamInfoList :: Lens' ListStreamsResponse [StreamInfo] Source #

An array of StreamInfo objects.

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

If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.

lsrsResponseStatus :: Lens' ListStreamsResponse Int Source #

  • - | The response status code.