New API Documentation - Developer Preview Available
We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Creates a new dataset in an Amazon Lookout for Vision project. CreateDataset can create a
training or a test dataset from a valid dataset source (DatasetSource).
If you want a single dataset project, specify train for the value of
DatasetType.
To have a project with separate training and test datasets, call CreateDataset twice.
On the first call, specify train for the value of
DatasetType. On the second call, specify test for the value of
DatasetType.
This operation requires permissions to perform the
lookoutvision:CreateDataset operation.
Example
Use a bare-bones client and the command you need to make an API call.
A service quota was exceeded the allowed limit. For more information, see
Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer Guide.
Creates a new dataset in an Amazon Lookout for Vision project.
CreateDataset
can create a training or a test dataset from a valid dataset source (DatasetSource
).If you want a single dataset project, specify
train
for the value ofDatasetType
.To have a project with separate training and test datasets, call
CreateDataset
twice. On the first call, specifytrain
for the value ofDatasetType
. On the second call, specifytest
for the value ofDatasetType
.This operation requires permissions to perform the
lookoutvision:CreateDataset
operation.Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateDatasetCommandInput
Returns
CreateDatasetCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
You are not authorized to perform the action.
Throws
ConflictException (client fault)
The update or deletion of a resource caused an inconsistent state.
Throws
InternalServerException (server fault)
Amazon Lookout for Vision experienced a service issue. Try your call again.
Throws
ResourceNotFoundException (client fault)
The resource could not be found.
Throws
ServiceQuotaExceededException (client fault)
A service quota was exceeded the allowed limit. For more information, see Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer Guide.
Throws
ThrottlingException (client fault)
Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
Throws
ValidationException (client fault)
An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
Throws
LookoutVisionServiceException
Base exception class for all service exceptions from LookoutVision service.