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

*********************************
create_program_management_account
*********************************



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

  

  Creates a new program management account for managing partner relationships.

  

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


  **Request Syntax**
  ::

    response = client.create_program_management_account(
        catalog='string',
        program='SOLUTION_PROVIDER'|'DISTRIBUTION'|'DISTRIBUTION_SELLER',
        displayName='string',
        accountId='string',
        clientToken='string',
        tags=[
            {
                'key': 'string',
                'value': 'string'
            },
        ]
    )
    
  :type catalog: string
  :param catalog: **[REQUIRED]** 

    The catalog identifier for the program management account.

    

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

    The program type for the management account.

    

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

    A human-readable name for the program management account.

    

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

    The AWS account ID to associate with the program management account.

    

  
  :type clientToken: string
  :param clientToken: 

    A unique, case-sensitive identifier to ensure idempotency of the request.

    This field is autopopulated if not provided.

  
  :type tags: list
  :param tags: 

    Key-value pairs to associate with the program management account.

    

  
    - *(dict) --* 

      A key-value pair that can be associated with a resource.

      

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

        The key of the tag.

        

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

        The value of the tag.

        

      
    

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

    
    ::

      {
          'programManagementAccountDetail': {
              'id': 'string',
              'arn': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **programManagementAccountDetail** *(dict) --* 

        Details of the created program management account.

        
        

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

          The unique identifier of the created program management account.

          
        

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

          The Amazon Resource Name (ARN) of the created program management account.

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

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

  