| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Route53.UpdateHostedZoneComment
Description
Updates the hosted zone comment. Send a POST request to the 2013-04-01hostedzone/hosted zone ID resource.
- updateHostedZoneComment :: ResourceId -> UpdateHostedZoneComment
- data UpdateHostedZoneComment
- uhzcComment :: Lens' UpdateHostedZoneComment (Maybe Text)
- uhzcId :: Lens' UpdateHostedZoneComment ResourceId
- updateHostedZoneCommentResponse :: Int -> HostedZone -> UpdateHostedZoneCommentResponse
- data UpdateHostedZoneCommentResponse
- uhzcrsResponseStatus :: Lens' UpdateHostedZoneCommentResponse Int
- uhzcrsHostedZone :: Lens' UpdateHostedZoneCommentResponse HostedZone
Creating a Request
updateHostedZoneComment Source #
Arguments
| :: ResourceId | |
| -> UpdateHostedZoneComment |
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 forComment, Amazon Route 53 deletes the existing value of theCommentelement, 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
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:
uhzcrsResponseStatus- -- | The response status code.uhzcrsHostedZone- Undocumented member.
data UpdateHostedZoneCommentResponse Source #
A complex type that contains the response to the UpdateHostedZoneCommentRequest.
See: updateHostedZoneCommentResponse smart constructor.
Instances
Response Lenses
uhzcrsResponseStatus :: Lens' UpdateHostedZoneCommentResponse Int Source #
- - | The response status code.
uhzcrsHostedZone :: Lens' UpdateHostedZoneCommentResponse HostedZone Source #
Undocumented member.