Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the comment for a specified hosted zone.
Synopsis
- data UpdateHostedZoneComment = UpdateHostedZoneComment' {
- comment :: Maybe Text
- id :: ResourceId
- newUpdateHostedZoneComment :: ResourceId -> UpdateHostedZoneComment
- updateHostedZoneComment_comment :: Lens' UpdateHostedZoneComment (Maybe Text)
- updateHostedZoneComment_id :: Lens' UpdateHostedZoneComment ResourceId
- data UpdateHostedZoneCommentResponse = UpdateHostedZoneCommentResponse' {}
- newUpdateHostedZoneCommentResponse :: Int -> HostedZone -> UpdateHostedZoneCommentResponse
- updateHostedZoneCommentResponse_httpStatus :: Lens' UpdateHostedZoneCommentResponse Int
- updateHostedZoneCommentResponse_hostedZone :: Lens' UpdateHostedZoneCommentResponse HostedZone
Creating a Request
data UpdateHostedZoneComment Source #
A request to update the comment for a hosted zone.
See: newUpdateHostedZoneComment
smart constructor.
UpdateHostedZoneComment' | |
|
Instances
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.
UpdateHostedZoneCommentResponse' | |
|
Instances
Eq UpdateHostedZoneCommentResponse Source # | |
Read UpdateHostedZoneCommentResponse Source # | |
Show UpdateHostedZoneCommentResponse Source # | |
Defined in Amazonka.Route53.UpdateHostedZoneComment | |
Generic UpdateHostedZoneCommentResponse Source # | |
NFData UpdateHostedZoneCommentResponse Source # | |
Defined in Amazonka.Route53.UpdateHostedZoneComment rnf :: UpdateHostedZoneCommentResponse -> () # | |
type Rep UpdateHostedZoneCommentResponse Source # | |
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_httpStatus :: Lens' UpdateHostedZoneCommentResponse Int Source #
The response's http status code.
updateHostedZoneCommentResponse_hostedZone :: Lens' UpdateHostedZoneCommentResponse HostedZone Source #
A complex type that contains the response to the
UpdateHostedZoneComment
request.