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

******************
put_profile_object
******************



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

  

  Adds additional objects to customer profiles of a given ObjectType.

   

  When adding a specific profile object, like a Contact Record, an inferred profile can get created if it is not mapped to an existing profile. The resulting profile will only have a phone number populated in the standard ProfileObject. Any additional Contact Records with the same phone number will be mapped to the same inferred profile.

   

  When a ProfileObject is created and if a ProfileObjectType already exists for the ProfileObject, it will provide data to a standard profile depending on the ProfileObjectType definition.

   

  PutProfileObject needs an ObjectType, which can be created using PutProfileObjectType.

  

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


  **Request Syntax**
  ::

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

    The name of the profile object type.

    

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

    A string that is serialized from a JSON object.

    

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

    The unique name of the domain.

    

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

    
    ::

      {
          'ProfileObjectUniqueKey': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ProfileObjectUniqueKey** *(string) --* 

        The unique identifier of the profile object generated by the service.

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

  