import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateDatasetCommand}. */ export interface CreateDatasetCommandInput extends CreateDatasetRequest { } /** * @public * * The output of {@link CreateDatasetCommand}. */ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __MetadataBearer { } declare const CreateDatasetCommand_base: { new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new DataBrew dataset.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataBrewClient, CreateDatasetCommand } from "@aws-sdk/client-databrew"; // ES Modules import * // const { DataBrewClient, CreateDatasetCommand } = require("@aws-sdk/client-databrew"); // CommonJS import * // import type { DataBrewClientConfig } from "@aws-sdk/client-databrew"; * const config = {}; // type is DataBrewClientConfig * const client = new DataBrewClient(config); * const input = { // CreateDatasetRequest * Name: "STRING_VALUE", // required * Format: "CSV" || "JSON" || "PARQUET" || "EXCEL" || "ORC", * FormatOptions: { // FormatOptions * Json: { // JsonOptions * MultiLine: true || false, * }, * Excel: { // ExcelOptions * SheetNames: [ // SheetNameList * "STRING_VALUE", * ], * SheetIndexes: [ // SheetIndexList * Number("int"), * ], * HeaderRow: true || false, * }, * Csv: { // CsvOptions * Delimiter: "STRING_VALUE", * HeaderRow: true || false, * }, * }, * Input: { // Input * S3InputDefinition: { // S3Location * Bucket: "STRING_VALUE", // required * Key: "STRING_VALUE", * BucketOwner: "STRING_VALUE", * }, * DataCatalogInputDefinition: { // DataCatalogInputDefinition * CatalogId: "STRING_VALUE", * DatabaseName: "STRING_VALUE", // required * TableName: "STRING_VALUE", // required * TempDirectory: { * Bucket: "STRING_VALUE", // required * Key: "STRING_VALUE", * BucketOwner: "STRING_VALUE", * }, * }, * DatabaseInputDefinition: { // DatabaseInputDefinition * GlueConnectionName: "STRING_VALUE", // required * DatabaseTableName: "STRING_VALUE", * TempDirectory: { * Bucket: "STRING_VALUE", // required * Key: "STRING_VALUE", * BucketOwner: "STRING_VALUE", * }, * QueryString: "STRING_VALUE", * }, * Metadata: { // Metadata * SourceArn: "STRING_VALUE", * }, * }, * PathOptions: { // PathOptions * LastModifiedDateCondition: { // FilterExpression * Expression: "STRING_VALUE", // required * ValuesMap: { // ValuesMap // required * "": "STRING_VALUE", * }, * }, * FilesLimit: { // FilesLimit * MaxFiles: Number("int"), // required * OrderedBy: "LAST_MODIFIED_DATE", * Order: "DESCENDING" || "ASCENDING", * }, * Parameters: { // PathParametersMap * "": { // DatasetParameter * Name: "STRING_VALUE", // required * Type: "Datetime" || "Number" || "String", // required * DatetimeOptions: { // DatetimeOptions * Format: "STRING_VALUE", // required * TimezoneOffset: "STRING_VALUE", * LocaleCode: "STRING_VALUE", * }, * CreateColumn: true || false, * Filter: { * Expression: "STRING_VALUE", // required * ValuesMap: { // required * "": "STRING_VALUE", * }, * }, * }, * }, * }, * Tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateDatasetCommand(input); * const response = await client.send(command); * // { // CreateDatasetResponse * // Name: "STRING_VALUE", // required * // }; * * ``` * * @param CreateDatasetCommandInput - {@link CreateDatasetCommandInput} * @returns {@link CreateDatasetCommandOutput} * @see {@link CreateDatasetCommandInput} for command's `input` shape. * @see {@link CreateDatasetCommandOutput} for command's `response` shape. * @see {@link DataBrewClientResolvedConfig | config} for DataBrewClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access to the specified resource was denied.

* * @throws {@link ConflictException} (client fault) *

Updating or deleting a resource can cause an inconsistent state.

* * @throws {@link ServiceQuotaExceededException} (client fault) *

A service quota is exceeded.

* * @throws {@link ValidationException} (client fault) *

The input parameters for this request failed validation.

* * @throws {@link DataBrewServiceException} *

Base exception class for all service exceptions from DataBrew service.

* * * @public */ export declare class CreateDatasetCommand extends CreateDatasetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateDatasetRequest; output: CreateDatasetResponse; }; sdk: { input: CreateDatasetCommandInput; output: CreateDatasetCommandOutput; }; }; }