:doc:`CleanRoomsService <../../cleanrooms>` / Client / create_id_mapping_table

***********************
create_id_mapping_table
***********************



.. py:method:: CleanRoomsService.Client.create_id_mapping_table(**kwargs)

  

  Creates an ID mapping table.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateIdMappingTable>`_  


  **Request Syntax**
  ::

    response = client.create_id_mapping_table(
        membershipIdentifier='string',
        name='string',
        description='string',
        inputReferenceConfig={
            'inputReferenceArn': 'string',
            'manageResourcePolicies': True|False
        },
        tags={
            'string': 'string'
        },
        kmsKeyArn='string'
    )
    
  :type membershipIdentifier: string
  :param membershipIdentifier: **[REQUIRED]** 

    The unique identifier of the membership that contains the ID mapping table.

    

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

    A name for the ID mapping table.

    

  
  :type description: string
  :param description: 

    A description of the ID mapping table.

    

  
  :type inputReferenceConfig: dict
  :param inputReferenceConfig: **[REQUIRED]** 

    The input reference configuration needed to create the ID mapping table.

    

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

      The Amazon Resource Name (ARN) of the referenced resource in Entity Resolution. Valid values are ID mapping workflow ARNs.

      

    
    - **manageResourcePolicies** *(boolean) --* **[REQUIRED]** 

      When ``TRUE``, Clean Rooms manages permissions for the ID mapping table resource.

       

      When ``FALSE``, the resource owner manages permissions for the ID mapping table resource.

      

    
  
  :type tags: dict
  :param tags: 

    An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  :type kmsKeyArn: string
  :param kmsKeyArn: 

    The Amazon Resource Name (ARN) of the Amazon Web Services KMS key. This value is used to encrypt the mapping table data that is stored by Clean Rooms.

    

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

    
    ::

      {
          'idMappingTable': {
              'id': 'string',
              'arn': 'string',
              'inputReferenceConfig': {
                  'inputReferenceArn': 'string',
                  'manageResourcePolicies': True|False
              },
              'membershipId': 'string',
              'membershipArn': 'string',
              'collaborationId': 'string',
              'collaborationArn': 'string',
              'description': 'string',
              'name': 'string',
              'createTime': datetime(2015, 1, 1),
              'updateTime': datetime(2015, 1, 1),
              'inputReferenceProperties': {
                  'idMappingTableInputSource': [
                      {
                          'idNamespaceAssociationId': 'string',
                          'type': 'SOURCE'|'TARGET'
                      },
                  ]
              },
              'kmsKeyArn': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **idMappingTable** *(dict) --* 

        The ID mapping table that was created.

        
        

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

          The unique identifier of the ID mapping table.

          
        

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

          The Amazon Resource Name (ARN) of the ID mapping table.

          
        

        - **inputReferenceConfig** *(dict) --* 

          The input reference configuration for the ID mapping table.

          
          

          - **inputReferenceArn** *(string) --* 

            The Amazon Resource Name (ARN) of the referenced resource in Entity Resolution. Valid values are ID mapping workflow ARNs.

            
          

          - **manageResourcePolicies** *(boolean) --* 

            When ``TRUE``, Clean Rooms manages permissions for the ID mapping table resource.

             

            When ``FALSE``, the resource owner manages permissions for the ID mapping table resource.

            
      
        

        - **membershipId** *(string) --* 

          The unique identifier of the membership resource for the ID mapping table.

          
        

        - **membershipArn** *(string) --* 

          The Amazon Resource Name (ARN) of the membership resource for the ID mapping table.

          
        

        - **collaborationId** *(string) --* 

          The unique identifier of the collaboration that contains this ID mapping table.

          
        

        - **collaborationArn** *(string) --* 

          The Amazon Resource Name (ARN) of the collaboration that contains this ID mapping table.

          
        

        - **description** *(string) --* 

          The description of the ID mapping table.

          
        

        - **name** *(string) --* 

          The name of the ID mapping table.

          
        

        - **createTime** *(datetime) --* 

          The time at which the ID mapping table was created.

          
        

        - **updateTime** *(datetime) --* 

          The most recent time at which the ID mapping table was updated.

          
        

        - **inputReferenceProperties** *(dict) --* 

          The input reference properties for the ID mapping table.

          
          

          - **idMappingTableInputSource** *(list) --* 

            The input source of the ID mapping table.

            
            

            - *(dict) --* 

              The input source of the ID mapping table.

              
              

              - **idNamespaceAssociationId** *(string) --* 

                The unique identifier of the ID namespace association.

                
              

              - **type** *(string) --* 

                The type of the input source of the ID mapping table.

                
          
        
      
        

        - **kmsKeyArn** *(string) --* 

          The Amazon Resource Name (ARN) of the Amazon Web Services KMS key.

          
    
  
  **Exceptions**
  
  *   :py:class:`CleanRoomsService.Client.exceptions.ConflictException`

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

  
  *   :py:class:`CleanRoomsService.Client.exceptions.ResourceNotFoundException`

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

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

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

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

  