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

*********************
update_partner_status
*********************



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

  

  Updates the status of a partner integration.

  

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


  **Request Syntax**
  ::

    response = client.update_partner_status(
        AccountId='string',
        ClusterIdentifier='string',
        DatabaseName='string',
        PartnerName='string',
        Status='Active'|'Inactive'|'RuntimeFailure'|'ConnectionFailure',
        StatusMessage='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 whose partner integration status is being updated.

    

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

    The name of the database whose partner integration status is being updated.

    

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

    The name of the partner whose integration status is being updated.

    

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

    The value of the updated status.

    

  
  :type StatusMessage: string
  :param StatusMessage: 

    The status message provided by the partner.

    

  
  
  :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`

  