amazonka-dynamodb-1.6.1: 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 # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Data ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.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 Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Show ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Generic ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Associated Types

type Rep ListTagsOfResource :: Type -> Type #

Hashable ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

ToJSON ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

AWSRequest ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Associated Types

type Rs ListTagsOfResource :: Type #

ToHeaders ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

ToPath ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

ToQuery ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

NFData ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Methods

rnf :: ListTagsOfResource -> () #

type Rep ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

type Rep ListTagsOfResource = D1 (MetaData "ListTagsOfResource" "Network.AWS.DynamoDB.ListTagsOfResource" "amazonka-dynamodb-1.6.1-FTtIhwsA5vX17zvPeEA8Mr" False) (C1 (MetaCons "ListTagsOfResource'" PrefixI True) (S1 (MetaSel (Just "_ltorNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltorResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs ListTagsOfResource Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

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 # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Data ListTagsOfResourceResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

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 # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Show ListTagsOfResourceResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Generic ListTagsOfResourceResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

Associated Types

type Rep ListTagsOfResourceResponse :: Type -> Type #

NFData ListTagsOfResourceResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

type Rep ListTagsOfResourceResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.ListTagsOfResource

type Rep ListTagsOfResourceResponse = D1 (MetaData "ListTagsOfResourceResponse" "Network.AWS.DynamoDB.ListTagsOfResource" "amazonka-dynamodb-1.6.1-FTtIhwsA5vX17zvPeEA8Mr" False) (C1 (MetaCons "ListTagsOfResourceResponse'" PrefixI True) (S1 (MetaSel (Just "_ltorrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltorrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 (MetaSel (Just "_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.