Smaws_Client_NetworkFirewall.RejectNetworkFirewallTransitGatewayAttachmentRejects a transit gateway attachment request for Network Firewall. When you reject the attachment request, Network Firewall cancels the creation of routing components between the transit gateway and firewall endpoints.
Only the transit gateway owner can reject the attachment. After rejection, no traffic will flow through the firewall endpoints for this attachment.
Use DescribeFirewall to monitor the rejection status. To accept the attachment instead of rejecting it, use AcceptNetworkFirewallTransitGatewayAttachment.
Once rejected, you cannot reverse this action. To establish connectivity, you must create a new transit gateway-attached firewall.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.reject_network_firewall_transit_gateway_attachment_request ->
(Types.reject_network_firewall_transit_gateway_attachment_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.reject_network_firewall_transit_gateway_attachment_request ->
(Types.reject_network_firewall_transit_gateway_attachment_response
Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result