EC2.Client.
disassociate_transit_gateway_policy_table
(**kwargs)¶Removes the association between an an attachment and a policy table.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_transit_gateway_policy_table(
TransitGatewayPolicyTableId='string',
TransitGatewayAttachmentId='string',
DryRun=True|False
)
[REQUIRED]
The ID of the disassociated policy table.
[REQUIRED]
The ID of the transit gateway attachment to disassociate from the policy table.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'Association': {
'TransitGatewayPolicyTableId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
}
}
Response Structure
(dict) --
Association (dict) --
Returns details about the transit gateway policy table disassociation.
TransitGatewayPolicyTableId (string) --
The ID of the transit gateway policy table.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The resource ID of the transit gateway attachment.
ResourceType (string) --
The resource type for the transit gateway policy table association.
State (string) --
The state of the transit gateway policy table association.