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.ListTagsForStream

Contents

Description

Returns a list of tags associated with the specified stream.

In the request, you must specify either the StreamName or the StreamARN .

Synopsis

Creating a Request

listTagsForStream :: ListTagsForStream Source #

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

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

  • ltfsStreamARN - The Amazon Resource Name (ARN) of the stream that you want to list tags for.
  • ltfsNextToken - If you specify this parameter and the result of a ListTagsForStream call is truncated, the response includes a token that you can use in the next request to fetch the next batch of tags.
  • ltfsStreamName - The name of the stream that you want to list tags for.

data ListTagsForStream Source #

See: listTagsForStream smart constructor.

Instances
Eq ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Data ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Methods

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

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

toConstr :: ListTagsForStream -> Constr #

dataTypeOf :: ListTagsForStream -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Show ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Generic ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Associated Types

type Rep ListTagsForStream :: Type -> Type #

Hashable ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

ToJSON ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

AWSRequest ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Associated Types

type Rs ListTagsForStream :: Type #

ToHeaders ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

ToPath ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

ToQuery ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

NFData ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Methods

rnf :: ListTagsForStream -> () #

type Rep ListTagsForStream Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

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

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Request Lenses

ltfsStreamARN :: Lens' ListTagsForStream (Maybe Text) Source #

The Amazon Resource Name (ARN) of the stream that you want to list tags for.

ltfsNextToken :: Lens' ListTagsForStream (Maybe Text) Source #

If you specify this parameter and the result of a ListTagsForStream call is truncated, the response includes a token that you can use in the next request to fetch the next batch of tags.

ltfsStreamName :: Lens' ListTagsForStream (Maybe Text) Source #

The name of the stream that you want to list tags for.

Destructuring the Response

listTagsForStreamResponse Source #

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

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

  • ltfsrsNextToken - If you specify this parameter and the result of a ListTags call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.
  • ltfsrsTags - A map of tag keys and values associated with the specified stream.
  • ltfsrsResponseStatus - -- | The response status code.

data ListTagsForStreamResponse Source #

See: listTagsForStreamResponse smart constructor.

Instances
Eq ListTagsForStreamResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Data ListTagsForStreamResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Methods

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

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

toConstr :: ListTagsForStreamResponse -> Constr #

dataTypeOf :: ListTagsForStreamResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsForStreamResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Show ListTagsForStreamResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Generic ListTagsForStreamResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

Associated Types

type Rep ListTagsForStreamResponse :: Type -> Type #

NFData ListTagsForStreamResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

type Rep ListTagsForStreamResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideo.ListTagsForStream

type Rep ListTagsForStreamResponse = D1 (MetaData "ListTagsForStreamResponse" "Network.AWS.KinesisVideo.ListTagsForStream" "amazonka-kinesis-video-1.6.1-DmBW3ngoQkA6qcsiLaMbWy" False) (C1 (MetaCons "ListTagsForStreamResponse'" PrefixI True) (S1 (MetaSel (Just "_ltfsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltfsrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_ltfsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ltfsrsNextToken :: Lens' ListTagsForStreamResponse (Maybe Text) Source #

If you specify this parameter and the result of a ListTags call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.

ltfsrsTags :: Lens' ListTagsForStreamResponse (HashMap Text Text) Source #

A map of tag keys and values associated with the specified stream.