aws-sdk-networkfirewall 1.111.0

AWS SDK for AWS Network Firewall
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AcceptNetworkFirewallTransitGatewayAttachment`](crate::operation::accept_network_firewall_transit_gateway_attachment::builders::AcceptNetworkFirewallTransitGatewayAttachmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`transit_gateway_attachment_id(impl Into<String>)`](crate::operation::accept_network_firewall_transit_gateway_attachment::builders::AcceptNetworkFirewallTransitGatewayAttachmentFluentBuilder::transit_gateway_attachment_id) / [`set_transit_gateway_attachment_id(Option<String>)`](crate::operation::accept_network_firewall_transit_gateway_attachment::builders::AcceptNetworkFirewallTransitGatewayAttachmentFluentBuilder::set_transit_gateway_attachment_id):<br>required: **true**<br><p>Required. The unique identifier of the transit gateway attachment to accept. This ID is returned in the response when creating a transit gateway-attached firewall.</p><br>
    /// - On success, responds with [`AcceptNetworkFirewallTransitGatewayAttachmentOutput`](crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentOutput) with field(s):
    ///   - [`transit_gateway_attachment_id(String)`](crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentOutput::transit_gateway_attachment_id): <p>The unique identifier of the transit gateway attachment that was accepted.</p>
    ///   - [`transit_gateway_attachment_status(TransitGatewayAttachmentStatus)`](crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentOutput::transit_gateway_attachment_status): <p>The current status of the transit gateway attachment. Valid values are:</p> <ul>  <li>   <p><code>CREATING</code> - The attachment is being created</p></li>  <li>   <p><code>DELETING</code> - The attachment is being deleted</p></li>  <li>   <p><code>DELETED</code> - The attachment has been deleted</p></li>  <li>   <p><code>FAILED</code> - The attachment creation has failed and cannot be recovered</p></li>  <li>   <p><code>ERROR</code> - The attachment is in an error state that might be recoverable</p></li>  <li>   <p><code>READY</code> - The attachment is active and processing traffic</p></li>  <li>   <p><code>PENDING_ACCEPTANCE</code> - The attachment is waiting to be accepted</p></li>  <li>   <p><code>REJECTING</code> - The attachment is in the process of being rejected</p></li>  <li>   <p><code>REJECTED</code> - The attachment has been rejected</p></li> </ul>
    /// - On failure, responds with [`SdkError<AcceptNetworkFirewallTransitGatewayAttachmentError>`](crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError)
    pub fn accept_network_firewall_transit_gateway_attachment(
        &self,
    ) -> crate::operation::accept_network_firewall_transit_gateway_attachment::builders::AcceptNetworkFirewallTransitGatewayAttachmentFluentBuilder
    {
        crate::operation::accept_network_firewall_transit_gateway_attachment::builders::AcceptNetworkFirewallTransitGatewayAttachmentFluentBuilder::new(self.handle.clone())
    }
}