amazonka-route53-1.6.0: Amazon Route 53 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.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 #

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 #

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 # 
Data ListTagsForResource # 

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

Methods

rnf :: ListTagsForResource -> () #

AWSRequest ListTagsForResource # 
ToHeaders ListTagsForResource # 
ToPath ListTagsForResource # 
ToQuery ListTagsForResource # 
type Rep ListTagsForResource # 
type Rep ListTagsForResource = D1 * (MetaData "ListTagsForResource" "Network.AWS.Route53.ListTagsForResource" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" 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 # 

Request Lenses

ltfrResourceType :: Lens' ListTagsForResource TagResourceType #

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 #

The ID of the resource for which you want to retrieve tags.

Destructuring the Response

listTagsForResourceResponse #

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 #

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 # 
Data ListTagsForResourceResponse # 

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 # 
Show ListTagsForResourceResponse # 
Generic ListTagsForResourceResponse # 
NFData ListTagsForResourceResponse # 
type Rep ListTagsForResourceResponse # 
type Rep ListTagsForResourceResponse = D1 * (MetaData "ListTagsForResourceResponse" "Network.AWS.Route53.ListTagsForResource" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" False) (C1 * (MetaCons "ListTagsForResourceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_ltfrrsResourceTagSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ResourceTagSet))))

Response Lenses

ltfrrsResourceTagSet :: Lens' ListTagsForResourceResponse ResourceTagSet #

A ResourceTagSet containing tags associated with the specified resource.