1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateLocalGatewayRouteTableVpcAssociation`](crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`local_gateway_route_table_id(impl Into<String>)`](crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder::local_gateway_route_table_id) / [`set_local_gateway_route_table_id(Option<String>)`](crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder::set_local_gateway_route_table_id):<br>required: **true**<br><p>The ID of the local gateway route table.</p><br>
    ///   - [`vpc_id(impl Into<String>)`](crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder::vpc_id) / [`set_vpc_id(Option<String>)`](crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder::set_vpc_id):<br>required: **true**<br><p>The ID of the VPC.</p><br>
    ///   - [`tag_specifications(TagSpecification)`](crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder::tag_specifications) / [`set_tag_specifications(Option<Vec::<TagSpecification>>)`](crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder::set_tag_specifications):<br>required: **false**<br><p>The tags to assign to the local gateway route table VPC association.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    /// - On success, responds with [`CreateLocalGatewayRouteTableVpcAssociationOutput`](crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationOutput) with field(s):
    ///   - [`local_gateway_route_table_vpc_association(Option<LocalGatewayRouteTableVpcAssociation>)`](crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationOutput::local_gateway_route_table_vpc_association): <p>Information about the association.</p>
    /// - On failure, responds with [`SdkError<CreateLocalGatewayRouteTableVpcAssociationError>`](crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError)
    pub fn create_local_gateway_route_table_vpc_association(
        &self,
    ) -> crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder {
        crate::operation::create_local_gateway_route_table_vpc_association::builders::CreateLocalGatewayRouteTableVpcAssociationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}