Create datastream

This API creates a new datastream.

Parameter description:

  • description: Description of your datastream
  • destination_type: Name of data streaming platform (Mandatory)
  • name: Unique name of the stream (Mandatory)
  • oem_model: Your model name (Mandatory)
  • stream_type: Type of stream (Mandatory)
  • destination_metadata_details: Based on the selected stream_type, metadata change.
    The following are the metadata for kinesis
    • arn: Amazon resource name of the key (Mandatory)
    • aws_access_key: AWS access key ID (Mandatory)
    • aws_secret_key: AWS secret key (Mandatory)
    • kms_key_arn: KMS key
    • server_side_encryption: Server side encryption option
      The following are the metadata for eventhub
    • eventhub_name: Name of the eventhub instance (Mandatory)
    • namespace_name: Eventhub namespace (Mandatory)
    • sas_key: Shared access key (Mandatory)
    • sas_key_name: Shared access key name (Mandatory)
{
    "description": "",
    "destination_type": "",
    "name": "",
    "oem_model": "",
    "stream_type": "",
    "destination_metadata_details": {
        "arn": "",
        "aws_access_key": "",
        "aws_secret_key": "",
        "kms_key_arn": "",
        "server_side_encryption": ""
    }
}
{
    "description": "",
    "destination_type": "",
    "name": "",
    "oem_model": "",
    "stream_type": "",
    "destination_metadata_details": {
        "eventhub_name": "",
        "namespace_name": "",
        "sas_key": "",
        "sas_key_name": ""
    }
}
Language
Authorization
Header
Click Try It! to start a request and see the response here!