Comprehend.Client.
describe_dataset
(**kwargs)¶Returns information about the dataset that you specify. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.describe_dataset(
DatasetArn='string'
)
[REQUIRED]
The ARN of the dataset.
{
'DatasetProperties': {
'DatasetArn': 'string',
'DatasetName': 'string',
'DatasetType': 'TRAIN'|'TEST',
'DatasetS3Uri': 'string',
'Description': 'string',
'Status': 'CREATING'|'COMPLETED'|'FAILED',
'Message': 'string',
'NumberOfDocuments': 123,
'CreationTime': datetime(2015, 1, 1),
'EndTime': datetime(2015, 1, 1)
}
}
Response Structure
The dataset properties.
The ARN of the dataset.
The name of the dataset.
The dataset type (training data or test data).
The S3 URI where the dataset is stored.
Description of the dataset.
The dataset status. While the system creates the dataset, the status is CREATING
. When the dataset is ready to use, the status changes to COMPLETED
.
A description of the status of the dataset.
The number of documents in the dataset.
Creation time of the dataset.
Time when the data from the dataset becomes available in the data lake.
Exceptions
Comprehend.Client.exceptions.InvalidRequestException
Comprehend.Client.exceptions.TooManyRequestsException
Comprehend.Client.exceptions.ResourceNotFoundException
Comprehend.Client.exceptions.InternalServerException