update_hosted_zone_comment
async
¶
update_hosted_zone_comment(
id: ResourceId,
*,
config_overrides: Optional[AsyncRoute53ClientConfig] = None,
comment: Optional[ResourceDescription] = None,
) -> UpdateHostedZoneCommentResponse
Updates the comment for a specified hosted zone.
Parameters:
-
id(ResourceId) –The ID for the hosted zone that you want to update the comment for.
-
comment(Optional[ResourceDescription], default:None) –The new comment for the hosted zone. If you don't specify a value for
Comment, Amazon Route 53 deletes the existing value of theCommentelement, if any.
Raises:
-
InvalidInput–The input is not valid.
-
NoSuchHostedZone–No hosted zone exists with the ID that you specified.
-
PriorRequestNotComplete–If Amazon Route 53 can't process a request before the next request arrives, it will reject subsequent requests for the same hosted zone and return an
HTTP 400 error(Bad request). If Route 53 returns this error repeatedly for the same request, we recommend that you wait, in intervals of increasing duration, before you try the request again. -
UnknownServiceError–The service returned an error code this client does not model.