// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RejectNetworkFirewallTransitGatewayAttachment`](crate::operation::reject_network_firewall_transit_gateway_attachment::builders::RejectNetworkFirewallTransitGatewayAttachmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`transit_gateway_attachment_id(impl Into<String>)`](crate::operation::reject_network_firewall_transit_gateway_attachment::builders::RejectNetworkFirewallTransitGatewayAttachmentFluentBuilder::transit_gateway_attachment_id) / [`set_transit_gateway_attachment_id(Option<String>)`](crate::operation::reject_network_firewall_transit_gateway_attachment::builders::RejectNetworkFirewallTransitGatewayAttachmentFluentBuilder::set_transit_gateway_attachment_id):<br>required: **true**<br><p>Required. The unique identifier of the transit gateway attachment to reject. This ID is returned in the response when creating a transit gateway-attached firewall.</p><br>
/// - On success, responds with [`RejectNetworkFirewallTransitGatewayAttachmentOutput`](crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentOutput) with field(s):
/// - [`transit_gateway_attachment_id(String)`](crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentOutput::transit_gateway_attachment_id): <p>The unique identifier of the transit gateway attachment that was rejected.</p>
/// - [`transit_gateway_attachment_status(TransitGatewayAttachmentStatus)`](crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentOutput::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> <p>For information about troubleshooting endpoint failures, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/firewall-troubleshooting-endpoint-failures.html">Troubleshooting firewall endpoint failures</a> in the <i>Network Firewall Developer Guide</i>.</p>
/// - On failure, responds with [`SdkError<RejectNetworkFirewallTransitGatewayAttachmentError>`](crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError)
pub fn reject_network_firewall_transit_gateway_attachment(
&self,
) -> crate::operation::reject_network_firewall_transit_gateway_attachment::builders::RejectNetworkFirewallTransitGatewayAttachmentFluentBuilder
{
crate::operation::reject_network_firewall_transit_gateway_attachment::builders::RejectNetworkFirewallTransitGatewayAttachmentFluentBuilder::new(self.handle.clone())
}
}