aws_sdk_networkmanager/client/get_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 [`GetDirectConnectGatewayAttachment`](crate::operation::get_direct_connect_gateway_attachment::builders::GetDirectConnectGatewayAttachmentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`attachment_id(impl Into<String>)`](crate::operation::get_direct_connect_gateway_attachment::builders::GetDirectConnectGatewayAttachmentFluentBuilder::attachment_id) / [`set_attachment_id(Option<String>)`](crate::operation::get_direct_connect_gateway_attachment::builders::GetDirectConnectGatewayAttachmentFluentBuilder::set_attachment_id):<br>required: **true**<br><p>The ID of the Direct Connect gateway attachment that you want to see details about.</p><br>
7 /// - On success, responds with [`GetDirectConnectGatewayAttachmentOutput`](crate::operation::get_direct_connect_gateway_attachment::GetDirectConnectGatewayAttachmentOutput) with field(s):
8 /// - [`direct_connect_gateway_attachment(Option<DirectConnectGatewayAttachment>)`](crate::operation::get_direct_connect_gateway_attachment::GetDirectConnectGatewayAttachmentOutput::direct_connect_gateway_attachment): <p>Shows details about the Direct Connect gateway attachment.</p>
9 /// - On failure, responds with [`SdkError<GetDirectConnectGatewayAttachmentError>`](crate::operation::get_direct_connect_gateway_attachment::GetDirectConnectGatewayAttachmentError)
10 pub fn get_direct_connect_gateway_attachment(
11 &self,
12 ) -> crate::operation::get_direct_connect_gateway_attachment::builders::GetDirectConnectGatewayAttachmentFluentBuilder {
13 crate::operation::get_direct_connect_gateway_attachment::builders::GetDirectConnectGatewayAttachmentFluentBuilder::new(self.handle.clone())
14 }
15}