amazonka-dynamodb-1.6.0: Amazon DynamoDB 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.DynamoDB.ListTagsOfResource

Contents

Description

List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.

For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide .

Synopsis

Creating a Request

listTagsOfResource Source #

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

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

  • ltorNextToken - An optional string that, if supplied, must be copied from the output of a previous call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.
  • ltorResourceARN - The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).

data ListTagsOfResource Source #

See: listTagsOfResource smart constructor.

Instances

Eq ListTagsOfResource Source # 
Data ListTagsOfResource Source # 

Methods

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

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

toConstr :: ListTagsOfResource -> Constr #

dataTypeOf :: ListTagsOfResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsOfResource Source # 
Show ListTagsOfResource Source # 
Generic ListTagsOfResource Source # 
Hashable ListTagsOfResource Source # 
ToJSON ListTagsOfResource Source # 
NFData ListTagsOfResource Source # 

Methods

rnf :: ListTagsOfResource -> () #

AWSRequest ListTagsOfResource Source # 
ToHeaders ListTagsOfResource Source # 
ToPath ListTagsOfResource Source # 
ToQuery ListTagsOfResource Source # 
type Rep ListTagsOfResource Source # 
type Rep ListTagsOfResource = D1 * (MetaData "ListTagsOfResource" "Network.AWS.DynamoDB.ListTagsOfResource" "amazonka-dynamodb-1.6.0-Be8FXVQVyEHEMZza56FG0o" False) (C1 * (MetaCons "ListTagsOfResource'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltorNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ltorResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs ListTagsOfResource Source # 

Request Lenses

ltorNextToken :: Lens' ListTagsOfResource (Maybe Text) Source #

An optional string that, if supplied, must be copied from the output of a previous call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.

ltorResourceARN :: Lens' ListTagsOfResource Text Source #

The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).

Destructuring the Response

listTagsOfResourceResponse Source #

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

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

  • ltorrsNextToken - If this value is returned, there are additional results to be displayed. To retrieve them, call ListTagsOfResource again, with NextToken set to this value.
  • ltorrsTags - The tags currently associated with the Amazon DynamoDB resource.
  • ltorrsResponseStatus - -- | The response status code.

data ListTagsOfResourceResponse Source #

See: listTagsOfResourceResponse smart constructor.

Instances

Eq ListTagsOfResourceResponse Source # 
Data ListTagsOfResourceResponse Source # 

Methods

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

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

toConstr :: ListTagsOfResourceResponse -> Constr #

dataTypeOf :: ListTagsOfResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsOfResourceResponse Source # 
Show ListTagsOfResourceResponse Source # 
Generic ListTagsOfResourceResponse Source # 
NFData ListTagsOfResourceResponse Source # 
type Rep ListTagsOfResourceResponse Source # 
type Rep ListTagsOfResourceResponse = D1 * (MetaData "ListTagsOfResourceResponse" "Network.AWS.DynamoDB.ListTagsOfResource" "amazonka-dynamodb-1.6.0-Be8FXVQVyEHEMZza56FG0o" False) (C1 * (MetaCons "ListTagsOfResourceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltorrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltorrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) (S1 * (MetaSel (Just Symbol "_ltorrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ltorrsNextToken :: Lens' ListTagsOfResourceResponse (Maybe Text) Source #

If this value is returned, there are additional results to be displayed. To retrieve them, call ListTagsOfResource again, with NextToken set to this value.

ltorrsTags :: Lens' ListTagsOfResourceResponse [Tag] Source #

The tags currently associated with the Amazon DynamoDB resource.