{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-create-dataset-request-structure.json", "name": "CreateDatasetRequest", "description": "CreateDatasetRequest schema", "type": "object", "properties": { "FlywheelArn": { "allOf": [ { "$ref": "#/components/schemas/ComprehendFlywheelArn" }, { "description": "The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data." } ] }, "DatasetName": { "allOf": [ { "$ref": "#/components/schemas/ComprehendArnName" }, { "description": "Name of the dataset." } ] }, "DatasetType": { "allOf": [ { "$ref": "#/components/schemas/DatasetType" }, { "description": "The dataset type. You can specify that the data in a dataset is for training the model or for testing the model." } ] }, "Description": { "allOf": [ { "$ref": "#/components/schemas/Description" }, { "description": "Description of the dataset." } ] }, "InputDataConfig": { "allOf": [ { "$ref": "#/components/schemas/DatasetInputDataConfig" }, { "description": "Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model." } ] }, "ClientRequestToken": { "allOf": [ { "$ref": "#/components/schemas/ClientRequestTokenString" }, { "description": "A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one." } ] }, "Tags": { "allOf": [ { "$ref": "#/components/schemas/TagList" }, { "description": "Tags for the dataset." } ] } }, "required": [ "FlywheelArn", "DatasetName", "InputDataConfig" ] }