aws_sdk_route53/client/
create_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 [`CreateVPCAssociationAuthorization`](crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hosted_zone_id(impl Into<String>)`](crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder::hosted_zone_id) / [`set_hosted_zone_id(Option<String>)`](crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder::set_hosted_zone_id):<br>required: **true**<br><p>The ID of the private hosted zone that you want to authorize associating a VPC with.</p><br>
7    ///   - [`vpc(Vpc)`](crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder::vpc) / [`set_vpc(Option<Vpc>)`](crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder::set_vpc):<br>required: **true**<br><p>A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.</p><br>
8    /// - On success, responds with [`CreateVpcAssociationAuthorizationOutput`](crate::operation::create_vpc_association_authorization::CreateVpcAssociationAuthorizationOutput) with field(s):
9    ///   - [`hosted_zone_id(String)`](crate::operation::create_vpc_association_authorization::CreateVpcAssociationAuthorizationOutput::hosted_zone_id): <p>The ID of the hosted zone that you authorized associating a VPC with.</p>
10    ///   - [`vpc(Option<Vpc>)`](crate::operation::create_vpc_association_authorization::CreateVpcAssociationAuthorizationOutput::vpc): <p>The VPC that you authorized associating with a hosted zone.</p>
11    /// - On failure, responds with [`SdkError<CreateVPCAssociationAuthorizationError>`](crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError)
12    pub fn create_vpc_association_authorization(
13        &self,
14    ) -> crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder {
15        crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder::new(self.handle.clone())
16    }
17}