aws_sdk_networkmanager/client/
update_direct_connect_gateway_attachment.rs

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