@aws-sdk/client-glue 3.309.0 → 3.312.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/dist-cjs/protocols/Aws_json1_1.js +208 -808
- package/dist-es/protocols/Aws_json1_1.js +208 -808
- package/package.json +35 -35
|
@@ -5,1819 +5,1213 @@ import { AccessDeniedException, AlreadyExistsException, ConcurrentModificationEx
|
|
|
5
5
|
import { ConditionCheckFailureException, ConflictException, CrawlerRunningException, PermissionTypeMismatchException, SchedulerTransitioningException, } from "../models/models_1";
|
|
6
6
|
import { ConcurrentRunsExceededException, CrawlerNotRunningException, CrawlerStoppingException, IllegalBlueprintStateException, IllegalWorkflowStateException, MLTransformNotReadyException, NoScheduleException, SchedulerNotRunningException, SchedulerRunningException, VersionMismatchException, } from "../models/models_2";
|
|
7
7
|
export const se_BatchCreatePartitionCommand = async (input, context) => {
|
|
8
|
-
const headers =
|
|
9
|
-
"content-type": "application/x-amz-json-1.1",
|
|
10
|
-
"x-amz-target": "AWSGlue.BatchCreatePartition",
|
|
11
|
-
};
|
|
8
|
+
const headers = sharedHeaders("BatchCreatePartition");
|
|
12
9
|
let body;
|
|
13
10
|
body = JSON.stringify(se_BatchCreatePartitionRequest(input, context));
|
|
14
11
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
15
12
|
};
|
|
16
13
|
export const se_BatchDeleteConnectionCommand = async (input, context) => {
|
|
17
|
-
const headers =
|
|
18
|
-
"content-type": "application/x-amz-json-1.1",
|
|
19
|
-
"x-amz-target": "AWSGlue.BatchDeleteConnection",
|
|
20
|
-
};
|
|
14
|
+
const headers = sharedHeaders("BatchDeleteConnection");
|
|
21
15
|
let body;
|
|
22
16
|
body = JSON.stringify(se_BatchDeleteConnectionRequest(input, context));
|
|
23
17
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
24
18
|
};
|
|
25
19
|
export const se_BatchDeletePartitionCommand = async (input, context) => {
|
|
26
|
-
const headers =
|
|
27
|
-
"content-type": "application/x-amz-json-1.1",
|
|
28
|
-
"x-amz-target": "AWSGlue.BatchDeletePartition",
|
|
29
|
-
};
|
|
20
|
+
const headers = sharedHeaders("BatchDeletePartition");
|
|
30
21
|
let body;
|
|
31
22
|
body = JSON.stringify(se_BatchDeletePartitionRequest(input, context));
|
|
32
23
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
33
24
|
};
|
|
34
25
|
export const se_BatchDeleteTableCommand = async (input, context) => {
|
|
35
|
-
const headers =
|
|
36
|
-
"content-type": "application/x-amz-json-1.1",
|
|
37
|
-
"x-amz-target": "AWSGlue.BatchDeleteTable",
|
|
38
|
-
};
|
|
26
|
+
const headers = sharedHeaders("BatchDeleteTable");
|
|
39
27
|
let body;
|
|
40
28
|
body = JSON.stringify(se_BatchDeleteTableRequest(input, context));
|
|
41
29
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
30
|
};
|
|
43
31
|
export const se_BatchDeleteTableVersionCommand = async (input, context) => {
|
|
44
|
-
const headers =
|
|
45
|
-
"content-type": "application/x-amz-json-1.1",
|
|
46
|
-
"x-amz-target": "AWSGlue.BatchDeleteTableVersion",
|
|
47
|
-
};
|
|
32
|
+
const headers = sharedHeaders("BatchDeleteTableVersion");
|
|
48
33
|
let body;
|
|
49
34
|
body = JSON.stringify(se_BatchDeleteTableVersionRequest(input, context));
|
|
50
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
51
36
|
};
|
|
52
37
|
export const se_BatchGetBlueprintsCommand = async (input, context) => {
|
|
53
|
-
const headers =
|
|
54
|
-
"content-type": "application/x-amz-json-1.1",
|
|
55
|
-
"x-amz-target": "AWSGlue.BatchGetBlueprints",
|
|
56
|
-
};
|
|
38
|
+
const headers = sharedHeaders("BatchGetBlueprints");
|
|
57
39
|
let body;
|
|
58
40
|
body = JSON.stringify(se_BatchGetBlueprintsRequest(input, context));
|
|
59
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
42
|
};
|
|
61
43
|
export const se_BatchGetCrawlersCommand = async (input, context) => {
|
|
62
|
-
const headers =
|
|
63
|
-
"content-type": "application/x-amz-json-1.1",
|
|
64
|
-
"x-amz-target": "AWSGlue.BatchGetCrawlers",
|
|
65
|
-
};
|
|
44
|
+
const headers = sharedHeaders("BatchGetCrawlers");
|
|
66
45
|
let body;
|
|
67
46
|
body = JSON.stringify(se_BatchGetCrawlersRequest(input, context));
|
|
68
47
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
69
48
|
};
|
|
70
49
|
export const se_BatchGetCustomEntityTypesCommand = async (input, context) => {
|
|
71
|
-
const headers =
|
|
72
|
-
"content-type": "application/x-amz-json-1.1",
|
|
73
|
-
"x-amz-target": "AWSGlue.BatchGetCustomEntityTypes",
|
|
74
|
-
};
|
|
50
|
+
const headers = sharedHeaders("BatchGetCustomEntityTypes");
|
|
75
51
|
let body;
|
|
76
52
|
body = JSON.stringify(se_BatchGetCustomEntityTypesRequest(input, context));
|
|
77
53
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
54
|
};
|
|
79
55
|
export const se_BatchGetDataQualityResultCommand = async (input, context) => {
|
|
80
|
-
const headers =
|
|
81
|
-
"content-type": "application/x-amz-json-1.1",
|
|
82
|
-
"x-amz-target": "AWSGlue.BatchGetDataQualityResult",
|
|
83
|
-
};
|
|
56
|
+
const headers = sharedHeaders("BatchGetDataQualityResult");
|
|
84
57
|
let body;
|
|
85
58
|
body = JSON.stringify(se_BatchGetDataQualityResultRequest(input, context));
|
|
86
59
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
87
60
|
};
|
|
88
61
|
export const se_BatchGetDevEndpointsCommand = async (input, context) => {
|
|
89
|
-
const headers =
|
|
90
|
-
"content-type": "application/x-amz-json-1.1",
|
|
91
|
-
"x-amz-target": "AWSGlue.BatchGetDevEndpoints",
|
|
92
|
-
};
|
|
62
|
+
const headers = sharedHeaders("BatchGetDevEndpoints");
|
|
93
63
|
let body;
|
|
94
64
|
body = JSON.stringify(se_BatchGetDevEndpointsRequest(input, context));
|
|
95
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
66
|
};
|
|
97
67
|
export const se_BatchGetJobsCommand = async (input, context) => {
|
|
98
|
-
const headers =
|
|
99
|
-
"content-type": "application/x-amz-json-1.1",
|
|
100
|
-
"x-amz-target": "AWSGlue.BatchGetJobs",
|
|
101
|
-
};
|
|
68
|
+
const headers = sharedHeaders("BatchGetJobs");
|
|
102
69
|
let body;
|
|
103
70
|
body = JSON.stringify(se_BatchGetJobsRequest(input, context));
|
|
104
71
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
72
|
};
|
|
106
73
|
export const se_BatchGetPartitionCommand = async (input, context) => {
|
|
107
|
-
const headers =
|
|
108
|
-
"content-type": "application/x-amz-json-1.1",
|
|
109
|
-
"x-amz-target": "AWSGlue.BatchGetPartition",
|
|
110
|
-
};
|
|
74
|
+
const headers = sharedHeaders("BatchGetPartition");
|
|
111
75
|
let body;
|
|
112
76
|
body = JSON.stringify(se_BatchGetPartitionRequest(input, context));
|
|
113
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
78
|
};
|
|
115
79
|
export const se_BatchGetTriggersCommand = async (input, context) => {
|
|
116
|
-
const headers =
|
|
117
|
-
"content-type": "application/x-amz-json-1.1",
|
|
118
|
-
"x-amz-target": "AWSGlue.BatchGetTriggers",
|
|
119
|
-
};
|
|
80
|
+
const headers = sharedHeaders("BatchGetTriggers");
|
|
120
81
|
let body;
|
|
121
82
|
body = JSON.stringify(se_BatchGetTriggersRequest(input, context));
|
|
122
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
123
84
|
};
|
|
124
85
|
export const se_BatchGetWorkflowsCommand = async (input, context) => {
|
|
125
|
-
const headers =
|
|
126
|
-
"content-type": "application/x-amz-json-1.1",
|
|
127
|
-
"x-amz-target": "AWSGlue.BatchGetWorkflows",
|
|
128
|
-
};
|
|
86
|
+
const headers = sharedHeaders("BatchGetWorkflows");
|
|
129
87
|
let body;
|
|
130
88
|
body = JSON.stringify(se_BatchGetWorkflowsRequest(input, context));
|
|
131
89
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
90
|
};
|
|
133
91
|
export const se_BatchStopJobRunCommand = async (input, context) => {
|
|
134
|
-
const headers =
|
|
135
|
-
"content-type": "application/x-amz-json-1.1",
|
|
136
|
-
"x-amz-target": "AWSGlue.BatchStopJobRun",
|
|
137
|
-
};
|
|
92
|
+
const headers = sharedHeaders("BatchStopJobRun");
|
|
138
93
|
let body;
|
|
139
94
|
body = JSON.stringify(se_BatchStopJobRunRequest(input, context));
|
|
140
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
141
96
|
};
|
|
142
97
|
export const se_BatchUpdatePartitionCommand = async (input, context) => {
|
|
143
|
-
const headers =
|
|
144
|
-
"content-type": "application/x-amz-json-1.1",
|
|
145
|
-
"x-amz-target": "AWSGlue.BatchUpdatePartition",
|
|
146
|
-
};
|
|
98
|
+
const headers = sharedHeaders("BatchUpdatePartition");
|
|
147
99
|
let body;
|
|
148
100
|
body = JSON.stringify(se_BatchUpdatePartitionRequest(input, context));
|
|
149
101
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
102
|
};
|
|
151
103
|
export const se_CancelDataQualityRuleRecommendationRunCommand = async (input, context) => {
|
|
152
|
-
const headers =
|
|
153
|
-
"content-type": "application/x-amz-json-1.1",
|
|
154
|
-
"x-amz-target": "AWSGlue.CancelDataQualityRuleRecommendationRun",
|
|
155
|
-
};
|
|
104
|
+
const headers = sharedHeaders("CancelDataQualityRuleRecommendationRun");
|
|
156
105
|
let body;
|
|
157
106
|
body = JSON.stringify(se_CancelDataQualityRuleRecommendationRunRequest(input, context));
|
|
158
107
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
159
108
|
};
|
|
160
109
|
export const se_CancelDataQualityRulesetEvaluationRunCommand = async (input, context) => {
|
|
161
|
-
const headers =
|
|
162
|
-
"content-type": "application/x-amz-json-1.1",
|
|
163
|
-
"x-amz-target": "AWSGlue.CancelDataQualityRulesetEvaluationRun",
|
|
164
|
-
};
|
|
110
|
+
const headers = sharedHeaders("CancelDataQualityRulesetEvaluationRun");
|
|
165
111
|
let body;
|
|
166
112
|
body = JSON.stringify(se_CancelDataQualityRulesetEvaluationRunRequest(input, context));
|
|
167
113
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
114
|
};
|
|
169
115
|
export const se_CancelMLTaskRunCommand = async (input, context) => {
|
|
170
|
-
const headers =
|
|
171
|
-
"content-type": "application/x-amz-json-1.1",
|
|
172
|
-
"x-amz-target": "AWSGlue.CancelMLTaskRun",
|
|
173
|
-
};
|
|
116
|
+
const headers = sharedHeaders("CancelMLTaskRun");
|
|
174
117
|
let body;
|
|
175
118
|
body = JSON.stringify(se_CancelMLTaskRunRequest(input, context));
|
|
176
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
120
|
};
|
|
178
121
|
export const se_CancelStatementCommand = async (input, context) => {
|
|
179
|
-
const headers =
|
|
180
|
-
"content-type": "application/x-amz-json-1.1",
|
|
181
|
-
"x-amz-target": "AWSGlue.CancelStatement",
|
|
182
|
-
};
|
|
122
|
+
const headers = sharedHeaders("CancelStatement");
|
|
183
123
|
let body;
|
|
184
124
|
body = JSON.stringify(se_CancelStatementRequest(input, context));
|
|
185
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
126
|
};
|
|
187
127
|
export const se_CheckSchemaVersionValidityCommand = async (input, context) => {
|
|
188
|
-
const headers =
|
|
189
|
-
"content-type": "application/x-amz-json-1.1",
|
|
190
|
-
"x-amz-target": "AWSGlue.CheckSchemaVersionValidity",
|
|
191
|
-
};
|
|
128
|
+
const headers = sharedHeaders("CheckSchemaVersionValidity");
|
|
192
129
|
let body;
|
|
193
130
|
body = JSON.stringify(se_CheckSchemaVersionValidityInput(input, context));
|
|
194
131
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
195
132
|
};
|
|
196
133
|
export const se_CreateBlueprintCommand = async (input, context) => {
|
|
197
|
-
const headers =
|
|
198
|
-
"content-type": "application/x-amz-json-1.1",
|
|
199
|
-
"x-amz-target": "AWSGlue.CreateBlueprint",
|
|
200
|
-
};
|
|
134
|
+
const headers = sharedHeaders("CreateBlueprint");
|
|
201
135
|
let body;
|
|
202
136
|
body = JSON.stringify(se_CreateBlueprintRequest(input, context));
|
|
203
137
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
138
|
};
|
|
205
139
|
export const se_CreateClassifierCommand = async (input, context) => {
|
|
206
|
-
const headers =
|
|
207
|
-
"content-type": "application/x-amz-json-1.1",
|
|
208
|
-
"x-amz-target": "AWSGlue.CreateClassifier",
|
|
209
|
-
};
|
|
140
|
+
const headers = sharedHeaders("CreateClassifier");
|
|
210
141
|
let body;
|
|
211
142
|
body = JSON.stringify(se_CreateClassifierRequest(input, context));
|
|
212
143
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
213
144
|
};
|
|
214
145
|
export const se_CreateConnectionCommand = async (input, context) => {
|
|
215
|
-
const headers =
|
|
216
|
-
"content-type": "application/x-amz-json-1.1",
|
|
217
|
-
"x-amz-target": "AWSGlue.CreateConnection",
|
|
218
|
-
};
|
|
146
|
+
const headers = sharedHeaders("CreateConnection");
|
|
219
147
|
let body;
|
|
220
148
|
body = JSON.stringify(se_CreateConnectionRequest(input, context));
|
|
221
149
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
222
150
|
};
|
|
223
151
|
export const se_CreateCrawlerCommand = async (input, context) => {
|
|
224
|
-
const headers =
|
|
225
|
-
"content-type": "application/x-amz-json-1.1",
|
|
226
|
-
"x-amz-target": "AWSGlue.CreateCrawler",
|
|
227
|
-
};
|
|
152
|
+
const headers = sharedHeaders("CreateCrawler");
|
|
228
153
|
let body;
|
|
229
154
|
body = JSON.stringify(se_CreateCrawlerRequest(input, context));
|
|
230
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
231
156
|
};
|
|
232
157
|
export const se_CreateCustomEntityTypeCommand = async (input, context) => {
|
|
233
|
-
const headers =
|
|
234
|
-
"content-type": "application/x-amz-json-1.1",
|
|
235
|
-
"x-amz-target": "AWSGlue.CreateCustomEntityType",
|
|
236
|
-
};
|
|
158
|
+
const headers = sharedHeaders("CreateCustomEntityType");
|
|
237
159
|
let body;
|
|
238
160
|
body = JSON.stringify(se_CreateCustomEntityTypeRequest(input, context));
|
|
239
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
162
|
};
|
|
241
163
|
export const se_CreateDatabaseCommand = async (input, context) => {
|
|
242
|
-
const headers =
|
|
243
|
-
"content-type": "application/x-amz-json-1.1",
|
|
244
|
-
"x-amz-target": "AWSGlue.CreateDatabase",
|
|
245
|
-
};
|
|
164
|
+
const headers = sharedHeaders("CreateDatabase");
|
|
246
165
|
let body;
|
|
247
166
|
body = JSON.stringify(se_CreateDatabaseRequest(input, context));
|
|
248
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
249
168
|
};
|
|
250
169
|
export const se_CreateDataQualityRulesetCommand = async (input, context) => {
|
|
251
|
-
const headers =
|
|
252
|
-
"content-type": "application/x-amz-json-1.1",
|
|
253
|
-
"x-amz-target": "AWSGlue.CreateDataQualityRuleset",
|
|
254
|
-
};
|
|
170
|
+
const headers = sharedHeaders("CreateDataQualityRuleset");
|
|
255
171
|
let body;
|
|
256
172
|
body = JSON.stringify(se_CreateDataQualityRulesetRequest(input, context));
|
|
257
173
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
174
|
};
|
|
259
175
|
export const se_CreateDevEndpointCommand = async (input, context) => {
|
|
260
|
-
const headers =
|
|
261
|
-
"content-type": "application/x-amz-json-1.1",
|
|
262
|
-
"x-amz-target": "AWSGlue.CreateDevEndpoint",
|
|
263
|
-
};
|
|
176
|
+
const headers = sharedHeaders("CreateDevEndpoint");
|
|
264
177
|
let body;
|
|
265
178
|
body = JSON.stringify(se_CreateDevEndpointRequest(input, context));
|
|
266
179
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
180
|
};
|
|
268
181
|
export const se_CreateJobCommand = async (input, context) => {
|
|
269
|
-
const headers =
|
|
270
|
-
"content-type": "application/x-amz-json-1.1",
|
|
271
|
-
"x-amz-target": "AWSGlue.CreateJob",
|
|
272
|
-
};
|
|
182
|
+
const headers = sharedHeaders("CreateJob");
|
|
273
183
|
let body;
|
|
274
184
|
body = JSON.stringify(se_CreateJobRequest(input, context));
|
|
275
185
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
276
186
|
};
|
|
277
187
|
export const se_CreateMLTransformCommand = async (input, context) => {
|
|
278
|
-
const headers =
|
|
279
|
-
"content-type": "application/x-amz-json-1.1",
|
|
280
|
-
"x-amz-target": "AWSGlue.CreateMLTransform",
|
|
281
|
-
};
|
|
188
|
+
const headers = sharedHeaders("CreateMLTransform");
|
|
282
189
|
let body;
|
|
283
190
|
body = JSON.stringify(se_CreateMLTransformRequest(input, context));
|
|
284
191
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
285
192
|
};
|
|
286
193
|
export const se_CreatePartitionCommand = async (input, context) => {
|
|
287
|
-
const headers =
|
|
288
|
-
"content-type": "application/x-amz-json-1.1",
|
|
289
|
-
"x-amz-target": "AWSGlue.CreatePartition",
|
|
290
|
-
};
|
|
194
|
+
const headers = sharedHeaders("CreatePartition");
|
|
291
195
|
let body;
|
|
292
196
|
body = JSON.stringify(se_CreatePartitionRequest(input, context));
|
|
293
197
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
198
|
};
|
|
295
199
|
export const se_CreatePartitionIndexCommand = async (input, context) => {
|
|
296
|
-
const headers =
|
|
297
|
-
"content-type": "application/x-amz-json-1.1",
|
|
298
|
-
"x-amz-target": "AWSGlue.CreatePartitionIndex",
|
|
299
|
-
};
|
|
200
|
+
const headers = sharedHeaders("CreatePartitionIndex");
|
|
300
201
|
let body;
|
|
301
202
|
body = JSON.stringify(se_CreatePartitionIndexRequest(input, context));
|
|
302
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
303
204
|
};
|
|
304
205
|
export const se_CreateRegistryCommand = async (input, context) => {
|
|
305
|
-
const headers =
|
|
306
|
-
"content-type": "application/x-amz-json-1.1",
|
|
307
|
-
"x-amz-target": "AWSGlue.CreateRegistry",
|
|
308
|
-
};
|
|
206
|
+
const headers = sharedHeaders("CreateRegistry");
|
|
309
207
|
let body;
|
|
310
208
|
body = JSON.stringify(se_CreateRegistryInput(input, context));
|
|
311
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
312
210
|
};
|
|
313
211
|
export const se_CreateSchemaCommand = async (input, context) => {
|
|
314
|
-
const headers =
|
|
315
|
-
"content-type": "application/x-amz-json-1.1",
|
|
316
|
-
"x-amz-target": "AWSGlue.CreateSchema",
|
|
317
|
-
};
|
|
212
|
+
const headers = sharedHeaders("CreateSchema");
|
|
318
213
|
let body;
|
|
319
214
|
body = JSON.stringify(se_CreateSchemaInput(input, context));
|
|
320
215
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
321
216
|
};
|
|
322
217
|
export const se_CreateScriptCommand = async (input, context) => {
|
|
323
|
-
const headers =
|
|
324
|
-
"content-type": "application/x-amz-json-1.1",
|
|
325
|
-
"x-amz-target": "AWSGlue.CreateScript",
|
|
326
|
-
};
|
|
218
|
+
const headers = sharedHeaders("CreateScript");
|
|
327
219
|
let body;
|
|
328
220
|
body = JSON.stringify(se_CreateScriptRequest(input, context));
|
|
329
221
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
222
|
};
|
|
331
223
|
export const se_CreateSecurityConfigurationCommand = async (input, context) => {
|
|
332
|
-
const headers =
|
|
333
|
-
"content-type": "application/x-amz-json-1.1",
|
|
334
|
-
"x-amz-target": "AWSGlue.CreateSecurityConfiguration",
|
|
335
|
-
};
|
|
224
|
+
const headers = sharedHeaders("CreateSecurityConfiguration");
|
|
336
225
|
let body;
|
|
337
226
|
body = JSON.stringify(se_CreateSecurityConfigurationRequest(input, context));
|
|
338
227
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
339
228
|
};
|
|
340
229
|
export const se_CreateSessionCommand = async (input, context) => {
|
|
341
|
-
const headers =
|
|
342
|
-
"content-type": "application/x-amz-json-1.1",
|
|
343
|
-
"x-amz-target": "AWSGlue.CreateSession",
|
|
344
|
-
};
|
|
230
|
+
const headers = sharedHeaders("CreateSession");
|
|
345
231
|
let body;
|
|
346
232
|
body = JSON.stringify(se_CreateSessionRequest(input, context));
|
|
347
233
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
348
234
|
};
|
|
349
235
|
export const se_CreateTableCommand = async (input, context) => {
|
|
350
|
-
const headers =
|
|
351
|
-
"content-type": "application/x-amz-json-1.1",
|
|
352
|
-
"x-amz-target": "AWSGlue.CreateTable",
|
|
353
|
-
};
|
|
236
|
+
const headers = sharedHeaders("CreateTable");
|
|
354
237
|
let body;
|
|
355
238
|
body = JSON.stringify(se_CreateTableRequest(input, context));
|
|
356
239
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
357
240
|
};
|
|
358
241
|
export const se_CreateTriggerCommand = async (input, context) => {
|
|
359
|
-
const headers =
|
|
360
|
-
"content-type": "application/x-amz-json-1.1",
|
|
361
|
-
"x-amz-target": "AWSGlue.CreateTrigger",
|
|
362
|
-
};
|
|
242
|
+
const headers = sharedHeaders("CreateTrigger");
|
|
363
243
|
let body;
|
|
364
244
|
body = JSON.stringify(se_CreateTriggerRequest(input, context));
|
|
365
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
366
246
|
};
|
|
367
247
|
export const se_CreateUserDefinedFunctionCommand = async (input, context) => {
|
|
368
|
-
const headers =
|
|
369
|
-
"content-type": "application/x-amz-json-1.1",
|
|
370
|
-
"x-amz-target": "AWSGlue.CreateUserDefinedFunction",
|
|
371
|
-
};
|
|
248
|
+
const headers = sharedHeaders("CreateUserDefinedFunction");
|
|
372
249
|
let body;
|
|
373
250
|
body = JSON.stringify(se_CreateUserDefinedFunctionRequest(input, context));
|
|
374
251
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
375
252
|
};
|
|
376
253
|
export const se_CreateWorkflowCommand = async (input, context) => {
|
|
377
|
-
const headers =
|
|
378
|
-
"content-type": "application/x-amz-json-1.1",
|
|
379
|
-
"x-amz-target": "AWSGlue.CreateWorkflow",
|
|
380
|
-
};
|
|
254
|
+
const headers = sharedHeaders("CreateWorkflow");
|
|
381
255
|
let body;
|
|
382
256
|
body = JSON.stringify(se_CreateWorkflowRequest(input, context));
|
|
383
257
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
384
258
|
};
|
|
385
259
|
export const se_DeleteBlueprintCommand = async (input, context) => {
|
|
386
|
-
const headers =
|
|
387
|
-
"content-type": "application/x-amz-json-1.1",
|
|
388
|
-
"x-amz-target": "AWSGlue.DeleteBlueprint",
|
|
389
|
-
};
|
|
260
|
+
const headers = sharedHeaders("DeleteBlueprint");
|
|
390
261
|
let body;
|
|
391
262
|
body = JSON.stringify(se_DeleteBlueprintRequest(input, context));
|
|
392
263
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
393
264
|
};
|
|
394
265
|
export const se_DeleteClassifierCommand = async (input, context) => {
|
|
395
|
-
const headers =
|
|
396
|
-
"content-type": "application/x-amz-json-1.1",
|
|
397
|
-
"x-amz-target": "AWSGlue.DeleteClassifier",
|
|
398
|
-
};
|
|
266
|
+
const headers = sharedHeaders("DeleteClassifier");
|
|
399
267
|
let body;
|
|
400
268
|
body = JSON.stringify(se_DeleteClassifierRequest(input, context));
|
|
401
269
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
402
270
|
};
|
|
403
271
|
export const se_DeleteColumnStatisticsForPartitionCommand = async (input, context) => {
|
|
404
|
-
const headers =
|
|
405
|
-
"content-type": "application/x-amz-json-1.1",
|
|
406
|
-
"x-amz-target": "AWSGlue.DeleteColumnStatisticsForPartition",
|
|
407
|
-
};
|
|
272
|
+
const headers = sharedHeaders("DeleteColumnStatisticsForPartition");
|
|
408
273
|
let body;
|
|
409
274
|
body = JSON.stringify(se_DeleteColumnStatisticsForPartitionRequest(input, context));
|
|
410
275
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
411
276
|
};
|
|
412
277
|
export const se_DeleteColumnStatisticsForTableCommand = async (input, context) => {
|
|
413
|
-
const headers =
|
|
414
|
-
"content-type": "application/x-amz-json-1.1",
|
|
415
|
-
"x-amz-target": "AWSGlue.DeleteColumnStatisticsForTable",
|
|
416
|
-
};
|
|
278
|
+
const headers = sharedHeaders("DeleteColumnStatisticsForTable");
|
|
417
279
|
let body;
|
|
418
280
|
body = JSON.stringify(se_DeleteColumnStatisticsForTableRequest(input, context));
|
|
419
281
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
420
282
|
};
|
|
421
283
|
export const se_DeleteConnectionCommand = async (input, context) => {
|
|
422
|
-
const headers =
|
|
423
|
-
"content-type": "application/x-amz-json-1.1",
|
|
424
|
-
"x-amz-target": "AWSGlue.DeleteConnection",
|
|
425
|
-
};
|
|
284
|
+
const headers = sharedHeaders("DeleteConnection");
|
|
426
285
|
let body;
|
|
427
286
|
body = JSON.stringify(se_DeleteConnectionRequest(input, context));
|
|
428
287
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
429
288
|
};
|
|
430
289
|
export const se_DeleteCrawlerCommand = async (input, context) => {
|
|
431
|
-
const headers =
|
|
432
|
-
"content-type": "application/x-amz-json-1.1",
|
|
433
|
-
"x-amz-target": "AWSGlue.DeleteCrawler",
|
|
434
|
-
};
|
|
290
|
+
const headers = sharedHeaders("DeleteCrawler");
|
|
435
291
|
let body;
|
|
436
292
|
body = JSON.stringify(se_DeleteCrawlerRequest(input, context));
|
|
437
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
438
294
|
};
|
|
439
295
|
export const se_DeleteCustomEntityTypeCommand = async (input, context) => {
|
|
440
|
-
const headers =
|
|
441
|
-
"content-type": "application/x-amz-json-1.1",
|
|
442
|
-
"x-amz-target": "AWSGlue.DeleteCustomEntityType",
|
|
443
|
-
};
|
|
296
|
+
const headers = sharedHeaders("DeleteCustomEntityType");
|
|
444
297
|
let body;
|
|
445
298
|
body = JSON.stringify(se_DeleteCustomEntityTypeRequest(input, context));
|
|
446
299
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
447
300
|
};
|
|
448
301
|
export const se_DeleteDatabaseCommand = async (input, context) => {
|
|
449
|
-
const headers =
|
|
450
|
-
"content-type": "application/x-amz-json-1.1",
|
|
451
|
-
"x-amz-target": "AWSGlue.DeleteDatabase",
|
|
452
|
-
};
|
|
302
|
+
const headers = sharedHeaders("DeleteDatabase");
|
|
453
303
|
let body;
|
|
454
304
|
body = JSON.stringify(se_DeleteDatabaseRequest(input, context));
|
|
455
305
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
456
306
|
};
|
|
457
307
|
export const se_DeleteDataQualityRulesetCommand = async (input, context) => {
|
|
458
|
-
const headers =
|
|
459
|
-
"content-type": "application/x-amz-json-1.1",
|
|
460
|
-
"x-amz-target": "AWSGlue.DeleteDataQualityRuleset",
|
|
461
|
-
};
|
|
308
|
+
const headers = sharedHeaders("DeleteDataQualityRuleset");
|
|
462
309
|
let body;
|
|
463
310
|
body = JSON.stringify(se_DeleteDataQualityRulesetRequest(input, context));
|
|
464
311
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
465
312
|
};
|
|
466
313
|
export const se_DeleteDevEndpointCommand = async (input, context) => {
|
|
467
|
-
const headers =
|
|
468
|
-
"content-type": "application/x-amz-json-1.1",
|
|
469
|
-
"x-amz-target": "AWSGlue.DeleteDevEndpoint",
|
|
470
|
-
};
|
|
314
|
+
const headers = sharedHeaders("DeleteDevEndpoint");
|
|
471
315
|
let body;
|
|
472
316
|
body = JSON.stringify(se_DeleteDevEndpointRequest(input, context));
|
|
473
317
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
474
318
|
};
|
|
475
319
|
export const se_DeleteJobCommand = async (input, context) => {
|
|
476
|
-
const headers =
|
|
477
|
-
"content-type": "application/x-amz-json-1.1",
|
|
478
|
-
"x-amz-target": "AWSGlue.DeleteJob",
|
|
479
|
-
};
|
|
320
|
+
const headers = sharedHeaders("DeleteJob");
|
|
480
321
|
let body;
|
|
481
322
|
body = JSON.stringify(se_DeleteJobRequest(input, context));
|
|
482
323
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
483
324
|
};
|
|
484
325
|
export const se_DeleteMLTransformCommand = async (input, context) => {
|
|
485
|
-
const headers =
|
|
486
|
-
"content-type": "application/x-amz-json-1.1",
|
|
487
|
-
"x-amz-target": "AWSGlue.DeleteMLTransform",
|
|
488
|
-
};
|
|
326
|
+
const headers = sharedHeaders("DeleteMLTransform");
|
|
489
327
|
let body;
|
|
490
328
|
body = JSON.stringify(se_DeleteMLTransformRequest(input, context));
|
|
491
329
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
492
330
|
};
|
|
493
331
|
export const se_DeletePartitionCommand = async (input, context) => {
|
|
494
|
-
const headers =
|
|
495
|
-
"content-type": "application/x-amz-json-1.1",
|
|
496
|
-
"x-amz-target": "AWSGlue.DeletePartition",
|
|
497
|
-
};
|
|
332
|
+
const headers = sharedHeaders("DeletePartition");
|
|
498
333
|
let body;
|
|
499
334
|
body = JSON.stringify(se_DeletePartitionRequest(input, context));
|
|
500
335
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
501
336
|
};
|
|
502
337
|
export const se_DeletePartitionIndexCommand = async (input, context) => {
|
|
503
|
-
const headers =
|
|
504
|
-
"content-type": "application/x-amz-json-1.1",
|
|
505
|
-
"x-amz-target": "AWSGlue.DeletePartitionIndex",
|
|
506
|
-
};
|
|
338
|
+
const headers = sharedHeaders("DeletePartitionIndex");
|
|
507
339
|
let body;
|
|
508
340
|
body = JSON.stringify(se_DeletePartitionIndexRequest(input, context));
|
|
509
341
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
510
342
|
};
|
|
511
343
|
export const se_DeleteRegistryCommand = async (input, context) => {
|
|
512
|
-
const headers =
|
|
513
|
-
"content-type": "application/x-amz-json-1.1",
|
|
514
|
-
"x-amz-target": "AWSGlue.DeleteRegistry",
|
|
515
|
-
};
|
|
344
|
+
const headers = sharedHeaders("DeleteRegistry");
|
|
516
345
|
let body;
|
|
517
346
|
body = JSON.stringify(se_DeleteRegistryInput(input, context));
|
|
518
347
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
519
348
|
};
|
|
520
349
|
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
521
|
-
const headers =
|
|
522
|
-
"content-type": "application/x-amz-json-1.1",
|
|
523
|
-
"x-amz-target": "AWSGlue.DeleteResourcePolicy",
|
|
524
|
-
};
|
|
350
|
+
const headers = sharedHeaders("DeleteResourcePolicy");
|
|
525
351
|
let body;
|
|
526
352
|
body = JSON.stringify(se_DeleteResourcePolicyRequest(input, context));
|
|
527
353
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
528
354
|
};
|
|
529
355
|
export const se_DeleteSchemaCommand = async (input, context) => {
|
|
530
|
-
const headers =
|
|
531
|
-
"content-type": "application/x-amz-json-1.1",
|
|
532
|
-
"x-amz-target": "AWSGlue.DeleteSchema",
|
|
533
|
-
};
|
|
356
|
+
const headers = sharedHeaders("DeleteSchema");
|
|
534
357
|
let body;
|
|
535
358
|
body = JSON.stringify(se_DeleteSchemaInput(input, context));
|
|
536
359
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
537
360
|
};
|
|
538
361
|
export const se_DeleteSchemaVersionsCommand = async (input, context) => {
|
|
539
|
-
const headers =
|
|
540
|
-
"content-type": "application/x-amz-json-1.1",
|
|
541
|
-
"x-amz-target": "AWSGlue.DeleteSchemaVersions",
|
|
542
|
-
};
|
|
362
|
+
const headers = sharedHeaders("DeleteSchemaVersions");
|
|
543
363
|
let body;
|
|
544
364
|
body = JSON.stringify(se_DeleteSchemaVersionsInput(input, context));
|
|
545
365
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
546
366
|
};
|
|
547
367
|
export const se_DeleteSecurityConfigurationCommand = async (input, context) => {
|
|
548
|
-
const headers =
|
|
549
|
-
"content-type": "application/x-amz-json-1.1",
|
|
550
|
-
"x-amz-target": "AWSGlue.DeleteSecurityConfiguration",
|
|
551
|
-
};
|
|
368
|
+
const headers = sharedHeaders("DeleteSecurityConfiguration");
|
|
552
369
|
let body;
|
|
553
370
|
body = JSON.stringify(se_DeleteSecurityConfigurationRequest(input, context));
|
|
554
371
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
555
372
|
};
|
|
556
373
|
export const se_DeleteSessionCommand = async (input, context) => {
|
|
557
|
-
const headers =
|
|
558
|
-
"content-type": "application/x-amz-json-1.1",
|
|
559
|
-
"x-amz-target": "AWSGlue.DeleteSession",
|
|
560
|
-
};
|
|
374
|
+
const headers = sharedHeaders("DeleteSession");
|
|
561
375
|
let body;
|
|
562
376
|
body = JSON.stringify(se_DeleteSessionRequest(input, context));
|
|
563
377
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
564
378
|
};
|
|
565
379
|
export const se_DeleteTableCommand = async (input, context) => {
|
|
566
|
-
const headers =
|
|
567
|
-
"content-type": "application/x-amz-json-1.1",
|
|
568
|
-
"x-amz-target": "AWSGlue.DeleteTable",
|
|
569
|
-
};
|
|
380
|
+
const headers = sharedHeaders("DeleteTable");
|
|
570
381
|
let body;
|
|
571
382
|
body = JSON.stringify(se_DeleteTableRequest(input, context));
|
|
572
383
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
573
384
|
};
|
|
574
385
|
export const se_DeleteTableVersionCommand = async (input, context) => {
|
|
575
|
-
const headers =
|
|
576
|
-
"content-type": "application/x-amz-json-1.1",
|
|
577
|
-
"x-amz-target": "AWSGlue.DeleteTableVersion",
|
|
578
|
-
};
|
|
386
|
+
const headers = sharedHeaders("DeleteTableVersion");
|
|
579
387
|
let body;
|
|
580
388
|
body = JSON.stringify(se_DeleteTableVersionRequest(input, context));
|
|
581
389
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
582
390
|
};
|
|
583
391
|
export const se_DeleteTriggerCommand = async (input, context) => {
|
|
584
|
-
const headers =
|
|
585
|
-
"content-type": "application/x-amz-json-1.1",
|
|
586
|
-
"x-amz-target": "AWSGlue.DeleteTrigger",
|
|
587
|
-
};
|
|
392
|
+
const headers = sharedHeaders("DeleteTrigger");
|
|
588
393
|
let body;
|
|
589
394
|
body = JSON.stringify(se_DeleteTriggerRequest(input, context));
|
|
590
395
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
591
396
|
};
|
|
592
397
|
export const se_DeleteUserDefinedFunctionCommand = async (input, context) => {
|
|
593
|
-
const headers =
|
|
594
|
-
"content-type": "application/x-amz-json-1.1",
|
|
595
|
-
"x-amz-target": "AWSGlue.DeleteUserDefinedFunction",
|
|
596
|
-
};
|
|
398
|
+
const headers = sharedHeaders("DeleteUserDefinedFunction");
|
|
597
399
|
let body;
|
|
598
400
|
body = JSON.stringify(se_DeleteUserDefinedFunctionRequest(input, context));
|
|
599
401
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
600
402
|
};
|
|
601
403
|
export const se_DeleteWorkflowCommand = async (input, context) => {
|
|
602
|
-
const headers =
|
|
603
|
-
"content-type": "application/x-amz-json-1.1",
|
|
604
|
-
"x-amz-target": "AWSGlue.DeleteWorkflow",
|
|
605
|
-
};
|
|
404
|
+
const headers = sharedHeaders("DeleteWorkflow");
|
|
606
405
|
let body;
|
|
607
406
|
body = JSON.stringify(se_DeleteWorkflowRequest(input, context));
|
|
608
407
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
609
408
|
};
|
|
610
409
|
export const se_GetBlueprintCommand = async (input, context) => {
|
|
611
|
-
const headers =
|
|
612
|
-
"content-type": "application/x-amz-json-1.1",
|
|
613
|
-
"x-amz-target": "AWSGlue.GetBlueprint",
|
|
614
|
-
};
|
|
410
|
+
const headers = sharedHeaders("GetBlueprint");
|
|
615
411
|
let body;
|
|
616
412
|
body = JSON.stringify(se_GetBlueprintRequest(input, context));
|
|
617
413
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
618
414
|
};
|
|
619
415
|
export const se_GetBlueprintRunCommand = async (input, context) => {
|
|
620
|
-
const headers =
|
|
621
|
-
"content-type": "application/x-amz-json-1.1",
|
|
622
|
-
"x-amz-target": "AWSGlue.GetBlueprintRun",
|
|
623
|
-
};
|
|
416
|
+
const headers = sharedHeaders("GetBlueprintRun");
|
|
624
417
|
let body;
|
|
625
418
|
body = JSON.stringify(se_GetBlueprintRunRequest(input, context));
|
|
626
419
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
627
420
|
};
|
|
628
421
|
export const se_GetBlueprintRunsCommand = async (input, context) => {
|
|
629
|
-
const headers =
|
|
630
|
-
"content-type": "application/x-amz-json-1.1",
|
|
631
|
-
"x-amz-target": "AWSGlue.GetBlueprintRuns",
|
|
632
|
-
};
|
|
422
|
+
const headers = sharedHeaders("GetBlueprintRuns");
|
|
633
423
|
let body;
|
|
634
424
|
body = JSON.stringify(se_GetBlueprintRunsRequest(input, context));
|
|
635
425
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
636
426
|
};
|
|
637
427
|
export const se_GetCatalogImportStatusCommand = async (input, context) => {
|
|
638
|
-
const headers =
|
|
639
|
-
"content-type": "application/x-amz-json-1.1",
|
|
640
|
-
"x-amz-target": "AWSGlue.GetCatalogImportStatus",
|
|
641
|
-
};
|
|
428
|
+
const headers = sharedHeaders("GetCatalogImportStatus");
|
|
642
429
|
let body;
|
|
643
430
|
body = JSON.stringify(se_GetCatalogImportStatusRequest(input, context));
|
|
644
431
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
645
432
|
};
|
|
646
433
|
export const se_GetClassifierCommand = async (input, context) => {
|
|
647
|
-
const headers =
|
|
648
|
-
"content-type": "application/x-amz-json-1.1",
|
|
649
|
-
"x-amz-target": "AWSGlue.GetClassifier",
|
|
650
|
-
};
|
|
434
|
+
const headers = sharedHeaders("GetClassifier");
|
|
651
435
|
let body;
|
|
652
436
|
body = JSON.stringify(se_GetClassifierRequest(input, context));
|
|
653
437
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
654
438
|
};
|
|
655
439
|
export const se_GetClassifiersCommand = async (input, context) => {
|
|
656
|
-
const headers =
|
|
657
|
-
"content-type": "application/x-amz-json-1.1",
|
|
658
|
-
"x-amz-target": "AWSGlue.GetClassifiers",
|
|
659
|
-
};
|
|
440
|
+
const headers = sharedHeaders("GetClassifiers");
|
|
660
441
|
let body;
|
|
661
442
|
body = JSON.stringify(se_GetClassifiersRequest(input, context));
|
|
662
443
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
663
444
|
};
|
|
664
445
|
export const se_GetColumnStatisticsForPartitionCommand = async (input, context) => {
|
|
665
|
-
const headers =
|
|
666
|
-
"content-type": "application/x-amz-json-1.1",
|
|
667
|
-
"x-amz-target": "AWSGlue.GetColumnStatisticsForPartition",
|
|
668
|
-
};
|
|
446
|
+
const headers = sharedHeaders("GetColumnStatisticsForPartition");
|
|
669
447
|
let body;
|
|
670
448
|
body = JSON.stringify(se_GetColumnStatisticsForPartitionRequest(input, context));
|
|
671
449
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
672
450
|
};
|
|
673
451
|
export const se_GetColumnStatisticsForTableCommand = async (input, context) => {
|
|
674
|
-
const headers =
|
|
675
|
-
"content-type": "application/x-amz-json-1.1",
|
|
676
|
-
"x-amz-target": "AWSGlue.GetColumnStatisticsForTable",
|
|
677
|
-
};
|
|
452
|
+
const headers = sharedHeaders("GetColumnStatisticsForTable");
|
|
678
453
|
let body;
|
|
679
454
|
body = JSON.stringify(se_GetColumnStatisticsForTableRequest(input, context));
|
|
680
455
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
681
456
|
};
|
|
682
457
|
export const se_GetConnectionCommand = async (input, context) => {
|
|
683
|
-
const headers =
|
|
684
|
-
"content-type": "application/x-amz-json-1.1",
|
|
685
|
-
"x-amz-target": "AWSGlue.GetConnection",
|
|
686
|
-
};
|
|
458
|
+
const headers = sharedHeaders("GetConnection");
|
|
687
459
|
let body;
|
|
688
460
|
body = JSON.stringify(se_GetConnectionRequest(input, context));
|
|
689
461
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
690
462
|
};
|
|
691
463
|
export const se_GetConnectionsCommand = async (input, context) => {
|
|
692
|
-
const headers =
|
|
693
|
-
"content-type": "application/x-amz-json-1.1",
|
|
694
|
-
"x-amz-target": "AWSGlue.GetConnections",
|
|
695
|
-
};
|
|
464
|
+
const headers = sharedHeaders("GetConnections");
|
|
696
465
|
let body;
|
|
697
466
|
body = JSON.stringify(se_GetConnectionsRequest(input, context));
|
|
698
467
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
699
468
|
};
|
|
700
469
|
export const se_GetCrawlerCommand = async (input, context) => {
|
|
701
|
-
const headers =
|
|
702
|
-
"content-type": "application/x-amz-json-1.1",
|
|
703
|
-
"x-amz-target": "AWSGlue.GetCrawler",
|
|
704
|
-
};
|
|
470
|
+
const headers = sharedHeaders("GetCrawler");
|
|
705
471
|
let body;
|
|
706
472
|
body = JSON.stringify(se_GetCrawlerRequest(input, context));
|
|
707
473
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
708
474
|
};
|
|
709
475
|
export const se_GetCrawlerMetricsCommand = async (input, context) => {
|
|
710
|
-
const headers =
|
|
711
|
-
"content-type": "application/x-amz-json-1.1",
|
|
712
|
-
"x-amz-target": "AWSGlue.GetCrawlerMetrics",
|
|
713
|
-
};
|
|
476
|
+
const headers = sharedHeaders("GetCrawlerMetrics");
|
|
714
477
|
let body;
|
|
715
478
|
body = JSON.stringify(se_GetCrawlerMetricsRequest(input, context));
|
|
716
479
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
717
480
|
};
|
|
718
481
|
export const se_GetCrawlersCommand = async (input, context) => {
|
|
719
|
-
const headers =
|
|
720
|
-
"content-type": "application/x-amz-json-1.1",
|
|
721
|
-
"x-amz-target": "AWSGlue.GetCrawlers",
|
|
722
|
-
};
|
|
482
|
+
const headers = sharedHeaders("GetCrawlers");
|
|
723
483
|
let body;
|
|
724
484
|
body = JSON.stringify(se_GetCrawlersRequest(input, context));
|
|
725
485
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
726
486
|
};
|
|
727
487
|
export const se_GetCustomEntityTypeCommand = async (input, context) => {
|
|
728
|
-
const headers =
|
|
729
|
-
"content-type": "application/x-amz-json-1.1",
|
|
730
|
-
"x-amz-target": "AWSGlue.GetCustomEntityType",
|
|
731
|
-
};
|
|
488
|
+
const headers = sharedHeaders("GetCustomEntityType");
|
|
732
489
|
let body;
|
|
733
490
|
body = JSON.stringify(se_GetCustomEntityTypeRequest(input, context));
|
|
734
491
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
735
492
|
};
|
|
736
493
|
export const se_GetDatabaseCommand = async (input, context) => {
|
|
737
|
-
const headers =
|
|
738
|
-
"content-type": "application/x-amz-json-1.1",
|
|
739
|
-
"x-amz-target": "AWSGlue.GetDatabase",
|
|
740
|
-
};
|
|
494
|
+
const headers = sharedHeaders("GetDatabase");
|
|
741
495
|
let body;
|
|
742
496
|
body = JSON.stringify(se_GetDatabaseRequest(input, context));
|
|
743
497
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
744
498
|
};
|
|
745
499
|
export const se_GetDatabasesCommand = async (input, context) => {
|
|
746
|
-
const headers =
|
|
747
|
-
"content-type": "application/x-amz-json-1.1",
|
|
748
|
-
"x-amz-target": "AWSGlue.GetDatabases",
|
|
749
|
-
};
|
|
500
|
+
const headers = sharedHeaders("GetDatabases");
|
|
750
501
|
let body;
|
|
751
502
|
body = JSON.stringify(se_GetDatabasesRequest(input, context));
|
|
752
503
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
753
504
|
};
|
|
754
505
|
export const se_GetDataCatalogEncryptionSettingsCommand = async (input, context) => {
|
|
755
|
-
const headers =
|
|
756
|
-
"content-type": "application/x-amz-json-1.1",
|
|
757
|
-
"x-amz-target": "AWSGlue.GetDataCatalogEncryptionSettings",
|
|
758
|
-
};
|
|
506
|
+
const headers = sharedHeaders("GetDataCatalogEncryptionSettings");
|
|
759
507
|
let body;
|
|
760
508
|
body = JSON.stringify(se_GetDataCatalogEncryptionSettingsRequest(input, context));
|
|
761
509
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
762
510
|
};
|
|
763
511
|
export const se_GetDataflowGraphCommand = async (input, context) => {
|
|
764
|
-
const headers =
|
|
765
|
-
"content-type": "application/x-amz-json-1.1",
|
|
766
|
-
"x-amz-target": "AWSGlue.GetDataflowGraph",
|
|
767
|
-
};
|
|
512
|
+
const headers = sharedHeaders("GetDataflowGraph");
|
|
768
513
|
let body;
|
|
769
514
|
body = JSON.stringify(se_GetDataflowGraphRequest(input, context));
|
|
770
515
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
771
516
|
};
|
|
772
517
|
export const se_GetDataQualityResultCommand = async (input, context) => {
|
|
773
|
-
const headers =
|
|
774
|
-
"content-type": "application/x-amz-json-1.1",
|
|
775
|
-
"x-amz-target": "AWSGlue.GetDataQualityResult",
|
|
776
|
-
};
|
|
518
|
+
const headers = sharedHeaders("GetDataQualityResult");
|
|
777
519
|
let body;
|
|
778
520
|
body = JSON.stringify(se_GetDataQualityResultRequest(input, context));
|
|
779
521
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
780
522
|
};
|
|
781
523
|
export const se_GetDataQualityRuleRecommendationRunCommand = async (input, context) => {
|
|
782
|
-
const headers =
|
|
783
|
-
"content-type": "application/x-amz-json-1.1",
|
|
784
|
-
"x-amz-target": "AWSGlue.GetDataQualityRuleRecommendationRun",
|
|
785
|
-
};
|
|
524
|
+
const headers = sharedHeaders("GetDataQualityRuleRecommendationRun");
|
|
786
525
|
let body;
|
|
787
526
|
body = JSON.stringify(se_GetDataQualityRuleRecommendationRunRequest(input, context));
|
|
788
527
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
789
528
|
};
|
|
790
529
|
export const se_GetDataQualityRulesetCommand = async (input, context) => {
|
|
791
|
-
const headers =
|
|
792
|
-
"content-type": "application/x-amz-json-1.1",
|
|
793
|
-
"x-amz-target": "AWSGlue.GetDataQualityRuleset",
|
|
794
|
-
};
|
|
530
|
+
const headers = sharedHeaders("GetDataQualityRuleset");
|
|
795
531
|
let body;
|
|
796
532
|
body = JSON.stringify(se_GetDataQualityRulesetRequest(input, context));
|
|
797
533
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
798
534
|
};
|
|
799
535
|
export const se_GetDataQualityRulesetEvaluationRunCommand = async (input, context) => {
|
|
800
|
-
const headers =
|
|
801
|
-
"content-type": "application/x-amz-json-1.1",
|
|
802
|
-
"x-amz-target": "AWSGlue.GetDataQualityRulesetEvaluationRun",
|
|
803
|
-
};
|
|
536
|
+
const headers = sharedHeaders("GetDataQualityRulesetEvaluationRun");
|
|
804
537
|
let body;
|
|
805
538
|
body = JSON.stringify(se_GetDataQualityRulesetEvaluationRunRequest(input, context));
|
|
806
539
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
807
540
|
};
|
|
808
541
|
export const se_GetDevEndpointCommand = async (input, context) => {
|
|
809
|
-
const headers =
|
|
810
|
-
"content-type": "application/x-amz-json-1.1",
|
|
811
|
-
"x-amz-target": "AWSGlue.GetDevEndpoint",
|
|
812
|
-
};
|
|
542
|
+
const headers = sharedHeaders("GetDevEndpoint");
|
|
813
543
|
let body;
|
|
814
544
|
body = JSON.stringify(se_GetDevEndpointRequest(input, context));
|
|
815
545
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
816
546
|
};
|
|
817
547
|
export const se_GetDevEndpointsCommand = async (input, context) => {
|
|
818
|
-
const headers =
|
|
819
|
-
"content-type": "application/x-amz-json-1.1",
|
|
820
|
-
"x-amz-target": "AWSGlue.GetDevEndpoints",
|
|
821
|
-
};
|
|
548
|
+
const headers = sharedHeaders("GetDevEndpoints");
|
|
822
549
|
let body;
|
|
823
550
|
body = JSON.stringify(se_GetDevEndpointsRequest(input, context));
|
|
824
551
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
825
552
|
};
|
|
826
553
|
export const se_GetJobCommand = async (input, context) => {
|
|
827
|
-
const headers =
|
|
828
|
-
"content-type": "application/x-amz-json-1.1",
|
|
829
|
-
"x-amz-target": "AWSGlue.GetJob",
|
|
830
|
-
};
|
|
554
|
+
const headers = sharedHeaders("GetJob");
|
|
831
555
|
let body;
|
|
832
556
|
body = JSON.stringify(se_GetJobRequest(input, context));
|
|
833
557
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
834
558
|
};
|
|
835
559
|
export const se_GetJobBookmarkCommand = async (input, context) => {
|
|
836
|
-
const headers =
|
|
837
|
-
"content-type": "application/x-amz-json-1.1",
|
|
838
|
-
"x-amz-target": "AWSGlue.GetJobBookmark",
|
|
839
|
-
};
|
|
560
|
+
const headers = sharedHeaders("GetJobBookmark");
|
|
840
561
|
let body;
|
|
841
562
|
body = JSON.stringify(se_GetJobBookmarkRequest(input, context));
|
|
842
563
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
843
564
|
};
|
|
844
565
|
export const se_GetJobRunCommand = async (input, context) => {
|
|
845
|
-
const headers =
|
|
846
|
-
"content-type": "application/x-amz-json-1.1",
|
|
847
|
-
"x-amz-target": "AWSGlue.GetJobRun",
|
|
848
|
-
};
|
|
566
|
+
const headers = sharedHeaders("GetJobRun");
|
|
849
567
|
let body;
|
|
850
568
|
body = JSON.stringify(se_GetJobRunRequest(input, context));
|
|
851
569
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
852
570
|
};
|
|
853
571
|
export const se_GetJobRunsCommand = async (input, context) => {
|
|
854
|
-
const headers =
|
|
855
|
-
"content-type": "application/x-amz-json-1.1",
|
|
856
|
-
"x-amz-target": "AWSGlue.GetJobRuns",
|
|
857
|
-
};
|
|
572
|
+
const headers = sharedHeaders("GetJobRuns");
|
|
858
573
|
let body;
|
|
859
574
|
body = JSON.stringify(se_GetJobRunsRequest(input, context));
|
|
860
575
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
861
576
|
};
|
|
862
577
|
export const se_GetJobsCommand = async (input, context) => {
|
|
863
|
-
const headers =
|
|
864
|
-
"content-type": "application/x-amz-json-1.1",
|
|
865
|
-
"x-amz-target": "AWSGlue.GetJobs",
|
|
866
|
-
};
|
|
578
|
+
const headers = sharedHeaders("GetJobs");
|
|
867
579
|
let body;
|
|
868
580
|
body = JSON.stringify(se_GetJobsRequest(input, context));
|
|
869
581
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
870
582
|
};
|
|
871
583
|
export const se_GetMappingCommand = async (input, context) => {
|
|
872
|
-
const headers =
|
|
873
|
-
"content-type": "application/x-amz-json-1.1",
|
|
874
|
-
"x-amz-target": "AWSGlue.GetMapping",
|
|
875
|
-
};
|
|
584
|
+
const headers = sharedHeaders("GetMapping");
|
|
876
585
|
let body;
|
|
877
586
|
body = JSON.stringify(se_GetMappingRequest(input, context));
|
|
878
587
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
879
588
|
};
|
|
880
589
|
export const se_GetMLTaskRunCommand = async (input, context) => {
|
|
881
|
-
const headers =
|
|
882
|
-
"content-type": "application/x-amz-json-1.1",
|
|
883
|
-
"x-amz-target": "AWSGlue.GetMLTaskRun",
|
|
884
|
-
};
|
|
590
|
+
const headers = sharedHeaders("GetMLTaskRun");
|
|
885
591
|
let body;
|
|
886
592
|
body = JSON.stringify(se_GetMLTaskRunRequest(input, context));
|
|
887
593
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
888
594
|
};
|
|
889
595
|
export const se_GetMLTaskRunsCommand = async (input, context) => {
|
|
890
|
-
const headers =
|
|
891
|
-
"content-type": "application/x-amz-json-1.1",
|
|
892
|
-
"x-amz-target": "AWSGlue.GetMLTaskRuns",
|
|
893
|
-
};
|
|
596
|
+
const headers = sharedHeaders("GetMLTaskRuns");
|
|
894
597
|
let body;
|
|
895
598
|
body = JSON.stringify(se_GetMLTaskRunsRequest(input, context));
|
|
896
599
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
897
600
|
};
|
|
898
601
|
export const se_GetMLTransformCommand = async (input, context) => {
|
|
899
|
-
const headers =
|
|
900
|
-
"content-type": "application/x-amz-json-1.1",
|
|
901
|
-
"x-amz-target": "AWSGlue.GetMLTransform",
|
|
902
|
-
};
|
|
602
|
+
const headers = sharedHeaders("GetMLTransform");
|
|
903
603
|
let body;
|
|
904
604
|
body = JSON.stringify(se_GetMLTransformRequest(input, context));
|
|
905
605
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
906
606
|
};
|
|
907
607
|
export const se_GetMLTransformsCommand = async (input, context) => {
|
|
908
|
-
const headers =
|
|
909
|
-
"content-type": "application/x-amz-json-1.1",
|
|
910
|
-
"x-amz-target": "AWSGlue.GetMLTransforms",
|
|
911
|
-
};
|
|
608
|
+
const headers = sharedHeaders("GetMLTransforms");
|
|
912
609
|
let body;
|
|
913
610
|
body = JSON.stringify(se_GetMLTransformsRequest(input, context));
|
|
914
611
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
915
612
|
};
|
|
916
613
|
export const se_GetPartitionCommand = async (input, context) => {
|
|
917
|
-
const headers =
|
|
918
|
-
"content-type": "application/x-amz-json-1.1",
|
|
919
|
-
"x-amz-target": "AWSGlue.GetPartition",
|
|
920
|
-
};
|
|
614
|
+
const headers = sharedHeaders("GetPartition");
|
|
921
615
|
let body;
|
|
922
616
|
body = JSON.stringify(se_GetPartitionRequest(input, context));
|
|
923
617
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
924
618
|
};
|
|
925
619
|
export const se_GetPartitionIndexesCommand = async (input, context) => {
|
|
926
|
-
const headers =
|
|
927
|
-
"content-type": "application/x-amz-json-1.1",
|
|
928
|
-
"x-amz-target": "AWSGlue.GetPartitionIndexes",
|
|
929
|
-
};
|
|
620
|
+
const headers = sharedHeaders("GetPartitionIndexes");
|
|
930
621
|
let body;
|
|
931
622
|
body = JSON.stringify(se_GetPartitionIndexesRequest(input, context));
|
|
932
623
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
933
624
|
};
|
|
934
625
|
export const se_GetPartitionsCommand = async (input, context) => {
|
|
935
|
-
const headers =
|
|
936
|
-
"content-type": "application/x-amz-json-1.1",
|
|
937
|
-
"x-amz-target": "AWSGlue.GetPartitions",
|
|
938
|
-
};
|
|
626
|
+
const headers = sharedHeaders("GetPartitions");
|
|
939
627
|
let body;
|
|
940
628
|
body = JSON.stringify(se_GetPartitionsRequest(input, context));
|
|
941
629
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
942
630
|
};
|
|
943
631
|
export const se_GetPlanCommand = async (input, context) => {
|
|
944
|
-
const headers =
|
|
945
|
-
"content-type": "application/x-amz-json-1.1",
|
|
946
|
-
"x-amz-target": "AWSGlue.GetPlan",
|
|
947
|
-
};
|
|
632
|
+
const headers = sharedHeaders("GetPlan");
|
|
948
633
|
let body;
|
|
949
634
|
body = JSON.stringify(se_GetPlanRequest(input, context));
|
|
950
635
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
951
636
|
};
|
|
952
637
|
export const se_GetRegistryCommand = async (input, context) => {
|
|
953
|
-
const headers =
|
|
954
|
-
"content-type": "application/x-amz-json-1.1",
|
|
955
|
-
"x-amz-target": "AWSGlue.GetRegistry",
|
|
956
|
-
};
|
|
638
|
+
const headers = sharedHeaders("GetRegistry");
|
|
957
639
|
let body;
|
|
958
640
|
body = JSON.stringify(se_GetRegistryInput(input, context));
|
|
959
641
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
960
642
|
};
|
|
961
643
|
export const se_GetResourcePoliciesCommand = async (input, context) => {
|
|
962
|
-
const headers =
|
|
963
|
-
"content-type": "application/x-amz-json-1.1",
|
|
964
|
-
"x-amz-target": "AWSGlue.GetResourcePolicies",
|
|
965
|
-
};
|
|
644
|
+
const headers = sharedHeaders("GetResourcePolicies");
|
|
966
645
|
let body;
|
|
967
646
|
body = JSON.stringify(se_GetResourcePoliciesRequest(input, context));
|
|
968
647
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
969
648
|
};
|
|
970
649
|
export const se_GetResourcePolicyCommand = async (input, context) => {
|
|
971
|
-
const headers =
|
|
972
|
-
"content-type": "application/x-amz-json-1.1",
|
|
973
|
-
"x-amz-target": "AWSGlue.GetResourcePolicy",
|
|
974
|
-
};
|
|
650
|
+
const headers = sharedHeaders("GetResourcePolicy");
|
|
975
651
|
let body;
|
|
976
652
|
body = JSON.stringify(se_GetResourcePolicyRequest(input, context));
|
|
977
653
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
978
654
|
};
|
|
979
655
|
export const se_GetSchemaCommand = async (input, context) => {
|
|
980
|
-
const headers =
|
|
981
|
-
"content-type": "application/x-amz-json-1.1",
|
|
982
|
-
"x-amz-target": "AWSGlue.GetSchema",
|
|
983
|
-
};
|
|
656
|
+
const headers = sharedHeaders("GetSchema");
|
|
984
657
|
let body;
|
|
985
658
|
body = JSON.stringify(se_GetSchemaInput(input, context));
|
|
986
659
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
987
660
|
};
|
|
988
661
|
export const se_GetSchemaByDefinitionCommand = async (input, context) => {
|
|
989
|
-
const headers =
|
|
990
|
-
"content-type": "application/x-amz-json-1.1",
|
|
991
|
-
"x-amz-target": "AWSGlue.GetSchemaByDefinition",
|
|
992
|
-
};
|
|
662
|
+
const headers = sharedHeaders("GetSchemaByDefinition");
|
|
993
663
|
let body;
|
|
994
664
|
body = JSON.stringify(se_GetSchemaByDefinitionInput(input, context));
|
|
995
665
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
996
666
|
};
|
|
997
667
|
export const se_GetSchemaVersionCommand = async (input, context) => {
|
|
998
|
-
const headers =
|
|
999
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1000
|
-
"x-amz-target": "AWSGlue.GetSchemaVersion",
|
|
1001
|
-
};
|
|
668
|
+
const headers = sharedHeaders("GetSchemaVersion");
|
|
1002
669
|
let body;
|
|
1003
670
|
body = JSON.stringify(se_GetSchemaVersionInput(input, context));
|
|
1004
671
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1005
672
|
};
|
|
1006
673
|
export const se_GetSchemaVersionsDiffCommand = async (input, context) => {
|
|
1007
|
-
const headers =
|
|
1008
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1009
|
-
"x-amz-target": "AWSGlue.GetSchemaVersionsDiff",
|
|
1010
|
-
};
|
|
674
|
+
const headers = sharedHeaders("GetSchemaVersionsDiff");
|
|
1011
675
|
let body;
|
|
1012
676
|
body = JSON.stringify(se_GetSchemaVersionsDiffInput(input, context));
|
|
1013
677
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1014
678
|
};
|
|
1015
679
|
export const se_GetSecurityConfigurationCommand = async (input, context) => {
|
|
1016
|
-
const headers =
|
|
1017
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1018
|
-
"x-amz-target": "AWSGlue.GetSecurityConfiguration",
|
|
1019
|
-
};
|
|
680
|
+
const headers = sharedHeaders("GetSecurityConfiguration");
|
|
1020
681
|
let body;
|
|
1021
682
|
body = JSON.stringify(se_GetSecurityConfigurationRequest(input, context));
|
|
1022
683
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1023
684
|
};
|
|
1024
685
|
export const se_GetSecurityConfigurationsCommand = async (input, context) => {
|
|
1025
|
-
const headers =
|
|
1026
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1027
|
-
"x-amz-target": "AWSGlue.GetSecurityConfigurations",
|
|
1028
|
-
};
|
|
686
|
+
const headers = sharedHeaders("GetSecurityConfigurations");
|
|
1029
687
|
let body;
|
|
1030
688
|
body = JSON.stringify(se_GetSecurityConfigurationsRequest(input, context));
|
|
1031
689
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1032
690
|
};
|
|
1033
691
|
export const se_GetSessionCommand = async (input, context) => {
|
|
1034
|
-
const headers =
|
|
1035
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1036
|
-
"x-amz-target": "AWSGlue.GetSession",
|
|
1037
|
-
};
|
|
692
|
+
const headers = sharedHeaders("GetSession");
|
|
1038
693
|
let body;
|
|
1039
694
|
body = JSON.stringify(se_GetSessionRequest(input, context));
|
|
1040
695
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1041
696
|
};
|
|
1042
697
|
export const se_GetStatementCommand = async (input, context) => {
|
|
1043
|
-
const headers =
|
|
1044
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1045
|
-
"x-amz-target": "AWSGlue.GetStatement",
|
|
1046
|
-
};
|
|
698
|
+
const headers = sharedHeaders("GetStatement");
|
|
1047
699
|
let body;
|
|
1048
700
|
body = JSON.stringify(se_GetStatementRequest(input, context));
|
|
1049
701
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1050
702
|
};
|
|
1051
703
|
export const se_GetTableCommand = async (input, context) => {
|
|
1052
|
-
const headers =
|
|
1053
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1054
|
-
"x-amz-target": "AWSGlue.GetTable",
|
|
1055
|
-
};
|
|
704
|
+
const headers = sharedHeaders("GetTable");
|
|
1056
705
|
let body;
|
|
1057
706
|
body = JSON.stringify(se_GetTableRequest(input, context));
|
|
1058
707
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1059
708
|
};
|
|
1060
709
|
export const se_GetTablesCommand = async (input, context) => {
|
|
1061
|
-
const headers =
|
|
1062
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1063
|
-
"x-amz-target": "AWSGlue.GetTables",
|
|
1064
|
-
};
|
|
710
|
+
const headers = sharedHeaders("GetTables");
|
|
1065
711
|
let body;
|
|
1066
712
|
body = JSON.stringify(se_GetTablesRequest(input, context));
|
|
1067
713
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1068
714
|
};
|
|
1069
715
|
export const se_GetTableVersionCommand = async (input, context) => {
|
|
1070
|
-
const headers =
|
|
1071
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1072
|
-
"x-amz-target": "AWSGlue.GetTableVersion",
|
|
1073
|
-
};
|
|
716
|
+
const headers = sharedHeaders("GetTableVersion");
|
|
1074
717
|
let body;
|
|
1075
718
|
body = JSON.stringify(se_GetTableVersionRequest(input, context));
|
|
1076
719
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1077
720
|
};
|
|
1078
721
|
export const se_GetTableVersionsCommand = async (input, context) => {
|
|
1079
|
-
const headers =
|
|
1080
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1081
|
-
"x-amz-target": "AWSGlue.GetTableVersions",
|
|
1082
|
-
};
|
|
722
|
+
const headers = sharedHeaders("GetTableVersions");
|
|
1083
723
|
let body;
|
|
1084
724
|
body = JSON.stringify(se_GetTableVersionsRequest(input, context));
|
|
1085
725
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1086
726
|
};
|
|
1087
727
|
export const se_GetTagsCommand = async (input, context) => {
|
|
1088
|
-
const headers =
|
|
1089
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1090
|
-
"x-amz-target": "AWSGlue.GetTags",
|
|
1091
|
-
};
|
|
728
|
+
const headers = sharedHeaders("GetTags");
|
|
1092
729
|
let body;
|
|
1093
730
|
body = JSON.stringify(se_GetTagsRequest(input, context));
|
|
1094
731
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1095
732
|
};
|
|
1096
733
|
export const se_GetTriggerCommand = async (input, context) => {
|
|
1097
|
-
const headers =
|
|
1098
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1099
|
-
"x-amz-target": "AWSGlue.GetTrigger",
|
|
1100
|
-
};
|
|
734
|
+
const headers = sharedHeaders("GetTrigger");
|
|
1101
735
|
let body;
|
|
1102
736
|
body = JSON.stringify(se_GetTriggerRequest(input, context));
|
|
1103
737
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1104
738
|
};
|
|
1105
739
|
export const se_GetTriggersCommand = async (input, context) => {
|
|
1106
|
-
const headers =
|
|
1107
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1108
|
-
"x-amz-target": "AWSGlue.GetTriggers",
|
|
1109
|
-
};
|
|
740
|
+
const headers = sharedHeaders("GetTriggers");
|
|
1110
741
|
let body;
|
|
1111
742
|
body = JSON.stringify(se_GetTriggersRequest(input, context));
|
|
1112
743
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1113
744
|
};
|
|
1114
745
|
export const se_GetUnfilteredPartitionMetadataCommand = async (input, context) => {
|
|
1115
|
-
const headers =
|
|
1116
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1117
|
-
"x-amz-target": "AWSGlue.GetUnfilteredPartitionMetadata",
|
|
1118
|
-
};
|
|
746
|
+
const headers = sharedHeaders("GetUnfilteredPartitionMetadata");
|
|
1119
747
|
let body;
|
|
1120
748
|
body = JSON.stringify(se_GetUnfilteredPartitionMetadataRequest(input, context));
|
|
1121
749
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1122
750
|
};
|
|
1123
751
|
export const se_GetUnfilteredPartitionsMetadataCommand = async (input, context) => {
|
|
1124
|
-
const headers =
|
|
1125
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1126
|
-
"x-amz-target": "AWSGlue.GetUnfilteredPartitionsMetadata",
|
|
1127
|
-
};
|
|
752
|
+
const headers = sharedHeaders("GetUnfilteredPartitionsMetadata");
|
|
1128
753
|
let body;
|
|
1129
754
|
body = JSON.stringify(se_GetUnfilteredPartitionsMetadataRequest(input, context));
|
|
1130
755
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1131
756
|
};
|
|
1132
757
|
export const se_GetUnfilteredTableMetadataCommand = async (input, context) => {
|
|
1133
|
-
const headers =
|
|
1134
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1135
|
-
"x-amz-target": "AWSGlue.GetUnfilteredTableMetadata",
|
|
1136
|
-
};
|
|
758
|
+
const headers = sharedHeaders("GetUnfilteredTableMetadata");
|
|
1137
759
|
let body;
|
|
1138
760
|
body = JSON.stringify(se_GetUnfilteredTableMetadataRequest(input, context));
|
|
1139
761
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1140
762
|
};
|
|
1141
763
|
export const se_GetUserDefinedFunctionCommand = async (input, context) => {
|
|
1142
|
-
const headers =
|
|
1143
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1144
|
-
"x-amz-target": "AWSGlue.GetUserDefinedFunction",
|
|
1145
|
-
};
|
|
764
|
+
const headers = sharedHeaders("GetUserDefinedFunction");
|
|
1146
765
|
let body;
|
|
1147
766
|
body = JSON.stringify(se_GetUserDefinedFunctionRequest(input, context));
|
|
1148
767
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1149
768
|
};
|
|
1150
769
|
export const se_GetUserDefinedFunctionsCommand = async (input, context) => {
|
|
1151
|
-
const headers =
|
|
1152
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1153
|
-
"x-amz-target": "AWSGlue.GetUserDefinedFunctions",
|
|
1154
|
-
};
|
|
770
|
+
const headers = sharedHeaders("GetUserDefinedFunctions");
|
|
1155
771
|
let body;
|
|
1156
772
|
body = JSON.stringify(se_GetUserDefinedFunctionsRequest(input, context));
|
|
1157
773
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1158
774
|
};
|
|
1159
775
|
export const se_GetWorkflowCommand = async (input, context) => {
|
|
1160
|
-
const headers =
|
|
1161
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1162
|
-
"x-amz-target": "AWSGlue.GetWorkflow",
|
|
1163
|
-
};
|
|
776
|
+
const headers = sharedHeaders("GetWorkflow");
|
|
1164
777
|
let body;
|
|
1165
778
|
body = JSON.stringify(se_GetWorkflowRequest(input, context));
|
|
1166
779
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1167
780
|
};
|
|
1168
781
|
export const se_GetWorkflowRunCommand = async (input, context) => {
|
|
1169
|
-
const headers =
|
|
1170
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1171
|
-
"x-amz-target": "AWSGlue.GetWorkflowRun",
|
|
1172
|
-
};
|
|
782
|
+
const headers = sharedHeaders("GetWorkflowRun");
|
|
1173
783
|
let body;
|
|
1174
784
|
body = JSON.stringify(se_GetWorkflowRunRequest(input, context));
|
|
1175
785
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1176
786
|
};
|
|
1177
787
|
export const se_GetWorkflowRunPropertiesCommand = async (input, context) => {
|
|
1178
|
-
const headers =
|
|
1179
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1180
|
-
"x-amz-target": "AWSGlue.GetWorkflowRunProperties",
|
|
1181
|
-
};
|
|
788
|
+
const headers = sharedHeaders("GetWorkflowRunProperties");
|
|
1182
789
|
let body;
|
|
1183
790
|
body = JSON.stringify(se_GetWorkflowRunPropertiesRequest(input, context));
|
|
1184
791
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1185
792
|
};
|
|
1186
793
|
export const se_GetWorkflowRunsCommand = async (input, context) => {
|
|
1187
|
-
const headers =
|
|
1188
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1189
|
-
"x-amz-target": "AWSGlue.GetWorkflowRuns",
|
|
1190
|
-
};
|
|
794
|
+
const headers = sharedHeaders("GetWorkflowRuns");
|
|
1191
795
|
let body;
|
|
1192
796
|
body = JSON.stringify(se_GetWorkflowRunsRequest(input, context));
|
|
1193
797
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1194
798
|
};
|
|
1195
799
|
export const se_ImportCatalogToGlueCommand = async (input, context) => {
|
|
1196
|
-
const headers =
|
|
1197
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1198
|
-
"x-amz-target": "AWSGlue.ImportCatalogToGlue",
|
|
1199
|
-
};
|
|
800
|
+
const headers = sharedHeaders("ImportCatalogToGlue");
|
|
1200
801
|
let body;
|
|
1201
802
|
body = JSON.stringify(se_ImportCatalogToGlueRequest(input, context));
|
|
1202
803
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1203
804
|
};
|
|
1204
805
|
export const se_ListBlueprintsCommand = async (input, context) => {
|
|
1205
|
-
const headers =
|
|
1206
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1207
|
-
"x-amz-target": "AWSGlue.ListBlueprints",
|
|
1208
|
-
};
|
|
806
|
+
const headers = sharedHeaders("ListBlueprints");
|
|
1209
807
|
let body;
|
|
1210
808
|
body = JSON.stringify(se_ListBlueprintsRequest(input, context));
|
|
1211
809
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1212
810
|
};
|
|
1213
811
|
export const se_ListCrawlersCommand = async (input, context) => {
|
|
1214
|
-
const headers =
|
|
1215
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1216
|
-
"x-amz-target": "AWSGlue.ListCrawlers",
|
|
1217
|
-
};
|
|
812
|
+
const headers = sharedHeaders("ListCrawlers");
|
|
1218
813
|
let body;
|
|
1219
814
|
body = JSON.stringify(se_ListCrawlersRequest(input, context));
|
|
1220
815
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1221
816
|
};
|
|
1222
817
|
export const se_ListCrawlsCommand = async (input, context) => {
|
|
1223
|
-
const headers =
|
|
1224
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1225
|
-
"x-amz-target": "AWSGlue.ListCrawls",
|
|
1226
|
-
};
|
|
818
|
+
const headers = sharedHeaders("ListCrawls");
|
|
1227
819
|
let body;
|
|
1228
820
|
body = JSON.stringify(se_ListCrawlsRequest(input, context));
|
|
1229
821
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1230
822
|
};
|
|
1231
823
|
export const se_ListCustomEntityTypesCommand = async (input, context) => {
|
|
1232
|
-
const headers =
|
|
1233
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1234
|
-
"x-amz-target": "AWSGlue.ListCustomEntityTypes",
|
|
1235
|
-
};
|
|
824
|
+
const headers = sharedHeaders("ListCustomEntityTypes");
|
|
1236
825
|
let body;
|
|
1237
826
|
body = JSON.stringify(se_ListCustomEntityTypesRequest(input, context));
|
|
1238
827
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1239
828
|
};
|
|
1240
829
|
export const se_ListDataQualityResultsCommand = async (input, context) => {
|
|
1241
|
-
const headers =
|
|
1242
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1243
|
-
"x-amz-target": "AWSGlue.ListDataQualityResults",
|
|
1244
|
-
};
|
|
830
|
+
const headers = sharedHeaders("ListDataQualityResults");
|
|
1245
831
|
let body;
|
|
1246
832
|
body = JSON.stringify(se_ListDataQualityResultsRequest(input, context));
|
|
1247
833
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1248
834
|
};
|
|
1249
835
|
export const se_ListDataQualityRuleRecommendationRunsCommand = async (input, context) => {
|
|
1250
|
-
const headers =
|
|
1251
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1252
|
-
"x-amz-target": "AWSGlue.ListDataQualityRuleRecommendationRuns",
|
|
1253
|
-
};
|
|
836
|
+
const headers = sharedHeaders("ListDataQualityRuleRecommendationRuns");
|
|
1254
837
|
let body;
|
|
1255
838
|
body = JSON.stringify(se_ListDataQualityRuleRecommendationRunsRequest(input, context));
|
|
1256
839
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1257
840
|
};
|
|
1258
841
|
export const se_ListDataQualityRulesetEvaluationRunsCommand = async (input, context) => {
|
|
1259
|
-
const headers =
|
|
1260
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1261
|
-
"x-amz-target": "AWSGlue.ListDataQualityRulesetEvaluationRuns",
|
|
1262
|
-
};
|
|
842
|
+
const headers = sharedHeaders("ListDataQualityRulesetEvaluationRuns");
|
|
1263
843
|
let body;
|
|
1264
844
|
body = JSON.stringify(se_ListDataQualityRulesetEvaluationRunsRequest(input, context));
|
|
1265
845
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1266
846
|
};
|
|
1267
847
|
export const se_ListDataQualityRulesetsCommand = async (input, context) => {
|
|
1268
|
-
const headers =
|
|
1269
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1270
|
-
"x-amz-target": "AWSGlue.ListDataQualityRulesets",
|
|
1271
|
-
};
|
|
848
|
+
const headers = sharedHeaders("ListDataQualityRulesets");
|
|
1272
849
|
let body;
|
|
1273
850
|
body = JSON.stringify(se_ListDataQualityRulesetsRequest(input, context));
|
|
1274
851
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1275
852
|
};
|
|
1276
853
|
export const se_ListDevEndpointsCommand = async (input, context) => {
|
|
1277
|
-
const headers =
|
|
1278
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1279
|
-
"x-amz-target": "AWSGlue.ListDevEndpoints",
|
|
1280
|
-
};
|
|
854
|
+
const headers = sharedHeaders("ListDevEndpoints");
|
|
1281
855
|
let body;
|
|
1282
856
|
body = JSON.stringify(se_ListDevEndpointsRequest(input, context));
|
|
1283
857
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1284
858
|
};
|
|
1285
859
|
export const se_ListJobsCommand = async (input, context) => {
|
|
1286
|
-
const headers =
|
|
1287
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1288
|
-
"x-amz-target": "AWSGlue.ListJobs",
|
|
1289
|
-
};
|
|
860
|
+
const headers = sharedHeaders("ListJobs");
|
|
1290
861
|
let body;
|
|
1291
862
|
body = JSON.stringify(se_ListJobsRequest(input, context));
|
|
1292
863
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1293
864
|
};
|
|
1294
865
|
export const se_ListMLTransformsCommand = async (input, context) => {
|
|
1295
|
-
const headers =
|
|
1296
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1297
|
-
"x-amz-target": "AWSGlue.ListMLTransforms",
|
|
1298
|
-
};
|
|
866
|
+
const headers = sharedHeaders("ListMLTransforms");
|
|
1299
867
|
let body;
|
|
1300
868
|
body = JSON.stringify(se_ListMLTransformsRequest(input, context));
|
|
1301
869
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1302
870
|
};
|
|
1303
871
|
export const se_ListRegistriesCommand = async (input, context) => {
|
|
1304
|
-
const headers =
|
|
1305
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1306
|
-
"x-amz-target": "AWSGlue.ListRegistries",
|
|
1307
|
-
};
|
|
872
|
+
const headers = sharedHeaders("ListRegistries");
|
|
1308
873
|
let body;
|
|
1309
874
|
body = JSON.stringify(se_ListRegistriesInput(input, context));
|
|
1310
875
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1311
876
|
};
|
|
1312
877
|
export const se_ListSchemasCommand = async (input, context) => {
|
|
1313
|
-
const headers =
|
|
1314
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1315
|
-
"x-amz-target": "AWSGlue.ListSchemas",
|
|
1316
|
-
};
|
|
878
|
+
const headers = sharedHeaders("ListSchemas");
|
|
1317
879
|
let body;
|
|
1318
880
|
body = JSON.stringify(se_ListSchemasInput(input, context));
|
|
1319
881
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1320
882
|
};
|
|
1321
883
|
export const se_ListSchemaVersionsCommand = async (input, context) => {
|
|
1322
|
-
const headers =
|
|
1323
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1324
|
-
"x-amz-target": "AWSGlue.ListSchemaVersions",
|
|
1325
|
-
};
|
|
884
|
+
const headers = sharedHeaders("ListSchemaVersions");
|
|
1326
885
|
let body;
|
|
1327
886
|
body = JSON.stringify(se_ListSchemaVersionsInput(input, context));
|
|
1328
887
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1329
888
|
};
|
|
1330
889
|
export const se_ListSessionsCommand = async (input, context) => {
|
|
1331
|
-
const headers =
|
|
1332
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1333
|
-
"x-amz-target": "AWSGlue.ListSessions",
|
|
1334
|
-
};
|
|
890
|
+
const headers = sharedHeaders("ListSessions");
|
|
1335
891
|
let body;
|
|
1336
892
|
body = JSON.stringify(se_ListSessionsRequest(input, context));
|
|
1337
893
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1338
894
|
};
|
|
1339
895
|
export const se_ListStatementsCommand = async (input, context) => {
|
|
1340
|
-
const headers =
|
|
1341
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1342
|
-
"x-amz-target": "AWSGlue.ListStatements",
|
|
1343
|
-
};
|
|
896
|
+
const headers = sharedHeaders("ListStatements");
|
|
1344
897
|
let body;
|
|
1345
898
|
body = JSON.stringify(se_ListStatementsRequest(input, context));
|
|
1346
899
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1347
900
|
};
|
|
1348
901
|
export const se_ListTriggersCommand = async (input, context) => {
|
|
1349
|
-
const headers =
|
|
1350
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1351
|
-
"x-amz-target": "AWSGlue.ListTriggers",
|
|
1352
|
-
};
|
|
902
|
+
const headers = sharedHeaders("ListTriggers");
|
|
1353
903
|
let body;
|
|
1354
904
|
body = JSON.stringify(se_ListTriggersRequest(input, context));
|
|
1355
905
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1356
906
|
};
|
|
1357
907
|
export const se_ListWorkflowsCommand = async (input, context) => {
|
|
1358
|
-
const headers =
|
|
1359
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1360
|
-
"x-amz-target": "AWSGlue.ListWorkflows",
|
|
1361
|
-
};
|
|
908
|
+
const headers = sharedHeaders("ListWorkflows");
|
|
1362
909
|
let body;
|
|
1363
910
|
body = JSON.stringify(se_ListWorkflowsRequest(input, context));
|
|
1364
911
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1365
912
|
};
|
|
1366
913
|
export const se_PutDataCatalogEncryptionSettingsCommand = async (input, context) => {
|
|
1367
|
-
const headers =
|
|
1368
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1369
|
-
"x-amz-target": "AWSGlue.PutDataCatalogEncryptionSettings",
|
|
1370
|
-
};
|
|
914
|
+
const headers = sharedHeaders("PutDataCatalogEncryptionSettings");
|
|
1371
915
|
let body;
|
|
1372
916
|
body = JSON.stringify(se_PutDataCatalogEncryptionSettingsRequest(input, context));
|
|
1373
917
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1374
918
|
};
|
|
1375
919
|
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
1376
|
-
const headers =
|
|
1377
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1378
|
-
"x-amz-target": "AWSGlue.PutResourcePolicy",
|
|
1379
|
-
};
|
|
920
|
+
const headers = sharedHeaders("PutResourcePolicy");
|
|
1380
921
|
let body;
|
|
1381
922
|
body = JSON.stringify(se_PutResourcePolicyRequest(input, context));
|
|
1382
923
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1383
924
|
};
|
|
1384
925
|
export const se_PutSchemaVersionMetadataCommand = async (input, context) => {
|
|
1385
|
-
const headers =
|
|
1386
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1387
|
-
"x-amz-target": "AWSGlue.PutSchemaVersionMetadata",
|
|
1388
|
-
};
|
|
926
|
+
const headers = sharedHeaders("PutSchemaVersionMetadata");
|
|
1389
927
|
let body;
|
|
1390
928
|
body = JSON.stringify(se_PutSchemaVersionMetadataInput(input, context));
|
|
1391
929
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1392
930
|
};
|
|
1393
931
|
export const se_PutWorkflowRunPropertiesCommand = async (input, context) => {
|
|
1394
|
-
const headers =
|
|
1395
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1396
|
-
"x-amz-target": "AWSGlue.PutWorkflowRunProperties",
|
|
1397
|
-
};
|
|
932
|
+
const headers = sharedHeaders("PutWorkflowRunProperties");
|
|
1398
933
|
let body;
|
|
1399
934
|
body = JSON.stringify(se_PutWorkflowRunPropertiesRequest(input, context));
|
|
1400
935
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1401
936
|
};
|
|
1402
937
|
export const se_QuerySchemaVersionMetadataCommand = async (input, context) => {
|
|
1403
|
-
const headers =
|
|
1404
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1405
|
-
"x-amz-target": "AWSGlue.QuerySchemaVersionMetadata",
|
|
1406
|
-
};
|
|
938
|
+
const headers = sharedHeaders("QuerySchemaVersionMetadata");
|
|
1407
939
|
let body;
|
|
1408
940
|
body = JSON.stringify(se_QuerySchemaVersionMetadataInput(input, context));
|
|
1409
941
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1410
942
|
};
|
|
1411
943
|
export const se_RegisterSchemaVersionCommand = async (input, context) => {
|
|
1412
|
-
const headers =
|
|
1413
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1414
|
-
"x-amz-target": "AWSGlue.RegisterSchemaVersion",
|
|
1415
|
-
};
|
|
944
|
+
const headers = sharedHeaders("RegisterSchemaVersion");
|
|
1416
945
|
let body;
|
|
1417
946
|
body = JSON.stringify(se_RegisterSchemaVersionInput(input, context));
|
|
1418
947
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1419
948
|
};
|
|
1420
949
|
export const se_RemoveSchemaVersionMetadataCommand = async (input, context) => {
|
|
1421
|
-
const headers =
|
|
1422
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1423
|
-
"x-amz-target": "AWSGlue.RemoveSchemaVersionMetadata",
|
|
1424
|
-
};
|
|
950
|
+
const headers = sharedHeaders("RemoveSchemaVersionMetadata");
|
|
1425
951
|
let body;
|
|
1426
952
|
body = JSON.stringify(se_RemoveSchemaVersionMetadataInput(input, context));
|
|
1427
953
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1428
954
|
};
|
|
1429
955
|
export const se_ResetJobBookmarkCommand = async (input, context) => {
|
|
1430
|
-
const headers =
|
|
1431
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1432
|
-
"x-amz-target": "AWSGlue.ResetJobBookmark",
|
|
1433
|
-
};
|
|
956
|
+
const headers = sharedHeaders("ResetJobBookmark");
|
|
1434
957
|
let body;
|
|
1435
958
|
body = JSON.stringify(se_ResetJobBookmarkRequest(input, context));
|
|
1436
959
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1437
960
|
};
|
|
1438
961
|
export const se_ResumeWorkflowRunCommand = async (input, context) => {
|
|
1439
|
-
const headers =
|
|
1440
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1441
|
-
"x-amz-target": "AWSGlue.ResumeWorkflowRun",
|
|
1442
|
-
};
|
|
962
|
+
const headers = sharedHeaders("ResumeWorkflowRun");
|
|
1443
963
|
let body;
|
|
1444
964
|
body = JSON.stringify(se_ResumeWorkflowRunRequest(input, context));
|
|
1445
965
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1446
966
|
};
|
|
1447
967
|
export const se_RunStatementCommand = async (input, context) => {
|
|
1448
|
-
const headers =
|
|
1449
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1450
|
-
"x-amz-target": "AWSGlue.RunStatement",
|
|
1451
|
-
};
|
|
968
|
+
const headers = sharedHeaders("RunStatement");
|
|
1452
969
|
let body;
|
|
1453
970
|
body = JSON.stringify(se_RunStatementRequest(input, context));
|
|
1454
971
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1455
972
|
};
|
|
1456
973
|
export const se_SearchTablesCommand = async (input, context) => {
|
|
1457
|
-
const headers =
|
|
1458
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1459
|
-
"x-amz-target": "AWSGlue.SearchTables",
|
|
1460
|
-
};
|
|
974
|
+
const headers = sharedHeaders("SearchTables");
|
|
1461
975
|
let body;
|
|
1462
976
|
body = JSON.stringify(se_SearchTablesRequest(input, context));
|
|
1463
977
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1464
978
|
};
|
|
1465
979
|
export const se_StartBlueprintRunCommand = async (input, context) => {
|
|
1466
|
-
const headers =
|
|
1467
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1468
|
-
"x-amz-target": "AWSGlue.StartBlueprintRun",
|
|
1469
|
-
};
|
|
980
|
+
const headers = sharedHeaders("StartBlueprintRun");
|
|
1470
981
|
let body;
|
|
1471
982
|
body = JSON.stringify(se_StartBlueprintRunRequest(input, context));
|
|
1472
983
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1473
984
|
};
|
|
1474
985
|
export const se_StartCrawlerCommand = async (input, context) => {
|
|
1475
|
-
const headers =
|
|
1476
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1477
|
-
"x-amz-target": "AWSGlue.StartCrawler",
|
|
1478
|
-
};
|
|
986
|
+
const headers = sharedHeaders("StartCrawler");
|
|
1479
987
|
let body;
|
|
1480
988
|
body = JSON.stringify(se_StartCrawlerRequest(input, context));
|
|
1481
989
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1482
990
|
};
|
|
1483
991
|
export const se_StartCrawlerScheduleCommand = async (input, context) => {
|
|
1484
|
-
const headers =
|
|
1485
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1486
|
-
"x-amz-target": "AWSGlue.StartCrawlerSchedule",
|
|
1487
|
-
};
|
|
992
|
+
const headers = sharedHeaders("StartCrawlerSchedule");
|
|
1488
993
|
let body;
|
|
1489
994
|
body = JSON.stringify(se_StartCrawlerScheduleRequest(input, context));
|
|
1490
995
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1491
996
|
};
|
|
1492
997
|
export const se_StartDataQualityRuleRecommendationRunCommand = async (input, context) => {
|
|
1493
|
-
const headers =
|
|
1494
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1495
|
-
"x-amz-target": "AWSGlue.StartDataQualityRuleRecommendationRun",
|
|
1496
|
-
};
|
|
998
|
+
const headers = sharedHeaders("StartDataQualityRuleRecommendationRun");
|
|
1497
999
|
let body;
|
|
1498
1000
|
body = JSON.stringify(se_StartDataQualityRuleRecommendationRunRequest(input, context));
|
|
1499
1001
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1500
1002
|
};
|
|
1501
1003
|
export const se_StartDataQualityRulesetEvaluationRunCommand = async (input, context) => {
|
|
1502
|
-
const headers =
|
|
1503
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1504
|
-
"x-amz-target": "AWSGlue.StartDataQualityRulesetEvaluationRun",
|
|
1505
|
-
};
|
|
1004
|
+
const headers = sharedHeaders("StartDataQualityRulesetEvaluationRun");
|
|
1506
1005
|
let body;
|
|
1507
1006
|
body = JSON.stringify(se_StartDataQualityRulesetEvaluationRunRequest(input, context));
|
|
1508
1007
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1509
1008
|
};
|
|
1510
1009
|
export const se_StartExportLabelsTaskRunCommand = async (input, context) => {
|
|
1511
|
-
const headers =
|
|
1512
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1513
|
-
"x-amz-target": "AWSGlue.StartExportLabelsTaskRun",
|
|
1514
|
-
};
|
|
1010
|
+
const headers = sharedHeaders("StartExportLabelsTaskRun");
|
|
1515
1011
|
let body;
|
|
1516
1012
|
body = JSON.stringify(se_StartExportLabelsTaskRunRequest(input, context));
|
|
1517
1013
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1518
1014
|
};
|
|
1519
1015
|
export const se_StartImportLabelsTaskRunCommand = async (input, context) => {
|
|
1520
|
-
const headers =
|
|
1521
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1522
|
-
"x-amz-target": "AWSGlue.StartImportLabelsTaskRun",
|
|
1523
|
-
};
|
|
1016
|
+
const headers = sharedHeaders("StartImportLabelsTaskRun");
|
|
1524
1017
|
let body;
|
|
1525
1018
|
body = JSON.stringify(se_StartImportLabelsTaskRunRequest(input, context));
|
|
1526
1019
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1527
1020
|
};
|
|
1528
1021
|
export const se_StartJobRunCommand = async (input, context) => {
|
|
1529
|
-
const headers =
|
|
1530
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1531
|
-
"x-amz-target": "AWSGlue.StartJobRun",
|
|
1532
|
-
};
|
|
1022
|
+
const headers = sharedHeaders("StartJobRun");
|
|
1533
1023
|
let body;
|
|
1534
1024
|
body = JSON.stringify(se_StartJobRunRequest(input, context));
|
|
1535
1025
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1536
1026
|
};
|
|
1537
1027
|
export const se_StartMLEvaluationTaskRunCommand = async (input, context) => {
|
|
1538
|
-
const headers =
|
|
1539
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1540
|
-
"x-amz-target": "AWSGlue.StartMLEvaluationTaskRun",
|
|
1541
|
-
};
|
|
1028
|
+
const headers = sharedHeaders("StartMLEvaluationTaskRun");
|
|
1542
1029
|
let body;
|
|
1543
1030
|
body = JSON.stringify(se_StartMLEvaluationTaskRunRequest(input, context));
|
|
1544
1031
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1545
1032
|
};
|
|
1546
1033
|
export const se_StartMLLabelingSetGenerationTaskRunCommand = async (input, context) => {
|
|
1547
|
-
const headers =
|
|
1548
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1549
|
-
"x-amz-target": "AWSGlue.StartMLLabelingSetGenerationTaskRun",
|
|
1550
|
-
};
|
|
1034
|
+
const headers = sharedHeaders("StartMLLabelingSetGenerationTaskRun");
|
|
1551
1035
|
let body;
|
|
1552
1036
|
body = JSON.stringify(se_StartMLLabelingSetGenerationTaskRunRequest(input, context));
|
|
1553
1037
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1554
1038
|
};
|
|
1555
1039
|
export const se_StartTriggerCommand = async (input, context) => {
|
|
1556
|
-
const headers =
|
|
1557
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1558
|
-
"x-amz-target": "AWSGlue.StartTrigger",
|
|
1559
|
-
};
|
|
1040
|
+
const headers = sharedHeaders("StartTrigger");
|
|
1560
1041
|
let body;
|
|
1561
1042
|
body = JSON.stringify(se_StartTriggerRequest(input, context));
|
|
1562
1043
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1563
1044
|
};
|
|
1564
1045
|
export const se_StartWorkflowRunCommand = async (input, context) => {
|
|
1565
|
-
const headers =
|
|
1566
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1567
|
-
"x-amz-target": "AWSGlue.StartWorkflowRun",
|
|
1568
|
-
};
|
|
1046
|
+
const headers = sharedHeaders("StartWorkflowRun");
|
|
1569
1047
|
let body;
|
|
1570
1048
|
body = JSON.stringify(se_StartWorkflowRunRequest(input, context));
|
|
1571
1049
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1572
1050
|
};
|
|
1573
1051
|
export const se_StopCrawlerCommand = async (input, context) => {
|
|
1574
|
-
const headers =
|
|
1575
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1576
|
-
"x-amz-target": "AWSGlue.StopCrawler",
|
|
1577
|
-
};
|
|
1052
|
+
const headers = sharedHeaders("StopCrawler");
|
|
1578
1053
|
let body;
|
|
1579
1054
|
body = JSON.stringify(se_StopCrawlerRequest(input, context));
|
|
1580
1055
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1581
1056
|
};
|
|
1582
1057
|
export const se_StopCrawlerScheduleCommand = async (input, context) => {
|
|
1583
|
-
const headers =
|
|
1584
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1585
|
-
"x-amz-target": "AWSGlue.StopCrawlerSchedule",
|
|
1586
|
-
};
|
|
1058
|
+
const headers = sharedHeaders("StopCrawlerSchedule");
|
|
1587
1059
|
let body;
|
|
1588
1060
|
body = JSON.stringify(se_StopCrawlerScheduleRequest(input, context));
|
|
1589
1061
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1590
1062
|
};
|
|
1591
1063
|
export const se_StopSessionCommand = async (input, context) => {
|
|
1592
|
-
const headers =
|
|
1593
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1594
|
-
"x-amz-target": "AWSGlue.StopSession",
|
|
1595
|
-
};
|
|
1064
|
+
const headers = sharedHeaders("StopSession");
|
|
1596
1065
|
let body;
|
|
1597
1066
|
body = JSON.stringify(se_StopSessionRequest(input, context));
|
|
1598
1067
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1599
1068
|
};
|
|
1600
1069
|
export const se_StopTriggerCommand = async (input, context) => {
|
|
1601
|
-
const headers =
|
|
1602
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1603
|
-
"x-amz-target": "AWSGlue.StopTrigger",
|
|
1604
|
-
};
|
|
1070
|
+
const headers = sharedHeaders("StopTrigger");
|
|
1605
1071
|
let body;
|
|
1606
1072
|
body = JSON.stringify(se_StopTriggerRequest(input, context));
|
|
1607
1073
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1608
1074
|
};
|
|
1609
1075
|
export const se_StopWorkflowRunCommand = async (input, context) => {
|
|
1610
|
-
const headers =
|
|
1611
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1612
|
-
"x-amz-target": "AWSGlue.StopWorkflowRun",
|
|
1613
|
-
};
|
|
1076
|
+
const headers = sharedHeaders("StopWorkflowRun");
|
|
1614
1077
|
let body;
|
|
1615
1078
|
body = JSON.stringify(se_StopWorkflowRunRequest(input, context));
|
|
1616
1079
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1617
1080
|
};
|
|
1618
1081
|
export const se_TagResourceCommand = async (input, context) => {
|
|
1619
|
-
const headers =
|
|
1620
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1621
|
-
"x-amz-target": "AWSGlue.TagResource",
|
|
1622
|
-
};
|
|
1082
|
+
const headers = sharedHeaders("TagResource");
|
|
1623
1083
|
let body;
|
|
1624
1084
|
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
1625
1085
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1626
1086
|
};
|
|
1627
1087
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
1628
|
-
const headers =
|
|
1629
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1630
|
-
"x-amz-target": "AWSGlue.UntagResource",
|
|
1631
|
-
};
|
|
1088
|
+
const headers = sharedHeaders("UntagResource");
|
|
1632
1089
|
let body;
|
|
1633
1090
|
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
1634
1091
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1635
1092
|
};
|
|
1636
1093
|
export const se_UpdateBlueprintCommand = async (input, context) => {
|
|
1637
|
-
const headers =
|
|
1638
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1639
|
-
"x-amz-target": "AWSGlue.UpdateBlueprint",
|
|
1640
|
-
};
|
|
1094
|
+
const headers = sharedHeaders("UpdateBlueprint");
|
|
1641
1095
|
let body;
|
|
1642
1096
|
body = JSON.stringify(se_UpdateBlueprintRequest(input, context));
|
|
1643
1097
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1644
1098
|
};
|
|
1645
1099
|
export const se_UpdateClassifierCommand = async (input, context) => {
|
|
1646
|
-
const headers =
|
|
1647
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1648
|
-
"x-amz-target": "AWSGlue.UpdateClassifier",
|
|
1649
|
-
};
|
|
1100
|
+
const headers = sharedHeaders("UpdateClassifier");
|
|
1650
1101
|
let body;
|
|
1651
1102
|
body = JSON.stringify(se_UpdateClassifierRequest(input, context));
|
|
1652
1103
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1653
1104
|
};
|
|
1654
1105
|
export const se_UpdateColumnStatisticsForPartitionCommand = async (input, context) => {
|
|
1655
|
-
const headers =
|
|
1656
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1657
|
-
"x-amz-target": "AWSGlue.UpdateColumnStatisticsForPartition",
|
|
1658
|
-
};
|
|
1106
|
+
const headers = sharedHeaders("UpdateColumnStatisticsForPartition");
|
|
1659
1107
|
let body;
|
|
1660
1108
|
body = JSON.stringify(se_UpdateColumnStatisticsForPartitionRequest(input, context));
|
|
1661
1109
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1662
1110
|
};
|
|
1663
1111
|
export const se_UpdateColumnStatisticsForTableCommand = async (input, context) => {
|
|
1664
|
-
const headers =
|
|
1665
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1666
|
-
"x-amz-target": "AWSGlue.UpdateColumnStatisticsForTable",
|
|
1667
|
-
};
|
|
1112
|
+
const headers = sharedHeaders("UpdateColumnStatisticsForTable");
|
|
1668
1113
|
let body;
|
|
1669
1114
|
body = JSON.stringify(se_UpdateColumnStatisticsForTableRequest(input, context));
|
|
1670
1115
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1671
1116
|
};
|
|
1672
1117
|
export const se_UpdateConnectionCommand = async (input, context) => {
|
|
1673
|
-
const headers =
|
|
1674
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1675
|
-
"x-amz-target": "AWSGlue.UpdateConnection",
|
|
1676
|
-
};
|
|
1118
|
+
const headers = sharedHeaders("UpdateConnection");
|
|
1677
1119
|
let body;
|
|
1678
1120
|
body = JSON.stringify(se_UpdateConnectionRequest(input, context));
|
|
1679
1121
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1680
1122
|
};
|
|
1681
1123
|
export const se_UpdateCrawlerCommand = async (input, context) => {
|
|
1682
|
-
const headers =
|
|
1683
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1684
|
-
"x-amz-target": "AWSGlue.UpdateCrawler",
|
|
1685
|
-
};
|
|
1124
|
+
const headers = sharedHeaders("UpdateCrawler");
|
|
1686
1125
|
let body;
|
|
1687
1126
|
body = JSON.stringify(se_UpdateCrawlerRequest(input, context));
|
|
1688
1127
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1689
1128
|
};
|
|
1690
1129
|
export const se_UpdateCrawlerScheduleCommand = async (input, context) => {
|
|
1691
|
-
const headers =
|
|
1692
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1693
|
-
"x-amz-target": "AWSGlue.UpdateCrawlerSchedule",
|
|
1694
|
-
};
|
|
1130
|
+
const headers = sharedHeaders("UpdateCrawlerSchedule");
|
|
1695
1131
|
let body;
|
|
1696
1132
|
body = JSON.stringify(se_UpdateCrawlerScheduleRequest(input, context));
|
|
1697
1133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1698
1134
|
};
|
|
1699
1135
|
export const se_UpdateDatabaseCommand = async (input, context) => {
|
|
1700
|
-
const headers =
|
|
1701
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1702
|
-
"x-amz-target": "AWSGlue.UpdateDatabase",
|
|
1703
|
-
};
|
|
1136
|
+
const headers = sharedHeaders("UpdateDatabase");
|
|
1704
1137
|
let body;
|
|
1705
1138
|
body = JSON.stringify(se_UpdateDatabaseRequest(input, context));
|
|
1706
1139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1707
1140
|
};
|
|
1708
1141
|
export const se_UpdateDataQualityRulesetCommand = async (input, context) => {
|
|
1709
|
-
const headers =
|
|
1710
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1711
|
-
"x-amz-target": "AWSGlue.UpdateDataQualityRuleset",
|
|
1712
|
-
};
|
|
1142
|
+
const headers = sharedHeaders("UpdateDataQualityRuleset");
|
|
1713
1143
|
let body;
|
|
1714
1144
|
body = JSON.stringify(se_UpdateDataQualityRulesetRequest(input, context));
|
|
1715
1145
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1716
1146
|
};
|
|
1717
1147
|
export const se_UpdateDevEndpointCommand = async (input, context) => {
|
|
1718
|
-
const headers =
|
|
1719
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1720
|
-
"x-amz-target": "AWSGlue.UpdateDevEndpoint",
|
|
1721
|
-
};
|
|
1148
|
+
const headers = sharedHeaders("UpdateDevEndpoint");
|
|
1722
1149
|
let body;
|
|
1723
1150
|
body = JSON.stringify(se_UpdateDevEndpointRequest(input, context));
|
|
1724
1151
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1725
1152
|
};
|
|
1726
1153
|
export const se_UpdateJobCommand = async (input, context) => {
|
|
1727
|
-
const headers =
|
|
1728
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1729
|
-
"x-amz-target": "AWSGlue.UpdateJob",
|
|
1730
|
-
};
|
|
1154
|
+
const headers = sharedHeaders("UpdateJob");
|
|
1731
1155
|
let body;
|
|
1732
1156
|
body = JSON.stringify(se_UpdateJobRequest(input, context));
|
|
1733
1157
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1734
1158
|
};
|
|
1735
1159
|
export const se_UpdateJobFromSourceControlCommand = async (input, context) => {
|
|
1736
|
-
const headers =
|
|
1737
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1738
|
-
"x-amz-target": "AWSGlue.UpdateJobFromSourceControl",
|
|
1739
|
-
};
|
|
1160
|
+
const headers = sharedHeaders("UpdateJobFromSourceControl");
|
|
1740
1161
|
let body;
|
|
1741
1162
|
body = JSON.stringify(se_UpdateJobFromSourceControlRequest(input, context));
|
|
1742
1163
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1743
1164
|
};
|
|
1744
1165
|
export const se_UpdateMLTransformCommand = async (input, context) => {
|
|
1745
|
-
const headers =
|
|
1746
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1747
|
-
"x-amz-target": "AWSGlue.UpdateMLTransform",
|
|
1748
|
-
};
|
|
1166
|
+
const headers = sharedHeaders("UpdateMLTransform");
|
|
1749
1167
|
let body;
|
|
1750
1168
|
body = JSON.stringify(se_UpdateMLTransformRequest(input, context));
|
|
1751
1169
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1752
1170
|
};
|
|
1753
1171
|
export const se_UpdatePartitionCommand = async (input, context) => {
|
|
1754
|
-
const headers =
|
|
1755
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1756
|
-
"x-amz-target": "AWSGlue.UpdatePartition",
|
|
1757
|
-
};
|
|
1172
|
+
const headers = sharedHeaders("UpdatePartition");
|
|
1758
1173
|
let body;
|
|
1759
1174
|
body = JSON.stringify(se_UpdatePartitionRequest(input, context));
|
|
1760
1175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1761
1176
|
};
|
|
1762
1177
|
export const se_UpdateRegistryCommand = async (input, context) => {
|
|
1763
|
-
const headers =
|
|
1764
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1765
|
-
"x-amz-target": "AWSGlue.UpdateRegistry",
|
|
1766
|
-
};
|
|
1178
|
+
const headers = sharedHeaders("UpdateRegistry");
|
|
1767
1179
|
let body;
|
|
1768
1180
|
body = JSON.stringify(se_UpdateRegistryInput(input, context));
|
|
1769
1181
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1770
1182
|
};
|
|
1771
1183
|
export const se_UpdateSchemaCommand = async (input, context) => {
|
|
1772
|
-
const headers =
|
|
1773
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1774
|
-
"x-amz-target": "AWSGlue.UpdateSchema",
|
|
1775
|
-
};
|
|
1184
|
+
const headers = sharedHeaders("UpdateSchema");
|
|
1776
1185
|
let body;
|
|
1777
1186
|
body = JSON.stringify(se_UpdateSchemaInput(input, context));
|
|
1778
1187
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1779
1188
|
};
|
|
1780
1189
|
export const se_UpdateSourceControlFromJobCommand = async (input, context) => {
|
|
1781
|
-
const headers =
|
|
1782
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1783
|
-
"x-amz-target": "AWSGlue.UpdateSourceControlFromJob",
|
|
1784
|
-
};
|
|
1190
|
+
const headers = sharedHeaders("UpdateSourceControlFromJob");
|
|
1785
1191
|
let body;
|
|
1786
1192
|
body = JSON.stringify(se_UpdateSourceControlFromJobRequest(input, context));
|
|
1787
1193
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1788
1194
|
};
|
|
1789
1195
|
export const se_UpdateTableCommand = async (input, context) => {
|
|
1790
|
-
const headers =
|
|
1791
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1792
|
-
"x-amz-target": "AWSGlue.UpdateTable",
|
|
1793
|
-
};
|
|
1196
|
+
const headers = sharedHeaders("UpdateTable");
|
|
1794
1197
|
let body;
|
|
1795
1198
|
body = JSON.stringify(se_UpdateTableRequest(input, context));
|
|
1796
1199
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1797
1200
|
};
|
|
1798
1201
|
export const se_UpdateTriggerCommand = async (input, context) => {
|
|
1799
|
-
const headers =
|
|
1800
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1801
|
-
"x-amz-target": "AWSGlue.UpdateTrigger",
|
|
1802
|
-
};
|
|
1202
|
+
const headers = sharedHeaders("UpdateTrigger");
|
|
1803
1203
|
let body;
|
|
1804
1204
|
body = JSON.stringify(se_UpdateTriggerRequest(input, context));
|
|
1805
1205
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1806
1206
|
};
|
|
1807
1207
|
export const se_UpdateUserDefinedFunctionCommand = async (input, context) => {
|
|
1808
|
-
const headers =
|
|
1809
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1810
|
-
"x-amz-target": "AWSGlue.UpdateUserDefinedFunction",
|
|
1811
|
-
};
|
|
1208
|
+
const headers = sharedHeaders("UpdateUserDefinedFunction");
|
|
1812
1209
|
let body;
|
|
1813
1210
|
body = JSON.stringify(se_UpdateUserDefinedFunctionRequest(input, context));
|
|
1814
1211
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1815
1212
|
};
|
|
1816
1213
|
export const se_UpdateWorkflowCommand = async (input, context) => {
|
|
1817
|
-
const headers =
|
|
1818
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1819
|
-
"x-amz-target": "AWSGlue.UpdateWorkflow",
|
|
1820
|
-
};
|
|
1214
|
+
const headers = sharedHeaders("UpdateWorkflow");
|
|
1821
1215
|
let body;
|
|
1822
1216
|
body = JSON.stringify(se_UpdateWorkflowRequest(input, context));
|
|
1823
1217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -20361,6 +19755,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
20361
19755
|
}
|
|
20362
19756
|
return new __HttpRequest(contents);
|
|
20363
19757
|
};
|
|
19758
|
+
function sharedHeaders(operation) {
|
|
19759
|
+
return {
|
|
19760
|
+
"content-type": "application/x-amz-json-1.1",
|
|
19761
|
+
"x-amz-target": `AWSGlue.${operation}`,
|
|
19762
|
+
};
|
|
19763
|
+
}
|
|
20364
19764
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
20365
19765
|
if (encoded.length) {
|
|
20366
19766
|
return JSON.parse(encoded);
|