1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteVPCAssociationAuthorization`](crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`hosted_zone_id(impl Into<String>)`](crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder::hosted_zone_id) / [`set_hosted_zone_id(Option<String>)`](crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder::set_hosted_zone_id):<br>required: **true**<br><p>When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account, the ID of the hosted zone.</p><br>
    ///   - [`vpc(Vpc)`](crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder::vpc) / [`set_vpc(Option<Vpc>)`](crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder::set_vpc):<br>required: **true**<br><p>When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account, a complex type that includes the ID and region of the VPC.</p><br>
    /// - On success, responds with [`DeleteVpcAssociationAuthorizationOutput`](crate::operation::delete_vpc_association_authorization::DeleteVpcAssociationAuthorizationOutput)
    /// - On failure, responds with [`SdkError<DeleteVPCAssociationAuthorizationError>`](crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError)
    pub fn delete_vpc_association_authorization(
        &self,
    ) -> crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder {
        crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder::new(self.handle.clone())
    }
}