NetworkFirewall / Client / delete_network_firewall_transit_gateway_attachment
delete_network_firewall_transit_gateway_attachment¶
- NetworkFirewall.Client.delete_network_firewall_transit_gateway_attachment(**kwargs)¶
Deletes a transit gateway attachment from a Network Firewall. Either the firewall owner or the transit gateway owner can delete the attachment.
Warning
After you delete a transit gateway attachment, traffic will no longer flow through the firewall endpoints.
After you initiate the delete operation, use DescribeFirewall to monitor the deletion status.
See also: AWS API Documentation
Request Syntax
response = client.delete_network_firewall_transit_gateway_attachment( TransitGatewayAttachmentId='string' )
- Parameters:
TransitGatewayAttachmentId (string) –
[REQUIRED]
Required. The unique identifier of the transit gateway attachment to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'TransitGatewayAttachmentId': 'string', 'TransitGatewayAttachmentStatus': 'CREATING'|'DELETING'|'DELETED'|'FAILED'|'ERROR'|'READY'|'PENDING_ACCEPTANCE'|'REJECTING'|'REJECTED' }
Response Structure
(dict) –
TransitGatewayAttachmentId (string) –
The ID of the transit gateway attachment that was deleted.
TransitGatewayAttachmentStatus (string) –
The current status of the transit gateway attachment deletion process.
Valid values are:
CREATING- The attachment is being createdDELETING- The attachment is being deletedDELETED- The attachment has been deletedFAILED- The attachment creation has failed and cannot be recoveredERROR- The attachment is in an error state that might be recoverableREADY- The attachment is active and processing trafficPENDING_ACCEPTANCE- The attachment is waiting to be acceptedREJECTING- The attachment is in the process of being rejectedREJECTED- The attachment has been rejected
Exceptions
NetworkFirewall.Client.exceptions.InvalidRequestExceptionNetworkFirewall.Client.exceptions.InternalServerErrorNetworkFirewall.Client.exceptions.ResourceNotFoundExceptionNetworkFirewall.Client.exceptions.ThrottlingException