:doc:`Redshift <../../redshift>` / Client / delete_partner

**************
delete_partner
**************



.. py:method:: Redshift.Client.delete_partner(**kwargs)

  

  Deletes a partner integration from a cluster. Data can still flow to the cluster until the integration is deleted at the partner's website.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeletePartner>`_  


  **Request Syntax**
  ::

    response = client.delete_partner(
        AccountId='string',
        ClusterIdentifier='string',
        DatabaseName='string',
        PartnerName='string'
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The Amazon Web Services account ID that owns the cluster.

    

  
  :type ClusterIdentifier: string
  :param ClusterIdentifier: **[REQUIRED]** 

    The cluster identifier of the cluster that receives data from the partner.

    

  
  :type DatabaseName: string
  :param DatabaseName: **[REQUIRED]** 

    The name of the database that receives data from the partner.

    

  
  :type PartnerName: string
  :param PartnerName: **[REQUIRED]** 

    The name of the partner that is authorized to send data.

    

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

    
    ::

      {
          'DatabaseName': 'string',
          'PartnerName': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **DatabaseName** *(string) --* 

        The name of the database that receives data from the partner.

        
      

      - **PartnerName** *(string) --* 

        The name of the partner that is authorized to send data.

        
  
  **Exceptions**
  
  *   :py:class:`Redshift.Client.exceptions.PartnerNotFoundFault`

  
  *   :py:class:`Redshift.Client.exceptions.ClusterNotFoundFault`

  
  *   :py:class:`Redshift.Client.exceptions.UnauthorizedPartnerIntegrationFault`

  
  *   :py:class:`Redshift.Client.exceptions.UnsupportedOperationFault`

  