:doc:`DirectConnect <../../directconnect>` / Client / delete_interconnect

*******************
delete_interconnect
*******************



.. py:method:: DirectConnect.Client.delete_interconnect(**kwargs)

  

  Deletes the specified interconnect.

   

  .. note::

    

    Intended for use by Direct Connect Partners only.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnect>`_  


  **Request Syntax**
  ::

    response = client.delete_interconnect(
        interconnectId='string'
    )
    
  :type interconnectId: string
  :param interconnectId: **[REQUIRED]** 

    The ID of the interconnect.

    

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

    
    ::

      {
          'interconnectState': 'requested'|'pending'|'available'|'down'|'deleting'|'deleted'|'unknown'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **interconnectState** *(string) --* 

        The state of the interconnect. The following are the possible values:

         

        
        * ``requested``: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
         
        * ``pending``: The interconnect is approved, and is being initialized.
         
        * ``available``: The network link is up, and the interconnect is ready for use.
         
        * ``down``: The network link is down.
         
        * ``deleting``: The interconnect is being deleted.
         
        * ``deleted``: The interconnect is deleted.
         
        * ``unknown``: The state of the interconnect is not available.
        

        
  
  **Exceptions**
  
  *   :py:class:`DirectConnect.Client.exceptions.DirectConnectServerException`

  
  *   :py:class:`DirectConnect.Client.exceptions.DirectConnectClientException`

  