libZSservicesZSamazonka-route53ZSamazonka-route53
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53.UpdateHostedZoneComment

Description

Updates the comment for a specified hosted zone.

Synopsis

Creating a Request

data UpdateHostedZoneComment Source #

A request to update the comment for a hosted zone.

See: newUpdateHostedZoneComment smart constructor.

Constructors

UpdateHostedZoneComment' 

Fields

  • comment :: Maybe Text

    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.

  • id :: ResourceId

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

Instances

Instances details
Eq UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

Read UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

Show UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

Generic UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

Associated Types

type Rep UpdateHostedZoneComment :: Type -> Type #

NFData UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

Methods

rnf :: UpdateHostedZoneComment -> () #

Hashable UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

AWSRequest UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

ToHeaders UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

ToPath UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

ToQuery UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

ToElement UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

ToXML UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

type Rep UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

type Rep UpdateHostedZoneComment = D1 ('MetaData "UpdateHostedZoneComment" "Amazonka.Route53.UpdateHostedZoneComment" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "UpdateHostedZoneComment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceId)))
type AWSResponse UpdateHostedZoneComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

newUpdateHostedZoneComment Source #

Create a value of UpdateHostedZoneComment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:comment:UpdateHostedZoneComment', updateHostedZoneComment_comment - 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.

$sel:id:UpdateHostedZoneComment', updateHostedZoneComment_id - The ID for the hosted zone that you want to update the comment for.

Request Lenses

updateHostedZoneComment_comment :: 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.

updateHostedZoneComment_id :: Lens' UpdateHostedZoneComment ResourceId Source #

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

Destructuring the Response

data UpdateHostedZoneCommentResponse Source #

A complex type that contains the response to the UpdateHostedZoneComment request.

See: newUpdateHostedZoneCommentResponse smart constructor.

Constructors

UpdateHostedZoneCommentResponse' 

Fields

Instances

Instances details
Eq UpdateHostedZoneCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

Read UpdateHostedZoneCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

Show UpdateHostedZoneCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

Generic UpdateHostedZoneCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

Associated Types

type Rep UpdateHostedZoneCommentResponse :: Type -> Type #

NFData UpdateHostedZoneCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

type Rep UpdateHostedZoneCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateHostedZoneComment

type Rep UpdateHostedZoneCommentResponse = D1 ('MetaData "UpdateHostedZoneCommentResponse" "Amazonka.Route53.UpdateHostedZoneComment" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "UpdateHostedZoneCommentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "hostedZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HostedZone)))

newUpdateHostedZoneCommentResponse Source #

Create a value of UpdateHostedZoneCommentResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateHostedZoneCommentResponse', updateHostedZoneCommentResponse_httpStatus - The response's http status code.

$sel:hostedZone:UpdateHostedZoneCommentResponse', updateHostedZoneCommentResponse_hostedZone - A complex type that contains the response to the UpdateHostedZoneComment request.

Response Lenses

updateHostedZoneCommentResponse_hostedZone :: Lens' UpdateHostedZoneCommentResponse HostedZone Source #

A complex type that contains the response to the UpdateHostedZoneComment request.