Skip to content

Commit 38c7bda

Browse files
author
AWS
committed
FinSpace Public API Update: Make dataset description optional and allow s3 export for dataviews
1 parent 2c139ac commit 38c7bda

File tree

2 files changed

+33
-7
lines changed

2 files changed

+33
-7
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": "FinSpace Public API",
4+
"contributor": "",
5+
"description": "Make dataset description optional and allow s3 export for dataviews"
6+
}

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

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@
364364
"documentation":"<p>Time until which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.</p>",
365365
"box":true
366366
},
367+
"activeFromTimestamp":{
368+
"shape":"TimestampEpoch",
369+
"box":true
370+
},
367371
"updatesChangesetId":{
368372
"shape":"ChangesetId",
369373
"documentation":"<p>The unique identifier of the Changeset that is updated.</p>"
@@ -559,9 +563,7 @@
559563
"required":[
560564
"datasetTitle",
561565
"kind",
562-
"datasetDescription",
563-
"permissionGroupParams",
564-
"alias"
566+
"permissionGroupParams"
565567
],
566568
"members":{
567569
"clientToken":{
@@ -643,7 +645,9 @@
643645
"destinationType":{
644646
"shape":"DataViewDestinationType",
645647
"documentation":"<p>Destination type for a Dataview.</p> <ul> <li> <p> <code>GLUE_TABLE</code> - Glue table destination type.</p> </li> </ul>"
646-
}
648+
},
649+
"s3DestinationExportFileFormat":{"shape":"ExportFileFormat"},
650+
"s3DestinationExportFileFormatOptions":{"shape":"S3DestinationFormatOptions"}
647651
},
648652
"documentation":"<p>Structure for the Dataview destination type parameters.</p>"
649653
},
@@ -794,7 +798,7 @@
794798
"DatasetDescription":{
795799
"type":"string",
796800
"documentation":"Description of a dataset",
797-
"max":256,
801+
"max":1000,
798802
"min":1,
799803
"pattern":"[\\s\\S]*\\S[\\s\\S]*"
800804
},
@@ -908,6 +912,14 @@
908912
"documentation":"Changeset Error Message",
909913
"max":1000
910914
},
915+
"ExportFileFormat":{
916+
"type":"string",
917+
"documentation":"Data View Export File Format",
918+
"enum":[
919+
"PARQUET",
920+
"DELIMITED_TEXT"
921+
]
922+
},
911923
"FormatParams":{
912924
"type":"map",
913925
"key":{"shape":"StringMapKey"},
@@ -980,6 +992,10 @@
980992
"documentation":"<p>Time until which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.</p>",
981993
"box":true
982994
},
995+
"activeFromTimestamp":{
996+
"shape":"TimestampEpoch",
997+
"box":true
998+
},
983999
"updatesChangesetId":{
9841000
"shape":"ChangesetId",
9851001
"documentation":"<p>The unique identifier of the Changeset that is being updated.</p>"
@@ -1405,6 +1421,11 @@
14051421
"max":100,
14061422
"min":1
14071423
},
1424+
"S3DestinationFormatOptions":{
1425+
"type":"map",
1426+
"key":{"shape":"StringMapKey"},
1427+
"value":{"shape":"StringMapValue"}
1428+
},
14081429
"SchemaDefinition":{
14091430
"type":"structure",
14101431
"members":{
@@ -1537,8 +1558,7 @@
15371558
"required":[
15381559
"datasetId",
15391560
"datasetTitle",
1540-
"kind",
1541-
"alias"
1561+
"kind"
15421562
],
15431563
"members":{
15441564
"clientToken":{

0 commit comments

Comments
 (0)