:doc:`CustomerProfiles <../../customer-profiles>` / Client / get_domain_object_type

**********************
get_domain_object_type
**********************



.. py:method:: CustomerProfiles.Client.get_domain_object_type(**kwargs)

  

  Return a DomainObjectType for the input Domain and ObjectType names.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomainObjectType>`_  


  **Request Syntax**
  ::

    response = client.get_domain_object_type(
        DomainName='string',
        ObjectTypeName='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The unique name of the domain.

    

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

    The unique name of the domain object type.

    

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

    
    ::

      {
          'ObjectTypeName': 'string',
          'Description': 'string',
          'EncryptionKey': 'string',
          'Fields': {
              'string': {
                  'Source': 'string',
                  'Target': 'string',
                  'ContentType': 'STRING'|'NUMBER',
                  'FeatureType': 'TEXTUAL'|'CATEGORICAL'
              }
          },
          'CreatedAt': datetime(2015, 1, 1),
          'LastUpdatedAt': datetime(2015, 1, 1),
          'Tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ObjectTypeName** *(string) --* 

        The unique name of the domain object type.

        
      

      - **Description** *(string) --* 

        The description of the domain object type.

        
      

      - **EncryptionKey** *(string) --* 

        The customer provided KMS key used to encrypt this type of domain object.

        
      

      - **Fields** *(dict) --* 

        A map of field names to their corresponding domain object type field definitions.

        
        

        - *(string) --* 
          

          - *(dict) --* 

            The standard domain object type.

            
            

            - **Source** *(string) --* 

              The expression that defines how to extract the field value from the source object.>

              
            

            - **Target** *(string) --* 

              The expression that defines where the field value should be placed in the standard domain object.

              
            

            - **ContentType** *(string) --* 

              The content type of the field.

              
            

            - **FeatureType** *(string) --* 

              The semantic meaning of the field.

              
        
    
  
      

      - **CreatedAt** *(datetime) --* 

        The timestamp of when the domain object type was created.

        
      

      - **LastUpdatedAt** *(datetime) --* 

        The timestamp of when the domain object type was most recently edited.

        
      

      - **Tags** *(dict) --* 

        The tags used to organize, track, or control access for this resource.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`CustomerProfiles.Client.exceptions.BadRequestException`

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

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

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

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

  