amazonka-route53-1.4.5: Amazon Route 53 SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.ListTagsForResource

Contents

Description

Lists tags for one health check or hosted zone.

For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .

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:

  • ltfrResourceType - The type of the resource. * The resource type for health checks is healthcheck . * The resource type for hosted zones is hostedzone .
  • ltfrResourceId - The ID of the resource for which you want to retrieve tags.

data ListTagsForResource Source #

A complex type containing information about a request for a list of the tags that are associated with an individual resource.

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 # 
NFData ListTagsForResource Source # 

Methods

rnf :: ListTagsForResource -> () #

AWSRequest ListTagsForResource Source # 
ToPath ListTagsForResource Source # 
ToHeaders ListTagsForResource Source # 
ToQuery ListTagsForResource Source # 
type Rep ListTagsForResource Source # 
type Rep ListTagsForResource = D1 (MetaData "ListTagsForResource" "Network.AWS.Route53.ListTagsForResource" "amazonka-route53-1.4.5-DoQ7bXPvDC1HwWocjSAILy" False) (C1 (MetaCons "ListTagsForResource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltfrResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TagResourceType)) (S1 (MetaSel (Just Symbol "_ltfrResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListTagsForResource Source # 

Request Lenses

ltfrResourceType :: Lens' ListTagsForResource TagResourceType Source #

The type of the resource. * The resource type for health checks is healthcheck . * The resource type for hosted zones is hostedzone .

ltfrResourceId :: Lens' ListTagsForResource Text Source #

The ID of the resource 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 #

A complex type that contains information about the health checks or hosted zones for which you want to list tags.

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.Route53.ListTagsForResource" "amazonka-route53-1.4.5-DoQ7bXPvDC1HwWocjSAILy" False) (C1 (MetaCons "ListTagsForResourceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltfrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ltfrrsResourceTagSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceTagSet))))

Response Lenses

ltfrrsResourceTagSet :: Lens' ListTagsForResourceResponse ResourceTagSet Source #

A ResourceTagSet containing tags associated with the specified resource.