class Aws::GlueDataBrew::Types::CreateDatasetRequest
@note When making an API call, you may pass CreateDatasetRequest
data as a hash: { name: "DatasetName", # required format: "CSV", # accepts CSV, JSON, PARQUET, EXCEL format_options: { json: { multi_line: false, }, excel: { sheet_names: ["SheetName"], sheet_indexes: [1], header_row: false, }, csv: { delimiter: "Delimiter", header_row: false, }, }, input: { # required s3_input_definition: { bucket: "Bucket", # required key: "Key", }, data_catalog_input_definition: { catalog_id: "CatalogId", database_name: "DatabaseName", # required table_name: "TableName", # required temp_directory: { bucket: "Bucket", # required key: "Key", }, }, database_input_definition: { glue_connection_name: "GlueConnectionName", # required database_table_name: "DatabaseTableName", # required temp_directory: { bucket: "Bucket", # required key: "Key", }, }, }, path_options: { last_modified_date_condition: { expression: "Expression", # required values_map: { # required "ValueReference" => "ConditionValue", }, }, files_limit: { max_files: 1, # required ordered_by: "LAST_MODIFIED_DATE", # accepts LAST_MODIFIED_DATE order: "DESCENDING", # accepts DESCENDING, ASCENDING }, parameters: { "PathParameterName" => { name: "PathParameterName", # required type: "Datetime", # required, accepts Datetime, Number, String datetime_options: { format: "DatetimeFormat", # required timezone_offset: "TimezoneOffset", locale_code: "LocaleCode", }, create_column: false, filter: { expression: "Expression", # required values_map: { # required "ValueReference" => "ConditionValue", }, }, }, }, }, tags: { "TagKey" => "TagValue", }, }
@!attribute [rw] name
The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space. @return [String]
@!attribute [rw] format
The file format of a dataset that is created from an Amazon S3 file or folder. @return [String]
@!attribute [rw] format_options
Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input. @return [Types::FormatOptions]
@!attribute [rw] input
Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3. @return [Types::Input]
@!attribute [rw] path_options
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset. @return [Types::PathOptions]
@!attribute [rw] tags
Metadata tags to apply to this dataset. @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateDatasetRequest AWS API Documentation
Constants
- SENSITIVE