aws_sdk_directconnect/client/update_direct_connect_gateway_association.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateDirectConnectGatewayAssociation`](crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`UpdateDirectConnectGatewayAssociationOutput`](crate::operation::update_direct_connect_gateway_association::UpdateDirectConnectGatewayAssociationOutput) with field(s):
10 /// - [`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>
11 /// - On failure, responds with [`SdkError<UpdateDirectConnectGatewayAssociationError>`](crate::operation::update_direct_connect_gateway_association::UpdateDirectConnectGatewayAssociationError)
12 pub fn update_direct_connect_gateway_association(
13 &self,
14 ) -> crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder {
15 crate::operation::update_direct_connect_gateway_association::builders::UpdateDirectConnectGatewayAssociationFluentBuilder::new(
16 self.handle.clone(),
17 )
18 }
19}