aws_sdk_route53/client/
delete_hosted_zone.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteHostedZone`](crate::operation::delete_hosted_zone::builders::DeleteHostedZoneFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::delete_hosted_zone::builders::DeleteHostedZoneFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_hosted_zone::builders::DeleteHostedZoneFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the hosted zone you want to delete.</p><br>
7    /// - On success, responds with [`DeleteHostedZoneOutput`](crate::operation::delete_hosted_zone::DeleteHostedZoneOutput) with field(s):
8    ///   - [`change_info(Option<ChangeInfo>)`](crate::operation::delete_hosted_zone::DeleteHostedZoneOutput::change_info): <p>A complex type that contains the ID, the status, and the date and time of a request to delete a hosted zone.</p>
9    /// - On failure, responds with [`SdkError<DeleteHostedZoneError>`](crate::operation::delete_hosted_zone::DeleteHostedZoneError)
10    pub fn delete_hosted_zone(&self) -> crate::operation::delete_hosted_zone::builders::DeleteHostedZoneFluentBuilder {
11        crate::operation::delete_hosted_zone::builders::DeleteHostedZoneFluentBuilder::new(self.handle.clone())
12    }
13}