:doc:`PartnerCentralChannelAPI <../../partnercentral-channel>` / Client / update_relationship

*******************
update_relationship
*******************



.. py:method:: PartnerCentralChannelAPI.Client.update_relationship(**kwargs)

  

  Updates the properties of a partner relationship.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/partnercentral-channel-2024-03-18/UpdateRelationship>`_  


  **Request Syntax**
  ::

    response = client.update_relationship(
        catalog='string',
        identifier='string',
        programManagementAccountIdentifier='string',
        revision='string',
        displayName='string',
        requestedSupportPlan={
            'resoldBusiness': {
                'coverage': 'ENTIRE_ORGANIZATION'|'MANAGEMENT_ACCOUNT_ONLY'
            },
            'resoldEnterprise': {
                'coverage': 'ENTIRE_ORGANIZATION'|'MANAGEMENT_ACCOUNT_ONLY',
                'tamLocation': 'string',
                'chargeAccountId': 'string'
            },
            'partnerLedSupport': {
                'coverage': 'ENTIRE_ORGANIZATION'|'MANAGEMENT_ACCOUNT_ONLY',
                'provider': 'DISTRIBUTOR'|'DISTRIBUTION_SELLER',
                'tamLocation': 'string'
            }
        }
    )
    
  :type catalog: string
  :param catalog: **[REQUIRED]** 

    The catalog identifier for the relationship.

    

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

    The unique identifier of the relationship to update.

    

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

    The identifier of the program management account associated with the relationship.

    

  
  :type revision: string
  :param revision: 

    The current revision number of the relationship.

    

  
  :type displayName: string
  :param displayName: 

    The new display name for the relationship.

    

  
  :type requestedSupportPlan: dict
  :param requestedSupportPlan: 

    The updated support plan for the relationship.

    .. note::    This is a Tagged Union structure. Only one of the     following top level keys can be set: ``resoldBusiness``, ``resoldEnterprise``, ``partnerLedSupport``. 

  
    - **resoldBusiness** *(dict) --* 

      Configuration for resold business support plans.

      

    
      - **coverage** *(string) --* **[REQUIRED]** 

        The coverage level for resold business support.

        

      
    
    - **resoldEnterprise** *(dict) --* 

      Configuration for resold enterprise support plans.

      

    
      - **coverage** *(string) --* **[REQUIRED]** 

        The coverage level for resold enterprise support.

        

      
      - **tamLocation** *(string) --* **[REQUIRED]** 

        The location of the Technical Account Manager (TAM).

        

      
      - **chargeAccountId** *(string) --* 

        The AWS account ID to charge for the support plan.

        

      
    
    - **partnerLedSupport** *(dict) --* 

      Configuration for partner-led support plans.

      

    
      - **coverage** *(string) --* **[REQUIRED]** 

        The coverage level for partner-led support.

        

      
      - **provider** *(string) --* 

        The provider of the partner-led support.

        

      
      - **tamLocation** *(string) --* **[REQUIRED]** 

        The location of the Technical Account Manager (TAM).

        

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

    
    ::

      {
          'relationshipDetail': {
              'arn': 'string',
              'id': 'string',
              'revision': 'string',
              'displayName': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **relationshipDetail** *(dict) --* 

        Details of the updated relationship.

        
        

        - **arn** *(string) --* 

          The Amazon Resource Name (ARN) of the updated relationship.

          
        

        - **id** *(string) --* 

          The unique identifier of the updated relationship.

          
        

        - **revision** *(string) --* 

          The new revision number of the relationship.

          
        

        - **displayName** *(string) --* 

          The updated display name of the relationship.

          
    
  
  **Exceptions**
  
  *   :py:class:`PartnerCentralChannelAPI.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`PartnerCentralChannelAPI.Client.exceptions.InternalServerException`

  
  *   :py:class:`PartnerCentralChannelAPI.Client.exceptions.ValidationException`

  
  *   :py:class:`PartnerCentralChannelAPI.Client.exceptions.ThrottlingException`

  
  *   :py:class:`PartnerCentralChannelAPI.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`PartnerCentralChannelAPI.Client.exceptions.ConflictException`

  