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

Contents

Description

Adds, edits, or deletes tags for a health check or a 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

changeTagsForResource Source #

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

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

  • ctfrRemoveTagKeys - A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
  • ctfrAddTags - A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for. You can add a maximum of 10 tags to a health check or a hosted zone.
  • ctfrResourceType - The type of the resource. * The resource type for health checks is healthcheck . * The resource type for hosted zones is hostedzone .
  • ctfrResourceId - The ID of the resource for which you want to add, change, or delete tags.

data ChangeTagsForResource Source #

A complex type that contains information about the tags that you want to add, edit, or delete.

See: changeTagsForResource smart constructor.

Instances

Eq ChangeTagsForResource Source # 
Data ChangeTagsForResource Source # 

Methods

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

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

toConstr :: ChangeTagsForResource -> Constr #

dataTypeOf :: ChangeTagsForResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ChangeTagsForResource Source # 
Show ChangeTagsForResource Source # 
Generic ChangeTagsForResource Source # 
Hashable ChangeTagsForResource Source # 
NFData ChangeTagsForResource Source # 

Methods

rnf :: ChangeTagsForResource -> () #

AWSRequest ChangeTagsForResource Source # 
ToElement ChangeTagsForResource Source # 
ToXML ChangeTagsForResource Source # 
ToHeaders ChangeTagsForResource Source # 
ToPath ChangeTagsForResource Source # 
ToQuery ChangeTagsForResource Source # 
type Rep ChangeTagsForResource Source # 
type Rep ChangeTagsForResource = D1 * (MetaData "ChangeTagsForResource" "Network.AWS.Route53.ChangeTagsForResource" "amazonka-route53-1.6.0-Ak5sZypnFS3AFXHlAYIveI" False) (C1 * (MetaCons "ChangeTagsForResource'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ctfrRemoveTagKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 Text)))) (S1 * (MetaSel (Just Symbol "_ctfrAddTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 Tag))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ctfrResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * TagResourceType)) (S1 * (MetaSel (Just Symbol "_ctfrResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ChangeTagsForResource Source # 

Request Lenses

ctfrRemoveTagKeys :: Lens' ChangeTagsForResource (Maybe (NonEmpty Text)) Source #

A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

ctfrAddTags :: Lens' ChangeTagsForResource (Maybe (NonEmpty Tag)) Source #

A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for. You can add a maximum of 10 tags to a health check or a hosted zone.

ctfrResourceType :: Lens' ChangeTagsForResource TagResourceType Source #

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

ctfrResourceId :: Lens' ChangeTagsForResource Text Source #

The ID of the resource for which you want to add, change, or delete tags.

Destructuring the Response

changeTagsForResourceResponse Source #

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

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

data ChangeTagsForResourceResponse Source #

Empty response for the request.

See: changeTagsForResourceResponse smart constructor.

Instances

Eq ChangeTagsForResourceResponse Source # 
Data ChangeTagsForResourceResponse Source # 

Methods

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

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

toConstr :: ChangeTagsForResourceResponse -> Constr #

dataTypeOf :: ChangeTagsForResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ChangeTagsForResourceResponse Source # 
Show ChangeTagsForResourceResponse Source # 
Generic ChangeTagsForResourceResponse Source # 
NFData ChangeTagsForResourceResponse Source # 
type Rep ChangeTagsForResourceResponse Source # 
type Rep ChangeTagsForResourceResponse = D1 * (MetaData "ChangeTagsForResourceResponse" "Network.AWS.Route53.ChangeTagsForResource" "amazonka-route53-1.6.0-Ak5sZypnFS3AFXHlAYIveI" True) (C1 * (MetaCons "ChangeTagsForResourceResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ctfrrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses