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

Defined in Network.AWS.Route53.ListTagsForResource

Data ListTagsForResource Source # 
Instance details

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

Defined in Network.AWS.Route53.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Hashable ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

Associated Types

type Rs ListTagsForResource :: Type #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

type Rep ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

type Rep ListTagsForResource = D1 (MetaData "ListTagsForResource" "Network.AWS.Route53.ListTagsForResource" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListTagsForResource'" PrefixI True) (S1 (MetaSel (Just "_ltfrResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TagResourceType) :*: S1 (MetaSel (Just "_ltfrResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs ListTagsForResource Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

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

Defined in Network.AWS.Route53.ListTagsForResource

Data ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

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

Defined in Network.AWS.Route53.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 (MetaData "ListTagsForResourceResponse" "Network.AWS.Route53.ListTagsForResource" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListTagsForResourceResponse'" PrefixI True) (S1 (MetaSel (Just "_ltfrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_ltfrrsResourceTagSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceTagSet)))

Response Lenses

ltfrrsResourceTagSet :: Lens' ListTagsForResourceResponse ResourceTagSet Source #

A ResourceTagSet containing tags associated with the specified resource.