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

Contents

Description

Updates the hosted zone comment. Send a POST request to the 2013-04-01hostedzone/hosted zone ID resource.

Synopsis

Creating a Request

updateHostedZoneComment Source #

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

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

  • uhzcComment - The new comment for the hosted zone. If you don't specify a value for Comment , Amazon Route 53 deletes the existing value of the Comment element, if any.
  • uhzcId - The ID for the hosted zone for which you want to update the comment.

data UpdateHostedZoneComment Source #

A complex type that contains the hosted zone request information.

See: updateHostedZoneComment smart constructor.

Instances

Eq UpdateHostedZoneComment Source # 
Data UpdateHostedZoneComment Source # 

Methods

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

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

toConstr :: UpdateHostedZoneComment -> Constr #

dataTypeOf :: UpdateHostedZoneComment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateHostedZoneComment Source # 
Show UpdateHostedZoneComment Source # 
Generic UpdateHostedZoneComment Source # 
Hashable UpdateHostedZoneComment Source # 
NFData UpdateHostedZoneComment Source # 

Methods

rnf :: UpdateHostedZoneComment -> () #

AWSRequest UpdateHostedZoneComment Source # 
ToPath UpdateHostedZoneComment Source # 
ToHeaders UpdateHostedZoneComment Source # 
ToElement UpdateHostedZoneComment Source # 
ToXML UpdateHostedZoneComment Source # 
ToQuery UpdateHostedZoneComment Source # 
type Rep UpdateHostedZoneComment Source # 
type Rep UpdateHostedZoneComment = D1 (MetaData "UpdateHostedZoneComment" "Network.AWS.Route53.UpdateHostedZoneComment" "amazonka-route53-1.4.5-DoQ7bXPvDC1HwWocjSAILy" False) (C1 (MetaCons "UpdateHostedZoneComment'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uhzcComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uhzcId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId))))
type Rs UpdateHostedZoneComment Source # 

Request Lenses

uhzcComment :: Lens' UpdateHostedZoneComment (Maybe Text) Source #

The new comment for the hosted zone. If you don't specify a value for Comment , Amazon Route 53 deletes the existing value of the Comment element, if any.

uhzcId :: Lens' UpdateHostedZoneComment ResourceId Source #

The ID for the hosted zone for which you want to update the comment.

Destructuring the Response

updateHostedZoneCommentResponse Source #

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

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

data UpdateHostedZoneCommentResponse Source #

A complex type that contains the response to the UpdateHostedZoneCommentRequest.

See: updateHostedZoneCommentResponse smart constructor.

Instances

Eq UpdateHostedZoneCommentResponse Source # 
Data UpdateHostedZoneCommentResponse Source # 

Methods

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

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

toConstr :: UpdateHostedZoneCommentResponse -> Constr #

dataTypeOf :: UpdateHostedZoneCommentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateHostedZoneCommentResponse Source # 
Show UpdateHostedZoneCommentResponse Source # 
Generic UpdateHostedZoneCommentResponse Source # 
NFData UpdateHostedZoneCommentResponse Source # 
type Rep UpdateHostedZoneCommentResponse Source # 
type Rep UpdateHostedZoneCommentResponse = D1 (MetaData "UpdateHostedZoneCommentResponse" "Network.AWS.Route53.UpdateHostedZoneComment" "amazonka-route53-1.4.5-DoQ7bXPvDC1HwWocjSAILy" False) (C1 (MetaCons "UpdateHostedZoneCommentResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uhzcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_uhzcrsHostedZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HostedZone))))

Response Lenses