aws_sdk_route53/client/
disassociate_vpc_from_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 [`DisassociateVPCFromHostedZone`](crate::operation::disassociate_vpc_from_hosted_zone::builders::DisassociateVPCFromHostedZoneFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hosted_zone_id(impl Into<String>)`](crate::operation::disassociate_vpc_from_hosted_zone::builders::DisassociateVPCFromHostedZoneFluentBuilder::hosted_zone_id) / [`set_hosted_zone_id(Option<String>)`](crate::operation::disassociate_vpc_from_hosted_zone::builders::DisassociateVPCFromHostedZoneFluentBuilder::set_hosted_zone_id):<br>required: **true**<br><p>The ID of the private hosted zone that you want to disassociate a VPC from.</p><br>
7    ///   - [`vpc(Vpc)`](crate::operation::disassociate_vpc_from_hosted_zone::builders::DisassociateVPCFromHostedZoneFluentBuilder::vpc) / [`set_vpc(Option<Vpc>)`](crate::operation::disassociate_vpc_from_hosted_zone::builders::DisassociateVPCFromHostedZoneFluentBuilder::set_vpc):<br>required: **true**<br><p>A complex type that contains information about the VPC that you're disassociating from the specified hosted zone.</p><br>
8    ///   - [`comment(impl Into<String>)`](crate::operation::disassociate_vpc_from_hosted_zone::builders::DisassociateVPCFromHostedZoneFluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::disassociate_vpc_from_hosted_zone::builders::DisassociateVPCFromHostedZoneFluentBuilder::set_comment):<br>required: **false**<br><p><i>Optional:</i> A comment about the disassociation request.</p><br>
9    /// - On success, responds with [`DisassociateVpcFromHostedZoneOutput`](crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVpcFromHostedZoneOutput) with field(s):
10    ///   - [`change_info(Option<ChangeInfo>)`](crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVpcFromHostedZoneOutput::change_info): <p>A complex type that describes the changes made to the specified private hosted zone.</p>
11    /// - On failure, responds with [`SdkError<DisassociateVPCFromHostedZoneError>`](crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError)
12    pub fn disassociate_vpc_from_hosted_zone(
13        &self,
14    ) -> crate::operation::disassociate_vpc_from_hosted_zone::builders::DisassociateVPCFromHostedZoneFluentBuilder {
15        crate::operation::disassociate_vpc_from_hosted_zone::builders::DisassociateVPCFromHostedZoneFluentBuilder::new(self.handle.clone())
16    }
17}