aws-sdk-route53 1.37.0

AWS SDK for Amazon Route 53
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateVPCAssociationAuthorization`](crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`CreateVpcAssociationAuthorizationOutput`](crate::operation::create_vpc_association_authorization::CreateVpcAssociationAuthorizationOutput) with field(s):
    ///   - [`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>
    ///   - [`vpc(Option<Vpc>)`](crate::operation::create_vpc_association_authorization::CreateVpcAssociationAuthorizationOutput::vpc): <p>The VPC that you authorized associating with a hosted zone.</p>
    /// - On failure, responds with [`SdkError<CreateVPCAssociationAuthorizationError>`](crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError)
    pub fn create_vpc_association_authorization(
        &self,
    ) -> crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder {
        crate::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder::new(self.handle.clone())
    }
}