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 #

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 #

See: listTagsOfResource smart constructor.

Instances

Eq ListTagsOfResource # 
Data ListTagsOfResource # 

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

Methods

rnf :: ListTagsOfResource -> () #

AWSRequest ListTagsOfResource # 
ToHeaders ListTagsOfResource # 
ToPath ListTagsOfResource # 
ToQuery ListTagsOfResource # 
type Rep ListTagsOfResource # 
type Rep ListTagsOfResource = D1 * (MetaData "ListTagsOfResource" "Network.AWS.DynamoDB.ListTagsOfResource" "amazonka-dynamodb-1.6.0-4CAL5C38QRN24HHgdQoKAY" 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 # 

Request Lenses

ltorNextToken :: Lens' ListTagsOfResource (Maybe Text) #

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 #

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

Destructuring the Response

listTagsOfResourceResponse #

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 #

See: listTagsOfResourceResponse smart constructor.

Instances

Eq ListTagsOfResourceResponse # 
Data ListTagsOfResourceResponse # 

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 # 
Show ListTagsOfResourceResponse # 
Generic ListTagsOfResourceResponse # 
NFData ListTagsOfResourceResponse # 
type Rep ListTagsOfResourceResponse # 
type Rep ListTagsOfResourceResponse = D1 * (MetaData "ListTagsOfResourceResponse" "Network.AWS.DynamoDB.ListTagsOfResource" "amazonka-dynamodb-1.6.0-4CAL5C38QRN24HHgdQoKAY" 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) #

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] #

The tags currently associated with the Amazon DynamoDB resource.