@aws-sdk/client-glue 3.43.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/dist-cjs/Glue.js +45 -0
- package/dist-cjs/commands/GetCrawlerMetricsCommand.js +2 -1
- package/dist-cjs/commands/GetCrawlersCommand.js +3 -3
- package/dist-cjs/commands/GetDatabaseCommand.js +1 -2
- package/dist-cjs/commands/GetUnfilteredPartitionMetadataCommand.js +36 -0
- package/dist-cjs/commands/GetUnfilteredPartitionsMetadataCommand.js +36 -0
- package/dist-cjs/commands/GetUnfilteredTableMetadataCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoints.js +1 -24
- package/dist-cjs/models/models_0.js +22 -124
- package/dist-cjs/models/models_1.js +89 -66
- package/dist-cjs/pagination/GetUnfilteredPartitionsMetadataPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +662 -5
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/Glue.js +45 -0
- package/dist-es/commands/GetCrawlerMetricsCommand.js +2 -1
- package/dist-es/commands/GetCrawlersCommand.js +1 -1
- package/dist-es/commands/GetDatabaseCommand.js +1 -2
- package/dist-es/commands/GetUnfilteredPartitionMetadataCommand.js +39 -0
- package/dist-es/commands/GetUnfilteredPartitionsMetadataCommand.js +39 -0
- package/dist-es/commands/GetUnfilteredTableMetadataCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +1 -24
- package/dist-es/models/models_0.js +12 -80
- package/dist-es/models/models_1.js +57 -40
- package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +831 -197
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Glue.d.ts +12 -0
- package/dist-types/GlueClient.d.ts +10 -3
- package/dist-types/commands/GetCrawlerMetricsCommand.d.ts +2 -1
- package/dist-types/commands/GetCrawlersCommand.d.ts +1 -1
- package/dist-types/commands/GetDatabaseCommand.d.ts +1 -2
- package/dist-types/commands/GetUnfilteredPartitionMetadataCommand.d.ts +18 -0
- package/dist-types/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +18 -0
- package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +18 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +83 -202
- package/dist-types/models/models_1.d.ts +266 -61
- package/dist-types/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Glue.d.ts +12 -0
- package/dist-types/ts3.4/GlueClient.d.ts +8 -3
- package/dist-types/ts3.4/commands/GetCrawlerMetricsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetCrawlersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetUnfilteredPartitionMetadataCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetUnfilteredTableMetadataCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +48 -30
- package/dist-types/ts3.4/models/models_1.d.ts +173 -41
- package/dist-types/ts3.4/pagination/GetUnfilteredPartitionsMetadataPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -1156,6 +1156,39 @@ export var serializeAws_json1_1GetTriggersCommand = function (input, context) {
|
|
|
1156
1156
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1157
1157
|
});
|
|
1158
1158
|
}); };
|
|
1159
|
+
export var serializeAws_json1_1GetUnfilteredPartitionMetadataCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1160
|
+
var headers, body;
|
|
1161
|
+
return __generator(this, function (_a) {
|
|
1162
|
+
headers = {
|
|
1163
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1164
|
+
"x-amz-target": "AWSGlue.GetUnfilteredPartitionMetadata",
|
|
1165
|
+
};
|
|
1166
|
+
body = JSON.stringify(serializeAws_json1_1GetUnfilteredPartitionMetadataRequest(input, context));
|
|
1167
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1168
|
+
});
|
|
1169
|
+
}); };
|
|
1170
|
+
export var serializeAws_json1_1GetUnfilteredPartitionsMetadataCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1171
|
+
var headers, body;
|
|
1172
|
+
return __generator(this, function (_a) {
|
|
1173
|
+
headers = {
|
|
1174
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1175
|
+
"x-amz-target": "AWSGlue.GetUnfilteredPartitionsMetadata",
|
|
1176
|
+
};
|
|
1177
|
+
body = JSON.stringify(serializeAws_json1_1GetUnfilteredPartitionsMetadataRequest(input, context));
|
|
1178
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1179
|
+
});
|
|
1180
|
+
}); };
|
|
1181
|
+
export var serializeAws_json1_1GetUnfilteredTableMetadataCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1182
|
+
var headers, body;
|
|
1183
|
+
return __generator(this, function (_a) {
|
|
1184
|
+
headers = {
|
|
1185
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1186
|
+
"x-amz-target": "AWSGlue.GetUnfilteredTableMetadata",
|
|
1187
|
+
};
|
|
1188
|
+
body = JSON.stringify(serializeAws_json1_1GetUnfilteredTableMetadataRequest(input, context));
|
|
1189
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1190
|
+
});
|
|
1191
|
+
}); };
|
|
1159
1192
|
export var serializeAws_json1_1GetUserDefinedFunctionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1160
1193
|
var headers, body;
|
|
1161
1194
|
return __generator(this, function (_a) {
|
|
@@ -2094,60 +2127,76 @@ export var deserializeAws_json1_1BatchDeleteTableCommand = function (output, con
|
|
|
2094
2127
|
});
|
|
2095
2128
|
}); };
|
|
2096
2129
|
var deserializeAws_json1_1BatchDeleteTableCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2097
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
|
|
2098
|
-
var
|
|
2099
|
-
return __generator(this, function (
|
|
2100
|
-
switch (
|
|
2130
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
2131
|
+
var _j;
|
|
2132
|
+
return __generator(this, function (_k) {
|
|
2133
|
+
switch (_k.label) {
|
|
2101
2134
|
case 0:
|
|
2102
2135
|
_a = [__assign({}, output)];
|
|
2103
|
-
|
|
2136
|
+
_j = {};
|
|
2104
2137
|
return [4, parseBody(output.body, context)];
|
|
2105
2138
|
case 1:
|
|
2106
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2139
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
2107
2140
|
errorCode = "UnknownError";
|
|
2108
2141
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2109
2142
|
_b = errorCode;
|
|
2110
2143
|
switch (_b) {
|
|
2111
2144
|
case "EntityNotFoundException": return [3, 2];
|
|
2112
2145
|
case "com.amazonaws.glue#EntityNotFoundException": return [3, 2];
|
|
2113
|
-
case "
|
|
2114
|
-
case "com.amazonaws.glue#
|
|
2115
|
-
case "
|
|
2116
|
-
case "com.amazonaws.glue#
|
|
2117
|
-
case "
|
|
2118
|
-
case "com.amazonaws.glue#
|
|
2146
|
+
case "GlueEncryptionException": return [3, 4];
|
|
2147
|
+
case "com.amazonaws.glue#GlueEncryptionException": return [3, 4];
|
|
2148
|
+
case "InternalServiceException": return [3, 6];
|
|
2149
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 6];
|
|
2150
|
+
case "InvalidInputException": return [3, 8];
|
|
2151
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
2152
|
+
case "OperationTimeoutException": return [3, 10];
|
|
2153
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 10];
|
|
2154
|
+
case "ResourceNotReadyException": return [3, 12];
|
|
2155
|
+
case "com.amazonaws.glue#ResourceNotReadyException": return [3, 12];
|
|
2119
2156
|
}
|
|
2120
|
-
return [3,
|
|
2157
|
+
return [3, 14];
|
|
2121
2158
|
case 2:
|
|
2122
2159
|
_c = [{}];
|
|
2123
2160
|
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
2124
2161
|
case 3:
|
|
2125
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
2126
|
-
return [3,
|
|
2162
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2163
|
+
return [3, 15];
|
|
2127
2164
|
case 4:
|
|
2128
2165
|
_d = [{}];
|
|
2129
|
-
return [4,
|
|
2166
|
+
return [4, deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context)];
|
|
2130
2167
|
case 5:
|
|
2131
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
2132
|
-
return [3,
|
|
2168
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2169
|
+
return [3, 15];
|
|
2133
2170
|
case 6:
|
|
2134
2171
|
_e = [{}];
|
|
2135
|
-
return [4,
|
|
2172
|
+
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
2136
2173
|
case 7:
|
|
2137
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
2138
|
-
return [3,
|
|
2174
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2175
|
+
return [3, 15];
|
|
2139
2176
|
case 8:
|
|
2140
2177
|
_f = [{}];
|
|
2141
|
-
return [4,
|
|
2178
|
+
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
2142
2179
|
case 9:
|
|
2143
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
2144
|
-
return [3,
|
|
2180
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2181
|
+
return [3, 15];
|
|
2145
2182
|
case 10:
|
|
2183
|
+
_g = [{}];
|
|
2184
|
+
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
2185
|
+
case 11:
|
|
2186
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2187
|
+
return [3, 15];
|
|
2188
|
+
case 12:
|
|
2189
|
+
_h = [{}];
|
|
2190
|
+
return [4, deserializeAws_json1_1ResourceNotReadyExceptionResponse(parsedOutput, context)];
|
|
2191
|
+
case 13:
|
|
2192
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2193
|
+
return [3, 15];
|
|
2194
|
+
case 14:
|
|
2146
2195
|
parsedBody = parsedOutput.body;
|
|
2147
2196
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2148
2197
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2149
|
-
|
|
2150
|
-
case
|
|
2198
|
+
_k.label = 15;
|
|
2199
|
+
case 15:
|
|
2151
2200
|
message = response.message || response.Message || errorCode;
|
|
2152
2201
|
response.message = message;
|
|
2153
2202
|
delete response.Message;
|
|
@@ -2542,16 +2591,16 @@ export var deserializeAws_json1_1BatchGetPartitionCommand = function (output, co
|
|
|
2542
2591
|
});
|
|
2543
2592
|
}); };
|
|
2544
2593
|
var deserializeAws_json1_1BatchGetPartitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2545
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
2546
|
-
var
|
|
2547
|
-
return __generator(this, function (
|
|
2548
|
-
switch (
|
|
2594
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
2595
|
+
var _j;
|
|
2596
|
+
return __generator(this, function (_k) {
|
|
2597
|
+
switch (_k.label) {
|
|
2549
2598
|
case 0:
|
|
2550
2599
|
_a = [__assign({}, output)];
|
|
2551
|
-
|
|
2600
|
+
_j = {};
|
|
2552
2601
|
return [4, parseBody(output.body, context)];
|
|
2553
2602
|
case 1:
|
|
2554
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2603
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
2555
2604
|
errorCode = "UnknownError";
|
|
2556
2605
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2557
2606
|
_b = errorCode;
|
|
@@ -2564,46 +2613,54 @@ var deserializeAws_json1_1BatchGetPartitionCommandError = function (output, cont
|
|
|
2564
2613
|
case "com.amazonaws.glue#InternalServiceException": return [3, 6];
|
|
2565
2614
|
case "InvalidInputException": return [3, 8];
|
|
2566
2615
|
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
2567
|
-
case "
|
|
2568
|
-
case "com.amazonaws.glue#
|
|
2616
|
+
case "InvalidStateException": return [3, 10];
|
|
2617
|
+
case "com.amazonaws.glue#InvalidStateException": return [3, 10];
|
|
2618
|
+
case "OperationTimeoutException": return [3, 12];
|
|
2619
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
2569
2620
|
}
|
|
2570
|
-
return [3,
|
|
2621
|
+
return [3, 14];
|
|
2571
2622
|
case 2:
|
|
2572
2623
|
_c = [{}];
|
|
2573
2624
|
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
2574
2625
|
case 3:
|
|
2575
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
2576
|
-
return [3,
|
|
2626
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2627
|
+
return [3, 15];
|
|
2577
2628
|
case 4:
|
|
2578
2629
|
_d = [{}];
|
|
2579
2630
|
return [4, deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context)];
|
|
2580
2631
|
case 5:
|
|
2581
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
2582
|
-
return [3,
|
|
2632
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2633
|
+
return [3, 15];
|
|
2583
2634
|
case 6:
|
|
2584
2635
|
_e = [{}];
|
|
2585
2636
|
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
2586
2637
|
case 7:
|
|
2587
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
2588
|
-
return [3,
|
|
2638
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2639
|
+
return [3, 15];
|
|
2589
2640
|
case 8:
|
|
2590
2641
|
_f = [{}];
|
|
2591
2642
|
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
2592
2643
|
case 9:
|
|
2593
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
2594
|
-
return [3,
|
|
2644
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2645
|
+
return [3, 15];
|
|
2595
2646
|
case 10:
|
|
2596
2647
|
_g = [{}];
|
|
2597
|
-
return [4,
|
|
2648
|
+
return [4, deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context)];
|
|
2598
2649
|
case 11:
|
|
2599
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
2600
|
-
return [3,
|
|
2650
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2651
|
+
return [3, 15];
|
|
2601
2652
|
case 12:
|
|
2653
|
+
_h = [{}];
|
|
2654
|
+
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
2655
|
+
case 13:
|
|
2656
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2657
|
+
return [3, 15];
|
|
2658
|
+
case 14:
|
|
2602
2659
|
parsedBody = parsedOutput.body;
|
|
2603
2660
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2604
2661
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2605
|
-
|
|
2606
|
-
case
|
|
2662
|
+
_k.label = 15;
|
|
2663
|
+
case 15:
|
|
2607
2664
|
message = response.message || response.Message || errorCode;
|
|
2608
2665
|
response.message = message;
|
|
2609
2666
|
delete response.Message;
|
|
@@ -4390,16 +4447,16 @@ export var deserializeAws_json1_1CreateTableCommand = function (output, context)
|
|
|
4390
4447
|
});
|
|
4391
4448
|
}); };
|
|
4392
4449
|
var deserializeAws_json1_1CreateTableCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4393
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, _k, parsedBody, message;
|
|
4394
|
-
var
|
|
4395
|
-
return __generator(this, function (
|
|
4396
|
-
switch (
|
|
4450
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, parsedBody, message;
|
|
4451
|
+
var _m;
|
|
4452
|
+
return __generator(this, function (_o) {
|
|
4453
|
+
switch (_o.label) {
|
|
4397
4454
|
case 0:
|
|
4398
4455
|
_a = [__assign({}, output)];
|
|
4399
|
-
|
|
4456
|
+
_m = {};
|
|
4400
4457
|
return [4, parseBody(output.body, context)];
|
|
4401
4458
|
case 1:
|
|
4402
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
4459
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_m.body = _o.sent(), _m)]));
|
|
4403
4460
|
errorCode = "UnknownError";
|
|
4404
4461
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4405
4462
|
_b = errorCode;
|
|
@@ -4418,64 +4475,72 @@ var deserializeAws_json1_1CreateTableCommandError = function (output, context) {
|
|
|
4418
4475
|
case "com.amazonaws.glue#InvalidInputException": return [3, 12];
|
|
4419
4476
|
case "OperationTimeoutException": return [3, 14];
|
|
4420
4477
|
case "com.amazonaws.glue#OperationTimeoutException": return [3, 14];
|
|
4421
|
-
case "
|
|
4422
|
-
case "com.amazonaws.glue#
|
|
4478
|
+
case "ResourceNotReadyException": return [3, 16];
|
|
4479
|
+
case "com.amazonaws.glue#ResourceNotReadyException": return [3, 16];
|
|
4480
|
+
case "ResourceNumberLimitExceededException": return [3, 18];
|
|
4481
|
+
case "com.amazonaws.glue#ResourceNumberLimitExceededException": return [3, 18];
|
|
4423
4482
|
}
|
|
4424
|
-
return [3,
|
|
4483
|
+
return [3, 20];
|
|
4425
4484
|
case 2:
|
|
4426
4485
|
_c = [{}];
|
|
4427
4486
|
return [4, deserializeAws_json1_1AlreadyExistsExceptionResponse(parsedOutput, context)];
|
|
4428
4487
|
case 3:
|
|
4429
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
4430
|
-
return [3,
|
|
4488
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_o.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4489
|
+
return [3, 21];
|
|
4431
4490
|
case 4:
|
|
4432
4491
|
_d = [{}];
|
|
4433
4492
|
return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
4434
4493
|
case 5:
|
|
4435
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
4436
|
-
return [3,
|
|
4494
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_o.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4495
|
+
return [3, 21];
|
|
4437
4496
|
case 6:
|
|
4438
4497
|
_e = [{}];
|
|
4439
4498
|
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
4440
4499
|
case 7:
|
|
4441
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
4442
|
-
return [3,
|
|
4500
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_o.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4501
|
+
return [3, 21];
|
|
4443
4502
|
case 8:
|
|
4444
4503
|
_f = [{}];
|
|
4445
4504
|
return [4, deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context)];
|
|
4446
4505
|
case 9:
|
|
4447
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
4448
|
-
return [3,
|
|
4506
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_o.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4507
|
+
return [3, 21];
|
|
4449
4508
|
case 10:
|
|
4450
4509
|
_g = [{}];
|
|
4451
4510
|
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
4452
4511
|
case 11:
|
|
4453
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
4454
|
-
return [3,
|
|
4512
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_o.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4513
|
+
return [3, 21];
|
|
4455
4514
|
case 12:
|
|
4456
4515
|
_h = [{}];
|
|
4457
4516
|
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
4458
4517
|
case 13:
|
|
4459
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(
|
|
4460
|
-
return [3,
|
|
4518
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_o.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4519
|
+
return [3, 21];
|
|
4461
4520
|
case 14:
|
|
4462
4521
|
_j = [{}];
|
|
4463
4522
|
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
4464
4523
|
case 15:
|
|
4465
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(
|
|
4466
|
-
return [3,
|
|
4524
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_o.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4525
|
+
return [3, 21];
|
|
4467
4526
|
case 16:
|
|
4468
4527
|
_k = [{}];
|
|
4469
|
-
return [4,
|
|
4528
|
+
return [4, deserializeAws_json1_1ResourceNotReadyExceptionResponse(parsedOutput, context)];
|
|
4470
4529
|
case 17:
|
|
4471
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _k.concat([(
|
|
4472
|
-
return [3,
|
|
4530
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _k.concat([(_o.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4531
|
+
return [3, 21];
|
|
4473
4532
|
case 18:
|
|
4533
|
+
_l = [{}];
|
|
4534
|
+
return [4, deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse(parsedOutput, context)];
|
|
4535
|
+
case 19:
|
|
4536
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _l.concat([(_o.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4537
|
+
return [3, 21];
|
|
4538
|
+
case 20:
|
|
4474
4539
|
parsedBody = parsedOutput.body;
|
|
4475
4540
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
4476
4541
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
4477
|
-
|
|
4478
|
-
case
|
|
4542
|
+
_o.label = 21;
|
|
4543
|
+
case 21:
|
|
4479
4544
|
message = response.message || response.Message || errorCode;
|
|
4480
4545
|
response.message = message;
|
|
4481
4546
|
delete response.Message;
|
|
@@ -6174,16 +6239,16 @@ export var deserializeAws_json1_1DeleteTableCommand = function (output, context)
|
|
|
6174
6239
|
});
|
|
6175
6240
|
}); };
|
|
6176
6241
|
var deserializeAws_json1_1DeleteTableCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6177
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
6178
|
-
var
|
|
6179
|
-
return __generator(this, function (
|
|
6180
|
-
switch (
|
|
6242
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
6243
|
+
var _j;
|
|
6244
|
+
return __generator(this, function (_k) {
|
|
6245
|
+
switch (_k.label) {
|
|
6181
6246
|
case 0:
|
|
6182
6247
|
_a = [__assign({}, output)];
|
|
6183
|
-
|
|
6248
|
+
_j = {};
|
|
6184
6249
|
return [4, parseBody(output.body, context)];
|
|
6185
6250
|
case 1:
|
|
6186
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
6251
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
6187
6252
|
errorCode = "UnknownError";
|
|
6188
6253
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6189
6254
|
_b = errorCode;
|
|
@@ -6198,44 +6263,52 @@ var deserializeAws_json1_1DeleteTableCommandError = function (output, context) {
|
|
|
6198
6263
|
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
6199
6264
|
case "OperationTimeoutException": return [3, 10];
|
|
6200
6265
|
case "com.amazonaws.glue#OperationTimeoutException": return [3, 10];
|
|
6266
|
+
case "ResourceNotReadyException": return [3, 12];
|
|
6267
|
+
case "com.amazonaws.glue#ResourceNotReadyException": return [3, 12];
|
|
6201
6268
|
}
|
|
6202
|
-
return [3,
|
|
6269
|
+
return [3, 14];
|
|
6203
6270
|
case 2:
|
|
6204
6271
|
_c = [{}];
|
|
6205
6272
|
return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
6206
6273
|
case 3:
|
|
6207
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
6208
|
-
return [3,
|
|
6274
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6275
|
+
return [3, 15];
|
|
6209
6276
|
case 4:
|
|
6210
6277
|
_d = [{}];
|
|
6211
6278
|
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
6212
6279
|
case 5:
|
|
6213
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
6214
|
-
return [3,
|
|
6280
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6281
|
+
return [3, 15];
|
|
6215
6282
|
case 6:
|
|
6216
6283
|
_e = [{}];
|
|
6217
6284
|
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
6218
6285
|
case 7:
|
|
6219
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
6220
|
-
return [3,
|
|
6286
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6287
|
+
return [3, 15];
|
|
6221
6288
|
case 8:
|
|
6222
6289
|
_f = [{}];
|
|
6223
6290
|
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
6224
6291
|
case 9:
|
|
6225
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
6226
|
-
return [3,
|
|
6292
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6293
|
+
return [3, 15];
|
|
6227
6294
|
case 10:
|
|
6228
6295
|
_g = [{}];
|
|
6229
6296
|
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
6230
6297
|
case 11:
|
|
6231
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
6232
|
-
return [3,
|
|
6298
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6299
|
+
return [3, 15];
|
|
6233
6300
|
case 12:
|
|
6301
|
+
_h = [{}];
|
|
6302
|
+
return [4, deserializeAws_json1_1ResourceNotReadyExceptionResponse(parsedOutput, context)];
|
|
6303
|
+
case 13:
|
|
6304
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6305
|
+
return [3, 15];
|
|
6306
|
+
case 14:
|
|
6234
6307
|
parsedBody = parsedOutput.body;
|
|
6235
6308
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
6236
6309
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
6237
|
-
|
|
6238
|
-
case
|
|
6310
|
+
_k.label = 15;
|
|
6311
|
+
case 15:
|
|
6239
6312
|
message = response.message || response.Message || errorCode;
|
|
6240
6313
|
response.message = message;
|
|
6241
6314
|
delete response.Message;
|
|
@@ -8966,16 +9039,16 @@ export var deserializeAws_json1_1GetPartitionsCommand = function (output, contex
|
|
|
8966
9039
|
});
|
|
8967
9040
|
}); };
|
|
8968
9041
|
var deserializeAws_json1_1GetPartitionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8969
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
8970
|
-
var
|
|
8971
|
-
return __generator(this, function (
|
|
8972
|
-
switch (
|
|
9042
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, parsedBody, message;
|
|
9043
|
+
var _k;
|
|
9044
|
+
return __generator(this, function (_l) {
|
|
9045
|
+
switch (_l.label) {
|
|
8973
9046
|
case 0:
|
|
8974
9047
|
_a = [__assign({}, output)];
|
|
8975
|
-
|
|
9048
|
+
_k = {};
|
|
8976
9049
|
return [4, parseBody(output.body, context)];
|
|
8977
9050
|
case 1:
|
|
8978
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
9051
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_k.body = _l.sent(), _k)]));
|
|
8979
9052
|
errorCode = "UnknownError";
|
|
8980
9053
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8981
9054
|
_b = errorCode;
|
|
@@ -8988,46 +9061,62 @@ var deserializeAws_json1_1GetPartitionsCommandError = function (output, context)
|
|
|
8988
9061
|
case "com.amazonaws.glue#InternalServiceException": return [3, 6];
|
|
8989
9062
|
case "InvalidInputException": return [3, 8];
|
|
8990
9063
|
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
8991
|
-
case "
|
|
8992
|
-
case "com.amazonaws.glue#
|
|
9064
|
+
case "InvalidStateException": return [3, 10];
|
|
9065
|
+
case "com.amazonaws.glue#InvalidStateException": return [3, 10];
|
|
9066
|
+
case "OperationTimeoutException": return [3, 12];
|
|
9067
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
9068
|
+
case "ResourceNotReadyException": return [3, 14];
|
|
9069
|
+
case "com.amazonaws.glue#ResourceNotReadyException": return [3, 14];
|
|
8993
9070
|
}
|
|
8994
|
-
return [3,
|
|
9071
|
+
return [3, 16];
|
|
8995
9072
|
case 2:
|
|
8996
9073
|
_c = [{}];
|
|
8997
9074
|
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
8998
9075
|
case 3:
|
|
8999
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
9000
|
-
return [3,
|
|
9076
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9077
|
+
return [3, 17];
|
|
9001
9078
|
case 4:
|
|
9002
9079
|
_d = [{}];
|
|
9003
9080
|
return [4, deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context)];
|
|
9004
9081
|
case 5:
|
|
9005
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
9006
|
-
return [3,
|
|
9082
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9083
|
+
return [3, 17];
|
|
9007
9084
|
case 6:
|
|
9008
9085
|
_e = [{}];
|
|
9009
9086
|
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
9010
9087
|
case 7:
|
|
9011
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
9012
|
-
return [3,
|
|
9088
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9089
|
+
return [3, 17];
|
|
9013
9090
|
case 8:
|
|
9014
9091
|
_f = [{}];
|
|
9015
9092
|
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
9016
9093
|
case 9:
|
|
9017
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
9018
|
-
return [3,
|
|
9094
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9095
|
+
return [3, 17];
|
|
9019
9096
|
case 10:
|
|
9020
9097
|
_g = [{}];
|
|
9021
|
-
return [4,
|
|
9098
|
+
return [4, deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context)];
|
|
9022
9099
|
case 11:
|
|
9023
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
9024
|
-
return [3,
|
|
9100
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9101
|
+
return [3, 17];
|
|
9025
9102
|
case 12:
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
9029
|
-
_j.label = 13;
|
|
9103
|
+
_h = [{}];
|
|
9104
|
+
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
9030
9105
|
case 13:
|
|
9106
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9107
|
+
return [3, 17];
|
|
9108
|
+
case 14:
|
|
9109
|
+
_j = [{}];
|
|
9110
|
+
return [4, deserializeAws_json1_1ResourceNotReadyExceptionResponse(parsedOutput, context)];
|
|
9111
|
+
case 15:
|
|
9112
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9113
|
+
return [3, 17];
|
|
9114
|
+
case 16:
|
|
9115
|
+
parsedBody = parsedOutput.body;
|
|
9116
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
9117
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
9118
|
+
_l.label = 17;
|
|
9119
|
+
case 17:
|
|
9031
9120
|
message = response.message || response.Message || errorCode;
|
|
9032
9121
|
response.message = message;
|
|
9033
9122
|
delete response.Message;
|
|
@@ -9846,16 +9935,16 @@ export var deserializeAws_json1_1GetTableCommand = function (output, context) {
|
|
|
9846
9935
|
});
|
|
9847
9936
|
}); };
|
|
9848
9937
|
var deserializeAws_json1_1GetTableCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9849
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
9850
|
-
var
|
|
9851
|
-
return __generator(this, function (
|
|
9852
|
-
switch (
|
|
9938
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
9939
|
+
var _j;
|
|
9940
|
+
return __generator(this, function (_k) {
|
|
9941
|
+
switch (_k.label) {
|
|
9853
9942
|
case 0:
|
|
9854
9943
|
_a = [__assign({}, output)];
|
|
9855
|
-
|
|
9944
|
+
_j = {};
|
|
9856
9945
|
return [4, parseBody(output.body, context)];
|
|
9857
9946
|
case 1:
|
|
9858
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
9947
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
9859
9948
|
errorCode = "UnknownError";
|
|
9860
9949
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9861
9950
|
_b = errorCode;
|
|
@@ -9870,44 +9959,52 @@ var deserializeAws_json1_1GetTableCommandError = function (output, context) { re
|
|
|
9870
9959
|
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
9871
9960
|
case "OperationTimeoutException": return [3, 10];
|
|
9872
9961
|
case "com.amazonaws.glue#OperationTimeoutException": return [3, 10];
|
|
9962
|
+
case "ResourceNotReadyException": return [3, 12];
|
|
9963
|
+
case "com.amazonaws.glue#ResourceNotReadyException": return [3, 12];
|
|
9873
9964
|
}
|
|
9874
|
-
return [3,
|
|
9965
|
+
return [3, 14];
|
|
9875
9966
|
case 2:
|
|
9876
9967
|
_c = [{}];
|
|
9877
9968
|
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
9878
9969
|
case 3:
|
|
9879
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
9880
|
-
return [3,
|
|
9970
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9971
|
+
return [3, 15];
|
|
9881
9972
|
case 4:
|
|
9882
9973
|
_d = [{}];
|
|
9883
9974
|
return [4, deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context)];
|
|
9884
9975
|
case 5:
|
|
9885
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
9886
|
-
return [3,
|
|
9976
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9977
|
+
return [3, 15];
|
|
9887
9978
|
case 6:
|
|
9888
9979
|
_e = [{}];
|
|
9889
9980
|
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
9890
9981
|
case 7:
|
|
9891
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
9892
|
-
return [3,
|
|
9982
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9983
|
+
return [3, 15];
|
|
9893
9984
|
case 8:
|
|
9894
9985
|
_f = [{}];
|
|
9895
9986
|
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
9896
9987
|
case 9:
|
|
9897
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
9898
|
-
return [3,
|
|
9988
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9989
|
+
return [3, 15];
|
|
9899
9990
|
case 10:
|
|
9900
9991
|
_g = [{}];
|
|
9901
9992
|
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
9902
9993
|
case 11:
|
|
9903
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
9904
|
-
return [3,
|
|
9994
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9995
|
+
return [3, 15];
|
|
9905
9996
|
case 12:
|
|
9997
|
+
_h = [{}];
|
|
9998
|
+
return [4, deserializeAws_json1_1ResourceNotReadyExceptionResponse(parsedOutput, context)];
|
|
9999
|
+
case 13:
|
|
10000
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10001
|
+
return [3, 15];
|
|
10002
|
+
case 14:
|
|
9906
10003
|
parsedBody = parsedOutput.body;
|
|
9907
10004
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
9908
10005
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
9909
|
-
|
|
9910
|
-
case
|
|
10006
|
+
_k.label = 15;
|
|
10007
|
+
case 15:
|
|
9911
10008
|
message = response.message || response.Message || errorCode;
|
|
9912
10009
|
response.message = message;
|
|
9913
10010
|
delete response.Message;
|
|
@@ -10381,37 +10478,325 @@ var deserializeAws_json1_1GetTriggersCommandError = function (output, context) {
|
|
|
10381
10478
|
case "OperationTimeoutException": return [3, 8];
|
|
10382
10479
|
case "com.amazonaws.glue#OperationTimeoutException": return [3, 8];
|
|
10383
10480
|
}
|
|
10384
|
-
return [3, 10];
|
|
10481
|
+
return [3, 10];
|
|
10482
|
+
case 2:
|
|
10483
|
+
_c = [{}];
|
|
10484
|
+
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
10485
|
+
case 3:
|
|
10486
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10487
|
+
return [3, 11];
|
|
10488
|
+
case 4:
|
|
10489
|
+
_d = [{}];
|
|
10490
|
+
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10491
|
+
case 5:
|
|
10492
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10493
|
+
return [3, 11];
|
|
10494
|
+
case 6:
|
|
10495
|
+
_e = [{}];
|
|
10496
|
+
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
10497
|
+
case 7:
|
|
10498
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10499
|
+
return [3, 11];
|
|
10500
|
+
case 8:
|
|
10501
|
+
_f = [{}];
|
|
10502
|
+
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
10503
|
+
case 9:
|
|
10504
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10505
|
+
return [3, 11];
|
|
10506
|
+
case 10:
|
|
10507
|
+
parsedBody = parsedOutput.body;
|
|
10508
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10509
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
10510
|
+
_h.label = 11;
|
|
10511
|
+
case 11:
|
|
10512
|
+
message = response.message || response.Message || errorCode;
|
|
10513
|
+
response.message = message;
|
|
10514
|
+
delete response.Message;
|
|
10515
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
10516
|
+
}
|
|
10517
|
+
});
|
|
10518
|
+
}); };
|
|
10519
|
+
export var deserializeAws_json1_1GetUnfilteredPartitionMetadataCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10520
|
+
var data, contents, response;
|
|
10521
|
+
return __generator(this, function (_a) {
|
|
10522
|
+
switch (_a.label) {
|
|
10523
|
+
case 0:
|
|
10524
|
+
if (output.statusCode >= 300) {
|
|
10525
|
+
return [2, deserializeAws_json1_1GetUnfilteredPartitionMetadataCommandError(output, context)];
|
|
10526
|
+
}
|
|
10527
|
+
return [4, parseBody(output.body, context)];
|
|
10528
|
+
case 1:
|
|
10529
|
+
data = _a.sent();
|
|
10530
|
+
contents = {};
|
|
10531
|
+
contents = deserializeAws_json1_1GetUnfilteredPartitionMetadataResponse(data, context);
|
|
10532
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10533
|
+
return [2, Promise.resolve(response)];
|
|
10534
|
+
}
|
|
10535
|
+
});
|
|
10536
|
+
}); };
|
|
10537
|
+
var deserializeAws_json1_1GetUnfilteredPartitionMetadataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10538
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
10539
|
+
var _j;
|
|
10540
|
+
return __generator(this, function (_k) {
|
|
10541
|
+
switch (_k.label) {
|
|
10542
|
+
case 0:
|
|
10543
|
+
_a = [__assign({}, output)];
|
|
10544
|
+
_j = {};
|
|
10545
|
+
return [4, parseBody(output.body, context)];
|
|
10546
|
+
case 1:
|
|
10547
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
10548
|
+
errorCode = "UnknownError";
|
|
10549
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10550
|
+
_b = errorCode;
|
|
10551
|
+
switch (_b) {
|
|
10552
|
+
case "EntityNotFoundException": return [3, 2];
|
|
10553
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 2];
|
|
10554
|
+
case "GlueEncryptionException": return [3, 4];
|
|
10555
|
+
case "com.amazonaws.glue#GlueEncryptionException": return [3, 4];
|
|
10556
|
+
case "InternalServiceException": return [3, 6];
|
|
10557
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 6];
|
|
10558
|
+
case "InvalidInputException": return [3, 8];
|
|
10559
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
10560
|
+
case "OperationTimeoutException": return [3, 10];
|
|
10561
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 10];
|
|
10562
|
+
case "PermissionTypeMismatchException": return [3, 12];
|
|
10563
|
+
case "com.amazonaws.glue#PermissionTypeMismatchException": return [3, 12];
|
|
10564
|
+
}
|
|
10565
|
+
return [3, 14];
|
|
10566
|
+
case 2:
|
|
10567
|
+
_c = [{}];
|
|
10568
|
+
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
10569
|
+
case 3:
|
|
10570
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10571
|
+
return [3, 15];
|
|
10572
|
+
case 4:
|
|
10573
|
+
_d = [{}];
|
|
10574
|
+
return [4, deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context)];
|
|
10575
|
+
case 5:
|
|
10576
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10577
|
+
return [3, 15];
|
|
10578
|
+
case 6:
|
|
10579
|
+
_e = [{}];
|
|
10580
|
+
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10581
|
+
case 7:
|
|
10582
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10583
|
+
return [3, 15];
|
|
10584
|
+
case 8:
|
|
10585
|
+
_f = [{}];
|
|
10586
|
+
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
10587
|
+
case 9:
|
|
10588
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10589
|
+
return [3, 15];
|
|
10590
|
+
case 10:
|
|
10591
|
+
_g = [{}];
|
|
10592
|
+
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
10593
|
+
case 11:
|
|
10594
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10595
|
+
return [3, 15];
|
|
10596
|
+
case 12:
|
|
10597
|
+
_h = [{}];
|
|
10598
|
+
return [4, deserializeAws_json1_1PermissionTypeMismatchExceptionResponse(parsedOutput, context)];
|
|
10599
|
+
case 13:
|
|
10600
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10601
|
+
return [3, 15];
|
|
10602
|
+
case 14:
|
|
10603
|
+
parsedBody = parsedOutput.body;
|
|
10604
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10605
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
10606
|
+
_k.label = 15;
|
|
10607
|
+
case 15:
|
|
10608
|
+
message = response.message || response.Message || errorCode;
|
|
10609
|
+
response.message = message;
|
|
10610
|
+
delete response.Message;
|
|
10611
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
10612
|
+
}
|
|
10613
|
+
});
|
|
10614
|
+
}); };
|
|
10615
|
+
export var deserializeAws_json1_1GetUnfilteredPartitionsMetadataCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10616
|
+
var data, contents, response;
|
|
10617
|
+
return __generator(this, function (_a) {
|
|
10618
|
+
switch (_a.label) {
|
|
10619
|
+
case 0:
|
|
10620
|
+
if (output.statusCode >= 300) {
|
|
10621
|
+
return [2, deserializeAws_json1_1GetUnfilteredPartitionsMetadataCommandError(output, context)];
|
|
10622
|
+
}
|
|
10623
|
+
return [4, parseBody(output.body, context)];
|
|
10624
|
+
case 1:
|
|
10625
|
+
data = _a.sent();
|
|
10626
|
+
contents = {};
|
|
10627
|
+
contents = deserializeAws_json1_1GetUnfilteredPartitionsMetadataResponse(data, context);
|
|
10628
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10629
|
+
return [2, Promise.resolve(response)];
|
|
10630
|
+
}
|
|
10631
|
+
});
|
|
10632
|
+
}); };
|
|
10633
|
+
var deserializeAws_json1_1GetUnfilteredPartitionsMetadataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10634
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
10635
|
+
var _j;
|
|
10636
|
+
return __generator(this, function (_k) {
|
|
10637
|
+
switch (_k.label) {
|
|
10638
|
+
case 0:
|
|
10639
|
+
_a = [__assign({}, output)];
|
|
10640
|
+
_j = {};
|
|
10641
|
+
return [4, parseBody(output.body, context)];
|
|
10642
|
+
case 1:
|
|
10643
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
10644
|
+
errorCode = "UnknownError";
|
|
10645
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10646
|
+
_b = errorCode;
|
|
10647
|
+
switch (_b) {
|
|
10648
|
+
case "EntityNotFoundException": return [3, 2];
|
|
10649
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 2];
|
|
10650
|
+
case "GlueEncryptionException": return [3, 4];
|
|
10651
|
+
case "com.amazonaws.glue#GlueEncryptionException": return [3, 4];
|
|
10652
|
+
case "InternalServiceException": return [3, 6];
|
|
10653
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 6];
|
|
10654
|
+
case "InvalidInputException": return [3, 8];
|
|
10655
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
10656
|
+
case "OperationTimeoutException": return [3, 10];
|
|
10657
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 10];
|
|
10658
|
+
case "PermissionTypeMismatchException": return [3, 12];
|
|
10659
|
+
case "com.amazonaws.glue#PermissionTypeMismatchException": return [3, 12];
|
|
10660
|
+
}
|
|
10661
|
+
return [3, 14];
|
|
10662
|
+
case 2:
|
|
10663
|
+
_c = [{}];
|
|
10664
|
+
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
10665
|
+
case 3:
|
|
10666
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10667
|
+
return [3, 15];
|
|
10668
|
+
case 4:
|
|
10669
|
+
_d = [{}];
|
|
10670
|
+
return [4, deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context)];
|
|
10671
|
+
case 5:
|
|
10672
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10673
|
+
return [3, 15];
|
|
10674
|
+
case 6:
|
|
10675
|
+
_e = [{}];
|
|
10676
|
+
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10677
|
+
case 7:
|
|
10678
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10679
|
+
return [3, 15];
|
|
10680
|
+
case 8:
|
|
10681
|
+
_f = [{}];
|
|
10682
|
+
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
10683
|
+
case 9:
|
|
10684
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10685
|
+
return [3, 15];
|
|
10686
|
+
case 10:
|
|
10687
|
+
_g = [{}];
|
|
10688
|
+
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
10689
|
+
case 11:
|
|
10690
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10691
|
+
return [3, 15];
|
|
10692
|
+
case 12:
|
|
10693
|
+
_h = [{}];
|
|
10694
|
+
return [4, deserializeAws_json1_1PermissionTypeMismatchExceptionResponse(parsedOutput, context)];
|
|
10695
|
+
case 13:
|
|
10696
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10697
|
+
return [3, 15];
|
|
10698
|
+
case 14:
|
|
10699
|
+
parsedBody = parsedOutput.body;
|
|
10700
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10701
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
10702
|
+
_k.label = 15;
|
|
10703
|
+
case 15:
|
|
10704
|
+
message = response.message || response.Message || errorCode;
|
|
10705
|
+
response.message = message;
|
|
10706
|
+
delete response.Message;
|
|
10707
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
10708
|
+
}
|
|
10709
|
+
});
|
|
10710
|
+
}); };
|
|
10711
|
+
export var deserializeAws_json1_1GetUnfilteredTableMetadataCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10712
|
+
var data, contents, response;
|
|
10713
|
+
return __generator(this, function (_a) {
|
|
10714
|
+
switch (_a.label) {
|
|
10715
|
+
case 0:
|
|
10716
|
+
if (output.statusCode >= 300) {
|
|
10717
|
+
return [2, deserializeAws_json1_1GetUnfilteredTableMetadataCommandError(output, context)];
|
|
10718
|
+
}
|
|
10719
|
+
return [4, parseBody(output.body, context)];
|
|
10720
|
+
case 1:
|
|
10721
|
+
data = _a.sent();
|
|
10722
|
+
contents = {};
|
|
10723
|
+
contents = deserializeAws_json1_1GetUnfilteredTableMetadataResponse(data, context);
|
|
10724
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10725
|
+
return [2, Promise.resolve(response)];
|
|
10726
|
+
}
|
|
10727
|
+
});
|
|
10728
|
+
}); };
|
|
10729
|
+
var deserializeAws_json1_1GetUnfilteredTableMetadataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10730
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
10731
|
+
var _j;
|
|
10732
|
+
return __generator(this, function (_k) {
|
|
10733
|
+
switch (_k.label) {
|
|
10734
|
+
case 0:
|
|
10735
|
+
_a = [__assign({}, output)];
|
|
10736
|
+
_j = {};
|
|
10737
|
+
return [4, parseBody(output.body, context)];
|
|
10738
|
+
case 1:
|
|
10739
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
10740
|
+
errorCode = "UnknownError";
|
|
10741
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10742
|
+
_b = errorCode;
|
|
10743
|
+
switch (_b) {
|
|
10744
|
+
case "EntityNotFoundException": return [3, 2];
|
|
10745
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 2];
|
|
10746
|
+
case "GlueEncryptionException": return [3, 4];
|
|
10747
|
+
case "com.amazonaws.glue#GlueEncryptionException": return [3, 4];
|
|
10748
|
+
case "InternalServiceException": return [3, 6];
|
|
10749
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 6];
|
|
10750
|
+
case "InvalidInputException": return [3, 8];
|
|
10751
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
10752
|
+
case "OperationTimeoutException": return [3, 10];
|
|
10753
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 10];
|
|
10754
|
+
case "PermissionTypeMismatchException": return [3, 12];
|
|
10755
|
+
case "com.amazonaws.glue#PermissionTypeMismatchException": return [3, 12];
|
|
10756
|
+
}
|
|
10757
|
+
return [3, 14];
|
|
10385
10758
|
case 2:
|
|
10386
10759
|
_c = [{}];
|
|
10387
10760
|
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
10388
10761
|
case 3:
|
|
10389
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
10390
|
-
return [3,
|
|
10762
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10763
|
+
return [3, 15];
|
|
10391
10764
|
case 4:
|
|
10392
10765
|
_d = [{}];
|
|
10393
|
-
return [4,
|
|
10766
|
+
return [4, deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context)];
|
|
10394
10767
|
case 5:
|
|
10395
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
10396
|
-
return [3,
|
|
10768
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10769
|
+
return [3, 15];
|
|
10397
10770
|
case 6:
|
|
10398
10771
|
_e = [{}];
|
|
10399
|
-
return [4,
|
|
10772
|
+
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10400
10773
|
case 7:
|
|
10401
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
10402
|
-
return [3,
|
|
10774
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10775
|
+
return [3, 15];
|
|
10403
10776
|
case 8:
|
|
10404
10777
|
_f = [{}];
|
|
10405
|
-
return [4,
|
|
10778
|
+
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
10406
10779
|
case 9:
|
|
10407
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
10408
|
-
return [3,
|
|
10780
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10781
|
+
return [3, 15];
|
|
10409
10782
|
case 10:
|
|
10783
|
+
_g = [{}];
|
|
10784
|
+
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
10785
|
+
case 11:
|
|
10786
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10787
|
+
return [3, 15];
|
|
10788
|
+
case 12:
|
|
10789
|
+
_h = [{}];
|
|
10790
|
+
return [4, deserializeAws_json1_1PermissionTypeMismatchExceptionResponse(parsedOutput, context)];
|
|
10791
|
+
case 13:
|
|
10792
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10793
|
+
return [3, 15];
|
|
10794
|
+
case 14:
|
|
10410
10795
|
parsedBody = parsedOutput.body;
|
|
10411
10796
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10412
10797
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
10413
|
-
|
|
10414
|
-
case
|
|
10798
|
+
_k.label = 15;
|
|
10799
|
+
case 15:
|
|
10415
10800
|
message = response.message || response.Message || errorCode;
|
|
10416
10801
|
response.message = message;
|
|
10417
10802
|
delete response.Message;
|
|
@@ -15214,16 +15599,16 @@ export var deserializeAws_json1_1UpdateTableCommand = function (output, context)
|
|
|
15214
15599
|
});
|
|
15215
15600
|
}); };
|
|
15216
15601
|
var deserializeAws_json1_1UpdateTableCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15217
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, parsedBody, message;
|
|
15218
|
-
var
|
|
15219
|
-
return __generator(this, function (
|
|
15220
|
-
switch (
|
|
15602
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, _k, parsedBody, message;
|
|
15603
|
+
var _l;
|
|
15604
|
+
return __generator(this, function (_m) {
|
|
15605
|
+
switch (_m.label) {
|
|
15221
15606
|
case 0:
|
|
15222
15607
|
_a = [__assign({}, output)];
|
|
15223
|
-
|
|
15608
|
+
_l = {};
|
|
15224
15609
|
return [4, parseBody(output.body, context)];
|
|
15225
15610
|
case 1:
|
|
15226
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
15611
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_l.body = _m.sent(), _l)]));
|
|
15227
15612
|
errorCode = "UnknownError";
|
|
15228
15613
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
15229
15614
|
_b = errorCode;
|
|
@@ -15240,58 +15625,66 @@ var deserializeAws_json1_1UpdateTableCommandError = function (output, context) {
|
|
|
15240
15625
|
case "com.amazonaws.glue#InvalidInputException": return [3, 10];
|
|
15241
15626
|
case "OperationTimeoutException": return [3, 12];
|
|
15242
15627
|
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
15243
|
-
case "
|
|
15244
|
-
case "com.amazonaws.glue#
|
|
15628
|
+
case "ResourceNotReadyException": return [3, 14];
|
|
15629
|
+
case "com.amazonaws.glue#ResourceNotReadyException": return [3, 14];
|
|
15630
|
+
case "ResourceNumberLimitExceededException": return [3, 16];
|
|
15631
|
+
case "com.amazonaws.glue#ResourceNumberLimitExceededException": return [3, 16];
|
|
15245
15632
|
}
|
|
15246
|
-
return [3,
|
|
15633
|
+
return [3, 18];
|
|
15247
15634
|
case 2:
|
|
15248
15635
|
_c = [{}];
|
|
15249
15636
|
return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
15250
15637
|
case 3:
|
|
15251
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
15252
|
-
return [3,
|
|
15638
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
15639
|
+
return [3, 19];
|
|
15253
15640
|
case 4:
|
|
15254
15641
|
_d = [{}];
|
|
15255
15642
|
return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
15256
15643
|
case 5:
|
|
15257
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
15258
|
-
return [3,
|
|
15644
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
15645
|
+
return [3, 19];
|
|
15259
15646
|
case 6:
|
|
15260
15647
|
_e = [{}];
|
|
15261
15648
|
return [4, deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context)];
|
|
15262
15649
|
case 7:
|
|
15263
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
15264
|
-
return [3,
|
|
15650
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
15651
|
+
return [3, 19];
|
|
15265
15652
|
case 8:
|
|
15266
15653
|
_f = [{}];
|
|
15267
15654
|
return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
15268
15655
|
case 9:
|
|
15269
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
15270
|
-
return [3,
|
|
15656
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
15657
|
+
return [3, 19];
|
|
15271
15658
|
case 10:
|
|
15272
15659
|
_g = [{}];
|
|
15273
15660
|
return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
15274
15661
|
case 11:
|
|
15275
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
15276
|
-
return [3,
|
|
15662
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
15663
|
+
return [3, 19];
|
|
15277
15664
|
case 12:
|
|
15278
15665
|
_h = [{}];
|
|
15279
15666
|
return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
15280
15667
|
case 13:
|
|
15281
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(
|
|
15282
|
-
return [3,
|
|
15668
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
15669
|
+
return [3, 19];
|
|
15283
15670
|
case 14:
|
|
15284
15671
|
_j = [{}];
|
|
15285
|
-
return [4,
|
|
15672
|
+
return [4, deserializeAws_json1_1ResourceNotReadyExceptionResponse(parsedOutput, context)];
|
|
15286
15673
|
case 15:
|
|
15287
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(
|
|
15288
|
-
return [3,
|
|
15674
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
15675
|
+
return [3, 19];
|
|
15289
15676
|
case 16:
|
|
15677
|
+
_k = [{}];
|
|
15678
|
+
return [4, deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse(parsedOutput, context)];
|
|
15679
|
+
case 17:
|
|
15680
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _k.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
15681
|
+
return [3, 19];
|
|
15682
|
+
case 18:
|
|
15290
15683
|
parsedBody = parsedOutput.body;
|
|
15291
15684
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
15292
15685
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
15293
|
-
|
|
15294
|
-
case
|
|
15686
|
+
_m.label = 19;
|
|
15687
|
+
case 19:
|
|
15295
15688
|
message = response.message || response.Message || errorCode;
|
|
15296
15689
|
response.message = message;
|
|
15297
15690
|
delete response.Message;
|
|
@@ -15707,6 +16100,15 @@ var deserializeAws_json1_1InvalidInputExceptionResponse = function (parsedOutput
|
|
|
15707
16100
|
return [2, contents];
|
|
15708
16101
|
});
|
|
15709
16102
|
}); };
|
|
16103
|
+
var deserializeAws_json1_1InvalidStateExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16104
|
+
var body, deserialized, contents;
|
|
16105
|
+
return __generator(this, function (_a) {
|
|
16106
|
+
body = parsedOutput.body;
|
|
16107
|
+
deserialized = deserializeAws_json1_1InvalidStateException(body, context);
|
|
16108
|
+
contents = __assign({ name: "InvalidStateException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
16109
|
+
return [2, contents];
|
|
16110
|
+
});
|
|
16111
|
+
}); };
|
|
15710
16112
|
var deserializeAws_json1_1MLTransformNotReadyExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15711
16113
|
var body, deserialized, contents;
|
|
15712
16114
|
return __generator(this, function (_a) {
|
|
@@ -15734,6 +16136,24 @@ var deserializeAws_json1_1OperationTimeoutExceptionResponse = function (parsedOu
|
|
|
15734
16136
|
return [2, contents];
|
|
15735
16137
|
});
|
|
15736
16138
|
}); };
|
|
16139
|
+
var deserializeAws_json1_1PermissionTypeMismatchExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16140
|
+
var body, deserialized, contents;
|
|
16141
|
+
return __generator(this, function (_a) {
|
|
16142
|
+
body = parsedOutput.body;
|
|
16143
|
+
deserialized = deserializeAws_json1_1PermissionTypeMismatchException(body, context);
|
|
16144
|
+
contents = __assign({ name: "PermissionTypeMismatchException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
16145
|
+
return [2, contents];
|
|
16146
|
+
});
|
|
16147
|
+
}); };
|
|
16148
|
+
var deserializeAws_json1_1ResourceNotReadyExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16149
|
+
var body, deserialized, contents;
|
|
16150
|
+
return __generator(this, function (_a) {
|
|
16151
|
+
body = parsedOutput.body;
|
|
16152
|
+
deserialized = deserializeAws_json1_1ResourceNotReadyException(body, context);
|
|
16153
|
+
contents = __assign({ name: "ResourceNotReadyException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
16154
|
+
return [2, contents];
|
|
16155
|
+
});
|
|
16156
|
+
}); };
|
|
15737
16157
|
var deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15738
16158
|
var body, deserialized, contents;
|
|
15739
16159
|
return __generator(this, function (_a) {
|
|
@@ -15816,6 +16236,10 @@ var serializeAws_json1_1AdditionalPlanOptionsMap = function (input, context) {
|
|
|
15816
16236
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
15817
16237
|
}, {});
|
|
15818
16238
|
};
|
|
16239
|
+
var serializeAws_json1_1AuditContext = function (input, context) {
|
|
16240
|
+
return __assign({}, (input.AdditionalAuditContext !== undefined &&
|
|
16241
|
+
input.AdditionalAuditContext !== null && { AdditionalAuditContext: input.AdditionalAuditContext }));
|
|
16242
|
+
};
|
|
15819
16243
|
var serializeAws_json1_1BatchCreatePartitionRequest = function (input, context) {
|
|
15820
16244
|
return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.PartitionInputList !== undefined &&
|
|
15821
16245
|
input.PartitionInputList !== null && {
|
|
@@ -15855,10 +16279,10 @@ var serializeAws_json1_1BatchDeleteTableNameList = function (input, context) {
|
|
|
15855
16279
|
});
|
|
15856
16280
|
};
|
|
15857
16281
|
var serializeAws_json1_1BatchDeleteTableRequest = function (input, context) {
|
|
15858
|
-
return __assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.TablesToDelete !== undefined &&
|
|
16282
|
+
return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.TablesToDelete !== undefined &&
|
|
15859
16283
|
input.TablesToDelete !== null && {
|
|
15860
16284
|
TablesToDelete: serializeAws_json1_1BatchDeleteTableNameList(input.TablesToDelete, context),
|
|
15861
|
-
}));
|
|
16285
|
+
})), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
|
|
15862
16286
|
};
|
|
15863
16287
|
var serializeAws_json1_1BatchDeleteTableVersionList = function (input, context) {
|
|
15864
16288
|
return input
|
|
@@ -16020,7 +16444,8 @@ var serializeAws_json1_1CatalogTablesList = function (input, context) {
|
|
|
16020
16444
|
});
|
|
16021
16445
|
};
|
|
16022
16446
|
var serializeAws_json1_1CatalogTarget = function (input, context) {
|
|
16023
|
-
return __assign(__assign(
|
|
16447
|
+
return __assign(__assign(__assign({}, (input.ConnectionName !== undefined &&
|
|
16448
|
+
input.ConnectionName !== null && { ConnectionName: input.ConnectionName })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Tables !== undefined &&
|
|
16024
16449
|
input.Tables !== null && { Tables: serializeAws_json1_1CatalogTablesList(input.Tables, context) }));
|
|
16025
16450
|
};
|
|
16026
16451
|
var serializeAws_json1_1CatalogTargetList = function (input, context) {
|
|
@@ -16187,9 +16612,12 @@ var serializeAws_json1_1CrawlerNameList = function (input, context) {
|
|
|
16187
16612
|
});
|
|
16188
16613
|
};
|
|
16189
16614
|
var serializeAws_json1_1CrawlerTargets = function (input, context) {
|
|
16190
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CatalogTargets !== undefined &&
|
|
16615
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogTargets !== undefined &&
|
|
16191
16616
|
input.CatalogTargets !== null && {
|
|
16192
16617
|
CatalogTargets: serializeAws_json1_1CatalogTargetList(input.CatalogTargets, context),
|
|
16618
|
+
})), (input.DeltaTargets !== undefined &&
|
|
16619
|
+
input.DeltaTargets !== null && {
|
|
16620
|
+
DeltaTargets: serializeAws_json1_1DeltaTargetList(input.DeltaTargets, context),
|
|
16193
16621
|
})), (input.DynamoDBTargets !== undefined &&
|
|
16194
16622
|
input.DynamoDBTargets !== null && {
|
|
16195
16623
|
DynamoDBTargets: serializeAws_json1_1DynamoDBTargetList(input.DynamoDBTargets, context),
|
|
@@ -16226,13 +16654,16 @@ var serializeAws_json1_1CreateConnectionRequest = function (input, context) {
|
|
|
16226
16654
|
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsMap(input.Tags, context) }));
|
|
16227
16655
|
};
|
|
16228
16656
|
var serializeAws_json1_1CreateCrawlerRequest = function (input, context) {
|
|
16229
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Classifiers !== undefined &&
|
|
16657
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Classifiers !== undefined &&
|
|
16230
16658
|
input.Classifiers !== null && {
|
|
16231
16659
|
Classifiers: serializeAws_json1_1ClassifierNameList(input.Classifiers, context),
|
|
16232
16660
|
})), (input.Configuration !== undefined && input.Configuration !== null && { Configuration: input.Configuration })), (input.CrawlerSecurityConfiguration !== undefined &&
|
|
16233
16661
|
input.CrawlerSecurityConfiguration !== null && {
|
|
16234
16662
|
CrawlerSecurityConfiguration: input.CrawlerSecurityConfiguration,
|
|
16235
|
-
})), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.
|
|
16663
|
+
})), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.LakeFormationConfiguration !== undefined &&
|
|
16664
|
+
input.LakeFormationConfiguration !== null && {
|
|
16665
|
+
LakeFormationConfiguration: serializeAws_json1_1LakeFormationConfiguration(input.LakeFormationConfiguration, context),
|
|
16666
|
+
})), (input.LineageConfiguration !== undefined &&
|
|
16236
16667
|
input.LineageConfiguration !== null && {
|
|
16237
16668
|
LineageConfiguration: serializeAws_json1_1LineageConfiguration(input.LineageConfiguration, context),
|
|
16238
16669
|
})), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RecrawlPolicy !== undefined &&
|
|
@@ -16342,11 +16773,11 @@ var serializeAws_json1_1CreateSecurityConfigurationRequest = function (input, co
|
|
|
16342
16773
|
})), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
16343
16774
|
};
|
|
16344
16775
|
var serializeAws_json1_1CreateTableRequest = function (input, context) {
|
|
16345
|
-
return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.PartitionIndexes !== undefined &&
|
|
16776
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.PartitionIndexes !== undefined &&
|
|
16346
16777
|
input.PartitionIndexes !== null && {
|
|
16347
16778
|
PartitionIndexes: serializeAws_json1_1PartitionIndexList(input.PartitionIndexes, context),
|
|
16348
16779
|
})), (input.TableInput !== undefined &&
|
|
16349
|
-
input.TableInput !== null && { TableInput: serializeAws_json1_1TableInput(input.TableInput, context) }));
|
|
16780
|
+
input.TableInput !== null && { TableInput: serializeAws_json1_1TableInput(input.TableInput, context) })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
|
|
16350
16781
|
};
|
|
16351
16782
|
var serializeAws_json1_1CreateTriggerRequest = function (input, context) {
|
|
16352
16783
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Actions !== undefined &&
|
|
@@ -16519,7 +16950,7 @@ var serializeAws_json1_1DeleteSecurityConfigurationRequest = function (input, co
|
|
|
16519
16950
|
return __assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
16520
16951
|
};
|
|
16521
16952
|
var serializeAws_json1_1DeleteTableRequest = function (input, context) {
|
|
16522
|
-
return __assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
16953
|
+
return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
|
|
16523
16954
|
};
|
|
16524
16955
|
var serializeAws_json1_1DeleteTableVersionRequest = function (input, context) {
|
|
16525
16956
|
return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.VersionId !== undefined && input.VersionId !== null && { VersionId: input.VersionId }));
|
|
@@ -16533,6 +16964,21 @@ var serializeAws_json1_1DeleteUserDefinedFunctionRequest = function (input, cont
|
|
|
16533
16964
|
var serializeAws_json1_1DeleteWorkflowRequest = function (input, context) {
|
|
16534
16965
|
return __assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
16535
16966
|
};
|
|
16967
|
+
var serializeAws_json1_1DeltaTarget = function (input, context) {
|
|
16968
|
+
return __assign(__assign(__assign({}, (input.ConnectionName !== undefined &&
|
|
16969
|
+
input.ConnectionName !== null && { ConnectionName: input.ConnectionName })), (input.DeltaTables !== undefined &&
|
|
16970
|
+
input.DeltaTables !== null && { DeltaTables: serializeAws_json1_1PathList(input.DeltaTables, context) })), (input.WriteManifest !== undefined && input.WriteManifest !== null && { WriteManifest: input.WriteManifest }));
|
|
16971
|
+
};
|
|
16972
|
+
var serializeAws_json1_1DeltaTargetList = function (input, context) {
|
|
16973
|
+
return input
|
|
16974
|
+
.filter(function (e) { return e != null; })
|
|
16975
|
+
.map(function (entry) {
|
|
16976
|
+
if (entry === null) {
|
|
16977
|
+
return null;
|
|
16978
|
+
}
|
|
16979
|
+
return serializeAws_json1_1DeltaTarget(entry, context);
|
|
16980
|
+
});
|
|
16981
|
+
};
|
|
16536
16982
|
var serializeAws_json1_1DevEndpointCustomLibraries = function (input, context) {
|
|
16537
16983
|
return __assign(__assign({}, (input.ExtraJarsS3Path !== undefined &&
|
|
16538
16984
|
input.ExtraJarsS3Path !== null && { ExtraJarsS3Path: input.ExtraJarsS3Path })), (input.ExtraPythonLibsS3Path !== undefined &&
|
|
@@ -16748,9 +17194,10 @@ var serializeAws_json1_1GetPartitionRequest = function (input, context) {
|
|
|
16748
17194
|
})), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
16749
17195
|
};
|
|
16750
17196
|
var serializeAws_json1_1GetPartitionsRequest = function (input, context) {
|
|
16751
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.ExcludeColumnSchema !== undefined &&
|
|
16752
|
-
input.ExcludeColumnSchema !== null && { ExcludeColumnSchema: input.ExcludeColumnSchema })), (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.
|
|
16753
|
-
input.
|
|
17197
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.ExcludeColumnSchema !== undefined &&
|
|
17198
|
+
input.ExcludeColumnSchema !== null && { ExcludeColumnSchema: input.ExcludeColumnSchema })), (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.QueryAsOfTime !== undefined &&
|
|
17199
|
+
input.QueryAsOfTime !== null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000) })), (input.Segment !== undefined &&
|
|
17200
|
+
input.Segment !== null && { Segment: serializeAws_json1_1Segment(input.Segment, context) })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
|
|
16754
17201
|
};
|
|
16755
17202
|
var serializeAws_json1_1GetPlanRequest = function (input, context) {
|
|
16756
17203
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalPlanOptionsMap !== undefined &&
|
|
@@ -16807,10 +17254,12 @@ var serializeAws_json1_1GetSecurityConfigurationsRequest = function (input, cont
|
|
|
16807
17254
|
return __assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
16808
17255
|
};
|
|
16809
17256
|
var serializeAws_json1_1GetTableRequest = function (input, context) {
|
|
16810
|
-
return __assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }))
|
|
17257
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.QueryAsOfTime !== undefined &&
|
|
17258
|
+
input.QueryAsOfTime !== null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000) })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
|
|
16811
17259
|
};
|
|
16812
17260
|
var serializeAws_json1_1GetTablesRequest = function (input, context) {
|
|
16813
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }))
|
|
17261
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.QueryAsOfTime !== undefined &&
|
|
17262
|
+
input.QueryAsOfTime !== null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000) })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
|
|
16814
17263
|
};
|
|
16815
17264
|
var serializeAws_json1_1GetTableVersionRequest = function (input, context) {
|
|
16816
17265
|
return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.VersionId !== undefined && input.VersionId !== null && { VersionId: input.VersionId }));
|
|
@@ -16828,6 +17277,31 @@ var serializeAws_json1_1GetTriggersRequest = function (input, context) {
|
|
|
16828
17277
|
return __assign(__assign(__assign({}, (input.DependentJobName !== undefined &&
|
|
16829
17278
|
input.DependentJobName !== null && { DependentJobName: input.DependentJobName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
16830
17279
|
};
|
|
17280
|
+
var serializeAws_json1_1GetUnfilteredPartitionMetadataRequest = function (input, context) {
|
|
17281
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuditContext !== undefined &&
|
|
17282
|
+
input.AuditContext !== null && { AuditContext: serializeAws_json1_1AuditContext(input.AuditContext, context) })), (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.PartitionValues !== undefined &&
|
|
17283
|
+
input.PartitionValues !== null && {
|
|
17284
|
+
PartitionValues: serializeAws_json1_1ValueStringList(input.PartitionValues, context),
|
|
17285
|
+
})), (input.SupportedPermissionTypes !== undefined &&
|
|
17286
|
+
input.SupportedPermissionTypes !== null && {
|
|
17287
|
+
SupportedPermissionTypes: serializeAws_json1_1PermissionTypeList(input.SupportedPermissionTypes, context),
|
|
17288
|
+
})), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
17289
|
+
};
|
|
17290
|
+
var serializeAws_json1_1GetUnfilteredPartitionsMetadataRequest = function (input, context) {
|
|
17291
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuditContext !== undefined &&
|
|
17292
|
+
input.AuditContext !== null && { AuditContext: serializeAws_json1_1AuditContext(input.AuditContext, context) })), (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Segment !== undefined &&
|
|
17293
|
+
input.Segment !== null && { Segment: serializeAws_json1_1Segment(input.Segment, context) })), (input.SupportedPermissionTypes !== undefined &&
|
|
17294
|
+
input.SupportedPermissionTypes !== null && {
|
|
17295
|
+
SupportedPermissionTypes: serializeAws_json1_1PermissionTypeList(input.SupportedPermissionTypes, context),
|
|
17296
|
+
})), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
17297
|
+
};
|
|
17298
|
+
var serializeAws_json1_1GetUnfilteredTableMetadataRequest = function (input, context) {
|
|
17299
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AuditContext !== undefined &&
|
|
17300
|
+
input.AuditContext !== null && { AuditContext: serializeAws_json1_1AuditContext(input.AuditContext, context) })), (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SupportedPermissionTypes !== undefined &&
|
|
17301
|
+
input.SupportedPermissionTypes !== null && {
|
|
17302
|
+
SupportedPermissionTypes: serializeAws_json1_1PermissionTypeList(input.SupportedPermissionTypes, context),
|
|
17303
|
+
}));
|
|
17304
|
+
};
|
|
16831
17305
|
var serializeAws_json1_1GetUserDefinedFunctionRequest = function (input, context) {
|
|
16832
17306
|
return __assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.FunctionName !== undefined && input.FunctionName !== null && { FunctionName: input.FunctionName }));
|
|
16833
17307
|
};
|
|
@@ -16927,6 +17401,10 @@ var serializeAws_json1_1KeyList = function (input, context) {
|
|
|
16927
17401
|
return entry;
|
|
16928
17402
|
});
|
|
16929
17403
|
};
|
|
17404
|
+
var serializeAws_json1_1LakeFormationConfiguration = function (input, context) {
|
|
17405
|
+
return __assign(__assign({}, (input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId })), (input.UseLakeFormationCredentials !== undefined &&
|
|
17406
|
+
input.UseLakeFormationCredentials !== null && { UseLakeFormationCredentials: input.UseLakeFormationCredentials }));
|
|
17407
|
+
};
|
|
16930
17408
|
var serializeAws_json1_1LineageConfiguration = function (input, context) {
|
|
16931
17409
|
return __assign({}, (input.CrawlerLineageSettings !== undefined &&
|
|
16932
17410
|
input.CrawlerLineageSettings !== null && { CrawlerLineageSettings: input.CrawlerLineageSettings }));
|
|
@@ -16981,6 +17459,16 @@ var serializeAws_json1_1LocationMap = function (input, context) {
|
|
|
16981
17459
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
16982
17460
|
}, {});
|
|
16983
17461
|
};
|
|
17462
|
+
var serializeAws_json1_1LocationStringList = function (input, context) {
|
|
17463
|
+
return input
|
|
17464
|
+
.filter(function (e) { return e != null; })
|
|
17465
|
+
.map(function (entry) {
|
|
17466
|
+
if (entry === null) {
|
|
17467
|
+
return null;
|
|
17468
|
+
}
|
|
17469
|
+
return entry;
|
|
17470
|
+
});
|
|
17471
|
+
};
|
|
16984
17472
|
var serializeAws_json1_1LongColumnStatisticsData = function (input, context) {
|
|
16985
17473
|
return __assign(__assign(__assign(__assign({}, (input.MaximumValue !== undefined && input.MaximumValue !== null && { MaximumValue: input.MaximumValue })), (input.MinimumValue !== undefined && input.MinimumValue !== null && { MinimumValue: input.MinimumValue })), (input.NumberOfDistinctValues !== undefined &&
|
|
16986
17474
|
input.NumberOfDistinctValues !== null && { NumberOfDistinctValues: input.NumberOfDistinctValues })), (input.NumberOfNulls !== undefined && input.NumberOfNulls !== null && { NumberOfNulls: input.NumberOfNulls }));
|
|
@@ -17163,6 +17651,16 @@ var serializeAws_json1_1PermissionList = function (input, context) {
|
|
|
17163
17651
|
return entry;
|
|
17164
17652
|
});
|
|
17165
17653
|
};
|
|
17654
|
+
var serializeAws_json1_1PermissionTypeList = function (input, context) {
|
|
17655
|
+
return input
|
|
17656
|
+
.filter(function (e) { return e != null; })
|
|
17657
|
+
.map(function (entry) {
|
|
17658
|
+
if (entry === null) {
|
|
17659
|
+
return null;
|
|
17660
|
+
}
|
|
17661
|
+
return entry;
|
|
17662
|
+
});
|
|
17663
|
+
};
|
|
17166
17664
|
var serializeAws_json1_1PhysicalConnectionRequirements = function (input, context) {
|
|
17167
17665
|
return __assign(__assign(__assign({}, (input.AvailabilityZone !== undefined &&
|
|
17168
17666
|
input.AvailabilityZone !== null && { AvailabilityZone: input.AvailabilityZone })), (input.SecurityGroupIdList !== undefined &&
|
|
@@ -17443,7 +17941,10 @@ var serializeAws_json1_1StopWorkflowRunRequest = function (input, context) {
|
|
|
17443
17941
|
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RunId !== undefined && input.RunId !== null && { RunId: input.RunId }));
|
|
17444
17942
|
};
|
|
17445
17943
|
var serializeAws_json1_1StorageDescriptor = function (input, context) {
|
|
17446
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.
|
|
17944
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalLocations !== undefined &&
|
|
17945
|
+
input.AdditionalLocations !== null && {
|
|
17946
|
+
AdditionalLocations: serializeAws_json1_1LocationStringList(input.AdditionalLocations, context),
|
|
17947
|
+
})), (input.BucketColumns !== undefined &&
|
|
17447
17948
|
input.BucketColumns !== null && {
|
|
17448
17949
|
BucketColumns: serializeAws_json1_1NameStringList(input.BucketColumns, context),
|
|
17449
17950
|
})), (input.Columns !== undefined &&
|
|
@@ -17632,13 +18133,16 @@ var serializeAws_json1_1UpdateConnectionRequest = function (input, context) {
|
|
|
17632
18133
|
})), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
17633
18134
|
};
|
|
17634
18135
|
var serializeAws_json1_1UpdateCrawlerRequest = function (input, context) {
|
|
17635
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Classifiers !== undefined &&
|
|
18136
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Classifiers !== undefined &&
|
|
17636
18137
|
input.Classifiers !== null && {
|
|
17637
18138
|
Classifiers: serializeAws_json1_1ClassifierNameList(input.Classifiers, context),
|
|
17638
18139
|
})), (input.Configuration !== undefined && input.Configuration !== null && { Configuration: input.Configuration })), (input.CrawlerSecurityConfiguration !== undefined &&
|
|
17639
18140
|
input.CrawlerSecurityConfiguration !== null && {
|
|
17640
18141
|
CrawlerSecurityConfiguration: input.CrawlerSecurityConfiguration,
|
|
17641
|
-
})), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.
|
|
18142
|
+
})), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.LakeFormationConfiguration !== undefined &&
|
|
18143
|
+
input.LakeFormationConfiguration !== null && {
|
|
18144
|
+
LakeFormationConfiguration: serializeAws_json1_1LakeFormationConfiguration(input.LakeFormationConfiguration, context),
|
|
18145
|
+
})), (input.LineageConfiguration !== undefined &&
|
|
17642
18146
|
input.LineageConfiguration !== null && {
|
|
17643
18147
|
LineageConfiguration: serializeAws_json1_1LineageConfiguration(input.LineageConfiguration, context),
|
|
17644
18148
|
})), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RecrawlPolicy !== undefined &&
|
|
@@ -17722,8 +18226,8 @@ var serializeAws_json1_1UpdateSchemaInput = function (input, context) {
|
|
|
17722
18226
|
}));
|
|
17723
18227
|
};
|
|
17724
18228
|
var serializeAws_json1_1UpdateTableRequest = function (input, context) {
|
|
17725
|
-
return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.SkipArchive !== undefined && input.SkipArchive !== null && { SkipArchive: input.SkipArchive })), (input.TableInput !== undefined &&
|
|
17726
|
-
input.TableInput !== null && { TableInput: serializeAws_json1_1TableInput(input.TableInput, context) }));
|
|
18229
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.SkipArchive !== undefined && input.SkipArchive !== null && { SkipArchive: input.SkipArchive })), (input.TableInput !== undefined &&
|
|
18230
|
+
input.TableInput !== null && { TableInput: serializeAws_json1_1TableInput(input.TableInput, context) })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
|
|
17727
18231
|
};
|
|
17728
18232
|
var serializeAws_json1_1UpdateTriggerRequest = function (input, context) {
|
|
17729
18233
|
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.TriggerUpdate !== undefined &&
|
|
@@ -18162,6 +18666,7 @@ var deserializeAws_json1_1CatalogTablesList = function (output, context) {
|
|
|
18162
18666
|
};
|
|
18163
18667
|
var deserializeAws_json1_1CatalogTarget = function (output, context) {
|
|
18164
18668
|
return {
|
|
18669
|
+
ConnectionName: __expectString(output.ConnectionName),
|
|
18165
18670
|
DatabaseName: __expectString(output.DatabaseName),
|
|
18166
18671
|
Tables: output.Tables !== undefined && output.Tables !== null
|
|
18167
18672
|
? deserializeAws_json1_1CatalogTablesList(output.Tables, context)
|
|
@@ -18314,6 +18819,22 @@ var deserializeAws_json1_1ColumnList = function (output, context) {
|
|
|
18314
18819
|
return deserializeAws_json1_1Column(entry, context);
|
|
18315
18820
|
});
|
|
18316
18821
|
};
|
|
18822
|
+
var deserializeAws_json1_1ColumnRowFilter = function (output, context) {
|
|
18823
|
+
return {
|
|
18824
|
+
ColumnName: __expectString(output.ColumnName),
|
|
18825
|
+
RowFilterExpression: __expectString(output.RowFilterExpression),
|
|
18826
|
+
};
|
|
18827
|
+
};
|
|
18828
|
+
var deserializeAws_json1_1ColumnRowFilterList = function (output, context) {
|
|
18829
|
+
return (output || [])
|
|
18830
|
+
.filter(function (e) { return e != null; })
|
|
18831
|
+
.map(function (entry) {
|
|
18832
|
+
if (entry === null) {
|
|
18833
|
+
return null;
|
|
18834
|
+
}
|
|
18835
|
+
return deserializeAws_json1_1ColumnRowFilter(entry, context);
|
|
18836
|
+
});
|
|
18837
|
+
};
|
|
18317
18838
|
var deserializeAws_json1_1ColumnStatistics = function (output, context) {
|
|
18318
18839
|
return {
|
|
18319
18840
|
AnalyzedTime: output.AnalyzedTime !== undefined && output.AnalyzedTime !== null
|
|
@@ -18522,6 +19043,9 @@ var deserializeAws_json1_1Crawler = function (output, context) {
|
|
|
18522
19043
|
: undefined,
|
|
18523
19044
|
DatabaseName: __expectString(output.DatabaseName),
|
|
18524
19045
|
Description: __expectString(output.Description),
|
|
19046
|
+
LakeFormationConfiguration: output.LakeFormationConfiguration !== undefined && output.LakeFormationConfiguration !== null
|
|
19047
|
+
? deserializeAws_json1_1LakeFormationConfiguration(output.LakeFormationConfiguration, context)
|
|
19048
|
+
: undefined,
|
|
18525
19049
|
LastCrawl: output.LastCrawl !== undefined && output.LastCrawl !== null
|
|
18526
19050
|
? deserializeAws_json1_1LastCrawlInfo(output.LastCrawl, context)
|
|
18527
19051
|
: undefined,
|
|
@@ -18619,6 +19143,9 @@ var deserializeAws_json1_1CrawlerTargets = function (output, context) {
|
|
|
18619
19143
|
CatalogTargets: output.CatalogTargets !== undefined && output.CatalogTargets !== null
|
|
18620
19144
|
? deserializeAws_json1_1CatalogTargetList(output.CatalogTargets, context)
|
|
18621
19145
|
: undefined,
|
|
19146
|
+
DeltaTargets: output.DeltaTargets !== undefined && output.DeltaTargets !== null
|
|
19147
|
+
? deserializeAws_json1_1DeltaTargetList(output.DeltaTargets, context)
|
|
19148
|
+
: undefined,
|
|
18622
19149
|
DynamoDBTargets: output.DynamoDBTargets !== undefined && output.DynamoDBTargets !== null
|
|
18623
19150
|
? deserializeAws_json1_1DynamoDBTargetList(output.DynamoDBTargets, context)
|
|
18624
19151
|
: undefined,
|
|
@@ -18986,6 +19513,25 @@ var deserializeAws_json1_1DeleteWorkflowResponse = function (output, context) {
|
|
|
18986
19513
|
Name: __expectString(output.Name),
|
|
18987
19514
|
};
|
|
18988
19515
|
};
|
|
19516
|
+
var deserializeAws_json1_1DeltaTarget = function (output, context) {
|
|
19517
|
+
return {
|
|
19518
|
+
ConnectionName: __expectString(output.ConnectionName),
|
|
19519
|
+
DeltaTables: output.DeltaTables !== undefined && output.DeltaTables !== null
|
|
19520
|
+
? deserializeAws_json1_1PathList(output.DeltaTables, context)
|
|
19521
|
+
: undefined,
|
|
19522
|
+
WriteManifest: __expectBoolean(output.WriteManifest),
|
|
19523
|
+
};
|
|
19524
|
+
};
|
|
19525
|
+
var deserializeAws_json1_1DeltaTargetList = function (output, context) {
|
|
19526
|
+
return (output || [])
|
|
19527
|
+
.filter(function (e) { return e != null; })
|
|
19528
|
+
.map(function (entry) {
|
|
19529
|
+
if (entry === null) {
|
|
19530
|
+
return null;
|
|
19531
|
+
}
|
|
19532
|
+
return deserializeAws_json1_1DeltaTarget(entry, context);
|
|
19533
|
+
});
|
|
19534
|
+
};
|
|
18989
19535
|
var deserializeAws_json1_1DevEndpoint = function (output, context) {
|
|
18990
19536
|
return {
|
|
18991
19537
|
Arguments: output.Arguments !== undefined && output.Arguments !== null
|
|
@@ -19659,6 +20205,39 @@ var deserializeAws_json1_1GetTriggersResponse = function (output, context) {
|
|
|
19659
20205
|
: undefined,
|
|
19660
20206
|
};
|
|
19661
20207
|
};
|
|
20208
|
+
var deserializeAws_json1_1GetUnfilteredPartitionMetadataResponse = function (output, context) {
|
|
20209
|
+
return {
|
|
20210
|
+
AuthorizedColumns: output.AuthorizedColumns !== undefined && output.AuthorizedColumns !== null
|
|
20211
|
+
? deserializeAws_json1_1NameStringList(output.AuthorizedColumns, context)
|
|
20212
|
+
: undefined,
|
|
20213
|
+
IsRegisteredWithLakeFormation: __expectBoolean(output.IsRegisteredWithLakeFormation),
|
|
20214
|
+
Partition: output.Partition !== undefined && output.Partition !== null
|
|
20215
|
+
? deserializeAws_json1_1Partition(output.Partition, context)
|
|
20216
|
+
: undefined,
|
|
20217
|
+
};
|
|
20218
|
+
};
|
|
20219
|
+
var deserializeAws_json1_1GetUnfilteredPartitionsMetadataResponse = function (output, context) {
|
|
20220
|
+
return {
|
|
20221
|
+
NextToken: __expectString(output.NextToken),
|
|
20222
|
+
UnfilteredPartitions: output.UnfilteredPartitions !== undefined && output.UnfilteredPartitions !== null
|
|
20223
|
+
? deserializeAws_json1_1UnfilteredPartitionList(output.UnfilteredPartitions, context)
|
|
20224
|
+
: undefined,
|
|
20225
|
+
};
|
|
20226
|
+
};
|
|
20227
|
+
var deserializeAws_json1_1GetUnfilteredTableMetadataResponse = function (output, context) {
|
|
20228
|
+
return {
|
|
20229
|
+
AuthorizedColumns: output.AuthorizedColumns !== undefined && output.AuthorizedColumns !== null
|
|
20230
|
+
? deserializeAws_json1_1NameStringList(output.AuthorizedColumns, context)
|
|
20231
|
+
: undefined,
|
|
20232
|
+
CellFilters: output.CellFilters !== undefined && output.CellFilters !== null
|
|
20233
|
+
? deserializeAws_json1_1ColumnRowFilterList(output.CellFilters, context)
|
|
20234
|
+
: undefined,
|
|
20235
|
+
IsRegisteredWithLakeFormation: __expectBoolean(output.IsRegisteredWithLakeFormation),
|
|
20236
|
+
Table: output.Table !== undefined && output.Table !== null
|
|
20237
|
+
? deserializeAws_json1_1Table(output.Table, context)
|
|
20238
|
+
: undefined,
|
|
20239
|
+
};
|
|
20240
|
+
};
|
|
19662
20241
|
var deserializeAws_json1_1GetUserDefinedFunctionResponse = function (output, context) {
|
|
19663
20242
|
return {
|
|
19664
20243
|
UserDefinedFunction: output.UserDefinedFunction !== undefined && output.UserDefinedFunction !== null
|
|
@@ -19787,6 +20366,11 @@ var deserializeAws_json1_1InvalidInputException = function (output, context) {
|
|
|
19787
20366
|
Message: __expectString(output.Message),
|
|
19788
20367
|
};
|
|
19789
20368
|
};
|
|
20369
|
+
var deserializeAws_json1_1InvalidStateException = function (output, context) {
|
|
20370
|
+
return {
|
|
20371
|
+
Message: __expectString(output.Message),
|
|
20372
|
+
};
|
|
20373
|
+
};
|
|
19790
20374
|
var deserializeAws_json1_1JdbcTarget = function (output, context) {
|
|
19791
20375
|
return {
|
|
19792
20376
|
ConnectionName: __expectString(output.ConnectionName),
|
|
@@ -19979,6 +20563,12 @@ var deserializeAws_json1_1LabelingSetGenerationTaskRunProperties = function (out
|
|
|
19979
20563
|
OutputS3Path: __expectString(output.OutputS3Path),
|
|
19980
20564
|
};
|
|
19981
20565
|
};
|
|
20566
|
+
var deserializeAws_json1_1LakeFormationConfiguration = function (output, context) {
|
|
20567
|
+
return {
|
|
20568
|
+
AccountId: __expectString(output.AccountId),
|
|
20569
|
+
UseLakeFormationCredentials: __expectBoolean(output.UseLakeFormationCredentials),
|
|
20570
|
+
};
|
|
20571
|
+
};
|
|
19982
20572
|
var deserializeAws_json1_1LastActiveDefinition = function (output, context) {
|
|
19983
20573
|
return {
|
|
19984
20574
|
BlueprintLocation: __expectString(output.BlueprintLocation),
|
|
@@ -20097,6 +20687,16 @@ var deserializeAws_json1_1LocationMap = function (output, context) {
|
|
|
20097
20687
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
20098
20688
|
}, {});
|
|
20099
20689
|
};
|
|
20690
|
+
var deserializeAws_json1_1LocationStringList = function (output, context) {
|
|
20691
|
+
return (output || [])
|
|
20692
|
+
.filter(function (e) { return e != null; })
|
|
20693
|
+
.map(function (entry) {
|
|
20694
|
+
if (entry === null) {
|
|
20695
|
+
return null;
|
|
20696
|
+
}
|
|
20697
|
+
return __expectString(entry);
|
|
20698
|
+
});
|
|
20699
|
+
};
|
|
20100
20700
|
var deserializeAws_json1_1LongColumnStatisticsData = function (output, context) {
|
|
20101
20701
|
return {
|
|
20102
20702
|
MaximumValue: __expectLong(output.MaximumValue),
|
|
@@ -20446,6 +21046,11 @@ var deserializeAws_json1_1PermissionList = function (output, context) {
|
|
|
20446
21046
|
return __expectString(entry);
|
|
20447
21047
|
});
|
|
20448
21048
|
};
|
|
21049
|
+
var deserializeAws_json1_1PermissionTypeMismatchException = function (output, context) {
|
|
21050
|
+
return {
|
|
21051
|
+
Message: __expectString(output.Message),
|
|
21052
|
+
};
|
|
21053
|
+
};
|
|
20449
21054
|
var deserializeAws_json1_1PhysicalConnectionRequirements = function (output, context) {
|
|
20450
21055
|
return {
|
|
20451
21056
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
@@ -20592,6 +21197,11 @@ var deserializeAws_json1_1ResetJobBookmarkResponse = function (output, context)
|
|
|
20592
21197
|
: undefined,
|
|
20593
21198
|
};
|
|
20594
21199
|
};
|
|
21200
|
+
var deserializeAws_json1_1ResourceNotReadyException = function (output, context) {
|
|
21201
|
+
return {
|
|
21202
|
+
Message: __expectString(output.Message),
|
|
21203
|
+
};
|
|
21204
|
+
};
|
|
20595
21205
|
var deserializeAws_json1_1ResourceNumberLimitExceededException = function (output, context) {
|
|
20596
21206
|
return {
|
|
20597
21207
|
Message: __expectString(output.Message),
|
|
@@ -20895,6 +21505,9 @@ var deserializeAws_json1_1StopWorkflowRunResponse = function (output, context) {
|
|
|
20895
21505
|
};
|
|
20896
21506
|
var deserializeAws_json1_1StorageDescriptor = function (output, context) {
|
|
20897
21507
|
return {
|
|
21508
|
+
AdditionalLocations: output.AdditionalLocations !== undefined && output.AdditionalLocations !== null
|
|
21509
|
+
? deserializeAws_json1_1LocationStringList(output.AdditionalLocations, context)
|
|
21510
|
+
: undefined,
|
|
20898
21511
|
BucketColumns: output.BucketColumns !== undefined && output.BucketColumns !== null
|
|
20899
21512
|
? deserializeAws_json1_1NameStringList(output.BucketColumns, context)
|
|
20900
21513
|
: undefined,
|
|
@@ -21199,6 +21812,27 @@ var deserializeAws_json1_1TriggerNodeDetails = function (output, context) {
|
|
|
21199
21812
|
: undefined,
|
|
21200
21813
|
};
|
|
21201
21814
|
};
|
|
21815
|
+
var deserializeAws_json1_1UnfilteredPartition = function (output, context) {
|
|
21816
|
+
return {
|
|
21817
|
+
AuthorizedColumns: output.AuthorizedColumns !== undefined && output.AuthorizedColumns !== null
|
|
21818
|
+
? deserializeAws_json1_1NameStringList(output.AuthorizedColumns, context)
|
|
21819
|
+
: undefined,
|
|
21820
|
+
IsRegisteredWithLakeFormation: __expectBoolean(output.IsRegisteredWithLakeFormation),
|
|
21821
|
+
Partition: output.Partition !== undefined && output.Partition !== null
|
|
21822
|
+
? deserializeAws_json1_1Partition(output.Partition, context)
|
|
21823
|
+
: undefined,
|
|
21824
|
+
};
|
|
21825
|
+
};
|
|
21826
|
+
var deserializeAws_json1_1UnfilteredPartitionList = function (output, context) {
|
|
21827
|
+
return (output || [])
|
|
21828
|
+
.filter(function (e) { return e != null; })
|
|
21829
|
+
.map(function (entry) {
|
|
21830
|
+
if (entry === null) {
|
|
21831
|
+
return null;
|
|
21832
|
+
}
|
|
21833
|
+
return deserializeAws_json1_1UnfilteredPartition(entry, context);
|
|
21834
|
+
});
|
|
21835
|
+
};
|
|
21202
21836
|
var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
21203
21837
|
return {};
|
|
21204
21838
|
};
|