aws_sdk_networkmanager/client/get_direct_connect_gateway_attachment.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetDirectConnectGatewayAttachment`](crate::operation::get_direct_connect_gateway_attachment::builders::GetDirectConnectGatewayAttachmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - On success, responds with [`GetDirectConnectGatewayAttachmentOutput`](crate::operation::get_direct_connect_gateway_attachment::GetDirectConnectGatewayAttachmentOutput) with field(s):
/// - [`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>
/// - On failure, responds with [`SdkError<GetDirectConnectGatewayAttachmentError>`](crate::operation::get_direct_connect_gateway_attachment::GetDirectConnectGatewayAttachmentError)
pub fn get_direct_connect_gateway_attachment(
&self,
) -> crate::operation::get_direct_connect_gateway_attachment::builders::GetDirectConnectGatewayAttachmentFluentBuilder {
crate::operation::get_direct_connect_gateway_attachment::builders::GetDirectConnectGatewayAttachmentFluentBuilder::new(self.handle.clone())
}
}