create_dataset
async
¶
create_dataset(
name: DatasetName,
input: Input,
*,
config_overrides: Optional[AsyncDataBrewClientConfig] = None,
format: Optional[InputFormat] = None,
format_options: Optional[FormatOptions] = None,
path_options: Optional[PathOptions] = None,
tags: Optional[TagMap] = None,
) -> CreateDatasetResponse
Creates a new DataBrew dataset.
Parameters:
-
name(DatasetName) –The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
-
format(Optional[InputFormat], default:None) –The file format of a dataset that is created from an Amazon S3 file or folder.
-
path_options(Optional[PathOptions], default:None) –A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
-
tags(Optional[TagMap], default:None) –Metadata tags to apply to this dataset.
Raises:
-
AccessDeniedException–Access to the specified resource was denied.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
ServiceQuotaExceededException–A service quota is exceeded.
-
ValidationException–The input parameters for this request failed validation.
-
UnknownServiceError–The service returned an error code this client does not model.