EC2 / Client / disassociate_trunk_interface
disassociate_trunk_interface#
- EC2.Client.disassociate_trunk_interface(**kwargs)#
Note
This API action is currently in limited preview only. If you are interested in using this feature, contact your account manager.
Removes an association between a branch network interface with a trunk network interface.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_trunk_interface( AssociationId='string', ClientToken='string', DryRun=True|False )
- Parameters:
AssociationId (string) –
[REQUIRED]
The ID of the association
ClientToken (string) –
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
This field is autopopulated if not provided.
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
{ 'Return': True|False, 'ClientToken': 'string' }
Response Structure
(dict) –
Return (boolean) –
Returns
true
if the request succeeds; otherwise, it returns an error.ClientToken (string) –
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.