IoTAnalytics / Client / create_dataset_content

create_dataset_content#

IoTAnalytics.Client.create_dataset_content(**kwargs)#

Creates the content of a dataset by applying a queryAction (a SQL query) or a containerAction (executing a containerized application).

See also: AWS API Documentation

Request Syntax

response = client.create_dataset_content(
    datasetName='string',
    versionId='string'
)
Parameters:
  • datasetName (string) –

    [REQUIRED]

    The name of the dataset.

  • versionId (string) – The version ID of the dataset content. To specify versionId for a dataset content, the dataset must use a DeltaTimer filter.

Return type:

dict

Returns:

Response Syntax

{
    'versionId': 'string'
}

Response Structure

  • (dict) –

    • versionId (string) –

      The version ID of the dataset contents that are being created.

Exceptions

  • IoTAnalytics.Client.exceptions.InvalidRequestException

  • IoTAnalytics.Client.exceptions.ResourceNotFoundException

  • IoTAnalytics.Client.exceptions.InternalFailureException

  • IoTAnalytics.Client.exceptions.ServiceUnavailableException

  • IoTAnalytics.Client.exceptions.ThrottlingException