:doc:`EC2 <../../ec2>` / Client / disassociate_trunk_interface

****************************
disassociate_trunk_interface
****************************



.. py:method:: EC2.Client.disassociate_trunk_interface(**kwargs)

  

  Removes an association between a branch network interface with a trunk network interface.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateTrunkInterface>`_  


  **Request Syntax**
  ::

    response = client.disassociate_trunk_interface(
        AssociationId='string',
        ClientToken='string',
        DryRun=True|False
    )
    
  :type AssociationId: string
  :param AssociationId: **[REQUIRED]** 

    The ID of the association

    

  
  :type ClientToken: string
  :param ClientToken: 

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see `Ensuring idempotency <https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html>`__.

    This field is autopopulated if not provided.

  
  :type DryRun: boolean
  :param DryRun: 

    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 is ``UnauthorizedOperation``.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Return': True|False,
          'ClientToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Return** *(boolean) --* 

        Is ``true`` if the request succeeds and an error otherwise.

        
      

      - **ClientToken** *(string) --* 

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see `Ensuring idempotency <https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html>`__.

        
  