1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AcceptDirectConnectGatewayAssociationProposal`](crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`direct_connect_gateway_id(impl Into<String>)`](crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder::direct_connect_gateway_id) / [`set_direct_connect_gateway_id(Option<String>)`](crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder::set_direct_connect_gateway_id):<br>required: **true**<br><p>The ID of the Direct Connect gateway.</p><br>
    ///   - [`proposal_id(impl Into<String>)`](crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder::proposal_id) / [`set_proposal_id(Option<String>)`](crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder::set_proposal_id):<br>required: **true**<br><p>The ID of the request proposal.</p><br>
    ///   - [`associated_gateway_owner_account(impl Into<String>)`](crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder::associated_gateway_owner_account) / [`set_associated_gateway_owner_account(Option<String>)`](crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder::set_associated_gateway_owner_account):<br>required: **true**<br><p>The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.</p><br>
    ///   - [`override_allowed_prefixes_to_direct_connect_gateway(RouteFilterPrefix)`](crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder::override_allowed_prefixes_to_direct_connect_gateway) / [`set_override_allowed_prefixes_to_direct_connect_gateway(Option<Vec::<RouteFilterPrefix>>)`](crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder::set_override_allowed_prefixes_to_direct_connect_gateway):<br>required: **false**<br><p>Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.</p> <p>For information about how to set the prefixes, see <a href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/multi-account-associate-vgw.html#allowed-prefixes">Allowed Prefixes</a> in the <i>Direct Connect User Guide</i>.</p><br>
    /// - On success, responds with [`AcceptDirectConnectGatewayAssociationProposalOutput`](crate::operation::accept_direct_connect_gateway_association_proposal::AcceptDirectConnectGatewayAssociationProposalOutput) with field(s):
    ///   - [`direct_connect_gateway_association(Option<DirectConnectGatewayAssociation>)`](crate::operation::accept_direct_connect_gateway_association_proposal::AcceptDirectConnectGatewayAssociationProposalOutput::direct_connect_gateway_association): <p>Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.</p>
    /// - On failure, responds with [`SdkError<AcceptDirectConnectGatewayAssociationProposalError>`](crate::operation::accept_direct_connect_gateway_association_proposal::AcceptDirectConnectGatewayAssociationProposalError)
    pub fn accept_direct_connect_gateway_association_proposal(
        &self,
    ) -> crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder
    {
        crate::operation::accept_direct_connect_gateway_association_proposal::builders::AcceptDirectConnectGatewayAssociationProposalFluentBuilder::new(self.handle.clone())
    }
}