DataZone / Client / post_time_series_data_points

post_time_series_data_points#

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

Request Syntax

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

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

    This field is autopopulated if not provided.

  • domainIdentifier (string) –

    [REQUIRED]

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

  • entityIdentifier (string) –

    [REQUIRED]

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

  • entityType (string) –

    [REQUIRED]

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

  • forms (list) –

    [REQUIRED]

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

    • (dict) –

      The time series data points form.

      • content (string) –

        The content of the time series data points form.

      • formName (string) – [REQUIRED]

        The name of the time series data points form.

      • timestamp (datetime) – [REQUIRED]

        The timestamp 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.

Return type:

dict

Returns:

Response Syntax

{
    'domainId': 'string',
    'entityId': 'string',
    'entityType': 'ASSET'|'LISTING',
    'forms': [
        {
            'content': 'string',
            'formName': 'string',
            'id': 'string',
            'timestamp': datetime(2015, 1, 1),
            'typeIdentifier': 'string',
            'typeRevision': '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.

        • content (string) –

          The content of the time series data points form.

        • formName (string) –

          The name of the time series data points form.

        • id (string) –

          The ID of the time series data points form.

        • timestamp (datetime) –

          The timestamp 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.

Exceptions

  • DataZone.Client.exceptions.InternalServerException

  • DataZone.Client.exceptions.ResourceNotFoundException

  • DataZone.Client.exceptions.AccessDeniedException

  • DataZone.Client.exceptions.ThrottlingException

  • DataZone.Client.exceptions.ServiceQuotaExceededException

  • DataZone.Client.exceptions.ConflictException

  • DataZone.Client.exceptions.ValidationException

  • DataZone.Client.exceptions.UnauthorizedException