CmdID

CmdID / aws / aws comprehend

aws comprehend list-datasets

List the datasets that you have configured in this Region. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list all flywheel datasets

The following list-datasets example lists all datasets associated with a flywheel.

aws comprehend list-datasets --flywheel-arn arn:aws:comprehend:us-west-2:123456789012:flywheel/flywheel-entityIdentify
--flywheel-arnThe Amazon Resource Number (ARN) of the flywheel.
Its output
{
    "DatasetPropertiesList": [
        {
            "DatasetArn": "arn:aws:comprehend:us-west-2:123456789012:flywheel/flywheel-entity/dataset/example-dataset-1",
            "DatasetName": "example-dataset-1",
            "DatasetType": "TRAIN",
            "DatasetS3Uri": "s3://amzn-s3-demo-bucket/flywheel-entity/schemaVersion=1/20230616T200543Z/datasets/example-dataset-1/20230616T203710Z/",
            "Status": "CREATING",
            "CreationTime": "2023-06-16T20:37:10.400000+00:00"
        },
        {
            "DatasetArn": "arn:aws:comprehend:us-west-2:123456789012:flywheel/flywheel-entity/dataset/example-dataset-2",
            "DatasetName": "example-dataset-2",
            "DatasetType": "TRAIN",
            "DatasetS3Uri": "s3://amzn-s3-demo-bucket/flywheel-entity/schemaVersion=1/20230616T200543Z/datasets/example-dataset-2/20230616T200607Z/",
            "Description": "TRAIN Dataset created by Flywheel creation.",
            "Status": "COMPLETED",
            "NumberOfDocuments": 5572,
            "CreationTime": "2023-06-16T20:06:07.722000+00:00"
        }
    ]
}

For more information, see Flywheel overview in the Amazon Comprehend Developer Guide.

Options

4 in the AWS CLI reference
--filterFilters the datasets to be returned in the response.
--flywheel-arnThe Amazon Resource Number (ARN) of the flywheel.
--max-resultsMaximum number of results to return in a response.
--next-tokenIdentifies the next page of results to return.