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.ListTagsForResources

Contents

Description

Lists tags for up to 10 health checks or hosted zones.

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

listTagsForResources #

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

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

  • lResourceType - The type of the resources. * The resource type for health checks is healthcheck . * The resource type for hosted zones is hostedzone .
  • lResourceIds - A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.

data ListTagsForResources #

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

See: listTagsForResources smart constructor.

Instances

Eq ListTagsForResources # 
Data ListTagsForResources # 

Methods

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

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

toConstr :: ListTagsForResources -> Constr #

dataTypeOf :: ListTagsForResources -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsForResources # 
Show ListTagsForResources # 
Generic ListTagsForResources # 
Hashable ListTagsForResources # 
NFData ListTagsForResources # 

Methods

rnf :: ListTagsForResources -> () #

AWSRequest ListTagsForResources # 
ToElement ListTagsForResources # 
ToXML ListTagsForResources # 
ToHeaders ListTagsForResources # 
ToPath ListTagsForResources # 
ToQuery ListTagsForResources # 
type Rep ListTagsForResources # 
type Rep ListTagsForResources = D1 * (MetaData "ListTagsForResources" "Network.AWS.Route53.ListTagsForResources" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" False) (C1 * (MetaCons "ListTagsForResources'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * TagResourceType)) (S1 * (MetaSel (Just Symbol "_lResourceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (List1 Text)))))
type Rs ListTagsForResources # 

Request Lenses

lResourceType :: Lens' ListTagsForResources TagResourceType #

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

lResourceIds :: Lens' ListTagsForResources (NonEmpty Text) #

A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.

Destructuring the Response

listTagsForResourcesResponse #

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

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

data ListTagsForResourcesResponse #

A complex type containing tags for the specified resources.

See: listTagsForResourcesResponse smart constructor.

Instances

Eq ListTagsForResourcesResponse # 
Data ListTagsForResourcesResponse # 

Methods

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

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

toConstr :: ListTagsForResourcesResponse -> Constr #

dataTypeOf :: ListTagsForResourcesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsForResourcesResponse # 
Show ListTagsForResourcesResponse # 
Generic ListTagsForResourcesResponse # 
NFData ListTagsForResourcesResponse # 
type Rep ListTagsForResourcesResponse # 
type Rep ListTagsForResourcesResponse = D1 * (MetaData "ListTagsForResourcesResponse" "Network.AWS.Route53.ListTagsForResources" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" False) (C1 * (MetaCons "ListTagsForResourcesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_lrsResourceTagSets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [ResourceTagSet]))))

Response Lenses

lrsResponseStatus :: Lens' ListTagsForResourcesResponse Int #

  • - | The response status code.

lrsResourceTagSets :: Lens' ListTagsForResourcesResponse [ResourceTagSet] #

A list of ResourceTagSet s containing tags associated with the specified resources.