:doc:`DataZone <../../datazone>` / Client / post_time_series_data_points

****************************
post_time_series_data_points
****************************



.. py:method:: DataZone.Client.post_time_series_data_points(**kwargs)

  

  Posts time series data points to Amazon DataZone for the specified asset.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/PostTimeSeriesDataPoints>`_  


  **Request Syntax**
  ::

    response = client.post_time_series_data_points(
        domainIdentifier='string',
        entityIdentifier='string',
        entityType='ASSET'|'LISTING',
        forms=[
            {
                'formName': 'string',
                'typeIdentifier': 'string',
                'typeRevision': 'string',
                'timestamp': datetime(2015, 1, 1),
                'content': 'string'
            },
        ],
        clientToken='string'
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the Amazon DataZone domain in which you want to post time series data points.

    

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

    The ID of the asset for which you want to post time series data points.

    

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

    The type of the asset for which you want to post data points.

    

  
  :type forms: list
  :param forms: **[REQUIRED]** 

    The forms that contain the data points that you want to post.

    

  
    - *(dict) --* 

      The time series data points form.

      

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

        The name of the time series data points form.

        

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

        The ID of the type of the time series data points form.

        

      
      - **typeRevision** *(string) --* 

        The revision type of the time series data points form.

        

      
      - **timestamp** *(datetime) --* **[REQUIRED]** 

        The timestamp of the time series data points form.

        

      
      - **content** *(string) --* 

        The content of the time series data points form.

        

      
    

  :type clientToken: string
  :param clientToken: 

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

    This field is autopopulated if not provided.

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

    
    ::

      {
          'domainId': 'string',
          'entityId': 'string',
          'entityType': 'ASSET'|'LISTING',
          'forms': [
              {
                  'formName': 'string',
                  'typeIdentifier': 'string',
                  'typeRevision': 'string',
                  'timestamp': datetime(2015, 1, 1),
                  'content': 'string',
                  'id': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **domainId** *(string) --* 

        The ID of the Amazon DataZone domain in which you want to post time series data points.

        
      

      - **entityId** *(string) --* 

        The ID of the asset for which you want to post time series data points.

        
      

      - **entityType** *(string) --* 

        The type of the asset for which you want to post data points.

        
      

      - **forms** *(list) --* 

        The forms that contain the data points that you have posted.

        
        

        - *(dict) --* 

          The time series data points form.

          
          

          - **formName** *(string) --* 

            The name of the time series data points form.

            
          

          - **typeIdentifier** *(string) --* 

            The ID of the type of the time series data points form.

            
          

          - **typeRevision** *(string) --* 

            The revision type of the time series data points form.

            
          

          - **timestamp** *(datetime) --* 

            The timestamp of the time series data points form.

            
          

          - **content** *(string) --* 

            The content of the time series data points form.

            
          

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

            The ID of the time series data points form.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

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

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

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

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

  
  *   :py:class:`DataZone.Client.exceptions.ConflictException`

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

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  