EC2 / Client / delete_transit_gateway_network_function_attachment
delete_transit_gateway_network_function_attachment¶
- EC2.Client.delete_transit_gateway_network_function_attachment(**kwargs)¶
Deletes the specified network function attachment. The attachment must be in the
availableorpendingAcceptancestate.See also: AWS API Documentation
Request Syntax
response = client.delete_transit_gateway_network_function_attachment( TransitGatewayAttachmentId='string', DryRun=True|False )
- Parameters:
TransitGatewayAttachmentId (string) –
[REQUIRED]
The ID of the network function attachment.
DryRun (boolean) – 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
DryRunOperation. Otherwise, it isUnauthorizedOperation.
- Return type:
dict
- Returns:
Response Syntax
{ 'TransitGatewayNetworkFunctionAttachment': { 'TransitGatewayAttachmentId': 'string', 'TransitGatewayId': 'string', 'TransitGatewayOwnerId': 'string', 'ResourceOwnerId': 'string', 'ResourceId': 'string', 'AvailabilityZones': [ 'string', ], 'AvailabilityZoneIds': [ 'string', ], 'State': 'initiating'|'initiatingRequest'|'pendingAcceptance'|'rollingBack'|'pending'|'available'|'modifying'|'deleting'|'deleted'|'failed'|'rejected'|'rejecting'|'failing', 'CreationTime': datetime(2015, 1, 1), 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] } }
Response Structure
(dict) –
TransitGatewayNetworkFunctionAttachment (dict) –
Information about the deleted network function attachment.
TransitGatewayAttachmentId (string) –
The ID of the attachment.
TransitGatewayId (string) –
The ID of the transit gateway.
TransitGatewayOwnerId (string) –
The ID of the Amazon Web Services account that owns the transit gateway.
ResourceOwnerId (string) –
The ID of the Amazon Web Services account that owns the attachment.
ResourceId (string) –
The name of the Gateway Load Balancer endpoint service.
AvailabilityZones (list) –
The names of the Availability Zones for the attachment.
(string) –
AvailabilityZoneIds (list) –
The IDs of the Availability Zones for the attachment.
(string) –
State (string) –
The state of the attachment.
CreationTime (datetime) –
The date and time the attachment was created.
Tags (list) –
The tags for the attachment.
(dict) –
Describes a tag.
Key (string) –
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with
aws:.Value (string) –
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.