Skip to content

Commit b4a9482

Browse files
author
AWS
committed
AWS Glue DataBrew Update: This SDK release adds two new dataset features: 1) support for specifying the file format for a dataset, and 2) support for specifying whether the first row of a CSV or Excel file contains a header.
1 parent 9c8d760 commit b4a9482

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Glue DataBrew",
4+
"contributor": "",
5+
"description": "This SDK release adds two new dataset features: 1) support for specifying the file format for a dataset, and 2) support for specifying whether the first row of a CSV or Excel file contains a header."
6+
}

services/databrew/src/main/resources/codegen-resources/service-2.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,10 @@
739739
"shape":"DatasetName",
740740
"documentation":"<p>The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.</p>"
741741
},
742+
"Format":{
743+
"shape":"InputFormat",
744+
"documentation":"<p>Specifies the file format of a dataset created from an S3 file or folder.</p>"
745+
},
742746
"FormatOptions":{"shape":"FormatOptions"},
743747
"Input":{"shape":"Input"},
744748
"Tags":{
@@ -1016,6 +1020,10 @@
10161020
"Delimiter":{
10171021
"shape":"Delimiter",
10181022
"documentation":"<p>A single character that specifies the delimiter being used in the Csv file.</p>"
1023+
},
1024+
"HeaderRow":{
1025+
"shape":"HeaderRow",
1026+
"documentation":"<p>A variable that specifies whether the first row in the file will be parsed as the header. If false, column names will be auto-generated.</p>"
10191027
}
10201028
},
10211029
"documentation":"<p>Options that define how DataBrew will read a Csv file when creating a dataset from that file.</p>"
@@ -1084,6 +1092,10 @@
10841092
"shape":"DatasetName",
10851093
"documentation":"<p>The unique name of the dataset.</p>"
10861094
},
1095+
"Format":{
1096+
"shape":"InputFormat",
1097+
"documentation":"<p>Specifies the file format of a dataset created from an S3 file or folder.</p>"
1098+
},
10871099
"FormatOptions":{
10881100
"shape":"FormatOptions",
10891101
"documentation":"<p>Options that define how DataBrew interprets the data in the dataset.</p>"
@@ -1287,6 +1299,10 @@
12871299
"shape":"DatasetName",
12881300
"documentation":"<p>The name of the dataset.</p>"
12891301
},
1302+
"Format":{
1303+
"shape":"InputFormat",
1304+
"documentation":"<p>Specifies the file format of a dataset created from an S3 file or folder.</p>"
1305+
},
12901306
"FormatOptions":{"shape":"FormatOptions"},
12911307
"Input":{"shape":"Input"},
12921308
"LastModifiedDate":{
@@ -1717,6 +1733,10 @@
17171733
"SheetIndexes":{
17181734
"shape":"SheetIndexList",
17191735
"documentation":"<p>Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.</p>"
1736+
},
1737+
"HeaderRow":{
1738+
"shape":"HeaderRow",
1739+
"documentation":"<p>A variable that specifies whether the first row in the file will be parsed as the header. If false, column names will be auto-generated.</p>"
17201740
}
17211741
},
17221742
"documentation":"<p>Options that define how DataBrew will interpret a Microsoft Excel file, when creating a dataset from that file.</p>"
@@ -1740,6 +1760,7 @@
17401760
},
17411761
"documentation":"<p>Options that define the structure of either Csv, Excel, or JSON input.</p>"
17421762
},
1763+
"HeaderRow":{"type":"boolean"},
17431764
"HiddenColumnList":{
17441765
"type":"list",
17451766
"member":{"shape":"ColumnName"}
@@ -1758,6 +1779,15 @@
17581779
},
17591780
"documentation":"<p>Information on how DataBrew can find data, in either the AWS Glue Data Catalog or Amazon S3.</p>"
17601781
},
1782+
"InputFormat":{
1783+
"type":"string",
1784+
"enum":[
1785+
"CSV",
1786+
"JSON",
1787+
"PARQUET",
1788+
"EXCEL"
1789+
]
1790+
},
17611791
"InternalServerException":{
17621792
"type":"structure",
17631793
"members":{
@@ -3047,6 +3077,10 @@
30473077
"location":"uri",
30483078
"locationName":"name"
30493079
},
3080+
"Format":{
3081+
"shape":"InputFormat",
3082+
"documentation":"<p>Specifies the file format of a dataset created from an S3 file or folder.</p>"
3083+
},
30503084
"FormatOptions":{"shape":"FormatOptions"},
30513085
"Input":{"shape":"Input"}
30523086
}

0 commit comments

Comments
 (0)