aws_sdk_networkmanager/client/
update_direct_connect_gateway_attachment.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 [`UpdateDirectConnectGatewayAttachment`](crate::operation::update_direct_connect_gateway_attachment::builders::UpdateDirectConnectGatewayAttachmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`attachment_id(impl Into<String>)`](crate::operation::update_direct_connect_gateway_attachment::builders::UpdateDirectConnectGatewayAttachmentFluentBuilder::attachment_id) / [`set_attachment_id(Option<String>)`](crate::operation::update_direct_connect_gateway_attachment::builders::UpdateDirectConnectGatewayAttachmentFluentBuilder::set_attachment_id):<br>required: **true**<br><p>The ID of the Direct Connect gateway attachment for the updated edge locations.</p><br>
7    ///   - [`edge_locations(impl Into<String>)`](crate::operation::update_direct_connect_gateway_attachment::builders::UpdateDirectConnectGatewayAttachmentFluentBuilder::edge_locations) / [`set_edge_locations(Option<Vec::<String>>)`](crate::operation::update_direct_connect_gateway_attachment::builders::UpdateDirectConnectGatewayAttachmentFluentBuilder::set_edge_locations):<br>required: **false**<br><p>One or more edge locations to update for the Direct Connect gateway attachment. The updated array of edge locations overwrites the previous array of locations. <code>EdgeLocations</code> is only used for Direct Connect gateway attachments.</p><br>
8    /// - On success, responds with [`UpdateDirectConnectGatewayAttachmentOutput`](crate::operation::update_direct_connect_gateway_attachment::UpdateDirectConnectGatewayAttachmentOutput) with field(s):
9    ///   - [`direct_connect_gateway_attachment(Option<DirectConnectGatewayAttachment>)`](crate::operation::update_direct_connect_gateway_attachment::UpdateDirectConnectGatewayAttachmentOutput::direct_connect_gateway_attachment): <p>Returns details of the Direct Connect gateway attachment with the updated edge locations.</p>
10    /// - On failure, responds with [`SdkError<UpdateDirectConnectGatewayAttachmentError>`](crate::operation::update_direct_connect_gateway_attachment::UpdateDirectConnectGatewayAttachmentError)
11    pub fn update_direct_connect_gateway_attachment(
12        &self,
13    ) -> crate::operation::update_direct_connect_gateway_attachment::builders::UpdateDirectConnectGatewayAttachmentFluentBuilder {
14        crate::operation::update_direct_connect_gateway_attachment::builders::UpdateDirectConnectGatewayAttachmentFluentBuilder::new(
15            self.handle.clone(),
16        )
17    }
18}