amazonka-kinesis-video-1.6.0: 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 # 
Data ListTagsForStream Source # 

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 # 
Show ListTagsForStream Source # 
Generic ListTagsForStream Source # 
Hashable ListTagsForStream Source # 
ToJSON ListTagsForStream Source # 
NFData ListTagsForStream Source # 

Methods

rnf :: ListTagsForStream -> () #

AWSRequest ListTagsForStream Source # 
ToHeaders ListTagsForStream Source # 
ToPath ListTagsForStream Source # 
ToQuery ListTagsForStream Source # 
type Rep ListTagsForStream Source # 
type Rep ListTagsForStream = D1 * (MetaData "ListTagsForStream" "Network.AWS.KinesisVideo.ListTagsForStream" "amazonka-kinesis-video-1.6.0-Evo5CFODH986fZyUSJYXKc" False) (C1 * (MetaCons "ListTagsForStream'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfsStreamARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ltfsStreamName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))
type Rs ListTagsForStream Source # 

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 # 
Data ListTagsForStreamResponse Source # 

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 # 
Show ListTagsForStreamResponse Source # 
Generic ListTagsForStreamResponse Source # 
NFData ListTagsForStreamResponse Source # 
type Rep ListTagsForStreamResponse Source # 
type Rep ListTagsForStreamResponse = D1 * (MetaData "ListTagsForStreamResponse" "Network.AWS.KinesisVideo.ListTagsForStream" "amazonka-kinesis-video-1.6.0-Evo5CFODH986fZyUSJYXKc" False) (C1 * (MetaCons "ListTagsForStreamResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfsrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text)))) (S1 * (MetaSel (Just Symbol "_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.