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 [`CreateDirectConnectGatewayAssociationProposal`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`direct_connect_gateway_id(impl Into<String>)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::direct_connect_gateway_id) / [`set_direct_connect_gateway_id(Option<String>)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::set_direct_connect_gateway_id):<br>required: **true**<br><p>The ID of the Direct Connect gateway.</p><br>
    ///   - [`direct_connect_gateway_owner_account(impl Into<String>)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::direct_connect_gateway_owner_account) / [`set_direct_connect_gateway_owner_account(Option<String>)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::set_direct_connect_gateway_owner_account):<br>required: **true**<br><p>The ID of the Amazon Web Services account that owns the Direct Connect gateway.</p><br>
    ///   - [`gateway_id(impl Into<String>)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::set_gateway_id):<br>required: **true**<br><p>The ID of the virtual private gateway or transit gateway.</p><br>
    ///   - [`add_allowed_prefixes_to_direct_connect_gateway(RouteFilterPrefix)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::add_allowed_prefixes_to_direct_connect_gateway) / [`set_add_allowed_prefixes_to_direct_connect_gateway(Option<Vec::<RouteFilterPrefix>>)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::set_add_allowed_prefixes_to_direct_connect_gateway):<br>required: **false**<br><p>The Amazon VPC prefixes to advertise to the Direct Connect gateway.</p><br>
    ///   - [`remove_allowed_prefixes_to_direct_connect_gateway(RouteFilterPrefix)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::remove_allowed_prefixes_to_direct_connect_gateway) / [`set_remove_allowed_prefixes_to_direct_connect_gateway(Option<Vec::<RouteFilterPrefix>>)`](crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::set_remove_allowed_prefixes_to_direct_connect_gateway):<br>required: **false**<br><p>The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.</p><br>
    /// - On success, responds with [`CreateDirectConnectGatewayAssociationProposalOutput`](crate::operation::create_direct_connect_gateway_association_proposal::CreateDirectConnectGatewayAssociationProposalOutput) with field(s):
    ///   - [`direct_connect_gateway_association_proposal(Option<DirectConnectGatewayAssociationProposal>)`](crate::operation::create_direct_connect_gateway_association_proposal::CreateDirectConnectGatewayAssociationProposalOutput::direct_connect_gateway_association_proposal): <p>Information about the Direct Connect gateway proposal.</p>
    /// - On failure, responds with [`SdkError<CreateDirectConnectGatewayAssociationProposalError>`](crate::operation::create_direct_connect_gateway_association_proposal::CreateDirectConnectGatewayAssociationProposalError)
    pub fn create_direct_connect_gateway_association_proposal(
        &self,
    ) -> crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder
    {
        crate::operation::create_direct_connect_gateway_association_proposal::builders::CreateDirectConnectGatewayAssociationProposalFluentBuilder::new(self.handle.clone())
    }
}