Skip to content

CreateDatasetRequest

Source code in docs_src/capo_rekognition/types/create_dataset_request.py
class CreateDatasetRequest(TypedDict, closed=True):
    dataset_source: NotRequired["capo_rekognition.types.dataset_source.DatasetSource"]
    """<p> The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify <code>datasetSource</code>, an empty dataset is created. To add labeled images to the dataset, You can use the console or call <a>UpdateDatasetEntries</a>. </p>"""
    dataset_type: "capo_rekognition.types.dataset_type.DatasetType"
    """<p> The type of the dataset. Specify <code>TRAIN</code> to create a training dataset. Specify <code>TEST</code> to create a test dataset. </p>"""
    project_arn: "capo_rekognition.types.project_arn.ProjectArn"
    """<p> The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset. </p>"""
    tags: NotRequired["capo_rekognition.types.tag_map.TagMap"]
    """<p>A set of tags (key-value pairs) that you want to attach to the dataset.</p>"""

dataset_source instance-attribute

dataset_source: NotRequired[DatasetSource]

The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource, an empty dataset is created. To add labeled images to the dataset, You can use the console or call UpdateDatasetEntries.

dataset_type instance-attribute

dataset_type: DatasetType

The type of the dataset. Specify TRAIN to create a training dataset. Specify TEST to create a test dataset.

project_arn instance-attribute

project_arn: ProjectArn

The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.

tags instance-attribute

tags: NotRequired[TagMap]

A set of tags (key-value pairs) that you want to attach to the dataset.