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 [`UpdateDirectConnectGatewayAssociation`](crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`association_id(impl Into<String>)`](crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder::association_id) / [`set_association_id(Option<String>)`](crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder::set_association_id):<br>required: **false**<br><p>The ID of the Direct Connect gateway association.</p><br>
    ///   - [`add_allowed_prefixes_to_direct_connect_gateway(RouteFilterPrefix)`](crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder::add_allowed_prefixes_to_direct_connect_gateway) / [`set_add_allowed_prefixes_to_direct_connect_gateway(Option<Vec::<RouteFilterPrefix>>)`](crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder::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::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder::remove_allowed_prefixes_to_direct_connect_gateway) / [`set_remove_allowed_prefixes_to_direct_connect_gateway(Option<Vec::<RouteFilterPrefix>>)`](crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder::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 [`UpdateDirectConnectGatewayAssociationOutput`](crate::operation::update_direct_connect_gateway_association::UpdateDirectConnectGatewayAssociationOutput) with field(s):
    ///   - [`direct_connect_gateway_association(Option<DirectConnectGatewayAssociation>)`](crate::operation::update_direct_connect_gateway_association::UpdateDirectConnectGatewayAssociationOutput::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<UpdateDirectConnectGatewayAssociationError>`](crate::operation::update_direct_connect_gateway_association::UpdateDirectConnectGatewayAssociationError)
    pub fn update_direct_connect_gateway_association(
        &self,
    ) -> crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder {
        crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}