Copyright | (c) 2013-2015 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 |
To update the hosted zone comment, send a POST
request to the
'2013-04-01/hostedzone/hosted zone ID' resource. The request body must
include an XML document with a UpdateHostedZoneCommentRequest
element.
The response to this request includes the modified HostedZone
element.
The comment can have a maximum length of 256 characters.
See: AWS API Reference for UpdateHostedZoneComment.
- updateHostedZoneComment :: Text -> UpdateHostedZoneComment
- data UpdateHostedZoneComment
- uhzcComment :: Lens' UpdateHostedZoneComment (Maybe Text)
- uhzcId :: Lens' UpdateHostedZoneComment Text
- updateHostedZoneCommentResponse :: Int -> HostedZone -> UpdateHostedZoneCommentResponse
- data UpdateHostedZoneCommentResponse
- uhzcrsResponseStatus :: Lens' UpdateHostedZoneCommentResponse Int
- uhzcrsHostedZone :: Lens' UpdateHostedZoneCommentResponse HostedZone
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:
data UpdateHostedZoneComment Source
A complex type that contains information about the request to update a hosted zone comment.
See: updateHostedZoneComment
smart constructor.
Request Lenses
uhzcComment :: Lens' UpdateHostedZoneComment (Maybe Text) Source
A comment about your hosted zone.
uhzcId :: Lens' UpdateHostedZoneComment Text Source
The ID of the hosted zone you want to update.
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 containing information about the specified hosted zone after the update.
See: updateHostedZoneCommentResponse
smart constructor.
Response Lenses
uhzcrsResponseStatus :: Lens' UpdateHostedZoneCommentResponse Int Source
The response status code.
uhzcrsHostedZone :: Lens' UpdateHostedZoneCommentResponse HostedZone Source
Undocumented member.