Skip to content

Commit c5efa06

Browse files
Introduce three new APIs: CreateDataSetExportTask, GetDataSetExportTask and ListDataSetExportHistory. Add support for batch restart for Blu Age applications.
1 parent 6fcd087 commit c5efa06

File tree

40 files changed

+4172
-0
lines changed

40 files changed

+4172
-0
lines changed

generator/ServiceModels/m2/m2-2021-04-28.api.json

Lines changed: 223 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,26 @@
5151
],
5252
"idempotent":true
5353
},
54+
"CreateDataSetExportTask":{
55+
"name":"CreateDataSetExportTask",
56+
"http":{
57+
"method":"POST",
58+
"requestUri":"/applications/{applicationId}/dataset-export-task",
59+
"responseCode":200
60+
},
61+
"input":{"shape":"CreateDataSetExportTaskRequest"},
62+
"output":{"shape":"CreateDataSetExportTaskResponse"},
63+
"errors":[
64+
{"shape":"ResourceNotFoundException"},
65+
{"shape":"ServiceQuotaExceededException"},
66+
{"shape":"ThrottlingException"},
67+
{"shape":"AccessDeniedException"},
68+
{"shape":"ConflictException"},
69+
{"shape":"ValidationException"},
70+
{"shape":"InternalServerException"}
71+
],
72+
"idempotent":true
73+
},
5474
"CreateDataSetImportTask":{
5575
"name":"CreateDataSetImportTask",
5676
"http":{
@@ -235,6 +255,23 @@
235255
{"shape":"InternalServerException"}
236256
]
237257
},
258+
"GetDataSetExportTask":{
259+
"name":"GetDataSetExportTask",
260+
"http":{
261+
"method":"GET",
262+
"requestUri":"/applications/{applicationId}/dataset-export-tasks/{taskId}",
263+
"responseCode":200
264+
},
265+
"input":{"shape":"GetDataSetExportTaskRequest"},
266+
"output":{"shape":"GetDataSetExportTaskResponse"},
267+
"errors":[
268+
{"shape":"ResourceNotFoundException"},
269+
{"shape":"ThrottlingException"},
270+
{"shape":"AccessDeniedException"},
271+
{"shape":"ValidationException"},
272+
{"shape":"InternalServerException"}
273+
]
274+
},
238275
"GetDataSetImportTask":{
239276
"name":"GetDataSetImportTask",
240277
"http":{
@@ -385,6 +422,23 @@
385422
{"shape":"InternalServerException"}
386423
]
387424
},
425+
"ListDataSetExportHistory":{
426+
"name":"ListDataSetExportHistory",
427+
"http":{
428+
"method":"GET",
429+
"requestUri":"/applications/{applicationId}/dataset-export-tasks",
430+
"responseCode":200
431+
},
432+
"input":{"shape":"ListDataSetExportHistoryRequest"},
433+
"output":{"shape":"ListDataSetExportHistoryResponse"},
434+
"errors":[
435+
{"shape":"ResourceNotFoundException"},
436+
{"shape":"ThrottlingException"},
437+
{"shape":"AccessDeniedException"},
438+
{"shape":"ValidationException"},
439+
{"shape":"InternalServerException"}
440+
]
441+
},
388442
"ListDataSetImportHistory":{
389443
"name":"ListDataSetImportHistory",
390444
"http":{
@@ -915,6 +969,33 @@
915969
"applicationVersion":{"shape":"Version"}
916970
}
917971
},
972+
"CreateDataSetExportTaskRequest":{
973+
"type":"structure",
974+
"required":[
975+
"applicationId",
976+
"exportConfig"
977+
],
978+
"members":{
979+
"applicationId":{
980+
"shape":"Identifier",
981+
"location":"uri",
982+
"locationName":"applicationId"
983+
},
984+
"clientToken":{
985+
"shape":"ClientToken",
986+
"idempotencyToken":true
987+
},
988+
"exportConfig":{"shape":"DataSetExportConfig"},
989+
"kmsKeyId":{"shape":"KMSKeyId"}
990+
}
991+
},
992+
"CreateDataSetExportTaskResponse":{
993+
"type":"structure",
994+
"required":["taskId"],
995+
"members":{
996+
"taskId":{"shape":"Identifier"}
997+
}
998+
},
918999
"CreateDataSetImportTaskRequest":{
9191000
"type":"structure",
9201001
"required":[
@@ -1019,6 +1100,66 @@
10191100
"storageType":{"shape":"String"}
10201101
}
10211102
},
1103+
"DataSetExportConfig":{
1104+
"type":"structure",
1105+
"members":{
1106+
"dataSets":{"shape":"DataSetExportList"},
1107+
"s3Location":{"shape":"String"}
1108+
},
1109+
"union":true
1110+
},
1111+
"DataSetExportItem":{
1112+
"type":"structure",
1113+
"required":[
1114+
"datasetName",
1115+
"externalLocation"
1116+
],
1117+
"members":{
1118+
"datasetName":{"shape":"String200"},
1119+
"externalLocation":{"shape":"ExternalLocation"}
1120+
}
1121+
},
1122+
"DataSetExportList":{
1123+
"type":"list",
1124+
"member":{"shape":"DataSetExportItem"},
1125+
"max":1024,
1126+
"min":1
1127+
},
1128+
"DataSetExportSummary":{
1129+
"type":"structure",
1130+
"required":[
1131+
"failed",
1132+
"inProgress",
1133+
"pending",
1134+
"succeeded",
1135+
"total"
1136+
],
1137+
"members":{
1138+
"failed":{"shape":"Integer"},
1139+
"inProgress":{"shape":"Integer"},
1140+
"pending":{"shape":"Integer"},
1141+
"succeeded":{"shape":"Integer"},
1142+
"total":{"shape":"Integer"}
1143+
}
1144+
},
1145+
"DataSetExportTask":{
1146+
"type":"structure",
1147+
"required":[
1148+
"status",
1149+
"summary",
1150+
"taskId"
1151+
],
1152+
"members":{
1153+
"status":{"shape":"DataSetTaskLifecycle"},
1154+
"statusReason":{"shape":"String"},
1155+
"summary":{"shape":"DataSetExportSummary"},
1156+
"taskId":{"shape":"Identifier"}
1157+
}
1158+
},
1159+
"DataSetExportTaskList":{
1160+
"type":"list",
1161+
"member":{"shape":"DataSetExportTask"}
1162+
},
10221163
"DataSetImportConfig":{
10231164
"type":"structure",
10241165
"members":{
@@ -1561,6 +1702,39 @@
15611702
}
15621703
}
15631704
},
1705+
"GetDataSetExportTaskRequest":{
1706+
"type":"structure",
1707+
"required":[
1708+
"applicationId",
1709+
"taskId"
1710+
],
1711+
"members":{
1712+
"applicationId":{
1713+
"shape":"Identifier",
1714+
"location":"uri",
1715+
"locationName":"applicationId"
1716+
},
1717+
"taskId":{
1718+
"shape":"Identifier",
1719+
"location":"uri",
1720+
"locationName":"taskId"
1721+
}
1722+
}
1723+
},
1724+
"GetDataSetExportTaskResponse":{
1725+
"type":"structure",
1726+
"required":[
1727+
"status",
1728+
"taskId"
1729+
],
1730+
"members":{
1731+
"kmsKeyArn":{"shape":"String"},
1732+
"status":{"shape":"DataSetTaskLifecycle"},
1733+
"statusReason":{"shape":"String"},
1734+
"summary":{"shape":"DataSetExportSummary"},
1735+
"taskId":{"shape":"Identifier"}
1736+
}
1737+
},
15641738
"GetDataSetImportTaskRequest":{
15651739
"type":"structure",
15661740
"required":[
@@ -1737,6 +1911,12 @@
17371911
"members":{
17381912
"procStepName":{"shape":"String"},
17391913
"procStepNumber":{"shape":"Integer"},
1914+
"stepCheckpoint":{
1915+
"shape":"Integer",
1916+
"box":true
1917+
},
1918+
"stepCheckpointStatus":{"shape":"String"},
1919+
"stepCheckpointTime":{"shape":"Timestamp"},
17401920
"stepCondCode":{"shape":"String"},
17411921
"stepName":{"shape":"String"},
17421922
"stepNumber":{"shape":"Integer"},
@@ -1749,10 +1929,24 @@
17491929
"members":{
17501930
"fromProcStep":{"shape":"String"},
17511931
"fromStep":{"shape":"String"},
1932+
"skip":{
1933+
"shape":"Boolean",
1934+
"box":true
1935+
},
1936+
"stepCheckpoint":{
1937+
"shape":"Integer",
1938+
"box":true
1939+
},
17521940
"toProcStep":{"shape":"String"},
17531941
"toStep":{"shape":"String"}
17541942
}
17551943
},
1944+
"KMSKeyId":{
1945+
"type":"string",
1946+
"max":256,
1947+
"min":1,
1948+
"pattern":"^[a-zA-Z0-9:/_-]+$"
1949+
},
17561950
"ListApplicationVersionsRequest":{
17571951
"type":"structure",
17581952
"required":["applicationId"],
@@ -1933,6 +2127,35 @@
19332127
"batchJobSteps":{"shape":"BatchJobStepList"}
19342128
}
19352129
},
2130+
"ListDataSetExportHistoryRequest":{
2131+
"type":"structure",
2132+
"required":["applicationId"],
2133+
"members":{
2134+
"applicationId":{
2135+
"shape":"Identifier",
2136+
"location":"uri",
2137+
"locationName":"applicationId"
2138+
},
2139+
"maxResults":{
2140+
"shape":"MaxResults",
2141+
"location":"querystring",
2142+
"locationName":"maxResults"
2143+
},
2144+
"nextToken":{
2145+
"shape":"NextToken",
2146+
"location":"querystring",
2147+
"locationName":"nextToken"
2148+
}
2149+
}
2150+
},
2151+
"ListDataSetExportHistoryResponse":{
2152+
"type":"structure",
2153+
"required":["dataSetExportTasks"],
2154+
"members":{
2155+
"dataSetExportTasks":{"shape":"DataSetExportTaskList"},
2156+
"nextToken":{"shape":"NextToken"}
2157+
}
2158+
},
19362159
"ListDataSetImportHistoryRequest":{
19372160
"type":"structure",
19382161
"required":["applicationId"],

0 commit comments

Comments
 (0)