![]() |
![]()
| ![]() |
![]()
NAMEPaws::GlueDataBrew::CreateDataset - Arguments for method CreateDataset on Paws::GlueDataBrew DESCRIPTIONThis class represents the parameters used for calling the method CreateDataset on the AWS Glue DataBrew service. Use the attributes of this class as arguments to method CreateDataset. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDataset. SYNOPSISmy $databrew = Paws->service('GlueDataBrew'); my $CreateDatasetResponse = $databrew->CreateDataset( Input => { DataCatalogInputDefinition => { DatabaseName => 'MyDatabaseName', # min: 1, max: 255 TableName => 'MyTableName', # min: 1, max: 255 CatalogId => 'MyCatalogId', # min: 1, max: 255; OPTIONAL TempDirectory => { Bucket => 'MyBucket', # min: 3, max: 63 Key => 'MyKey', # min: 1, max: 1280; OPTIONAL }, # OPTIONAL }, # OPTIONAL DatabaseInputDefinition => { DatabaseTableName => 'MyDatabaseTableName', # min: 1, max: 255 GlueConnectionName => 'MyGlueConnectionName', # min: 1, max: 255 TempDirectory => { Bucket => 'MyBucket', # min: 3, max: 63 Key => 'MyKey', # min: 1, max: 1280; OPTIONAL }, # OPTIONAL }, # OPTIONAL S3InputDefinition => { Bucket => 'MyBucket', # min: 3, max: 63 Key => 'MyKey', # min: 1, max: 1280; OPTIONAL }, # OPTIONAL }, Name => 'MyDatasetName', Format => 'CSV', # OPTIONAL FormatOptions => { Csv => { Delimiter => 'MyDelimiter', # min: 1, max: 1; OPTIONAL HeaderRow => 1, # OPTIONAL }, # OPTIONAL Excel => { HeaderRow => 1, # OPTIONAL SheetIndexes => [ 1, ... # max: 200 ], # min: 1, max: 1; OPTIONAL SheetNames => [ 'MySheetName', ... # min: 1, max: 31 ], # min: 1, max: 1; OPTIONAL }, # OPTIONAL Json => { MultiLine => 1, # OPTIONAL }, # OPTIONAL }, # OPTIONAL PathOptions => { FilesLimit => { MaxFiles => 1, # min: 1 Order => 'DESCENDING', # values: DESCENDING, ASCENDING; OPTIONAL OrderedBy => 'LAST_MODIFIED_DATE', # values: LAST_MODIFIED_DATE; OPTIONAL }, # OPTIONAL LastModifiedDateCondition => { Expression => 'MyExpression', # min: 4, max: 1024 ValuesMap => { 'MyValueReference' => 'MyConditionValue', # key: min: 2, max: 128, value: max: 1024 }, }, # OPTIONAL Parameters => { 'MyPathParameterName' => { Name => 'MyPathParameterName', # min: 1, max: 255 Type => 'Datetime', # values: Datetime, Number, String CreateColumn => 1, # OPTIONAL DatetimeOptions => { Format => 'MyDatetimeFormat', # min: 2, max: 100 LocaleCode => 'MyLocaleCode', # min: 2, max: 100; OPTIONAL TimezoneOffset => 'MyTimezoneOffset', # min: 1, max: 6; OPTIONAL }, # OPTIONAL Filter => { Expression => 'MyExpression', # min: 4, max: 1024 ValuesMap => { 'MyValueReference' => 'MyConditionValue', # key: min: 2, max: 128, value: max: 1024 }, }, # OPTIONAL }, # key: min: 1, max: 255 }, # min: 1, max: 10; OPTIONAL }, # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $Name = $CreateDatasetResponse->Name; # Returns a L<Paws::GlueDataBrew::CreateDatasetResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/databrew/CreateDataset> ATTRIBUTESFormat => StrThe file format of a dataset that is created from an Amazon S3 file or folder. Valid values are: "CSV", "JSON", "PARQUET", "EXCEL" FormatOptions => Paws::GlueDataBrew::FormatOptionsREQUIRED Input => Paws::GlueDataBrew::InputREQUIRED Name => StrThe name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space. PathOptions => Paws::GlueDataBrew::PathOptionsA set of options that defines how DataBrew interprets an Amazon S3 path of the dataset. Tags => Paws::GlueDataBrew::TagMapMetadata tags to apply to this dataset. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateDataset in Paws::GlueDataBrew BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|