:doc:`PartnerCentralAccountAPI <../../partnercentral-account>` / Client / get_connection_preferences

**************************
get_connection_preferences
**************************



.. py:method:: PartnerCentralAccountAPI.Client.get_connection_preferences(**kwargs)

  

  Retrieves the connection preferences for a partner account, including access settings and exclusions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/GetConnectionPreferences>`_  


  **Request Syntax**
  ::

    response = client.get_connection_preferences(
        Catalog='string'
    )
    
  :type Catalog: string
  :param Catalog: **[REQUIRED]** 

    The catalog identifier for the partner account.

    

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

    
    ::

      {
          'Catalog': 'string',
          'Arn': 'string',
          'AccessType': 'ALLOW_ALL'|'DENY_ALL'|'ALLOW_BY_DEFAULT_DENY_SOME',
          'ExcludedParticipantIds': [
              'string',
          ],
          'UpdatedAt': datetime(2015, 1, 1),
          'Revision': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Catalog** *(string) --* 

        The catalog identifier for the partner account.

        
      

      - **Arn** *(string) --* 

        The Amazon Resource Name (ARN) of the connection preferences.

        
      

      - **AccessType** *(string) --* 

        The access type setting for connections (e.g., open, restricted, invitation-only).

        
      

      - **ExcludedParticipantIds** *(list) --* 

        A list of participant IDs that are excluded from connection requests or interactions.

        
        

        - *(string) --* 
    
      

      - **UpdatedAt** *(datetime) --* 

        The timestamp when the connection preferences were last updated.

        
      

      - **Revision** *(integer) --* 

        The revision number of the connection preferences for optimistic locking.

        
  
  **Exceptions**
  
  *   :py:class:`PartnerCentralAccountAPI.Client.exceptions.AccessDeniedException`

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

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

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

  