amazonka-ds-1.6.0: Amazon Directory Service 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.DirectoryService.ListTagsForResource

Contents

Description

Lists all tags on a directory.

Synopsis

Creating a Request

listTagsForResource Source #

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

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

data ListTagsForResource Source #

See: listTagsForResource smart constructor.

Instances

Eq ListTagsForResource Source # 
Data ListTagsForResource Source # 

Methods

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

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

toConstr :: ListTagsForResource -> Constr #

dataTypeOf :: ListTagsForResource -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListTagsForResource -> () #

AWSRequest ListTagsForResource Source # 
ToHeaders ListTagsForResource Source # 
ToPath ListTagsForResource Source # 
ToQuery ListTagsForResource Source # 
type Rep ListTagsForResource Source # 
type Rep ListTagsForResource = D1 * (MetaData "ListTagsForResource" "Network.AWS.DirectoryService.ListTagsForResource" "amazonka-ds-1.6.0-ITYNjgCo7B1AqxAGagl7t5" False) (C1 * (MetaCons "ListTagsForResource'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfrLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_ltfrResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListTagsForResource Source # 

Request Lenses

ltfrLimit :: Lens' ListTagsForResource (Maybe Natural) Source #

Reserved for future use.

ltfrResourceId :: Lens' ListTagsForResource Text Source #

Identifier (ID) of the directory for which you want to retrieve tags.

Destructuring the Response

listTagsForResourceResponse Source #

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

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

data ListTagsForResourceResponse Source #

See: listTagsForResourceResponse smart constructor.

Instances

Eq ListTagsForResourceResponse Source # 
Data ListTagsForResourceResponse Source # 

Methods

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

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

toConstr :: ListTagsForResourceResponse -> Constr #

dataTypeOf :: ListTagsForResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsForResourceResponse Source # 
Show ListTagsForResourceResponse Source # 
Generic ListTagsForResourceResponse Source # 
NFData ListTagsForResourceResponse Source # 
type Rep ListTagsForResourceResponse Source # 
type Rep ListTagsForResourceResponse = D1 * (MetaData "ListTagsForResourceResponse" "Network.AWS.DirectoryService.ListTagsForResource" "amazonka-ds-1.6.0-ITYNjgCo7B1AqxAGagl7t5" False) (C1 * (MetaCons "ListTagsForResourceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfrrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) (S1 * (MetaSel (Just Symbol "_ltfrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ltfrrsTags :: Lens' ListTagsForResourceResponse [Tag] Source #

List of tags returned by the ListTagsForResource operation.