aws-sdk-ec2 1.271.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTransitGatewayAttachmentNatConfiguration`](crate::operation::get_transit_gateway_attachment_nat_configuration::builders::GetTransitGatewayAttachmentNatConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`transit_gateway_attachment_id(impl Into<String>)`](crate::operation::get_transit_gateway_attachment_nat_configuration::builders::GetTransitGatewayAttachmentNatConfigurationFluentBuilder::transit_gateway_attachment_id) / [`set_transit_gateway_attachment_id(Option<String>)`](crate::operation::get_transit_gateway_attachment_nat_configuration::builders::GetTransitGatewayAttachmentNatConfigurationFluentBuilder::set_transit_gateway_attachment_id):<br>required: **true**<br><p>The ID of the transit gateway attachment.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::get_transit_gateway_attachment_nat_configuration::builders::GetTransitGatewayAttachmentNatConfigurationFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_transit_gateway_attachment_nat_configuration::builders::GetTransitGatewayAttachmentNatConfigurationFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    /// - On success, responds with [`GetTransitGatewayAttachmentNatConfigurationOutput`](crate::operation::get_transit_gateway_attachment_nat_configuration::GetTransitGatewayAttachmentNatConfigurationOutput) with field(s):
    ///   - [`transit_gateway_attachment_id(Option<String>)`](crate::operation::get_transit_gateway_attachment_nat_configuration::GetTransitGatewayAttachmentNatConfigurationOutput::transit_gateway_attachment_id): <p>The ID of the transit gateway attachment.</p>
    ///   - [`nat_gateway_support(Option<TransitGatewayAttachmentNatGatewaySupportState>)`](crate::operation::get_transit_gateway_attachment_nat_configuration::GetTransitGatewayAttachmentNatConfigurationOutput::nat_gateway_support): <p>The state of NAT gateway support for the attachment.</p>
    ///   - [`nat_system_route_support(Option<TransitGatewayAttachmentNatSystemRouteSupportValue>)`](crate::operation::get_transit_gateway_attachment_nat_configuration::GetTransitGatewayAttachmentNatConfigurationOutput::nat_system_route_support): <p>Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates.</p>
    ///   - [`nat_gateway_rules(Option<Vec::<TransitGatewayNatRule>>)`](crate::operation::get_transit_gateway_attachment_nat_configuration::GetTransitGatewayAttachmentNatConfigurationOutput::nat_gateway_rules): <p>The NAT gateway rules for the attachment.</p>
    /// - On failure, responds with [`SdkError<GetTransitGatewayAttachmentNatConfigurationError>`](crate::operation::get_transit_gateway_attachment_nat_configuration::GetTransitGatewayAttachmentNatConfigurationError)
    pub fn get_transit_gateway_attachment_nat_configuration(
        &self,
    ) -> crate::operation::get_transit_gateway_attachment_nat_configuration::builders::GetTransitGatewayAttachmentNatConfigurationFluentBuilder {
        crate::operation::get_transit_gateway_attachment_nat_configuration::builders::GetTransitGatewayAttachmentNatConfigurationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}