| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53.UpdateHostedZoneComment
Description
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.
Constructors
| UpdateHostedZoneComment' | |
Fields
| |
Instances
newUpdateHostedZoneComment Source #
Arguments
| :: ResourceId | |
| -> UpdateHostedZoneComment |
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:
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.
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
newUpdateHostedZoneCommentResponse Source #
Arguments
| :: Int | |
| -> HostedZone | |
| -> UpdateHostedZoneCommentResponse |
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.