aws_sdk_route53/client/delete_vpc_association_authorization.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 [`DeleteVPCAssociationAuthorization`](crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`DeleteVpcAssociationAuthorizationOutput`](crate::operation::delete_vpc_association_authorization::DeleteVpcAssociationAuthorizationOutput)
9 /// - On failure, responds with [`SdkError<DeleteVPCAssociationAuthorizationError>`](crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError)
10 pub fn delete_vpc_association_authorization(
11 &self,
12 ) -> crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder {
13 crate::operation::delete_vpc_association_authorization::builders::DeleteVPCAssociationAuthorizationFluentBuilder::new(self.handle.clone())
14 }
15}