@aws-sdk/client-sagemaker 3.310.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.
@@ -20,3020 +20,2114 @@ const models_0_1 = require("../models/models_0");
20
20
  const models_1_1 = require("../models/models_1");
21
21
  const SageMakerServiceException_1 = require("../models/SageMakerServiceException");
22
22
  const se_AddAssociationCommand = async (input, context) => {
23
- const headers = {
24
- "content-type": "application/x-amz-json-1.1",
25
- "x-amz-target": "SageMaker.AddAssociation",
26
- };
23
+ const headers = sharedHeaders("AddAssociation");
27
24
  let body;
28
25
  body = JSON.stringify(se_AddAssociationRequest(input, context));
29
26
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
30
27
  };
31
28
  exports.se_AddAssociationCommand = se_AddAssociationCommand;
32
29
  const se_AddTagsCommand = async (input, context) => {
33
- const headers = {
34
- "content-type": "application/x-amz-json-1.1",
35
- "x-amz-target": "SageMaker.AddTags",
36
- };
30
+ const headers = sharedHeaders("AddTags");
37
31
  let body;
38
32
  body = JSON.stringify(se_AddTagsInput(input, context));
39
33
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
40
34
  };
41
35
  exports.se_AddTagsCommand = se_AddTagsCommand;
42
36
  const se_AssociateTrialComponentCommand = async (input, context) => {
43
- const headers = {
44
- "content-type": "application/x-amz-json-1.1",
45
- "x-amz-target": "SageMaker.AssociateTrialComponent",
46
- };
37
+ const headers = sharedHeaders("AssociateTrialComponent");
47
38
  let body;
48
39
  body = JSON.stringify(se_AssociateTrialComponentRequest(input, context));
49
40
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
50
41
  };
51
42
  exports.se_AssociateTrialComponentCommand = se_AssociateTrialComponentCommand;
52
43
  const se_BatchDescribeModelPackageCommand = async (input, context) => {
53
- const headers = {
54
- "content-type": "application/x-amz-json-1.1",
55
- "x-amz-target": "SageMaker.BatchDescribeModelPackage",
56
- };
44
+ const headers = sharedHeaders("BatchDescribeModelPackage");
57
45
  let body;
58
46
  body = JSON.stringify(se_BatchDescribeModelPackageInput(input, context));
59
47
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
60
48
  };
61
49
  exports.se_BatchDescribeModelPackageCommand = se_BatchDescribeModelPackageCommand;
62
50
  const se_CreateActionCommand = async (input, context) => {
63
- const headers = {
64
- "content-type": "application/x-amz-json-1.1",
65
- "x-amz-target": "SageMaker.CreateAction",
66
- };
51
+ const headers = sharedHeaders("CreateAction");
67
52
  let body;
68
53
  body = JSON.stringify(se_CreateActionRequest(input, context));
69
54
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
70
55
  };
71
56
  exports.se_CreateActionCommand = se_CreateActionCommand;
72
57
  const se_CreateAlgorithmCommand = async (input, context) => {
73
- const headers = {
74
- "content-type": "application/x-amz-json-1.1",
75
- "x-amz-target": "SageMaker.CreateAlgorithm",
76
- };
58
+ const headers = sharedHeaders("CreateAlgorithm");
77
59
  let body;
78
60
  body = JSON.stringify(se_CreateAlgorithmInput(input, context));
79
61
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
80
62
  };
81
63
  exports.se_CreateAlgorithmCommand = se_CreateAlgorithmCommand;
82
64
  const se_CreateAppCommand = async (input, context) => {
83
- const headers = {
84
- "content-type": "application/x-amz-json-1.1",
85
- "x-amz-target": "SageMaker.CreateApp",
86
- };
65
+ const headers = sharedHeaders("CreateApp");
87
66
  let body;
88
67
  body = JSON.stringify(se_CreateAppRequest(input, context));
89
68
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
90
69
  };
91
70
  exports.se_CreateAppCommand = se_CreateAppCommand;
92
71
  const se_CreateAppImageConfigCommand = async (input, context) => {
93
- const headers = {
94
- "content-type": "application/x-amz-json-1.1",
95
- "x-amz-target": "SageMaker.CreateAppImageConfig",
96
- };
72
+ const headers = sharedHeaders("CreateAppImageConfig");
97
73
  let body;
98
74
  body = JSON.stringify(se_CreateAppImageConfigRequest(input, context));
99
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
100
76
  };
101
77
  exports.se_CreateAppImageConfigCommand = se_CreateAppImageConfigCommand;
102
78
  const se_CreateArtifactCommand = async (input, context) => {
103
- const headers = {
104
- "content-type": "application/x-amz-json-1.1",
105
- "x-amz-target": "SageMaker.CreateArtifact",
106
- };
79
+ const headers = sharedHeaders("CreateArtifact");
107
80
  let body;
108
81
  body = JSON.stringify(se_CreateArtifactRequest(input, context));
109
82
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
110
83
  };
111
84
  exports.se_CreateArtifactCommand = se_CreateArtifactCommand;
112
85
  const se_CreateAutoMLJobCommand = async (input, context) => {
113
- const headers = {
114
- "content-type": "application/x-amz-json-1.1",
115
- "x-amz-target": "SageMaker.CreateAutoMLJob",
116
- };
86
+ const headers = sharedHeaders("CreateAutoMLJob");
117
87
  let body;
118
88
  body = JSON.stringify(se_CreateAutoMLJobRequest(input, context));
119
89
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
120
90
  };
121
91
  exports.se_CreateAutoMLJobCommand = se_CreateAutoMLJobCommand;
122
92
  const se_CreateAutoMLJobV2Command = async (input, context) => {
123
- const headers = {
124
- "content-type": "application/x-amz-json-1.1",
125
- "x-amz-target": "SageMaker.CreateAutoMLJobV2",
126
- };
93
+ const headers = sharedHeaders("CreateAutoMLJobV2");
127
94
  let body;
128
95
  body = JSON.stringify(se_CreateAutoMLJobV2Request(input, context));
129
96
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
130
97
  };
131
98
  exports.se_CreateAutoMLJobV2Command = se_CreateAutoMLJobV2Command;
132
99
  const se_CreateCodeRepositoryCommand = async (input, context) => {
133
- const headers = {
134
- "content-type": "application/x-amz-json-1.1",
135
- "x-amz-target": "SageMaker.CreateCodeRepository",
136
- };
100
+ const headers = sharedHeaders("CreateCodeRepository");
137
101
  let body;
138
102
  body = JSON.stringify(se_CreateCodeRepositoryInput(input, context));
139
103
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
140
104
  };
141
105
  exports.se_CreateCodeRepositoryCommand = se_CreateCodeRepositoryCommand;
142
106
  const se_CreateCompilationJobCommand = async (input, context) => {
143
- const headers = {
144
- "content-type": "application/x-amz-json-1.1",
145
- "x-amz-target": "SageMaker.CreateCompilationJob",
146
- };
107
+ const headers = sharedHeaders("CreateCompilationJob");
147
108
  let body;
148
109
  body = JSON.stringify(se_CreateCompilationJobRequest(input, context));
149
110
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
150
111
  };
151
112
  exports.se_CreateCompilationJobCommand = se_CreateCompilationJobCommand;
152
113
  const se_CreateContextCommand = async (input, context) => {
153
- const headers = {
154
- "content-type": "application/x-amz-json-1.1",
155
- "x-amz-target": "SageMaker.CreateContext",
156
- };
114
+ const headers = sharedHeaders("CreateContext");
157
115
  let body;
158
116
  body = JSON.stringify(se_CreateContextRequest(input, context));
159
117
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
160
118
  };
161
119
  exports.se_CreateContextCommand = se_CreateContextCommand;
162
120
  const se_CreateDataQualityJobDefinitionCommand = async (input, context) => {
163
- const headers = {
164
- "content-type": "application/x-amz-json-1.1",
165
- "x-amz-target": "SageMaker.CreateDataQualityJobDefinition",
166
- };
121
+ const headers = sharedHeaders("CreateDataQualityJobDefinition");
167
122
  let body;
168
123
  body = JSON.stringify(se_CreateDataQualityJobDefinitionRequest(input, context));
169
124
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
170
125
  };
171
126
  exports.se_CreateDataQualityJobDefinitionCommand = se_CreateDataQualityJobDefinitionCommand;
172
127
  const se_CreateDeviceFleetCommand = async (input, context) => {
173
- const headers = {
174
- "content-type": "application/x-amz-json-1.1",
175
- "x-amz-target": "SageMaker.CreateDeviceFleet",
176
- };
128
+ const headers = sharedHeaders("CreateDeviceFleet");
177
129
  let body;
178
130
  body = JSON.stringify(se_CreateDeviceFleetRequest(input, context));
179
131
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
180
132
  };
181
133
  exports.se_CreateDeviceFleetCommand = se_CreateDeviceFleetCommand;
182
134
  const se_CreateDomainCommand = async (input, context) => {
183
- const headers = {
184
- "content-type": "application/x-amz-json-1.1",
185
- "x-amz-target": "SageMaker.CreateDomain",
186
- };
135
+ const headers = sharedHeaders("CreateDomain");
187
136
  let body;
188
137
  body = JSON.stringify(se_CreateDomainRequest(input, context));
189
138
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
190
139
  };
191
140
  exports.se_CreateDomainCommand = se_CreateDomainCommand;
192
141
  const se_CreateEdgeDeploymentPlanCommand = async (input, context) => {
193
- const headers = {
194
- "content-type": "application/x-amz-json-1.1",
195
- "x-amz-target": "SageMaker.CreateEdgeDeploymentPlan",
196
- };
142
+ const headers = sharedHeaders("CreateEdgeDeploymentPlan");
197
143
  let body;
198
144
  body = JSON.stringify(se_CreateEdgeDeploymentPlanRequest(input, context));
199
145
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
200
146
  };
201
147
  exports.se_CreateEdgeDeploymentPlanCommand = se_CreateEdgeDeploymentPlanCommand;
202
148
  const se_CreateEdgeDeploymentStageCommand = async (input, context) => {
203
- const headers = {
204
- "content-type": "application/x-amz-json-1.1",
205
- "x-amz-target": "SageMaker.CreateEdgeDeploymentStage",
206
- };
149
+ const headers = sharedHeaders("CreateEdgeDeploymentStage");
207
150
  let body;
208
151
  body = JSON.stringify(se_CreateEdgeDeploymentStageRequest(input, context));
209
152
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
210
153
  };
211
154
  exports.se_CreateEdgeDeploymentStageCommand = se_CreateEdgeDeploymentStageCommand;
212
155
  const se_CreateEdgePackagingJobCommand = async (input, context) => {
213
- const headers = {
214
- "content-type": "application/x-amz-json-1.1",
215
- "x-amz-target": "SageMaker.CreateEdgePackagingJob",
216
- };
156
+ const headers = sharedHeaders("CreateEdgePackagingJob");
217
157
  let body;
218
158
  body = JSON.stringify(se_CreateEdgePackagingJobRequest(input, context));
219
159
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
220
160
  };
221
161
  exports.se_CreateEdgePackagingJobCommand = se_CreateEdgePackagingJobCommand;
222
162
  const se_CreateEndpointCommand = async (input, context) => {
223
- const headers = {
224
- "content-type": "application/x-amz-json-1.1",
225
- "x-amz-target": "SageMaker.CreateEndpoint",
226
- };
163
+ const headers = sharedHeaders("CreateEndpoint");
227
164
  let body;
228
165
  body = JSON.stringify(se_CreateEndpointInput(input, context));
229
166
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
230
167
  };
231
168
  exports.se_CreateEndpointCommand = se_CreateEndpointCommand;
232
169
  const se_CreateEndpointConfigCommand = async (input, context) => {
233
- const headers = {
234
- "content-type": "application/x-amz-json-1.1",
235
- "x-amz-target": "SageMaker.CreateEndpointConfig",
236
- };
170
+ const headers = sharedHeaders("CreateEndpointConfig");
237
171
  let body;
238
172
  body = JSON.stringify(se_CreateEndpointConfigInput(input, context));
239
173
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
240
174
  };
241
175
  exports.se_CreateEndpointConfigCommand = se_CreateEndpointConfigCommand;
242
176
  const se_CreateExperimentCommand = async (input, context) => {
243
- const headers = {
244
- "content-type": "application/x-amz-json-1.1",
245
- "x-amz-target": "SageMaker.CreateExperiment",
246
- };
177
+ const headers = sharedHeaders("CreateExperiment");
247
178
  let body;
248
179
  body = JSON.stringify(se_CreateExperimentRequest(input, context));
249
180
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
250
181
  };
251
182
  exports.se_CreateExperimentCommand = se_CreateExperimentCommand;
252
183
  const se_CreateFeatureGroupCommand = async (input, context) => {
253
- const headers = {
254
- "content-type": "application/x-amz-json-1.1",
255
- "x-amz-target": "SageMaker.CreateFeatureGroup",
256
- };
184
+ const headers = sharedHeaders("CreateFeatureGroup");
257
185
  let body;
258
186
  body = JSON.stringify(se_CreateFeatureGroupRequest(input, context));
259
187
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
260
188
  };
261
189
  exports.se_CreateFeatureGroupCommand = se_CreateFeatureGroupCommand;
262
190
  const se_CreateFlowDefinitionCommand = async (input, context) => {
263
- const headers = {
264
- "content-type": "application/x-amz-json-1.1",
265
- "x-amz-target": "SageMaker.CreateFlowDefinition",
266
- };
191
+ const headers = sharedHeaders("CreateFlowDefinition");
267
192
  let body;
268
193
  body = JSON.stringify(se_CreateFlowDefinitionRequest(input, context));
269
194
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
270
195
  };
271
196
  exports.se_CreateFlowDefinitionCommand = se_CreateFlowDefinitionCommand;
272
197
  const se_CreateHubCommand = async (input, context) => {
273
- const headers = {
274
- "content-type": "application/x-amz-json-1.1",
275
- "x-amz-target": "SageMaker.CreateHub",
276
- };
198
+ const headers = sharedHeaders("CreateHub");
277
199
  let body;
278
200
  body = JSON.stringify(se_CreateHubRequest(input, context));
279
201
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
280
202
  };
281
203
  exports.se_CreateHubCommand = se_CreateHubCommand;
282
204
  const se_CreateHumanTaskUiCommand = async (input, context) => {
283
- const headers = {
284
- "content-type": "application/x-amz-json-1.1",
285
- "x-amz-target": "SageMaker.CreateHumanTaskUi",
286
- };
205
+ const headers = sharedHeaders("CreateHumanTaskUi");
287
206
  let body;
288
207
  body = JSON.stringify(se_CreateHumanTaskUiRequest(input, context));
289
208
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
290
209
  };
291
210
  exports.se_CreateHumanTaskUiCommand = se_CreateHumanTaskUiCommand;
292
211
  const se_CreateHyperParameterTuningJobCommand = async (input, context) => {
293
- const headers = {
294
- "content-type": "application/x-amz-json-1.1",
295
- "x-amz-target": "SageMaker.CreateHyperParameterTuningJob",
296
- };
212
+ const headers = sharedHeaders("CreateHyperParameterTuningJob");
297
213
  let body;
298
214
  body = JSON.stringify(se_CreateHyperParameterTuningJobRequest(input, context));
299
215
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
300
216
  };
301
217
  exports.se_CreateHyperParameterTuningJobCommand = se_CreateHyperParameterTuningJobCommand;
302
218
  const se_CreateImageCommand = async (input, context) => {
303
- const headers = {
304
- "content-type": "application/x-amz-json-1.1",
305
- "x-amz-target": "SageMaker.CreateImage",
306
- };
219
+ const headers = sharedHeaders("CreateImage");
307
220
  let body;
308
221
  body = JSON.stringify(se_CreateImageRequest(input, context));
309
222
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
310
223
  };
311
224
  exports.se_CreateImageCommand = se_CreateImageCommand;
312
225
  const se_CreateImageVersionCommand = async (input, context) => {
313
- const headers = {
314
- "content-type": "application/x-amz-json-1.1",
315
- "x-amz-target": "SageMaker.CreateImageVersion",
316
- };
226
+ const headers = sharedHeaders("CreateImageVersion");
317
227
  let body;
318
228
  body = JSON.stringify(se_CreateImageVersionRequest(input, context));
319
229
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
320
230
  };
321
231
  exports.se_CreateImageVersionCommand = se_CreateImageVersionCommand;
322
232
  const se_CreateInferenceExperimentCommand = async (input, context) => {
323
- const headers = {
324
- "content-type": "application/x-amz-json-1.1",
325
- "x-amz-target": "SageMaker.CreateInferenceExperiment",
326
- };
233
+ const headers = sharedHeaders("CreateInferenceExperiment");
327
234
  let body;
328
235
  body = JSON.stringify(se_CreateInferenceExperimentRequest(input, context));
329
236
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
330
237
  };
331
238
  exports.se_CreateInferenceExperimentCommand = se_CreateInferenceExperimentCommand;
332
239
  const se_CreateInferenceRecommendationsJobCommand = async (input, context) => {
333
- const headers = {
334
- "content-type": "application/x-amz-json-1.1",
335
- "x-amz-target": "SageMaker.CreateInferenceRecommendationsJob",
336
- };
240
+ const headers = sharedHeaders("CreateInferenceRecommendationsJob");
337
241
  let body;
338
242
  body = JSON.stringify(se_CreateInferenceRecommendationsJobRequest(input, context));
339
243
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
340
244
  };
341
245
  exports.se_CreateInferenceRecommendationsJobCommand = se_CreateInferenceRecommendationsJobCommand;
342
246
  const se_CreateLabelingJobCommand = async (input, context) => {
343
- const headers = {
344
- "content-type": "application/x-amz-json-1.1",
345
- "x-amz-target": "SageMaker.CreateLabelingJob",
346
- };
247
+ const headers = sharedHeaders("CreateLabelingJob");
347
248
  let body;
348
249
  body = JSON.stringify(se_CreateLabelingJobRequest(input, context));
349
250
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
350
251
  };
351
252
  exports.se_CreateLabelingJobCommand = se_CreateLabelingJobCommand;
352
253
  const se_CreateModelCommand = async (input, context) => {
353
- const headers = {
354
- "content-type": "application/x-amz-json-1.1",
355
- "x-amz-target": "SageMaker.CreateModel",
356
- };
254
+ const headers = sharedHeaders("CreateModel");
357
255
  let body;
358
256
  body = JSON.stringify(se_CreateModelInput(input, context));
359
257
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
360
258
  };
361
259
  exports.se_CreateModelCommand = se_CreateModelCommand;
362
260
  const se_CreateModelBiasJobDefinitionCommand = async (input, context) => {
363
- const headers = {
364
- "content-type": "application/x-amz-json-1.1",
365
- "x-amz-target": "SageMaker.CreateModelBiasJobDefinition",
366
- };
261
+ const headers = sharedHeaders("CreateModelBiasJobDefinition");
367
262
  let body;
368
263
  body = JSON.stringify(se_CreateModelBiasJobDefinitionRequest(input, context));
369
264
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
370
265
  };
371
266
  exports.se_CreateModelBiasJobDefinitionCommand = se_CreateModelBiasJobDefinitionCommand;
372
267
  const se_CreateModelCardCommand = async (input, context) => {
373
- const headers = {
374
- "content-type": "application/x-amz-json-1.1",
375
- "x-amz-target": "SageMaker.CreateModelCard",
376
- };
268
+ const headers = sharedHeaders("CreateModelCard");
377
269
  let body;
378
270
  body = JSON.stringify(se_CreateModelCardRequest(input, context));
379
271
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
380
272
  };
381
273
  exports.se_CreateModelCardCommand = se_CreateModelCardCommand;
382
274
  const se_CreateModelCardExportJobCommand = async (input, context) => {
383
- const headers = {
384
- "content-type": "application/x-amz-json-1.1",
385
- "x-amz-target": "SageMaker.CreateModelCardExportJob",
386
- };
275
+ const headers = sharedHeaders("CreateModelCardExportJob");
387
276
  let body;
388
277
  body = JSON.stringify(se_CreateModelCardExportJobRequest(input, context));
389
278
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
390
279
  };
391
280
  exports.se_CreateModelCardExportJobCommand = se_CreateModelCardExportJobCommand;
392
281
  const se_CreateModelExplainabilityJobDefinitionCommand = async (input, context) => {
393
- const headers = {
394
- "content-type": "application/x-amz-json-1.1",
395
- "x-amz-target": "SageMaker.CreateModelExplainabilityJobDefinition",
396
- };
282
+ const headers = sharedHeaders("CreateModelExplainabilityJobDefinition");
397
283
  let body;
398
284
  body = JSON.stringify(se_CreateModelExplainabilityJobDefinitionRequest(input, context));
399
285
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
400
286
  };
401
287
  exports.se_CreateModelExplainabilityJobDefinitionCommand = se_CreateModelExplainabilityJobDefinitionCommand;
402
288
  const se_CreateModelPackageCommand = async (input, context) => {
403
- const headers = {
404
- "content-type": "application/x-amz-json-1.1",
405
- "x-amz-target": "SageMaker.CreateModelPackage",
406
- };
289
+ const headers = sharedHeaders("CreateModelPackage");
407
290
  let body;
408
291
  body = JSON.stringify(se_CreateModelPackageInput(input, context));
409
292
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
410
293
  };
411
294
  exports.se_CreateModelPackageCommand = se_CreateModelPackageCommand;
412
295
  const se_CreateModelPackageGroupCommand = async (input, context) => {
413
- const headers = {
414
- "content-type": "application/x-amz-json-1.1",
415
- "x-amz-target": "SageMaker.CreateModelPackageGroup",
416
- };
296
+ const headers = sharedHeaders("CreateModelPackageGroup");
417
297
  let body;
418
298
  body = JSON.stringify(se_CreateModelPackageGroupInput(input, context));
419
299
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
420
300
  };
421
301
  exports.se_CreateModelPackageGroupCommand = se_CreateModelPackageGroupCommand;
422
302
  const se_CreateModelQualityJobDefinitionCommand = async (input, context) => {
423
- const headers = {
424
- "content-type": "application/x-amz-json-1.1",
425
- "x-amz-target": "SageMaker.CreateModelQualityJobDefinition",
426
- };
303
+ const headers = sharedHeaders("CreateModelQualityJobDefinition");
427
304
  let body;
428
305
  body = JSON.stringify(se_CreateModelQualityJobDefinitionRequest(input, context));
429
306
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
430
307
  };
431
308
  exports.se_CreateModelQualityJobDefinitionCommand = se_CreateModelQualityJobDefinitionCommand;
432
309
  const se_CreateMonitoringScheduleCommand = async (input, context) => {
433
- const headers = {
434
- "content-type": "application/x-amz-json-1.1",
435
- "x-amz-target": "SageMaker.CreateMonitoringSchedule",
436
- };
310
+ const headers = sharedHeaders("CreateMonitoringSchedule");
437
311
  let body;
438
312
  body = JSON.stringify(se_CreateMonitoringScheduleRequest(input, context));
439
313
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
440
314
  };
441
315
  exports.se_CreateMonitoringScheduleCommand = se_CreateMonitoringScheduleCommand;
442
316
  const se_CreateNotebookInstanceCommand = async (input, context) => {
443
- const headers = {
444
- "content-type": "application/x-amz-json-1.1",
445
- "x-amz-target": "SageMaker.CreateNotebookInstance",
446
- };
317
+ const headers = sharedHeaders("CreateNotebookInstance");
447
318
  let body;
448
319
  body = JSON.stringify(se_CreateNotebookInstanceInput(input, context));
449
320
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
450
321
  };
451
322
  exports.se_CreateNotebookInstanceCommand = se_CreateNotebookInstanceCommand;
452
323
  const se_CreateNotebookInstanceLifecycleConfigCommand = async (input, context) => {
453
- const headers = {
454
- "content-type": "application/x-amz-json-1.1",
455
- "x-amz-target": "SageMaker.CreateNotebookInstanceLifecycleConfig",
456
- };
324
+ const headers = sharedHeaders("CreateNotebookInstanceLifecycleConfig");
457
325
  let body;
458
326
  body = JSON.stringify(se_CreateNotebookInstanceLifecycleConfigInput(input, context));
459
327
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
460
328
  };
461
329
  exports.se_CreateNotebookInstanceLifecycleConfigCommand = se_CreateNotebookInstanceLifecycleConfigCommand;
462
330
  const se_CreatePipelineCommand = async (input, context) => {
463
- const headers = {
464
- "content-type": "application/x-amz-json-1.1",
465
- "x-amz-target": "SageMaker.CreatePipeline",
466
- };
331
+ const headers = sharedHeaders("CreatePipeline");
467
332
  let body;
468
333
  body = JSON.stringify(se_CreatePipelineRequest(input, context));
469
334
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
470
335
  };
471
336
  exports.se_CreatePipelineCommand = se_CreatePipelineCommand;
472
337
  const se_CreatePresignedDomainUrlCommand = async (input, context) => {
473
- const headers = {
474
- "content-type": "application/x-amz-json-1.1",
475
- "x-amz-target": "SageMaker.CreatePresignedDomainUrl",
476
- };
338
+ const headers = sharedHeaders("CreatePresignedDomainUrl");
477
339
  let body;
478
340
  body = JSON.stringify(se_CreatePresignedDomainUrlRequest(input, context));
479
341
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
480
342
  };
481
343
  exports.se_CreatePresignedDomainUrlCommand = se_CreatePresignedDomainUrlCommand;
482
344
  const se_CreatePresignedNotebookInstanceUrlCommand = async (input, context) => {
483
- const headers = {
484
- "content-type": "application/x-amz-json-1.1",
485
- "x-amz-target": "SageMaker.CreatePresignedNotebookInstanceUrl",
486
- };
345
+ const headers = sharedHeaders("CreatePresignedNotebookInstanceUrl");
487
346
  let body;
488
347
  body = JSON.stringify(se_CreatePresignedNotebookInstanceUrlInput(input, context));
489
348
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
490
349
  };
491
350
  exports.se_CreatePresignedNotebookInstanceUrlCommand = se_CreatePresignedNotebookInstanceUrlCommand;
492
351
  const se_CreateProcessingJobCommand = async (input, context) => {
493
- const headers = {
494
- "content-type": "application/x-amz-json-1.1",
495
- "x-amz-target": "SageMaker.CreateProcessingJob",
496
- };
352
+ const headers = sharedHeaders("CreateProcessingJob");
497
353
  let body;
498
354
  body = JSON.stringify(se_CreateProcessingJobRequest(input, context));
499
355
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
500
356
  };
501
357
  exports.se_CreateProcessingJobCommand = se_CreateProcessingJobCommand;
502
358
  const se_CreateProjectCommand = async (input, context) => {
503
- const headers = {
504
- "content-type": "application/x-amz-json-1.1",
505
- "x-amz-target": "SageMaker.CreateProject",
506
- };
359
+ const headers = sharedHeaders("CreateProject");
507
360
  let body;
508
361
  body = JSON.stringify(se_CreateProjectInput(input, context));
509
362
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
510
363
  };
511
364
  exports.se_CreateProjectCommand = se_CreateProjectCommand;
512
365
  const se_CreateSpaceCommand = async (input, context) => {
513
- const headers = {
514
- "content-type": "application/x-amz-json-1.1",
515
- "x-amz-target": "SageMaker.CreateSpace",
516
- };
366
+ const headers = sharedHeaders("CreateSpace");
517
367
  let body;
518
368
  body = JSON.stringify(se_CreateSpaceRequest(input, context));
519
369
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
520
370
  };
521
371
  exports.se_CreateSpaceCommand = se_CreateSpaceCommand;
522
372
  const se_CreateStudioLifecycleConfigCommand = async (input, context) => {
523
- const headers = {
524
- "content-type": "application/x-amz-json-1.1",
525
- "x-amz-target": "SageMaker.CreateStudioLifecycleConfig",
526
- };
373
+ const headers = sharedHeaders("CreateStudioLifecycleConfig");
527
374
  let body;
528
375
  body = JSON.stringify(se_CreateStudioLifecycleConfigRequest(input, context));
529
376
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
530
377
  };
531
378
  exports.se_CreateStudioLifecycleConfigCommand = se_CreateStudioLifecycleConfigCommand;
532
379
  const se_CreateTrainingJobCommand = async (input, context) => {
533
- const headers = {
534
- "content-type": "application/x-amz-json-1.1",
535
- "x-amz-target": "SageMaker.CreateTrainingJob",
536
- };
380
+ const headers = sharedHeaders("CreateTrainingJob");
537
381
  let body;
538
382
  body = JSON.stringify(se_CreateTrainingJobRequest(input, context));
539
383
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
540
384
  };
541
385
  exports.se_CreateTrainingJobCommand = se_CreateTrainingJobCommand;
542
386
  const se_CreateTransformJobCommand = async (input, context) => {
543
- const headers = {
544
- "content-type": "application/x-amz-json-1.1",
545
- "x-amz-target": "SageMaker.CreateTransformJob",
546
- };
387
+ const headers = sharedHeaders("CreateTransformJob");
547
388
  let body;
548
389
  body = JSON.stringify(se_CreateTransformJobRequest(input, context));
549
390
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
550
391
  };
551
392
  exports.se_CreateTransformJobCommand = se_CreateTransformJobCommand;
552
393
  const se_CreateTrialCommand = async (input, context) => {
553
- const headers = {
554
- "content-type": "application/x-amz-json-1.1",
555
- "x-amz-target": "SageMaker.CreateTrial",
556
- };
394
+ const headers = sharedHeaders("CreateTrial");
557
395
  let body;
558
396
  body = JSON.stringify(se_CreateTrialRequest(input, context));
559
397
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
560
398
  };
561
399
  exports.se_CreateTrialCommand = se_CreateTrialCommand;
562
400
  const se_CreateTrialComponentCommand = async (input, context) => {
563
- const headers = {
564
- "content-type": "application/x-amz-json-1.1",
565
- "x-amz-target": "SageMaker.CreateTrialComponent",
566
- };
401
+ const headers = sharedHeaders("CreateTrialComponent");
567
402
  let body;
568
403
  body = JSON.stringify(se_CreateTrialComponentRequest(input, context));
569
404
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
570
405
  };
571
406
  exports.se_CreateTrialComponentCommand = se_CreateTrialComponentCommand;
572
407
  const se_CreateUserProfileCommand = async (input, context) => {
573
- const headers = {
574
- "content-type": "application/x-amz-json-1.1",
575
- "x-amz-target": "SageMaker.CreateUserProfile",
576
- };
408
+ const headers = sharedHeaders("CreateUserProfile");
577
409
  let body;
578
410
  body = JSON.stringify(se_CreateUserProfileRequest(input, context));
579
411
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
580
412
  };
581
413
  exports.se_CreateUserProfileCommand = se_CreateUserProfileCommand;
582
414
  const se_CreateWorkforceCommand = async (input, context) => {
583
- const headers = {
584
- "content-type": "application/x-amz-json-1.1",
585
- "x-amz-target": "SageMaker.CreateWorkforce",
586
- };
415
+ const headers = sharedHeaders("CreateWorkforce");
587
416
  let body;
588
417
  body = JSON.stringify(se_CreateWorkforceRequest(input, context));
589
418
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
590
419
  };
591
420
  exports.se_CreateWorkforceCommand = se_CreateWorkforceCommand;
592
421
  const se_CreateWorkteamCommand = async (input, context) => {
593
- const headers = {
594
- "content-type": "application/x-amz-json-1.1",
595
- "x-amz-target": "SageMaker.CreateWorkteam",
596
- };
422
+ const headers = sharedHeaders("CreateWorkteam");
597
423
  let body;
598
424
  body = JSON.stringify(se_CreateWorkteamRequest(input, context));
599
425
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
600
426
  };
601
427
  exports.se_CreateWorkteamCommand = se_CreateWorkteamCommand;
602
428
  const se_DeleteActionCommand = async (input, context) => {
603
- const headers = {
604
- "content-type": "application/x-amz-json-1.1",
605
- "x-amz-target": "SageMaker.DeleteAction",
606
- };
429
+ const headers = sharedHeaders("DeleteAction");
607
430
  let body;
608
431
  body = JSON.stringify(se_DeleteActionRequest(input, context));
609
432
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
610
433
  };
611
434
  exports.se_DeleteActionCommand = se_DeleteActionCommand;
612
435
  const se_DeleteAlgorithmCommand = async (input, context) => {
613
- const headers = {
614
- "content-type": "application/x-amz-json-1.1",
615
- "x-amz-target": "SageMaker.DeleteAlgorithm",
616
- };
436
+ const headers = sharedHeaders("DeleteAlgorithm");
617
437
  let body;
618
438
  body = JSON.stringify(se_DeleteAlgorithmInput(input, context));
619
439
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
620
440
  };
621
441
  exports.se_DeleteAlgorithmCommand = se_DeleteAlgorithmCommand;
622
442
  const se_DeleteAppCommand = async (input, context) => {
623
- const headers = {
624
- "content-type": "application/x-amz-json-1.1",
625
- "x-amz-target": "SageMaker.DeleteApp",
626
- };
443
+ const headers = sharedHeaders("DeleteApp");
627
444
  let body;
628
445
  body = JSON.stringify(se_DeleteAppRequest(input, context));
629
446
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
630
447
  };
631
448
  exports.se_DeleteAppCommand = se_DeleteAppCommand;
632
449
  const se_DeleteAppImageConfigCommand = async (input, context) => {
633
- const headers = {
634
- "content-type": "application/x-amz-json-1.1",
635
- "x-amz-target": "SageMaker.DeleteAppImageConfig",
636
- };
450
+ const headers = sharedHeaders("DeleteAppImageConfig");
637
451
  let body;
638
452
  body = JSON.stringify(se_DeleteAppImageConfigRequest(input, context));
639
453
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
640
454
  };
641
455
  exports.se_DeleteAppImageConfigCommand = se_DeleteAppImageConfigCommand;
642
456
  const se_DeleteArtifactCommand = async (input, context) => {
643
- const headers = {
644
- "content-type": "application/x-amz-json-1.1",
645
- "x-amz-target": "SageMaker.DeleteArtifact",
646
- };
457
+ const headers = sharedHeaders("DeleteArtifact");
647
458
  let body;
648
459
  body = JSON.stringify(se_DeleteArtifactRequest(input, context));
649
460
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
650
461
  };
651
462
  exports.se_DeleteArtifactCommand = se_DeleteArtifactCommand;
652
463
  const se_DeleteAssociationCommand = async (input, context) => {
653
- const headers = {
654
- "content-type": "application/x-amz-json-1.1",
655
- "x-amz-target": "SageMaker.DeleteAssociation",
656
- };
464
+ const headers = sharedHeaders("DeleteAssociation");
657
465
  let body;
658
466
  body = JSON.stringify(se_DeleteAssociationRequest(input, context));
659
467
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
660
468
  };
661
469
  exports.se_DeleteAssociationCommand = se_DeleteAssociationCommand;
662
470
  const se_DeleteCodeRepositoryCommand = async (input, context) => {
663
- const headers = {
664
- "content-type": "application/x-amz-json-1.1",
665
- "x-amz-target": "SageMaker.DeleteCodeRepository",
666
- };
471
+ const headers = sharedHeaders("DeleteCodeRepository");
667
472
  let body;
668
473
  body = JSON.stringify(se_DeleteCodeRepositoryInput(input, context));
669
474
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
670
475
  };
671
476
  exports.se_DeleteCodeRepositoryCommand = se_DeleteCodeRepositoryCommand;
672
477
  const se_DeleteContextCommand = async (input, context) => {
673
- const headers = {
674
- "content-type": "application/x-amz-json-1.1",
675
- "x-amz-target": "SageMaker.DeleteContext",
676
- };
478
+ const headers = sharedHeaders("DeleteContext");
677
479
  let body;
678
480
  body = JSON.stringify(se_DeleteContextRequest(input, context));
679
481
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
680
482
  };
681
483
  exports.se_DeleteContextCommand = se_DeleteContextCommand;
682
484
  const se_DeleteDataQualityJobDefinitionCommand = async (input, context) => {
683
- const headers = {
684
- "content-type": "application/x-amz-json-1.1",
685
- "x-amz-target": "SageMaker.DeleteDataQualityJobDefinition",
686
- };
485
+ const headers = sharedHeaders("DeleteDataQualityJobDefinition");
687
486
  let body;
688
487
  body = JSON.stringify(se_DeleteDataQualityJobDefinitionRequest(input, context));
689
488
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
690
489
  };
691
490
  exports.se_DeleteDataQualityJobDefinitionCommand = se_DeleteDataQualityJobDefinitionCommand;
692
491
  const se_DeleteDeviceFleetCommand = async (input, context) => {
693
- const headers = {
694
- "content-type": "application/x-amz-json-1.1",
695
- "x-amz-target": "SageMaker.DeleteDeviceFleet",
696
- };
492
+ const headers = sharedHeaders("DeleteDeviceFleet");
697
493
  let body;
698
494
  body = JSON.stringify(se_DeleteDeviceFleetRequest(input, context));
699
495
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
700
496
  };
701
497
  exports.se_DeleteDeviceFleetCommand = se_DeleteDeviceFleetCommand;
702
498
  const se_DeleteDomainCommand = async (input, context) => {
703
- const headers = {
704
- "content-type": "application/x-amz-json-1.1",
705
- "x-amz-target": "SageMaker.DeleteDomain",
706
- };
499
+ const headers = sharedHeaders("DeleteDomain");
707
500
  let body;
708
501
  body = JSON.stringify(se_DeleteDomainRequest(input, context));
709
502
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
710
503
  };
711
504
  exports.se_DeleteDomainCommand = se_DeleteDomainCommand;
712
505
  const se_DeleteEdgeDeploymentPlanCommand = async (input, context) => {
713
- const headers = {
714
- "content-type": "application/x-amz-json-1.1",
715
- "x-amz-target": "SageMaker.DeleteEdgeDeploymentPlan",
716
- };
506
+ const headers = sharedHeaders("DeleteEdgeDeploymentPlan");
717
507
  let body;
718
508
  body = JSON.stringify(se_DeleteEdgeDeploymentPlanRequest(input, context));
719
509
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
720
510
  };
721
511
  exports.se_DeleteEdgeDeploymentPlanCommand = se_DeleteEdgeDeploymentPlanCommand;
722
512
  const se_DeleteEdgeDeploymentStageCommand = async (input, context) => {
723
- const headers = {
724
- "content-type": "application/x-amz-json-1.1",
725
- "x-amz-target": "SageMaker.DeleteEdgeDeploymentStage",
726
- };
513
+ const headers = sharedHeaders("DeleteEdgeDeploymentStage");
727
514
  let body;
728
515
  body = JSON.stringify(se_DeleteEdgeDeploymentStageRequest(input, context));
729
516
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
730
517
  };
731
518
  exports.se_DeleteEdgeDeploymentStageCommand = se_DeleteEdgeDeploymentStageCommand;
732
519
  const se_DeleteEndpointCommand = async (input, context) => {
733
- const headers = {
734
- "content-type": "application/x-amz-json-1.1",
735
- "x-amz-target": "SageMaker.DeleteEndpoint",
736
- };
520
+ const headers = sharedHeaders("DeleteEndpoint");
737
521
  let body;
738
522
  body = JSON.stringify(se_DeleteEndpointInput(input, context));
739
523
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
740
524
  };
741
525
  exports.se_DeleteEndpointCommand = se_DeleteEndpointCommand;
742
526
  const se_DeleteEndpointConfigCommand = async (input, context) => {
743
- const headers = {
744
- "content-type": "application/x-amz-json-1.1",
745
- "x-amz-target": "SageMaker.DeleteEndpointConfig",
746
- };
527
+ const headers = sharedHeaders("DeleteEndpointConfig");
747
528
  let body;
748
529
  body = JSON.stringify(se_DeleteEndpointConfigInput(input, context));
749
530
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
750
531
  };
751
532
  exports.se_DeleteEndpointConfigCommand = se_DeleteEndpointConfigCommand;
752
533
  const se_DeleteExperimentCommand = async (input, context) => {
753
- const headers = {
754
- "content-type": "application/x-amz-json-1.1",
755
- "x-amz-target": "SageMaker.DeleteExperiment",
756
- };
534
+ const headers = sharedHeaders("DeleteExperiment");
757
535
  let body;
758
536
  body = JSON.stringify(se_DeleteExperimentRequest(input, context));
759
537
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
760
538
  };
761
539
  exports.se_DeleteExperimentCommand = se_DeleteExperimentCommand;
762
540
  const se_DeleteFeatureGroupCommand = async (input, context) => {
763
- const headers = {
764
- "content-type": "application/x-amz-json-1.1",
765
- "x-amz-target": "SageMaker.DeleteFeatureGroup",
766
- };
541
+ const headers = sharedHeaders("DeleteFeatureGroup");
767
542
  let body;
768
543
  body = JSON.stringify(se_DeleteFeatureGroupRequest(input, context));
769
544
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
770
545
  };
771
546
  exports.se_DeleteFeatureGroupCommand = se_DeleteFeatureGroupCommand;
772
547
  const se_DeleteFlowDefinitionCommand = async (input, context) => {
773
- const headers = {
774
- "content-type": "application/x-amz-json-1.1",
775
- "x-amz-target": "SageMaker.DeleteFlowDefinition",
776
- };
548
+ const headers = sharedHeaders("DeleteFlowDefinition");
777
549
  let body;
778
550
  body = JSON.stringify(se_DeleteFlowDefinitionRequest(input, context));
779
551
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
780
552
  };
781
553
  exports.se_DeleteFlowDefinitionCommand = se_DeleteFlowDefinitionCommand;
782
554
  const se_DeleteHubCommand = async (input, context) => {
783
- const headers = {
784
- "content-type": "application/x-amz-json-1.1",
785
- "x-amz-target": "SageMaker.DeleteHub",
786
- };
555
+ const headers = sharedHeaders("DeleteHub");
787
556
  let body;
788
557
  body = JSON.stringify(se_DeleteHubRequest(input, context));
789
558
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
790
559
  };
791
560
  exports.se_DeleteHubCommand = se_DeleteHubCommand;
792
561
  const se_DeleteHubContentCommand = async (input, context) => {
793
- const headers = {
794
- "content-type": "application/x-amz-json-1.1",
795
- "x-amz-target": "SageMaker.DeleteHubContent",
796
- };
562
+ const headers = sharedHeaders("DeleteHubContent");
797
563
  let body;
798
564
  body = JSON.stringify(se_DeleteHubContentRequest(input, context));
799
565
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
800
566
  };
801
567
  exports.se_DeleteHubContentCommand = se_DeleteHubContentCommand;
802
568
  const se_DeleteHumanTaskUiCommand = async (input, context) => {
803
- const headers = {
804
- "content-type": "application/x-amz-json-1.1",
805
- "x-amz-target": "SageMaker.DeleteHumanTaskUi",
806
- };
569
+ const headers = sharedHeaders("DeleteHumanTaskUi");
807
570
  let body;
808
571
  body = JSON.stringify(se_DeleteHumanTaskUiRequest(input, context));
809
572
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
810
573
  };
811
574
  exports.se_DeleteHumanTaskUiCommand = se_DeleteHumanTaskUiCommand;
812
575
  const se_DeleteImageCommand = async (input, context) => {
813
- const headers = {
814
- "content-type": "application/x-amz-json-1.1",
815
- "x-amz-target": "SageMaker.DeleteImage",
816
- };
576
+ const headers = sharedHeaders("DeleteImage");
817
577
  let body;
818
578
  body = JSON.stringify(se_DeleteImageRequest(input, context));
819
579
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
820
580
  };
821
581
  exports.se_DeleteImageCommand = se_DeleteImageCommand;
822
582
  const se_DeleteImageVersionCommand = async (input, context) => {
823
- const headers = {
824
- "content-type": "application/x-amz-json-1.1",
825
- "x-amz-target": "SageMaker.DeleteImageVersion",
826
- };
583
+ const headers = sharedHeaders("DeleteImageVersion");
827
584
  let body;
828
585
  body = JSON.stringify(se_DeleteImageVersionRequest(input, context));
829
586
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
830
587
  };
831
588
  exports.se_DeleteImageVersionCommand = se_DeleteImageVersionCommand;
832
589
  const se_DeleteInferenceExperimentCommand = async (input, context) => {
833
- const headers = {
834
- "content-type": "application/x-amz-json-1.1",
835
- "x-amz-target": "SageMaker.DeleteInferenceExperiment",
836
- };
590
+ const headers = sharedHeaders("DeleteInferenceExperiment");
837
591
  let body;
838
592
  body = JSON.stringify(se_DeleteInferenceExperimentRequest(input, context));
839
593
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
840
594
  };
841
595
  exports.se_DeleteInferenceExperimentCommand = se_DeleteInferenceExperimentCommand;
842
596
  const se_DeleteModelCommand = async (input, context) => {
843
- const headers = {
844
- "content-type": "application/x-amz-json-1.1",
845
- "x-amz-target": "SageMaker.DeleteModel",
846
- };
597
+ const headers = sharedHeaders("DeleteModel");
847
598
  let body;
848
599
  body = JSON.stringify(se_DeleteModelInput(input, context));
849
600
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
850
601
  };
851
602
  exports.se_DeleteModelCommand = se_DeleteModelCommand;
852
603
  const se_DeleteModelBiasJobDefinitionCommand = async (input, context) => {
853
- const headers = {
854
- "content-type": "application/x-amz-json-1.1",
855
- "x-amz-target": "SageMaker.DeleteModelBiasJobDefinition",
856
- };
604
+ const headers = sharedHeaders("DeleteModelBiasJobDefinition");
857
605
  let body;
858
606
  body = JSON.stringify(se_DeleteModelBiasJobDefinitionRequest(input, context));
859
607
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
860
608
  };
861
609
  exports.se_DeleteModelBiasJobDefinitionCommand = se_DeleteModelBiasJobDefinitionCommand;
862
610
  const se_DeleteModelCardCommand = async (input, context) => {
863
- const headers = {
864
- "content-type": "application/x-amz-json-1.1",
865
- "x-amz-target": "SageMaker.DeleteModelCard",
866
- };
611
+ const headers = sharedHeaders("DeleteModelCard");
867
612
  let body;
868
613
  body = JSON.stringify(se_DeleteModelCardRequest(input, context));
869
614
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
870
615
  };
871
616
  exports.se_DeleteModelCardCommand = se_DeleteModelCardCommand;
872
617
  const se_DeleteModelExplainabilityJobDefinitionCommand = async (input, context) => {
873
- const headers = {
874
- "content-type": "application/x-amz-json-1.1",
875
- "x-amz-target": "SageMaker.DeleteModelExplainabilityJobDefinition",
876
- };
618
+ const headers = sharedHeaders("DeleteModelExplainabilityJobDefinition");
877
619
  let body;
878
620
  body = JSON.stringify(se_DeleteModelExplainabilityJobDefinitionRequest(input, context));
879
621
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
880
622
  };
881
623
  exports.se_DeleteModelExplainabilityJobDefinitionCommand = se_DeleteModelExplainabilityJobDefinitionCommand;
882
624
  const se_DeleteModelPackageCommand = async (input, context) => {
883
- const headers = {
884
- "content-type": "application/x-amz-json-1.1",
885
- "x-amz-target": "SageMaker.DeleteModelPackage",
886
- };
625
+ const headers = sharedHeaders("DeleteModelPackage");
887
626
  let body;
888
627
  body = JSON.stringify(se_DeleteModelPackageInput(input, context));
889
628
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
890
629
  };
891
630
  exports.se_DeleteModelPackageCommand = se_DeleteModelPackageCommand;
892
631
  const se_DeleteModelPackageGroupCommand = async (input, context) => {
893
- const headers = {
894
- "content-type": "application/x-amz-json-1.1",
895
- "x-amz-target": "SageMaker.DeleteModelPackageGroup",
896
- };
632
+ const headers = sharedHeaders("DeleteModelPackageGroup");
897
633
  let body;
898
634
  body = JSON.stringify(se_DeleteModelPackageGroupInput(input, context));
899
635
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
900
636
  };
901
637
  exports.se_DeleteModelPackageGroupCommand = se_DeleteModelPackageGroupCommand;
902
638
  const se_DeleteModelPackageGroupPolicyCommand = async (input, context) => {
903
- const headers = {
904
- "content-type": "application/x-amz-json-1.1",
905
- "x-amz-target": "SageMaker.DeleteModelPackageGroupPolicy",
906
- };
639
+ const headers = sharedHeaders("DeleteModelPackageGroupPolicy");
907
640
  let body;
908
641
  body = JSON.stringify(se_DeleteModelPackageGroupPolicyInput(input, context));
909
642
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
910
643
  };
911
644
  exports.se_DeleteModelPackageGroupPolicyCommand = se_DeleteModelPackageGroupPolicyCommand;
912
645
  const se_DeleteModelQualityJobDefinitionCommand = async (input, context) => {
913
- const headers = {
914
- "content-type": "application/x-amz-json-1.1",
915
- "x-amz-target": "SageMaker.DeleteModelQualityJobDefinition",
916
- };
646
+ const headers = sharedHeaders("DeleteModelQualityJobDefinition");
917
647
  let body;
918
648
  body = JSON.stringify(se_DeleteModelQualityJobDefinitionRequest(input, context));
919
649
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
920
650
  };
921
651
  exports.se_DeleteModelQualityJobDefinitionCommand = se_DeleteModelQualityJobDefinitionCommand;
922
652
  const se_DeleteMonitoringScheduleCommand = async (input, context) => {
923
- const headers = {
924
- "content-type": "application/x-amz-json-1.1",
925
- "x-amz-target": "SageMaker.DeleteMonitoringSchedule",
926
- };
653
+ const headers = sharedHeaders("DeleteMonitoringSchedule");
927
654
  let body;
928
655
  body = JSON.stringify(se_DeleteMonitoringScheduleRequest(input, context));
929
656
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
930
657
  };
931
658
  exports.se_DeleteMonitoringScheduleCommand = se_DeleteMonitoringScheduleCommand;
932
659
  const se_DeleteNotebookInstanceCommand = async (input, context) => {
933
- const headers = {
934
- "content-type": "application/x-amz-json-1.1",
935
- "x-amz-target": "SageMaker.DeleteNotebookInstance",
936
- };
660
+ const headers = sharedHeaders("DeleteNotebookInstance");
937
661
  let body;
938
662
  body = JSON.stringify(se_DeleteNotebookInstanceInput(input, context));
939
663
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
940
664
  };
941
665
  exports.se_DeleteNotebookInstanceCommand = se_DeleteNotebookInstanceCommand;
942
666
  const se_DeleteNotebookInstanceLifecycleConfigCommand = async (input, context) => {
943
- const headers = {
944
- "content-type": "application/x-amz-json-1.1",
945
- "x-amz-target": "SageMaker.DeleteNotebookInstanceLifecycleConfig",
946
- };
667
+ const headers = sharedHeaders("DeleteNotebookInstanceLifecycleConfig");
947
668
  let body;
948
669
  body = JSON.stringify(se_DeleteNotebookInstanceLifecycleConfigInput(input, context));
949
670
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
950
671
  };
951
672
  exports.se_DeleteNotebookInstanceLifecycleConfigCommand = se_DeleteNotebookInstanceLifecycleConfigCommand;
952
673
  const se_DeletePipelineCommand = async (input, context) => {
953
- const headers = {
954
- "content-type": "application/x-amz-json-1.1",
955
- "x-amz-target": "SageMaker.DeletePipeline",
956
- };
674
+ const headers = sharedHeaders("DeletePipeline");
957
675
  let body;
958
676
  body = JSON.stringify(se_DeletePipelineRequest(input, context));
959
677
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
960
678
  };
961
679
  exports.se_DeletePipelineCommand = se_DeletePipelineCommand;
962
680
  const se_DeleteProjectCommand = async (input, context) => {
963
- const headers = {
964
- "content-type": "application/x-amz-json-1.1",
965
- "x-amz-target": "SageMaker.DeleteProject",
966
- };
681
+ const headers = sharedHeaders("DeleteProject");
967
682
  let body;
968
683
  body = JSON.stringify(se_DeleteProjectInput(input, context));
969
684
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
970
685
  };
971
686
  exports.se_DeleteProjectCommand = se_DeleteProjectCommand;
972
687
  const se_DeleteSpaceCommand = async (input, context) => {
973
- const headers = {
974
- "content-type": "application/x-amz-json-1.1",
975
- "x-amz-target": "SageMaker.DeleteSpace",
976
- };
688
+ const headers = sharedHeaders("DeleteSpace");
977
689
  let body;
978
690
  body = JSON.stringify(se_DeleteSpaceRequest(input, context));
979
691
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
980
692
  };
981
693
  exports.se_DeleteSpaceCommand = se_DeleteSpaceCommand;
982
694
  const se_DeleteStudioLifecycleConfigCommand = async (input, context) => {
983
- const headers = {
984
- "content-type": "application/x-amz-json-1.1",
985
- "x-amz-target": "SageMaker.DeleteStudioLifecycleConfig",
986
- };
695
+ const headers = sharedHeaders("DeleteStudioLifecycleConfig");
987
696
  let body;
988
697
  body = JSON.stringify(se_DeleteStudioLifecycleConfigRequest(input, context));
989
698
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
990
699
  };
991
700
  exports.se_DeleteStudioLifecycleConfigCommand = se_DeleteStudioLifecycleConfigCommand;
992
701
  const se_DeleteTagsCommand = async (input, context) => {
993
- const headers = {
994
- "content-type": "application/x-amz-json-1.1",
995
- "x-amz-target": "SageMaker.DeleteTags",
996
- };
702
+ const headers = sharedHeaders("DeleteTags");
997
703
  let body;
998
704
  body = JSON.stringify(se_DeleteTagsInput(input, context));
999
705
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1000
706
  };
1001
707
  exports.se_DeleteTagsCommand = se_DeleteTagsCommand;
1002
708
  const se_DeleteTrialCommand = async (input, context) => {
1003
- const headers = {
1004
- "content-type": "application/x-amz-json-1.1",
1005
- "x-amz-target": "SageMaker.DeleteTrial",
1006
- };
709
+ const headers = sharedHeaders("DeleteTrial");
1007
710
  let body;
1008
711
  body = JSON.stringify(se_DeleteTrialRequest(input, context));
1009
712
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1010
713
  };
1011
714
  exports.se_DeleteTrialCommand = se_DeleteTrialCommand;
1012
715
  const se_DeleteTrialComponentCommand = async (input, context) => {
1013
- const headers = {
1014
- "content-type": "application/x-amz-json-1.1",
1015
- "x-amz-target": "SageMaker.DeleteTrialComponent",
1016
- };
716
+ const headers = sharedHeaders("DeleteTrialComponent");
1017
717
  let body;
1018
718
  body = JSON.stringify(se_DeleteTrialComponentRequest(input, context));
1019
719
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1020
720
  };
1021
721
  exports.se_DeleteTrialComponentCommand = se_DeleteTrialComponentCommand;
1022
722
  const se_DeleteUserProfileCommand = async (input, context) => {
1023
- const headers = {
1024
- "content-type": "application/x-amz-json-1.1",
1025
- "x-amz-target": "SageMaker.DeleteUserProfile",
1026
- };
723
+ const headers = sharedHeaders("DeleteUserProfile");
1027
724
  let body;
1028
725
  body = JSON.stringify(se_DeleteUserProfileRequest(input, context));
1029
726
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1030
727
  };
1031
728
  exports.se_DeleteUserProfileCommand = se_DeleteUserProfileCommand;
1032
729
  const se_DeleteWorkforceCommand = async (input, context) => {
1033
- const headers = {
1034
- "content-type": "application/x-amz-json-1.1",
1035
- "x-amz-target": "SageMaker.DeleteWorkforce",
1036
- };
730
+ const headers = sharedHeaders("DeleteWorkforce");
1037
731
  let body;
1038
732
  body = JSON.stringify(se_DeleteWorkforceRequest(input, context));
1039
733
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1040
734
  };
1041
735
  exports.se_DeleteWorkforceCommand = se_DeleteWorkforceCommand;
1042
736
  const se_DeleteWorkteamCommand = async (input, context) => {
1043
- const headers = {
1044
- "content-type": "application/x-amz-json-1.1",
1045
- "x-amz-target": "SageMaker.DeleteWorkteam",
1046
- };
737
+ const headers = sharedHeaders("DeleteWorkteam");
1047
738
  let body;
1048
739
  body = JSON.stringify(se_DeleteWorkteamRequest(input, context));
1049
740
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1050
741
  };
1051
742
  exports.se_DeleteWorkteamCommand = se_DeleteWorkteamCommand;
1052
743
  const se_DeregisterDevicesCommand = async (input, context) => {
1053
- const headers = {
1054
- "content-type": "application/x-amz-json-1.1",
1055
- "x-amz-target": "SageMaker.DeregisterDevices",
1056
- };
744
+ const headers = sharedHeaders("DeregisterDevices");
1057
745
  let body;
1058
746
  body = JSON.stringify(se_DeregisterDevicesRequest(input, context));
1059
747
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1060
748
  };
1061
749
  exports.se_DeregisterDevicesCommand = se_DeregisterDevicesCommand;
1062
750
  const se_DescribeActionCommand = async (input, context) => {
1063
- const headers = {
1064
- "content-type": "application/x-amz-json-1.1",
1065
- "x-amz-target": "SageMaker.DescribeAction",
1066
- };
751
+ const headers = sharedHeaders("DescribeAction");
1067
752
  let body;
1068
753
  body = JSON.stringify(se_DescribeActionRequest(input, context));
1069
754
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1070
755
  };
1071
756
  exports.se_DescribeActionCommand = se_DescribeActionCommand;
1072
757
  const se_DescribeAlgorithmCommand = async (input, context) => {
1073
- const headers = {
1074
- "content-type": "application/x-amz-json-1.1",
1075
- "x-amz-target": "SageMaker.DescribeAlgorithm",
1076
- };
758
+ const headers = sharedHeaders("DescribeAlgorithm");
1077
759
  let body;
1078
760
  body = JSON.stringify(se_DescribeAlgorithmInput(input, context));
1079
761
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1080
762
  };
1081
763
  exports.se_DescribeAlgorithmCommand = se_DescribeAlgorithmCommand;
1082
764
  const se_DescribeAppCommand = async (input, context) => {
1083
- const headers = {
1084
- "content-type": "application/x-amz-json-1.1",
1085
- "x-amz-target": "SageMaker.DescribeApp",
1086
- };
765
+ const headers = sharedHeaders("DescribeApp");
1087
766
  let body;
1088
767
  body = JSON.stringify(se_DescribeAppRequest(input, context));
1089
768
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1090
769
  };
1091
770
  exports.se_DescribeAppCommand = se_DescribeAppCommand;
1092
771
  const se_DescribeAppImageConfigCommand = async (input, context) => {
1093
- const headers = {
1094
- "content-type": "application/x-amz-json-1.1",
1095
- "x-amz-target": "SageMaker.DescribeAppImageConfig",
1096
- };
772
+ const headers = sharedHeaders("DescribeAppImageConfig");
1097
773
  let body;
1098
774
  body = JSON.stringify(se_DescribeAppImageConfigRequest(input, context));
1099
775
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1100
776
  };
1101
777
  exports.se_DescribeAppImageConfigCommand = se_DescribeAppImageConfigCommand;
1102
778
  const se_DescribeArtifactCommand = async (input, context) => {
1103
- const headers = {
1104
- "content-type": "application/x-amz-json-1.1",
1105
- "x-amz-target": "SageMaker.DescribeArtifact",
1106
- };
779
+ const headers = sharedHeaders("DescribeArtifact");
1107
780
  let body;
1108
781
  body = JSON.stringify(se_DescribeArtifactRequest(input, context));
1109
782
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1110
783
  };
1111
784
  exports.se_DescribeArtifactCommand = se_DescribeArtifactCommand;
1112
785
  const se_DescribeAutoMLJobCommand = async (input, context) => {
1113
- const headers = {
1114
- "content-type": "application/x-amz-json-1.1",
1115
- "x-amz-target": "SageMaker.DescribeAutoMLJob",
1116
- };
786
+ const headers = sharedHeaders("DescribeAutoMLJob");
1117
787
  let body;
1118
788
  body = JSON.stringify(se_DescribeAutoMLJobRequest(input, context));
1119
789
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1120
790
  };
1121
791
  exports.se_DescribeAutoMLJobCommand = se_DescribeAutoMLJobCommand;
1122
792
  const se_DescribeAutoMLJobV2Command = async (input, context) => {
1123
- const headers = {
1124
- "content-type": "application/x-amz-json-1.1",
1125
- "x-amz-target": "SageMaker.DescribeAutoMLJobV2",
1126
- };
793
+ const headers = sharedHeaders("DescribeAutoMLJobV2");
1127
794
  let body;
1128
795
  body = JSON.stringify(se_DescribeAutoMLJobV2Request(input, context));
1129
796
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1130
797
  };
1131
798
  exports.se_DescribeAutoMLJobV2Command = se_DescribeAutoMLJobV2Command;
1132
799
  const se_DescribeCodeRepositoryCommand = async (input, context) => {
1133
- const headers = {
1134
- "content-type": "application/x-amz-json-1.1",
1135
- "x-amz-target": "SageMaker.DescribeCodeRepository",
1136
- };
800
+ const headers = sharedHeaders("DescribeCodeRepository");
1137
801
  let body;
1138
802
  body = JSON.stringify(se_DescribeCodeRepositoryInput(input, context));
1139
803
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1140
804
  };
1141
805
  exports.se_DescribeCodeRepositoryCommand = se_DescribeCodeRepositoryCommand;
1142
806
  const se_DescribeCompilationJobCommand = async (input, context) => {
1143
- const headers = {
1144
- "content-type": "application/x-amz-json-1.1",
1145
- "x-amz-target": "SageMaker.DescribeCompilationJob",
1146
- };
807
+ const headers = sharedHeaders("DescribeCompilationJob");
1147
808
  let body;
1148
809
  body = JSON.stringify(se_DescribeCompilationJobRequest(input, context));
1149
810
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1150
811
  };
1151
812
  exports.se_DescribeCompilationJobCommand = se_DescribeCompilationJobCommand;
1152
813
  const se_DescribeContextCommand = async (input, context) => {
1153
- const headers = {
1154
- "content-type": "application/x-amz-json-1.1",
1155
- "x-amz-target": "SageMaker.DescribeContext",
1156
- };
814
+ const headers = sharedHeaders("DescribeContext");
1157
815
  let body;
1158
816
  body = JSON.stringify(se_DescribeContextRequest(input, context));
1159
817
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1160
818
  };
1161
819
  exports.se_DescribeContextCommand = se_DescribeContextCommand;
1162
820
  const se_DescribeDataQualityJobDefinitionCommand = async (input, context) => {
1163
- const headers = {
1164
- "content-type": "application/x-amz-json-1.1",
1165
- "x-amz-target": "SageMaker.DescribeDataQualityJobDefinition",
1166
- };
821
+ const headers = sharedHeaders("DescribeDataQualityJobDefinition");
1167
822
  let body;
1168
823
  body = JSON.stringify(se_DescribeDataQualityJobDefinitionRequest(input, context));
1169
824
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1170
825
  };
1171
826
  exports.se_DescribeDataQualityJobDefinitionCommand = se_DescribeDataQualityJobDefinitionCommand;
1172
827
  const se_DescribeDeviceCommand = async (input, context) => {
1173
- const headers = {
1174
- "content-type": "application/x-amz-json-1.1",
1175
- "x-amz-target": "SageMaker.DescribeDevice",
1176
- };
828
+ const headers = sharedHeaders("DescribeDevice");
1177
829
  let body;
1178
830
  body = JSON.stringify(se_DescribeDeviceRequest(input, context));
1179
831
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1180
832
  };
1181
833
  exports.se_DescribeDeviceCommand = se_DescribeDeviceCommand;
1182
834
  const se_DescribeDeviceFleetCommand = async (input, context) => {
1183
- const headers = {
1184
- "content-type": "application/x-amz-json-1.1",
1185
- "x-amz-target": "SageMaker.DescribeDeviceFleet",
1186
- };
835
+ const headers = sharedHeaders("DescribeDeviceFleet");
1187
836
  let body;
1188
837
  body = JSON.stringify(se_DescribeDeviceFleetRequest(input, context));
1189
838
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1190
839
  };
1191
840
  exports.se_DescribeDeviceFleetCommand = se_DescribeDeviceFleetCommand;
1192
841
  const se_DescribeDomainCommand = async (input, context) => {
1193
- const headers = {
1194
- "content-type": "application/x-amz-json-1.1",
1195
- "x-amz-target": "SageMaker.DescribeDomain",
1196
- };
842
+ const headers = sharedHeaders("DescribeDomain");
1197
843
  let body;
1198
844
  body = JSON.stringify(se_DescribeDomainRequest(input, context));
1199
845
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1200
846
  };
1201
847
  exports.se_DescribeDomainCommand = se_DescribeDomainCommand;
1202
848
  const se_DescribeEdgeDeploymentPlanCommand = async (input, context) => {
1203
- const headers = {
1204
- "content-type": "application/x-amz-json-1.1",
1205
- "x-amz-target": "SageMaker.DescribeEdgeDeploymentPlan",
1206
- };
849
+ const headers = sharedHeaders("DescribeEdgeDeploymentPlan");
1207
850
  let body;
1208
851
  body = JSON.stringify(se_DescribeEdgeDeploymentPlanRequest(input, context));
1209
852
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1210
853
  };
1211
854
  exports.se_DescribeEdgeDeploymentPlanCommand = se_DescribeEdgeDeploymentPlanCommand;
1212
855
  const se_DescribeEdgePackagingJobCommand = async (input, context) => {
1213
- const headers = {
1214
- "content-type": "application/x-amz-json-1.1",
1215
- "x-amz-target": "SageMaker.DescribeEdgePackagingJob",
1216
- };
856
+ const headers = sharedHeaders("DescribeEdgePackagingJob");
1217
857
  let body;
1218
858
  body = JSON.stringify(se_DescribeEdgePackagingJobRequest(input, context));
1219
859
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1220
860
  };
1221
861
  exports.se_DescribeEdgePackagingJobCommand = se_DescribeEdgePackagingJobCommand;
1222
862
  const se_DescribeEndpointCommand = async (input, context) => {
1223
- const headers = {
1224
- "content-type": "application/x-amz-json-1.1",
1225
- "x-amz-target": "SageMaker.DescribeEndpoint",
1226
- };
863
+ const headers = sharedHeaders("DescribeEndpoint");
1227
864
  let body;
1228
865
  body = JSON.stringify(se_DescribeEndpointInput(input, context));
1229
866
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1230
867
  };
1231
868
  exports.se_DescribeEndpointCommand = se_DescribeEndpointCommand;
1232
869
  const se_DescribeEndpointConfigCommand = async (input, context) => {
1233
- const headers = {
1234
- "content-type": "application/x-amz-json-1.1",
1235
- "x-amz-target": "SageMaker.DescribeEndpointConfig",
1236
- };
870
+ const headers = sharedHeaders("DescribeEndpointConfig");
1237
871
  let body;
1238
872
  body = JSON.stringify(se_DescribeEndpointConfigInput(input, context));
1239
873
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1240
874
  };
1241
875
  exports.se_DescribeEndpointConfigCommand = se_DescribeEndpointConfigCommand;
1242
876
  const se_DescribeExperimentCommand = async (input, context) => {
1243
- const headers = {
1244
- "content-type": "application/x-amz-json-1.1",
1245
- "x-amz-target": "SageMaker.DescribeExperiment",
1246
- };
877
+ const headers = sharedHeaders("DescribeExperiment");
1247
878
  let body;
1248
879
  body = JSON.stringify(se_DescribeExperimentRequest(input, context));
1249
880
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1250
881
  };
1251
882
  exports.se_DescribeExperimentCommand = se_DescribeExperimentCommand;
1252
883
  const se_DescribeFeatureGroupCommand = async (input, context) => {
1253
- const headers = {
1254
- "content-type": "application/x-amz-json-1.1",
1255
- "x-amz-target": "SageMaker.DescribeFeatureGroup",
1256
- };
884
+ const headers = sharedHeaders("DescribeFeatureGroup");
1257
885
  let body;
1258
886
  body = JSON.stringify(se_DescribeFeatureGroupRequest(input, context));
1259
887
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1260
888
  };
1261
889
  exports.se_DescribeFeatureGroupCommand = se_DescribeFeatureGroupCommand;
1262
890
  const se_DescribeFeatureMetadataCommand = async (input, context) => {
1263
- const headers = {
1264
- "content-type": "application/x-amz-json-1.1",
1265
- "x-amz-target": "SageMaker.DescribeFeatureMetadata",
1266
- };
891
+ const headers = sharedHeaders("DescribeFeatureMetadata");
1267
892
  let body;
1268
893
  body = JSON.stringify(se_DescribeFeatureMetadataRequest(input, context));
1269
894
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1270
895
  };
1271
896
  exports.se_DescribeFeatureMetadataCommand = se_DescribeFeatureMetadataCommand;
1272
897
  const se_DescribeFlowDefinitionCommand = async (input, context) => {
1273
- const headers = {
1274
- "content-type": "application/x-amz-json-1.1",
1275
- "x-amz-target": "SageMaker.DescribeFlowDefinition",
1276
- };
898
+ const headers = sharedHeaders("DescribeFlowDefinition");
1277
899
  let body;
1278
900
  body = JSON.stringify(se_DescribeFlowDefinitionRequest(input, context));
1279
901
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1280
902
  };
1281
903
  exports.se_DescribeFlowDefinitionCommand = se_DescribeFlowDefinitionCommand;
1282
904
  const se_DescribeHubCommand = async (input, context) => {
1283
- const headers = {
1284
- "content-type": "application/x-amz-json-1.1",
1285
- "x-amz-target": "SageMaker.DescribeHub",
1286
- };
905
+ const headers = sharedHeaders("DescribeHub");
1287
906
  let body;
1288
907
  body = JSON.stringify(se_DescribeHubRequest(input, context));
1289
908
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1290
909
  };
1291
910
  exports.se_DescribeHubCommand = se_DescribeHubCommand;
1292
911
  const se_DescribeHubContentCommand = async (input, context) => {
1293
- const headers = {
1294
- "content-type": "application/x-amz-json-1.1",
1295
- "x-amz-target": "SageMaker.DescribeHubContent",
1296
- };
912
+ const headers = sharedHeaders("DescribeHubContent");
1297
913
  let body;
1298
914
  body = JSON.stringify(se_DescribeHubContentRequest(input, context));
1299
915
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1300
916
  };
1301
917
  exports.se_DescribeHubContentCommand = se_DescribeHubContentCommand;
1302
918
  const se_DescribeHumanTaskUiCommand = async (input, context) => {
1303
- const headers = {
1304
- "content-type": "application/x-amz-json-1.1",
1305
- "x-amz-target": "SageMaker.DescribeHumanTaskUi",
1306
- };
919
+ const headers = sharedHeaders("DescribeHumanTaskUi");
1307
920
  let body;
1308
921
  body = JSON.stringify(se_DescribeHumanTaskUiRequest(input, context));
1309
922
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1310
923
  };
1311
924
  exports.se_DescribeHumanTaskUiCommand = se_DescribeHumanTaskUiCommand;
1312
925
  const se_DescribeHyperParameterTuningJobCommand = async (input, context) => {
1313
- const headers = {
1314
- "content-type": "application/x-amz-json-1.1",
1315
- "x-amz-target": "SageMaker.DescribeHyperParameterTuningJob",
1316
- };
926
+ const headers = sharedHeaders("DescribeHyperParameterTuningJob");
1317
927
  let body;
1318
928
  body = JSON.stringify(se_DescribeHyperParameterTuningJobRequest(input, context));
1319
929
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1320
930
  };
1321
931
  exports.se_DescribeHyperParameterTuningJobCommand = se_DescribeHyperParameterTuningJobCommand;
1322
932
  const se_DescribeImageCommand = async (input, context) => {
1323
- const headers = {
1324
- "content-type": "application/x-amz-json-1.1",
1325
- "x-amz-target": "SageMaker.DescribeImage",
1326
- };
933
+ const headers = sharedHeaders("DescribeImage");
1327
934
  let body;
1328
935
  body = JSON.stringify(se_DescribeImageRequest(input, context));
1329
936
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1330
937
  };
1331
938
  exports.se_DescribeImageCommand = se_DescribeImageCommand;
1332
939
  const se_DescribeImageVersionCommand = async (input, context) => {
1333
- const headers = {
1334
- "content-type": "application/x-amz-json-1.1",
1335
- "x-amz-target": "SageMaker.DescribeImageVersion",
1336
- };
940
+ const headers = sharedHeaders("DescribeImageVersion");
1337
941
  let body;
1338
942
  body = JSON.stringify(se_DescribeImageVersionRequest(input, context));
1339
943
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1340
944
  };
1341
945
  exports.se_DescribeImageVersionCommand = se_DescribeImageVersionCommand;
1342
946
  const se_DescribeInferenceExperimentCommand = async (input, context) => {
1343
- const headers = {
1344
- "content-type": "application/x-amz-json-1.1",
1345
- "x-amz-target": "SageMaker.DescribeInferenceExperiment",
1346
- };
947
+ const headers = sharedHeaders("DescribeInferenceExperiment");
1347
948
  let body;
1348
949
  body = JSON.stringify(se_DescribeInferenceExperimentRequest(input, context));
1349
950
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1350
951
  };
1351
952
  exports.se_DescribeInferenceExperimentCommand = se_DescribeInferenceExperimentCommand;
1352
953
  const se_DescribeInferenceRecommendationsJobCommand = async (input, context) => {
1353
- const headers = {
1354
- "content-type": "application/x-amz-json-1.1",
1355
- "x-amz-target": "SageMaker.DescribeInferenceRecommendationsJob",
1356
- };
954
+ const headers = sharedHeaders("DescribeInferenceRecommendationsJob");
1357
955
  let body;
1358
956
  body = JSON.stringify(se_DescribeInferenceRecommendationsJobRequest(input, context));
1359
957
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1360
958
  };
1361
959
  exports.se_DescribeInferenceRecommendationsJobCommand = se_DescribeInferenceRecommendationsJobCommand;
1362
960
  const se_DescribeLabelingJobCommand = async (input, context) => {
1363
- const headers = {
1364
- "content-type": "application/x-amz-json-1.1",
1365
- "x-amz-target": "SageMaker.DescribeLabelingJob",
1366
- };
961
+ const headers = sharedHeaders("DescribeLabelingJob");
1367
962
  let body;
1368
963
  body = JSON.stringify(se_DescribeLabelingJobRequest(input, context));
1369
964
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1370
965
  };
1371
966
  exports.se_DescribeLabelingJobCommand = se_DescribeLabelingJobCommand;
1372
967
  const se_DescribeLineageGroupCommand = async (input, context) => {
1373
- const headers = {
1374
- "content-type": "application/x-amz-json-1.1",
1375
- "x-amz-target": "SageMaker.DescribeLineageGroup",
1376
- };
968
+ const headers = sharedHeaders("DescribeLineageGroup");
1377
969
  let body;
1378
970
  body = JSON.stringify(se_DescribeLineageGroupRequest(input, context));
1379
971
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1380
972
  };
1381
973
  exports.se_DescribeLineageGroupCommand = se_DescribeLineageGroupCommand;
1382
974
  const se_DescribeModelCommand = async (input, context) => {
1383
- const headers = {
1384
- "content-type": "application/x-amz-json-1.1",
1385
- "x-amz-target": "SageMaker.DescribeModel",
1386
- };
975
+ const headers = sharedHeaders("DescribeModel");
1387
976
  let body;
1388
977
  body = JSON.stringify(se_DescribeModelInput(input, context));
1389
978
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1390
979
  };
1391
980
  exports.se_DescribeModelCommand = se_DescribeModelCommand;
1392
981
  const se_DescribeModelBiasJobDefinitionCommand = async (input, context) => {
1393
- const headers = {
1394
- "content-type": "application/x-amz-json-1.1",
1395
- "x-amz-target": "SageMaker.DescribeModelBiasJobDefinition",
1396
- };
982
+ const headers = sharedHeaders("DescribeModelBiasJobDefinition");
1397
983
  let body;
1398
984
  body = JSON.stringify(se_DescribeModelBiasJobDefinitionRequest(input, context));
1399
985
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1400
986
  };
1401
987
  exports.se_DescribeModelBiasJobDefinitionCommand = se_DescribeModelBiasJobDefinitionCommand;
1402
988
  const se_DescribeModelCardCommand = async (input, context) => {
1403
- const headers = {
1404
- "content-type": "application/x-amz-json-1.1",
1405
- "x-amz-target": "SageMaker.DescribeModelCard",
1406
- };
989
+ const headers = sharedHeaders("DescribeModelCard");
1407
990
  let body;
1408
991
  body = JSON.stringify(se_DescribeModelCardRequest(input, context));
1409
992
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1410
993
  };
1411
994
  exports.se_DescribeModelCardCommand = se_DescribeModelCardCommand;
1412
995
  const se_DescribeModelCardExportJobCommand = async (input, context) => {
1413
- const headers = {
1414
- "content-type": "application/x-amz-json-1.1",
1415
- "x-amz-target": "SageMaker.DescribeModelCardExportJob",
1416
- };
996
+ const headers = sharedHeaders("DescribeModelCardExportJob");
1417
997
  let body;
1418
998
  body = JSON.stringify(se_DescribeModelCardExportJobRequest(input, context));
1419
999
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1420
1000
  };
1421
1001
  exports.se_DescribeModelCardExportJobCommand = se_DescribeModelCardExportJobCommand;
1422
1002
  const se_DescribeModelExplainabilityJobDefinitionCommand = async (input, context) => {
1423
- const headers = {
1424
- "content-type": "application/x-amz-json-1.1",
1425
- "x-amz-target": "SageMaker.DescribeModelExplainabilityJobDefinition",
1426
- };
1003
+ const headers = sharedHeaders("DescribeModelExplainabilityJobDefinition");
1427
1004
  let body;
1428
1005
  body = JSON.stringify(se_DescribeModelExplainabilityJobDefinitionRequest(input, context));
1429
1006
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1430
1007
  };
1431
1008
  exports.se_DescribeModelExplainabilityJobDefinitionCommand = se_DescribeModelExplainabilityJobDefinitionCommand;
1432
1009
  const se_DescribeModelPackageCommand = async (input, context) => {
1433
- const headers = {
1434
- "content-type": "application/x-amz-json-1.1",
1435
- "x-amz-target": "SageMaker.DescribeModelPackage",
1436
- };
1010
+ const headers = sharedHeaders("DescribeModelPackage");
1437
1011
  let body;
1438
1012
  body = JSON.stringify(se_DescribeModelPackageInput(input, context));
1439
1013
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1440
1014
  };
1441
1015
  exports.se_DescribeModelPackageCommand = se_DescribeModelPackageCommand;
1442
1016
  const se_DescribeModelPackageGroupCommand = async (input, context) => {
1443
- const headers = {
1444
- "content-type": "application/x-amz-json-1.1",
1445
- "x-amz-target": "SageMaker.DescribeModelPackageGroup",
1446
- };
1017
+ const headers = sharedHeaders("DescribeModelPackageGroup");
1447
1018
  let body;
1448
1019
  body = JSON.stringify(se_DescribeModelPackageGroupInput(input, context));
1449
1020
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1450
1021
  };
1451
1022
  exports.se_DescribeModelPackageGroupCommand = se_DescribeModelPackageGroupCommand;
1452
1023
  const se_DescribeModelQualityJobDefinitionCommand = async (input, context) => {
1453
- const headers = {
1454
- "content-type": "application/x-amz-json-1.1",
1455
- "x-amz-target": "SageMaker.DescribeModelQualityJobDefinition",
1456
- };
1024
+ const headers = sharedHeaders("DescribeModelQualityJobDefinition");
1457
1025
  let body;
1458
1026
  body = JSON.stringify(se_DescribeModelQualityJobDefinitionRequest(input, context));
1459
1027
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1460
1028
  };
1461
1029
  exports.se_DescribeModelQualityJobDefinitionCommand = se_DescribeModelQualityJobDefinitionCommand;
1462
1030
  const se_DescribeMonitoringScheduleCommand = async (input, context) => {
1463
- const headers = {
1464
- "content-type": "application/x-amz-json-1.1",
1465
- "x-amz-target": "SageMaker.DescribeMonitoringSchedule",
1466
- };
1031
+ const headers = sharedHeaders("DescribeMonitoringSchedule");
1467
1032
  let body;
1468
1033
  body = JSON.stringify(se_DescribeMonitoringScheduleRequest(input, context));
1469
1034
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1470
1035
  };
1471
1036
  exports.se_DescribeMonitoringScheduleCommand = se_DescribeMonitoringScheduleCommand;
1472
1037
  const se_DescribeNotebookInstanceCommand = async (input, context) => {
1473
- const headers = {
1474
- "content-type": "application/x-amz-json-1.1",
1475
- "x-amz-target": "SageMaker.DescribeNotebookInstance",
1476
- };
1038
+ const headers = sharedHeaders("DescribeNotebookInstance");
1477
1039
  let body;
1478
1040
  body = JSON.stringify(se_DescribeNotebookInstanceInput(input, context));
1479
1041
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1480
1042
  };
1481
1043
  exports.se_DescribeNotebookInstanceCommand = se_DescribeNotebookInstanceCommand;
1482
1044
  const se_DescribeNotebookInstanceLifecycleConfigCommand = async (input, context) => {
1483
- const headers = {
1484
- "content-type": "application/x-amz-json-1.1",
1485
- "x-amz-target": "SageMaker.DescribeNotebookInstanceLifecycleConfig",
1486
- };
1045
+ const headers = sharedHeaders("DescribeNotebookInstanceLifecycleConfig");
1487
1046
  let body;
1488
1047
  body = JSON.stringify(se_DescribeNotebookInstanceLifecycleConfigInput(input, context));
1489
1048
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1490
1049
  };
1491
1050
  exports.se_DescribeNotebookInstanceLifecycleConfigCommand = se_DescribeNotebookInstanceLifecycleConfigCommand;
1492
1051
  const se_DescribePipelineCommand = async (input, context) => {
1493
- const headers = {
1494
- "content-type": "application/x-amz-json-1.1",
1495
- "x-amz-target": "SageMaker.DescribePipeline",
1496
- };
1052
+ const headers = sharedHeaders("DescribePipeline");
1497
1053
  let body;
1498
1054
  body = JSON.stringify(se_DescribePipelineRequest(input, context));
1499
1055
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1500
1056
  };
1501
1057
  exports.se_DescribePipelineCommand = se_DescribePipelineCommand;
1502
1058
  const se_DescribePipelineDefinitionForExecutionCommand = async (input, context) => {
1503
- const headers = {
1504
- "content-type": "application/x-amz-json-1.1",
1505
- "x-amz-target": "SageMaker.DescribePipelineDefinitionForExecution",
1506
- };
1059
+ const headers = sharedHeaders("DescribePipelineDefinitionForExecution");
1507
1060
  let body;
1508
1061
  body = JSON.stringify(se_DescribePipelineDefinitionForExecutionRequest(input, context));
1509
1062
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1510
1063
  };
1511
1064
  exports.se_DescribePipelineDefinitionForExecutionCommand = se_DescribePipelineDefinitionForExecutionCommand;
1512
1065
  const se_DescribePipelineExecutionCommand = async (input, context) => {
1513
- const headers = {
1514
- "content-type": "application/x-amz-json-1.1",
1515
- "x-amz-target": "SageMaker.DescribePipelineExecution",
1516
- };
1066
+ const headers = sharedHeaders("DescribePipelineExecution");
1517
1067
  let body;
1518
1068
  body = JSON.stringify(se_DescribePipelineExecutionRequest(input, context));
1519
1069
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1520
1070
  };
1521
1071
  exports.se_DescribePipelineExecutionCommand = se_DescribePipelineExecutionCommand;
1522
1072
  const se_DescribeProcessingJobCommand = async (input, context) => {
1523
- const headers = {
1524
- "content-type": "application/x-amz-json-1.1",
1525
- "x-amz-target": "SageMaker.DescribeProcessingJob",
1526
- };
1073
+ const headers = sharedHeaders("DescribeProcessingJob");
1527
1074
  let body;
1528
1075
  body = JSON.stringify(se_DescribeProcessingJobRequest(input, context));
1529
1076
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1530
1077
  };
1531
1078
  exports.se_DescribeProcessingJobCommand = se_DescribeProcessingJobCommand;
1532
1079
  const se_DescribeProjectCommand = async (input, context) => {
1533
- const headers = {
1534
- "content-type": "application/x-amz-json-1.1",
1535
- "x-amz-target": "SageMaker.DescribeProject",
1536
- };
1080
+ const headers = sharedHeaders("DescribeProject");
1537
1081
  let body;
1538
1082
  body = JSON.stringify(se_DescribeProjectInput(input, context));
1539
1083
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1540
1084
  };
1541
1085
  exports.se_DescribeProjectCommand = se_DescribeProjectCommand;
1542
1086
  const se_DescribeSpaceCommand = async (input, context) => {
1543
- const headers = {
1544
- "content-type": "application/x-amz-json-1.1",
1545
- "x-amz-target": "SageMaker.DescribeSpace",
1546
- };
1087
+ const headers = sharedHeaders("DescribeSpace");
1547
1088
  let body;
1548
1089
  body = JSON.stringify(se_DescribeSpaceRequest(input, context));
1549
1090
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1550
1091
  };
1551
1092
  exports.se_DescribeSpaceCommand = se_DescribeSpaceCommand;
1552
1093
  const se_DescribeStudioLifecycleConfigCommand = async (input, context) => {
1553
- const headers = {
1554
- "content-type": "application/x-amz-json-1.1",
1555
- "x-amz-target": "SageMaker.DescribeStudioLifecycleConfig",
1556
- };
1094
+ const headers = sharedHeaders("DescribeStudioLifecycleConfig");
1557
1095
  let body;
1558
1096
  body = JSON.stringify(se_DescribeStudioLifecycleConfigRequest(input, context));
1559
1097
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1560
1098
  };
1561
1099
  exports.se_DescribeStudioLifecycleConfigCommand = se_DescribeStudioLifecycleConfigCommand;
1562
1100
  const se_DescribeSubscribedWorkteamCommand = async (input, context) => {
1563
- const headers = {
1564
- "content-type": "application/x-amz-json-1.1",
1565
- "x-amz-target": "SageMaker.DescribeSubscribedWorkteam",
1566
- };
1101
+ const headers = sharedHeaders("DescribeSubscribedWorkteam");
1567
1102
  let body;
1568
1103
  body = JSON.stringify(se_DescribeSubscribedWorkteamRequest(input, context));
1569
1104
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1570
1105
  };
1571
1106
  exports.se_DescribeSubscribedWorkteamCommand = se_DescribeSubscribedWorkteamCommand;
1572
1107
  const se_DescribeTrainingJobCommand = async (input, context) => {
1573
- const headers = {
1574
- "content-type": "application/x-amz-json-1.1",
1575
- "x-amz-target": "SageMaker.DescribeTrainingJob",
1576
- };
1108
+ const headers = sharedHeaders("DescribeTrainingJob");
1577
1109
  let body;
1578
1110
  body = JSON.stringify(se_DescribeTrainingJobRequest(input, context));
1579
1111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1580
1112
  };
1581
1113
  exports.se_DescribeTrainingJobCommand = se_DescribeTrainingJobCommand;
1582
1114
  const se_DescribeTransformJobCommand = async (input, context) => {
1583
- const headers = {
1584
- "content-type": "application/x-amz-json-1.1",
1585
- "x-amz-target": "SageMaker.DescribeTransformJob",
1586
- };
1115
+ const headers = sharedHeaders("DescribeTransformJob");
1587
1116
  let body;
1588
1117
  body = JSON.stringify(se_DescribeTransformJobRequest(input, context));
1589
1118
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1590
1119
  };
1591
1120
  exports.se_DescribeTransformJobCommand = se_DescribeTransformJobCommand;
1592
1121
  const se_DescribeTrialCommand = async (input, context) => {
1593
- const headers = {
1594
- "content-type": "application/x-amz-json-1.1",
1595
- "x-amz-target": "SageMaker.DescribeTrial",
1596
- };
1122
+ const headers = sharedHeaders("DescribeTrial");
1597
1123
  let body;
1598
1124
  body = JSON.stringify(se_DescribeTrialRequest(input, context));
1599
1125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1600
1126
  };
1601
1127
  exports.se_DescribeTrialCommand = se_DescribeTrialCommand;
1602
1128
  const se_DescribeTrialComponentCommand = async (input, context) => {
1603
- const headers = {
1604
- "content-type": "application/x-amz-json-1.1",
1605
- "x-amz-target": "SageMaker.DescribeTrialComponent",
1606
- };
1129
+ const headers = sharedHeaders("DescribeTrialComponent");
1607
1130
  let body;
1608
1131
  body = JSON.stringify(se_DescribeTrialComponentRequest(input, context));
1609
1132
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1610
1133
  };
1611
1134
  exports.se_DescribeTrialComponentCommand = se_DescribeTrialComponentCommand;
1612
1135
  const se_DescribeUserProfileCommand = async (input, context) => {
1613
- const headers = {
1614
- "content-type": "application/x-amz-json-1.1",
1615
- "x-amz-target": "SageMaker.DescribeUserProfile",
1616
- };
1136
+ const headers = sharedHeaders("DescribeUserProfile");
1617
1137
  let body;
1618
1138
  body = JSON.stringify(se_DescribeUserProfileRequest(input, context));
1619
1139
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1620
1140
  };
1621
1141
  exports.se_DescribeUserProfileCommand = se_DescribeUserProfileCommand;
1622
1142
  const se_DescribeWorkforceCommand = async (input, context) => {
1623
- const headers = {
1624
- "content-type": "application/x-amz-json-1.1",
1625
- "x-amz-target": "SageMaker.DescribeWorkforce",
1626
- };
1143
+ const headers = sharedHeaders("DescribeWorkforce");
1627
1144
  let body;
1628
1145
  body = JSON.stringify(se_DescribeWorkforceRequest(input, context));
1629
1146
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1630
1147
  };
1631
1148
  exports.se_DescribeWorkforceCommand = se_DescribeWorkforceCommand;
1632
1149
  const se_DescribeWorkteamCommand = async (input, context) => {
1633
- const headers = {
1634
- "content-type": "application/x-amz-json-1.1",
1635
- "x-amz-target": "SageMaker.DescribeWorkteam",
1636
- };
1150
+ const headers = sharedHeaders("DescribeWorkteam");
1637
1151
  let body;
1638
1152
  body = JSON.stringify(se_DescribeWorkteamRequest(input, context));
1639
1153
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1640
1154
  };
1641
1155
  exports.se_DescribeWorkteamCommand = se_DescribeWorkteamCommand;
1642
1156
  const se_DisableSagemakerServicecatalogPortfolioCommand = async (input, context) => {
1643
- const headers = {
1644
- "content-type": "application/x-amz-json-1.1",
1645
- "x-amz-target": "SageMaker.DisableSagemakerServicecatalogPortfolio",
1646
- };
1157
+ const headers = sharedHeaders("DisableSagemakerServicecatalogPortfolio");
1647
1158
  let body;
1648
1159
  body = JSON.stringify(se_DisableSagemakerServicecatalogPortfolioInput(input, context));
1649
1160
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1650
1161
  };
1651
1162
  exports.se_DisableSagemakerServicecatalogPortfolioCommand = se_DisableSagemakerServicecatalogPortfolioCommand;
1652
1163
  const se_DisassociateTrialComponentCommand = async (input, context) => {
1653
- const headers = {
1654
- "content-type": "application/x-amz-json-1.1",
1655
- "x-amz-target": "SageMaker.DisassociateTrialComponent",
1656
- };
1164
+ const headers = sharedHeaders("DisassociateTrialComponent");
1657
1165
  let body;
1658
1166
  body = JSON.stringify(se_DisassociateTrialComponentRequest(input, context));
1659
1167
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1660
1168
  };
1661
1169
  exports.se_DisassociateTrialComponentCommand = se_DisassociateTrialComponentCommand;
1662
1170
  const se_EnableSagemakerServicecatalogPortfolioCommand = async (input, context) => {
1663
- const headers = {
1664
- "content-type": "application/x-amz-json-1.1",
1665
- "x-amz-target": "SageMaker.EnableSagemakerServicecatalogPortfolio",
1666
- };
1171
+ const headers = sharedHeaders("EnableSagemakerServicecatalogPortfolio");
1667
1172
  let body;
1668
1173
  body = JSON.stringify(se_EnableSagemakerServicecatalogPortfolioInput(input, context));
1669
1174
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1670
1175
  };
1671
1176
  exports.se_EnableSagemakerServicecatalogPortfolioCommand = se_EnableSagemakerServicecatalogPortfolioCommand;
1672
1177
  const se_GetDeviceFleetReportCommand = async (input, context) => {
1673
- const headers = {
1674
- "content-type": "application/x-amz-json-1.1",
1675
- "x-amz-target": "SageMaker.GetDeviceFleetReport",
1676
- };
1178
+ const headers = sharedHeaders("GetDeviceFleetReport");
1677
1179
  let body;
1678
1180
  body = JSON.stringify(se_GetDeviceFleetReportRequest(input, context));
1679
1181
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1680
1182
  };
1681
1183
  exports.se_GetDeviceFleetReportCommand = se_GetDeviceFleetReportCommand;
1682
1184
  const se_GetLineageGroupPolicyCommand = async (input, context) => {
1683
- const headers = {
1684
- "content-type": "application/x-amz-json-1.1",
1685
- "x-amz-target": "SageMaker.GetLineageGroupPolicy",
1686
- };
1185
+ const headers = sharedHeaders("GetLineageGroupPolicy");
1687
1186
  let body;
1688
1187
  body = JSON.stringify(se_GetLineageGroupPolicyRequest(input, context));
1689
1188
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1690
1189
  };
1691
1190
  exports.se_GetLineageGroupPolicyCommand = se_GetLineageGroupPolicyCommand;
1692
1191
  const se_GetModelPackageGroupPolicyCommand = async (input, context) => {
1693
- const headers = {
1694
- "content-type": "application/x-amz-json-1.1",
1695
- "x-amz-target": "SageMaker.GetModelPackageGroupPolicy",
1696
- };
1192
+ const headers = sharedHeaders("GetModelPackageGroupPolicy");
1697
1193
  let body;
1698
1194
  body = JSON.stringify(se_GetModelPackageGroupPolicyInput(input, context));
1699
1195
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1700
1196
  };
1701
1197
  exports.se_GetModelPackageGroupPolicyCommand = se_GetModelPackageGroupPolicyCommand;
1702
1198
  const se_GetSagemakerServicecatalogPortfolioStatusCommand = async (input, context) => {
1703
- const headers = {
1704
- "content-type": "application/x-amz-json-1.1",
1705
- "x-amz-target": "SageMaker.GetSagemakerServicecatalogPortfolioStatus",
1706
- };
1199
+ const headers = sharedHeaders("GetSagemakerServicecatalogPortfolioStatus");
1707
1200
  let body;
1708
1201
  body = JSON.stringify(se_GetSagemakerServicecatalogPortfolioStatusInput(input, context));
1709
1202
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1710
1203
  };
1711
1204
  exports.se_GetSagemakerServicecatalogPortfolioStatusCommand = se_GetSagemakerServicecatalogPortfolioStatusCommand;
1712
1205
  const se_GetSearchSuggestionsCommand = async (input, context) => {
1713
- const headers = {
1714
- "content-type": "application/x-amz-json-1.1",
1715
- "x-amz-target": "SageMaker.GetSearchSuggestions",
1716
- };
1206
+ const headers = sharedHeaders("GetSearchSuggestions");
1717
1207
  let body;
1718
1208
  body = JSON.stringify(se_GetSearchSuggestionsRequest(input, context));
1719
1209
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1720
1210
  };
1721
1211
  exports.se_GetSearchSuggestionsCommand = se_GetSearchSuggestionsCommand;
1722
1212
  const se_ImportHubContentCommand = async (input, context) => {
1723
- const headers = {
1724
- "content-type": "application/x-amz-json-1.1",
1725
- "x-amz-target": "SageMaker.ImportHubContent",
1726
- };
1213
+ const headers = sharedHeaders("ImportHubContent");
1727
1214
  let body;
1728
1215
  body = JSON.stringify(se_ImportHubContentRequest(input, context));
1729
1216
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1730
1217
  };
1731
1218
  exports.se_ImportHubContentCommand = se_ImportHubContentCommand;
1732
1219
  const se_ListActionsCommand = async (input, context) => {
1733
- const headers = {
1734
- "content-type": "application/x-amz-json-1.1",
1735
- "x-amz-target": "SageMaker.ListActions",
1736
- };
1220
+ const headers = sharedHeaders("ListActions");
1737
1221
  let body;
1738
1222
  body = JSON.stringify(se_ListActionsRequest(input, context));
1739
1223
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1740
1224
  };
1741
1225
  exports.se_ListActionsCommand = se_ListActionsCommand;
1742
1226
  const se_ListAlgorithmsCommand = async (input, context) => {
1743
- const headers = {
1744
- "content-type": "application/x-amz-json-1.1",
1745
- "x-amz-target": "SageMaker.ListAlgorithms",
1746
- };
1227
+ const headers = sharedHeaders("ListAlgorithms");
1747
1228
  let body;
1748
1229
  body = JSON.stringify(se_ListAlgorithmsInput(input, context));
1749
1230
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1750
1231
  };
1751
1232
  exports.se_ListAlgorithmsCommand = se_ListAlgorithmsCommand;
1752
1233
  const se_ListAliasesCommand = async (input, context) => {
1753
- const headers = {
1754
- "content-type": "application/x-amz-json-1.1",
1755
- "x-amz-target": "SageMaker.ListAliases",
1756
- };
1234
+ const headers = sharedHeaders("ListAliases");
1757
1235
  let body;
1758
1236
  body = JSON.stringify(se_ListAliasesRequest(input, context));
1759
1237
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1760
1238
  };
1761
1239
  exports.se_ListAliasesCommand = se_ListAliasesCommand;
1762
1240
  const se_ListAppImageConfigsCommand = async (input, context) => {
1763
- const headers = {
1764
- "content-type": "application/x-amz-json-1.1",
1765
- "x-amz-target": "SageMaker.ListAppImageConfigs",
1766
- };
1241
+ const headers = sharedHeaders("ListAppImageConfigs");
1767
1242
  let body;
1768
1243
  body = JSON.stringify(se_ListAppImageConfigsRequest(input, context));
1769
1244
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1770
1245
  };
1771
1246
  exports.se_ListAppImageConfigsCommand = se_ListAppImageConfigsCommand;
1772
- const se_ListAppsCommand = async (input, context) => {
1773
- const headers = {
1774
- "content-type": "application/x-amz-json-1.1",
1775
- "x-amz-target": "SageMaker.ListApps",
1776
- };
1247
+ const se_ListAppsCommand = async (input, context) => {
1248
+ const headers = sharedHeaders("ListApps");
1777
1249
  let body;
1778
1250
  body = JSON.stringify(se_ListAppsRequest(input, context));
1779
1251
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1780
1252
  };
1781
1253
  exports.se_ListAppsCommand = se_ListAppsCommand;
1782
1254
  const se_ListArtifactsCommand = async (input, context) => {
1783
- const headers = {
1784
- "content-type": "application/x-amz-json-1.1",
1785
- "x-amz-target": "SageMaker.ListArtifacts",
1786
- };
1255
+ const headers = sharedHeaders("ListArtifacts");
1787
1256
  let body;
1788
1257
  body = JSON.stringify(se_ListArtifactsRequest(input, context));
1789
1258
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1790
1259
  };
1791
1260
  exports.se_ListArtifactsCommand = se_ListArtifactsCommand;
1792
1261
  const se_ListAssociationsCommand = async (input, context) => {
1793
- const headers = {
1794
- "content-type": "application/x-amz-json-1.1",
1795
- "x-amz-target": "SageMaker.ListAssociations",
1796
- };
1262
+ const headers = sharedHeaders("ListAssociations");
1797
1263
  let body;
1798
1264
  body = JSON.stringify(se_ListAssociationsRequest(input, context));
1799
1265
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1800
1266
  };
1801
1267
  exports.se_ListAssociationsCommand = se_ListAssociationsCommand;
1802
1268
  const se_ListAutoMLJobsCommand = async (input, context) => {
1803
- const headers = {
1804
- "content-type": "application/x-amz-json-1.1",
1805
- "x-amz-target": "SageMaker.ListAutoMLJobs",
1806
- };
1269
+ const headers = sharedHeaders("ListAutoMLJobs");
1807
1270
  let body;
1808
1271
  body = JSON.stringify(se_ListAutoMLJobsRequest(input, context));
1809
1272
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1810
1273
  };
1811
1274
  exports.se_ListAutoMLJobsCommand = se_ListAutoMLJobsCommand;
1812
1275
  const se_ListCandidatesForAutoMLJobCommand = async (input, context) => {
1813
- const headers = {
1814
- "content-type": "application/x-amz-json-1.1",
1815
- "x-amz-target": "SageMaker.ListCandidatesForAutoMLJob",
1816
- };
1276
+ const headers = sharedHeaders("ListCandidatesForAutoMLJob");
1817
1277
  let body;
1818
1278
  body = JSON.stringify(se_ListCandidatesForAutoMLJobRequest(input, context));
1819
1279
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1820
1280
  };
1821
1281
  exports.se_ListCandidatesForAutoMLJobCommand = se_ListCandidatesForAutoMLJobCommand;
1822
1282
  const se_ListCodeRepositoriesCommand = async (input, context) => {
1823
- const headers = {
1824
- "content-type": "application/x-amz-json-1.1",
1825
- "x-amz-target": "SageMaker.ListCodeRepositories",
1826
- };
1283
+ const headers = sharedHeaders("ListCodeRepositories");
1827
1284
  let body;
1828
1285
  body = JSON.stringify(se_ListCodeRepositoriesInput(input, context));
1829
1286
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1830
1287
  };
1831
1288
  exports.se_ListCodeRepositoriesCommand = se_ListCodeRepositoriesCommand;
1832
1289
  const se_ListCompilationJobsCommand = async (input, context) => {
1833
- const headers = {
1834
- "content-type": "application/x-amz-json-1.1",
1835
- "x-amz-target": "SageMaker.ListCompilationJobs",
1836
- };
1290
+ const headers = sharedHeaders("ListCompilationJobs");
1837
1291
  let body;
1838
1292
  body = JSON.stringify(se_ListCompilationJobsRequest(input, context));
1839
1293
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1840
1294
  };
1841
1295
  exports.se_ListCompilationJobsCommand = se_ListCompilationJobsCommand;
1842
1296
  const se_ListContextsCommand = async (input, context) => {
1843
- const headers = {
1844
- "content-type": "application/x-amz-json-1.1",
1845
- "x-amz-target": "SageMaker.ListContexts",
1846
- };
1297
+ const headers = sharedHeaders("ListContexts");
1847
1298
  let body;
1848
1299
  body = JSON.stringify(se_ListContextsRequest(input, context));
1849
1300
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1850
1301
  };
1851
1302
  exports.se_ListContextsCommand = se_ListContextsCommand;
1852
1303
  const se_ListDataQualityJobDefinitionsCommand = async (input, context) => {
1853
- const headers = {
1854
- "content-type": "application/x-amz-json-1.1",
1855
- "x-amz-target": "SageMaker.ListDataQualityJobDefinitions",
1856
- };
1304
+ const headers = sharedHeaders("ListDataQualityJobDefinitions");
1857
1305
  let body;
1858
1306
  body = JSON.stringify(se_ListDataQualityJobDefinitionsRequest(input, context));
1859
1307
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1860
1308
  };
1861
1309
  exports.se_ListDataQualityJobDefinitionsCommand = se_ListDataQualityJobDefinitionsCommand;
1862
1310
  const se_ListDeviceFleetsCommand = async (input, context) => {
1863
- const headers = {
1864
- "content-type": "application/x-amz-json-1.1",
1865
- "x-amz-target": "SageMaker.ListDeviceFleets",
1866
- };
1311
+ const headers = sharedHeaders("ListDeviceFleets");
1867
1312
  let body;
1868
1313
  body = JSON.stringify(se_ListDeviceFleetsRequest(input, context));
1869
1314
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1870
1315
  };
1871
1316
  exports.se_ListDeviceFleetsCommand = se_ListDeviceFleetsCommand;
1872
1317
  const se_ListDevicesCommand = async (input, context) => {
1873
- const headers = {
1874
- "content-type": "application/x-amz-json-1.1",
1875
- "x-amz-target": "SageMaker.ListDevices",
1876
- };
1318
+ const headers = sharedHeaders("ListDevices");
1877
1319
  let body;
1878
1320
  body = JSON.stringify(se_ListDevicesRequest(input, context));
1879
1321
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1880
1322
  };
1881
1323
  exports.se_ListDevicesCommand = se_ListDevicesCommand;
1882
1324
  const se_ListDomainsCommand = async (input, context) => {
1883
- const headers = {
1884
- "content-type": "application/x-amz-json-1.1",
1885
- "x-amz-target": "SageMaker.ListDomains",
1886
- };
1325
+ const headers = sharedHeaders("ListDomains");
1887
1326
  let body;
1888
1327
  body = JSON.stringify(se_ListDomainsRequest(input, context));
1889
1328
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1890
1329
  };
1891
1330
  exports.se_ListDomainsCommand = se_ListDomainsCommand;
1892
1331
  const se_ListEdgeDeploymentPlansCommand = async (input, context) => {
1893
- const headers = {
1894
- "content-type": "application/x-amz-json-1.1",
1895
- "x-amz-target": "SageMaker.ListEdgeDeploymentPlans",
1896
- };
1332
+ const headers = sharedHeaders("ListEdgeDeploymentPlans");
1897
1333
  let body;
1898
1334
  body = JSON.stringify(se_ListEdgeDeploymentPlansRequest(input, context));
1899
1335
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1900
1336
  };
1901
1337
  exports.se_ListEdgeDeploymentPlansCommand = se_ListEdgeDeploymentPlansCommand;
1902
1338
  const se_ListEdgePackagingJobsCommand = async (input, context) => {
1903
- const headers = {
1904
- "content-type": "application/x-amz-json-1.1",
1905
- "x-amz-target": "SageMaker.ListEdgePackagingJobs",
1906
- };
1339
+ const headers = sharedHeaders("ListEdgePackagingJobs");
1907
1340
  let body;
1908
1341
  body = JSON.stringify(se_ListEdgePackagingJobsRequest(input, context));
1909
1342
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1910
1343
  };
1911
1344
  exports.se_ListEdgePackagingJobsCommand = se_ListEdgePackagingJobsCommand;
1912
1345
  const se_ListEndpointConfigsCommand = async (input, context) => {
1913
- const headers = {
1914
- "content-type": "application/x-amz-json-1.1",
1915
- "x-amz-target": "SageMaker.ListEndpointConfigs",
1916
- };
1346
+ const headers = sharedHeaders("ListEndpointConfigs");
1917
1347
  let body;
1918
1348
  body = JSON.stringify(se_ListEndpointConfigsInput(input, context));
1919
1349
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1920
1350
  };
1921
1351
  exports.se_ListEndpointConfigsCommand = se_ListEndpointConfigsCommand;
1922
1352
  const se_ListEndpointsCommand = async (input, context) => {
1923
- const headers = {
1924
- "content-type": "application/x-amz-json-1.1",
1925
- "x-amz-target": "SageMaker.ListEndpoints",
1926
- };
1353
+ const headers = sharedHeaders("ListEndpoints");
1927
1354
  let body;
1928
1355
  body = JSON.stringify(se_ListEndpointsInput(input, context));
1929
1356
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1930
1357
  };
1931
1358
  exports.se_ListEndpointsCommand = se_ListEndpointsCommand;
1932
1359
  const se_ListExperimentsCommand = async (input, context) => {
1933
- const headers = {
1934
- "content-type": "application/x-amz-json-1.1",
1935
- "x-amz-target": "SageMaker.ListExperiments",
1936
- };
1360
+ const headers = sharedHeaders("ListExperiments");
1937
1361
  let body;
1938
1362
  body = JSON.stringify(se_ListExperimentsRequest(input, context));
1939
1363
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1940
1364
  };
1941
1365
  exports.se_ListExperimentsCommand = se_ListExperimentsCommand;
1942
1366
  const se_ListFeatureGroupsCommand = async (input, context) => {
1943
- const headers = {
1944
- "content-type": "application/x-amz-json-1.1",
1945
- "x-amz-target": "SageMaker.ListFeatureGroups",
1946
- };
1367
+ const headers = sharedHeaders("ListFeatureGroups");
1947
1368
  let body;
1948
1369
  body = JSON.stringify(se_ListFeatureGroupsRequest(input, context));
1949
1370
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1950
1371
  };
1951
1372
  exports.se_ListFeatureGroupsCommand = se_ListFeatureGroupsCommand;
1952
1373
  const se_ListFlowDefinitionsCommand = async (input, context) => {
1953
- const headers = {
1954
- "content-type": "application/x-amz-json-1.1",
1955
- "x-amz-target": "SageMaker.ListFlowDefinitions",
1956
- };
1374
+ const headers = sharedHeaders("ListFlowDefinitions");
1957
1375
  let body;
1958
1376
  body = JSON.stringify(se_ListFlowDefinitionsRequest(input, context));
1959
1377
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1960
1378
  };
1961
1379
  exports.se_ListFlowDefinitionsCommand = se_ListFlowDefinitionsCommand;
1962
1380
  const se_ListHubContentsCommand = async (input, context) => {
1963
- const headers = {
1964
- "content-type": "application/x-amz-json-1.1",
1965
- "x-amz-target": "SageMaker.ListHubContents",
1966
- };
1381
+ const headers = sharedHeaders("ListHubContents");
1967
1382
  let body;
1968
1383
  body = JSON.stringify(se_ListHubContentsRequest(input, context));
1969
1384
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1970
1385
  };
1971
1386
  exports.se_ListHubContentsCommand = se_ListHubContentsCommand;
1972
1387
  const se_ListHubContentVersionsCommand = async (input, context) => {
1973
- const headers = {
1974
- "content-type": "application/x-amz-json-1.1",
1975
- "x-amz-target": "SageMaker.ListHubContentVersions",
1976
- };
1388
+ const headers = sharedHeaders("ListHubContentVersions");
1977
1389
  let body;
1978
1390
  body = JSON.stringify(se_ListHubContentVersionsRequest(input, context));
1979
1391
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1980
1392
  };
1981
1393
  exports.se_ListHubContentVersionsCommand = se_ListHubContentVersionsCommand;
1982
1394
  const se_ListHubsCommand = async (input, context) => {
1983
- const headers = {
1984
- "content-type": "application/x-amz-json-1.1",
1985
- "x-amz-target": "SageMaker.ListHubs",
1986
- };
1395
+ const headers = sharedHeaders("ListHubs");
1987
1396
  let body;
1988
1397
  body = JSON.stringify(se_ListHubsRequest(input, context));
1989
1398
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1990
1399
  };
1991
1400
  exports.se_ListHubsCommand = se_ListHubsCommand;
1992
1401
  const se_ListHumanTaskUisCommand = async (input, context) => {
1993
- const headers = {
1994
- "content-type": "application/x-amz-json-1.1",
1995
- "x-amz-target": "SageMaker.ListHumanTaskUis",
1996
- };
1402
+ const headers = sharedHeaders("ListHumanTaskUis");
1997
1403
  let body;
1998
1404
  body = JSON.stringify(se_ListHumanTaskUisRequest(input, context));
1999
1405
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2000
1406
  };
2001
1407
  exports.se_ListHumanTaskUisCommand = se_ListHumanTaskUisCommand;
2002
1408
  const se_ListHyperParameterTuningJobsCommand = async (input, context) => {
2003
- const headers = {
2004
- "content-type": "application/x-amz-json-1.1",
2005
- "x-amz-target": "SageMaker.ListHyperParameterTuningJobs",
2006
- };
1409
+ const headers = sharedHeaders("ListHyperParameterTuningJobs");
2007
1410
  let body;
2008
1411
  body = JSON.stringify(se_ListHyperParameterTuningJobsRequest(input, context));
2009
1412
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2010
1413
  };
2011
1414
  exports.se_ListHyperParameterTuningJobsCommand = se_ListHyperParameterTuningJobsCommand;
2012
1415
  const se_ListImagesCommand = async (input, context) => {
2013
- const headers = {
2014
- "content-type": "application/x-amz-json-1.1",
2015
- "x-amz-target": "SageMaker.ListImages",
2016
- };
1416
+ const headers = sharedHeaders("ListImages");
2017
1417
  let body;
2018
1418
  body = JSON.stringify(se_ListImagesRequest(input, context));
2019
1419
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2020
1420
  };
2021
1421
  exports.se_ListImagesCommand = se_ListImagesCommand;
2022
1422
  const se_ListImageVersionsCommand = async (input, context) => {
2023
- const headers = {
2024
- "content-type": "application/x-amz-json-1.1",
2025
- "x-amz-target": "SageMaker.ListImageVersions",
2026
- };
1423
+ const headers = sharedHeaders("ListImageVersions");
2027
1424
  let body;
2028
1425
  body = JSON.stringify(se_ListImageVersionsRequest(input, context));
2029
1426
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2030
1427
  };
2031
1428
  exports.se_ListImageVersionsCommand = se_ListImageVersionsCommand;
2032
1429
  const se_ListInferenceExperimentsCommand = async (input, context) => {
2033
- const headers = {
2034
- "content-type": "application/x-amz-json-1.1",
2035
- "x-amz-target": "SageMaker.ListInferenceExperiments",
2036
- };
1430
+ const headers = sharedHeaders("ListInferenceExperiments");
2037
1431
  let body;
2038
1432
  body = JSON.stringify(se_ListInferenceExperimentsRequest(input, context));
2039
1433
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2040
1434
  };
2041
1435
  exports.se_ListInferenceExperimentsCommand = se_ListInferenceExperimentsCommand;
2042
1436
  const se_ListInferenceRecommendationsJobsCommand = async (input, context) => {
2043
- const headers = {
2044
- "content-type": "application/x-amz-json-1.1",
2045
- "x-amz-target": "SageMaker.ListInferenceRecommendationsJobs",
2046
- };
1437
+ const headers = sharedHeaders("ListInferenceRecommendationsJobs");
2047
1438
  let body;
2048
1439
  body = JSON.stringify(se_ListInferenceRecommendationsJobsRequest(input, context));
2049
1440
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2050
1441
  };
2051
1442
  exports.se_ListInferenceRecommendationsJobsCommand = se_ListInferenceRecommendationsJobsCommand;
2052
1443
  const se_ListInferenceRecommendationsJobStepsCommand = async (input, context) => {
2053
- const headers = {
2054
- "content-type": "application/x-amz-json-1.1",
2055
- "x-amz-target": "SageMaker.ListInferenceRecommendationsJobSteps",
2056
- };
1444
+ const headers = sharedHeaders("ListInferenceRecommendationsJobSteps");
2057
1445
  let body;
2058
1446
  body = JSON.stringify(se_ListInferenceRecommendationsJobStepsRequest(input, context));
2059
1447
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2060
1448
  };
2061
1449
  exports.se_ListInferenceRecommendationsJobStepsCommand = se_ListInferenceRecommendationsJobStepsCommand;
2062
1450
  const se_ListLabelingJobsCommand = async (input, context) => {
2063
- const headers = {
2064
- "content-type": "application/x-amz-json-1.1",
2065
- "x-amz-target": "SageMaker.ListLabelingJobs",
2066
- };
1451
+ const headers = sharedHeaders("ListLabelingJobs");
2067
1452
  let body;
2068
1453
  body = JSON.stringify(se_ListLabelingJobsRequest(input, context));
2069
1454
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2070
1455
  };
2071
1456
  exports.se_ListLabelingJobsCommand = se_ListLabelingJobsCommand;
2072
1457
  const se_ListLabelingJobsForWorkteamCommand = async (input, context) => {
2073
- const headers = {
2074
- "content-type": "application/x-amz-json-1.1",
2075
- "x-amz-target": "SageMaker.ListLabelingJobsForWorkteam",
2076
- };
1458
+ const headers = sharedHeaders("ListLabelingJobsForWorkteam");
2077
1459
  let body;
2078
1460
  body = JSON.stringify(se_ListLabelingJobsForWorkteamRequest(input, context));
2079
1461
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2080
1462
  };
2081
1463
  exports.se_ListLabelingJobsForWorkteamCommand = se_ListLabelingJobsForWorkteamCommand;
2082
1464
  const se_ListLineageGroupsCommand = async (input, context) => {
2083
- const headers = {
2084
- "content-type": "application/x-amz-json-1.1",
2085
- "x-amz-target": "SageMaker.ListLineageGroups",
2086
- };
1465
+ const headers = sharedHeaders("ListLineageGroups");
2087
1466
  let body;
2088
1467
  body = JSON.stringify(se_ListLineageGroupsRequest(input, context));
2089
1468
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2090
1469
  };
2091
1470
  exports.se_ListLineageGroupsCommand = se_ListLineageGroupsCommand;
2092
1471
  const se_ListModelBiasJobDefinitionsCommand = async (input, context) => {
2093
- const headers = {
2094
- "content-type": "application/x-amz-json-1.1",
2095
- "x-amz-target": "SageMaker.ListModelBiasJobDefinitions",
2096
- };
1472
+ const headers = sharedHeaders("ListModelBiasJobDefinitions");
2097
1473
  let body;
2098
1474
  body = JSON.stringify(se_ListModelBiasJobDefinitionsRequest(input, context));
2099
1475
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2100
1476
  };
2101
1477
  exports.se_ListModelBiasJobDefinitionsCommand = se_ListModelBiasJobDefinitionsCommand;
2102
1478
  const se_ListModelCardExportJobsCommand = async (input, context) => {
2103
- const headers = {
2104
- "content-type": "application/x-amz-json-1.1",
2105
- "x-amz-target": "SageMaker.ListModelCardExportJobs",
2106
- };
1479
+ const headers = sharedHeaders("ListModelCardExportJobs");
2107
1480
  let body;
2108
1481
  body = JSON.stringify(se_ListModelCardExportJobsRequest(input, context));
2109
1482
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2110
1483
  };
2111
1484
  exports.se_ListModelCardExportJobsCommand = se_ListModelCardExportJobsCommand;
2112
1485
  const se_ListModelCardsCommand = async (input, context) => {
2113
- const headers = {
2114
- "content-type": "application/x-amz-json-1.1",
2115
- "x-amz-target": "SageMaker.ListModelCards",
2116
- };
1486
+ const headers = sharedHeaders("ListModelCards");
2117
1487
  let body;
2118
1488
  body = JSON.stringify(se_ListModelCardsRequest(input, context));
2119
1489
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2120
1490
  };
2121
1491
  exports.se_ListModelCardsCommand = se_ListModelCardsCommand;
2122
1492
  const se_ListModelCardVersionsCommand = async (input, context) => {
2123
- const headers = {
2124
- "content-type": "application/x-amz-json-1.1",
2125
- "x-amz-target": "SageMaker.ListModelCardVersions",
2126
- };
1493
+ const headers = sharedHeaders("ListModelCardVersions");
2127
1494
  let body;
2128
1495
  body = JSON.stringify(se_ListModelCardVersionsRequest(input, context));
2129
1496
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2130
1497
  };
2131
1498
  exports.se_ListModelCardVersionsCommand = se_ListModelCardVersionsCommand;
2132
1499
  const se_ListModelExplainabilityJobDefinitionsCommand = async (input, context) => {
2133
- const headers = {
2134
- "content-type": "application/x-amz-json-1.1",
2135
- "x-amz-target": "SageMaker.ListModelExplainabilityJobDefinitions",
2136
- };
1500
+ const headers = sharedHeaders("ListModelExplainabilityJobDefinitions");
2137
1501
  let body;
2138
1502
  body = JSON.stringify(se_ListModelExplainabilityJobDefinitionsRequest(input, context));
2139
1503
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2140
1504
  };
2141
1505
  exports.se_ListModelExplainabilityJobDefinitionsCommand = se_ListModelExplainabilityJobDefinitionsCommand;
2142
1506
  const se_ListModelMetadataCommand = async (input, context) => {
2143
- const headers = {
2144
- "content-type": "application/x-amz-json-1.1",
2145
- "x-amz-target": "SageMaker.ListModelMetadata",
2146
- };
1507
+ const headers = sharedHeaders("ListModelMetadata");
2147
1508
  let body;
2148
1509
  body = JSON.stringify(se_ListModelMetadataRequest(input, context));
2149
1510
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2150
1511
  };
2151
1512
  exports.se_ListModelMetadataCommand = se_ListModelMetadataCommand;
2152
1513
  const se_ListModelPackageGroupsCommand = async (input, context) => {
2153
- const headers = {
2154
- "content-type": "application/x-amz-json-1.1",
2155
- "x-amz-target": "SageMaker.ListModelPackageGroups",
2156
- };
1514
+ const headers = sharedHeaders("ListModelPackageGroups");
2157
1515
  let body;
2158
1516
  body = JSON.stringify(se_ListModelPackageGroupsInput(input, context));
2159
1517
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2160
1518
  };
2161
1519
  exports.se_ListModelPackageGroupsCommand = se_ListModelPackageGroupsCommand;
2162
1520
  const se_ListModelPackagesCommand = async (input, context) => {
2163
- const headers = {
2164
- "content-type": "application/x-amz-json-1.1",
2165
- "x-amz-target": "SageMaker.ListModelPackages",
2166
- };
1521
+ const headers = sharedHeaders("ListModelPackages");
2167
1522
  let body;
2168
1523
  body = JSON.stringify(se_ListModelPackagesInput(input, context));
2169
1524
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2170
1525
  };
2171
1526
  exports.se_ListModelPackagesCommand = se_ListModelPackagesCommand;
2172
1527
  const se_ListModelQualityJobDefinitionsCommand = async (input, context) => {
2173
- const headers = {
2174
- "content-type": "application/x-amz-json-1.1",
2175
- "x-amz-target": "SageMaker.ListModelQualityJobDefinitions",
2176
- };
1528
+ const headers = sharedHeaders("ListModelQualityJobDefinitions");
2177
1529
  let body;
2178
1530
  body = JSON.stringify(se_ListModelQualityJobDefinitionsRequest(input, context));
2179
1531
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2180
1532
  };
2181
1533
  exports.se_ListModelQualityJobDefinitionsCommand = se_ListModelQualityJobDefinitionsCommand;
2182
1534
  const se_ListModelsCommand = async (input, context) => {
2183
- const headers = {
2184
- "content-type": "application/x-amz-json-1.1",
2185
- "x-amz-target": "SageMaker.ListModels",
2186
- };
1535
+ const headers = sharedHeaders("ListModels");
2187
1536
  let body;
2188
1537
  body = JSON.stringify(se_ListModelsInput(input, context));
2189
1538
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2190
1539
  };
2191
1540
  exports.se_ListModelsCommand = se_ListModelsCommand;
2192
1541
  const se_ListMonitoringAlertHistoryCommand = async (input, context) => {
2193
- const headers = {
2194
- "content-type": "application/x-amz-json-1.1",
2195
- "x-amz-target": "SageMaker.ListMonitoringAlertHistory",
2196
- };
1542
+ const headers = sharedHeaders("ListMonitoringAlertHistory");
2197
1543
  let body;
2198
1544
  body = JSON.stringify(se_ListMonitoringAlertHistoryRequest(input, context));
2199
1545
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2200
1546
  };
2201
1547
  exports.se_ListMonitoringAlertHistoryCommand = se_ListMonitoringAlertHistoryCommand;
2202
1548
  const se_ListMonitoringAlertsCommand = async (input, context) => {
2203
- const headers = {
2204
- "content-type": "application/x-amz-json-1.1",
2205
- "x-amz-target": "SageMaker.ListMonitoringAlerts",
2206
- };
1549
+ const headers = sharedHeaders("ListMonitoringAlerts");
2207
1550
  let body;
2208
1551
  body = JSON.stringify(se_ListMonitoringAlertsRequest(input, context));
2209
1552
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2210
1553
  };
2211
1554
  exports.se_ListMonitoringAlertsCommand = se_ListMonitoringAlertsCommand;
2212
1555
  const se_ListMonitoringExecutionsCommand = async (input, context) => {
2213
- const headers = {
2214
- "content-type": "application/x-amz-json-1.1",
2215
- "x-amz-target": "SageMaker.ListMonitoringExecutions",
2216
- };
1556
+ const headers = sharedHeaders("ListMonitoringExecutions");
2217
1557
  let body;
2218
1558
  body = JSON.stringify(se_ListMonitoringExecutionsRequest(input, context));
2219
1559
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2220
1560
  };
2221
1561
  exports.se_ListMonitoringExecutionsCommand = se_ListMonitoringExecutionsCommand;
2222
1562
  const se_ListMonitoringSchedulesCommand = async (input, context) => {
2223
- const headers = {
2224
- "content-type": "application/x-amz-json-1.1",
2225
- "x-amz-target": "SageMaker.ListMonitoringSchedules",
2226
- };
1563
+ const headers = sharedHeaders("ListMonitoringSchedules");
2227
1564
  let body;
2228
1565
  body = JSON.stringify(se_ListMonitoringSchedulesRequest(input, context));
2229
1566
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2230
1567
  };
2231
1568
  exports.se_ListMonitoringSchedulesCommand = se_ListMonitoringSchedulesCommand;
2232
1569
  const se_ListNotebookInstanceLifecycleConfigsCommand = async (input, context) => {
2233
- const headers = {
2234
- "content-type": "application/x-amz-json-1.1",
2235
- "x-amz-target": "SageMaker.ListNotebookInstanceLifecycleConfigs",
2236
- };
1570
+ const headers = sharedHeaders("ListNotebookInstanceLifecycleConfigs");
2237
1571
  let body;
2238
1572
  body = JSON.stringify(se_ListNotebookInstanceLifecycleConfigsInput(input, context));
2239
1573
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2240
1574
  };
2241
1575
  exports.se_ListNotebookInstanceLifecycleConfigsCommand = se_ListNotebookInstanceLifecycleConfigsCommand;
2242
1576
  const se_ListNotebookInstancesCommand = async (input, context) => {
2243
- const headers = {
2244
- "content-type": "application/x-amz-json-1.1",
2245
- "x-amz-target": "SageMaker.ListNotebookInstances",
2246
- };
1577
+ const headers = sharedHeaders("ListNotebookInstances");
2247
1578
  let body;
2248
1579
  body = JSON.stringify(se_ListNotebookInstancesInput(input, context));
2249
1580
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2250
1581
  };
2251
1582
  exports.se_ListNotebookInstancesCommand = se_ListNotebookInstancesCommand;
2252
1583
  const se_ListPipelineExecutionsCommand = async (input, context) => {
2253
- const headers = {
2254
- "content-type": "application/x-amz-json-1.1",
2255
- "x-amz-target": "SageMaker.ListPipelineExecutions",
2256
- };
1584
+ const headers = sharedHeaders("ListPipelineExecutions");
2257
1585
  let body;
2258
1586
  body = JSON.stringify(se_ListPipelineExecutionsRequest(input, context));
2259
1587
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2260
1588
  };
2261
1589
  exports.se_ListPipelineExecutionsCommand = se_ListPipelineExecutionsCommand;
2262
1590
  const se_ListPipelineExecutionStepsCommand = async (input, context) => {
2263
- const headers = {
2264
- "content-type": "application/x-amz-json-1.1",
2265
- "x-amz-target": "SageMaker.ListPipelineExecutionSteps",
2266
- };
1591
+ const headers = sharedHeaders("ListPipelineExecutionSteps");
2267
1592
  let body;
2268
1593
  body = JSON.stringify(se_ListPipelineExecutionStepsRequest(input, context));
2269
1594
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2270
1595
  };
2271
1596
  exports.se_ListPipelineExecutionStepsCommand = se_ListPipelineExecutionStepsCommand;
2272
1597
  const se_ListPipelineParametersForExecutionCommand = async (input, context) => {
2273
- const headers = {
2274
- "content-type": "application/x-amz-json-1.1",
2275
- "x-amz-target": "SageMaker.ListPipelineParametersForExecution",
2276
- };
1598
+ const headers = sharedHeaders("ListPipelineParametersForExecution");
2277
1599
  let body;
2278
1600
  body = JSON.stringify(se_ListPipelineParametersForExecutionRequest(input, context));
2279
1601
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2280
1602
  };
2281
1603
  exports.se_ListPipelineParametersForExecutionCommand = se_ListPipelineParametersForExecutionCommand;
2282
1604
  const se_ListPipelinesCommand = async (input, context) => {
2283
- const headers = {
2284
- "content-type": "application/x-amz-json-1.1",
2285
- "x-amz-target": "SageMaker.ListPipelines",
2286
- };
1605
+ const headers = sharedHeaders("ListPipelines");
2287
1606
  let body;
2288
1607
  body = JSON.stringify(se_ListPipelinesRequest(input, context));
2289
1608
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2290
1609
  };
2291
1610
  exports.se_ListPipelinesCommand = se_ListPipelinesCommand;
2292
1611
  const se_ListProcessingJobsCommand = async (input, context) => {
2293
- const headers = {
2294
- "content-type": "application/x-amz-json-1.1",
2295
- "x-amz-target": "SageMaker.ListProcessingJobs",
2296
- };
1612
+ const headers = sharedHeaders("ListProcessingJobs");
2297
1613
  let body;
2298
1614
  body = JSON.stringify(se_ListProcessingJobsRequest(input, context));
2299
1615
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2300
1616
  };
2301
1617
  exports.se_ListProcessingJobsCommand = se_ListProcessingJobsCommand;
2302
1618
  const se_ListProjectsCommand = async (input, context) => {
2303
- const headers = {
2304
- "content-type": "application/x-amz-json-1.1",
2305
- "x-amz-target": "SageMaker.ListProjects",
2306
- };
1619
+ const headers = sharedHeaders("ListProjects");
2307
1620
  let body;
2308
1621
  body = JSON.stringify(se_ListProjectsInput(input, context));
2309
1622
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2310
1623
  };
2311
1624
  exports.se_ListProjectsCommand = se_ListProjectsCommand;
2312
1625
  const se_ListSpacesCommand = async (input, context) => {
2313
- const headers = {
2314
- "content-type": "application/x-amz-json-1.1",
2315
- "x-amz-target": "SageMaker.ListSpaces",
2316
- };
1626
+ const headers = sharedHeaders("ListSpaces");
2317
1627
  let body;
2318
1628
  body = JSON.stringify(se_ListSpacesRequest(input, context));
2319
1629
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2320
1630
  };
2321
1631
  exports.se_ListSpacesCommand = se_ListSpacesCommand;
2322
1632
  const se_ListStageDevicesCommand = async (input, context) => {
2323
- const headers = {
2324
- "content-type": "application/x-amz-json-1.1",
2325
- "x-amz-target": "SageMaker.ListStageDevices",
2326
- };
1633
+ const headers = sharedHeaders("ListStageDevices");
2327
1634
  let body;
2328
1635
  body = JSON.stringify(se_ListStageDevicesRequest(input, context));
2329
1636
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2330
1637
  };
2331
1638
  exports.se_ListStageDevicesCommand = se_ListStageDevicesCommand;
2332
1639
  const se_ListStudioLifecycleConfigsCommand = async (input, context) => {
2333
- const headers = {
2334
- "content-type": "application/x-amz-json-1.1",
2335
- "x-amz-target": "SageMaker.ListStudioLifecycleConfigs",
2336
- };
1640
+ const headers = sharedHeaders("ListStudioLifecycleConfigs");
2337
1641
  let body;
2338
1642
  body = JSON.stringify(se_ListStudioLifecycleConfigsRequest(input, context));
2339
1643
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2340
1644
  };
2341
1645
  exports.se_ListStudioLifecycleConfigsCommand = se_ListStudioLifecycleConfigsCommand;
2342
1646
  const se_ListSubscribedWorkteamsCommand = async (input, context) => {
2343
- const headers = {
2344
- "content-type": "application/x-amz-json-1.1",
2345
- "x-amz-target": "SageMaker.ListSubscribedWorkteams",
2346
- };
1647
+ const headers = sharedHeaders("ListSubscribedWorkteams");
2347
1648
  let body;
2348
1649
  body = JSON.stringify(se_ListSubscribedWorkteamsRequest(input, context));
2349
1650
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2350
1651
  };
2351
1652
  exports.se_ListSubscribedWorkteamsCommand = se_ListSubscribedWorkteamsCommand;
2352
1653
  const se_ListTagsCommand = async (input, context) => {
2353
- const headers = {
2354
- "content-type": "application/x-amz-json-1.1",
2355
- "x-amz-target": "SageMaker.ListTags",
2356
- };
1654
+ const headers = sharedHeaders("ListTags");
2357
1655
  let body;
2358
1656
  body = JSON.stringify(se_ListTagsInput(input, context));
2359
1657
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2360
1658
  };
2361
1659
  exports.se_ListTagsCommand = se_ListTagsCommand;
2362
1660
  const se_ListTrainingJobsCommand = async (input, context) => {
2363
- const headers = {
2364
- "content-type": "application/x-amz-json-1.1",
2365
- "x-amz-target": "SageMaker.ListTrainingJobs",
2366
- };
1661
+ const headers = sharedHeaders("ListTrainingJobs");
2367
1662
  let body;
2368
1663
  body = JSON.stringify(se_ListTrainingJobsRequest(input, context));
2369
1664
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2370
1665
  };
2371
1666
  exports.se_ListTrainingJobsCommand = se_ListTrainingJobsCommand;
2372
1667
  const se_ListTrainingJobsForHyperParameterTuningJobCommand = async (input, context) => {
2373
- const headers = {
2374
- "content-type": "application/x-amz-json-1.1",
2375
- "x-amz-target": "SageMaker.ListTrainingJobsForHyperParameterTuningJob",
2376
- };
1668
+ const headers = sharedHeaders("ListTrainingJobsForHyperParameterTuningJob");
2377
1669
  let body;
2378
1670
  body = JSON.stringify(se_ListTrainingJobsForHyperParameterTuningJobRequest(input, context));
2379
1671
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2380
1672
  };
2381
1673
  exports.se_ListTrainingJobsForHyperParameterTuningJobCommand = se_ListTrainingJobsForHyperParameterTuningJobCommand;
2382
1674
  const se_ListTransformJobsCommand = async (input, context) => {
2383
- const headers = {
2384
- "content-type": "application/x-amz-json-1.1",
2385
- "x-amz-target": "SageMaker.ListTransformJobs",
2386
- };
1675
+ const headers = sharedHeaders("ListTransformJobs");
2387
1676
  let body;
2388
1677
  body = JSON.stringify(se_ListTransformJobsRequest(input, context));
2389
1678
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2390
1679
  };
2391
1680
  exports.se_ListTransformJobsCommand = se_ListTransformJobsCommand;
2392
1681
  const se_ListTrialComponentsCommand = async (input, context) => {
2393
- const headers = {
2394
- "content-type": "application/x-amz-json-1.1",
2395
- "x-amz-target": "SageMaker.ListTrialComponents",
2396
- };
1682
+ const headers = sharedHeaders("ListTrialComponents");
2397
1683
  let body;
2398
1684
  body = JSON.stringify(se_ListTrialComponentsRequest(input, context));
2399
1685
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2400
1686
  };
2401
1687
  exports.se_ListTrialComponentsCommand = se_ListTrialComponentsCommand;
2402
1688
  const se_ListTrialsCommand = async (input, context) => {
2403
- const headers = {
2404
- "content-type": "application/x-amz-json-1.1",
2405
- "x-amz-target": "SageMaker.ListTrials",
2406
- };
1689
+ const headers = sharedHeaders("ListTrials");
2407
1690
  let body;
2408
1691
  body = JSON.stringify(se_ListTrialsRequest(input, context));
2409
1692
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2410
1693
  };
2411
1694
  exports.se_ListTrialsCommand = se_ListTrialsCommand;
2412
1695
  const se_ListUserProfilesCommand = async (input, context) => {
2413
- const headers = {
2414
- "content-type": "application/x-amz-json-1.1",
2415
- "x-amz-target": "SageMaker.ListUserProfiles",
2416
- };
1696
+ const headers = sharedHeaders("ListUserProfiles");
2417
1697
  let body;
2418
1698
  body = JSON.stringify(se_ListUserProfilesRequest(input, context));
2419
1699
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2420
1700
  };
2421
1701
  exports.se_ListUserProfilesCommand = se_ListUserProfilesCommand;
2422
1702
  const se_ListWorkforcesCommand = async (input, context) => {
2423
- const headers = {
2424
- "content-type": "application/x-amz-json-1.1",
2425
- "x-amz-target": "SageMaker.ListWorkforces",
2426
- };
1703
+ const headers = sharedHeaders("ListWorkforces");
2427
1704
  let body;
2428
1705
  body = JSON.stringify(se_ListWorkforcesRequest(input, context));
2429
1706
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2430
1707
  };
2431
1708
  exports.se_ListWorkforcesCommand = se_ListWorkforcesCommand;
2432
1709
  const se_ListWorkteamsCommand = async (input, context) => {
2433
- const headers = {
2434
- "content-type": "application/x-amz-json-1.1",
2435
- "x-amz-target": "SageMaker.ListWorkteams",
2436
- };
1710
+ const headers = sharedHeaders("ListWorkteams");
2437
1711
  let body;
2438
1712
  body = JSON.stringify(se_ListWorkteamsRequest(input, context));
2439
1713
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2440
1714
  };
2441
1715
  exports.se_ListWorkteamsCommand = se_ListWorkteamsCommand;
2442
1716
  const se_PutModelPackageGroupPolicyCommand = async (input, context) => {
2443
- const headers = {
2444
- "content-type": "application/x-amz-json-1.1",
2445
- "x-amz-target": "SageMaker.PutModelPackageGroupPolicy",
2446
- };
1717
+ const headers = sharedHeaders("PutModelPackageGroupPolicy");
2447
1718
  let body;
2448
1719
  body = JSON.stringify(se_PutModelPackageGroupPolicyInput(input, context));
2449
1720
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2450
1721
  };
2451
1722
  exports.se_PutModelPackageGroupPolicyCommand = se_PutModelPackageGroupPolicyCommand;
2452
1723
  const se_QueryLineageCommand = async (input, context) => {
2453
- const headers = {
2454
- "content-type": "application/x-amz-json-1.1",
2455
- "x-amz-target": "SageMaker.QueryLineage",
2456
- };
1724
+ const headers = sharedHeaders("QueryLineage");
2457
1725
  let body;
2458
1726
  body = JSON.stringify(se_QueryLineageRequest(input, context));
2459
1727
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2460
1728
  };
2461
1729
  exports.se_QueryLineageCommand = se_QueryLineageCommand;
2462
1730
  const se_RegisterDevicesCommand = async (input, context) => {
2463
- const headers = {
2464
- "content-type": "application/x-amz-json-1.1",
2465
- "x-amz-target": "SageMaker.RegisterDevices",
2466
- };
1731
+ const headers = sharedHeaders("RegisterDevices");
2467
1732
  let body;
2468
1733
  body = JSON.stringify(se_RegisterDevicesRequest(input, context));
2469
1734
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2470
1735
  };
2471
1736
  exports.se_RegisterDevicesCommand = se_RegisterDevicesCommand;
2472
1737
  const se_RenderUiTemplateCommand = async (input, context) => {
2473
- const headers = {
2474
- "content-type": "application/x-amz-json-1.1",
2475
- "x-amz-target": "SageMaker.RenderUiTemplate",
2476
- };
1738
+ const headers = sharedHeaders("RenderUiTemplate");
2477
1739
  let body;
2478
1740
  body = JSON.stringify(se_RenderUiTemplateRequest(input, context));
2479
1741
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2480
1742
  };
2481
1743
  exports.se_RenderUiTemplateCommand = se_RenderUiTemplateCommand;
2482
1744
  const se_RetryPipelineExecutionCommand = async (input, context) => {
2483
- const headers = {
2484
- "content-type": "application/x-amz-json-1.1",
2485
- "x-amz-target": "SageMaker.RetryPipelineExecution",
2486
- };
1745
+ const headers = sharedHeaders("RetryPipelineExecution");
2487
1746
  let body;
2488
1747
  body = JSON.stringify(se_RetryPipelineExecutionRequest(input, context));
2489
1748
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2490
1749
  };
2491
1750
  exports.se_RetryPipelineExecutionCommand = se_RetryPipelineExecutionCommand;
2492
1751
  const se_SearchCommand = async (input, context) => {
2493
- const headers = {
2494
- "content-type": "application/x-amz-json-1.1",
2495
- "x-amz-target": "SageMaker.Search",
2496
- };
1752
+ const headers = sharedHeaders("Search");
2497
1753
  let body;
2498
1754
  body = JSON.stringify(se_SearchRequest(input, context));
2499
1755
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2500
1756
  };
2501
1757
  exports.se_SearchCommand = se_SearchCommand;
2502
1758
  const se_SendPipelineExecutionStepFailureCommand = async (input, context) => {
2503
- const headers = {
2504
- "content-type": "application/x-amz-json-1.1",
2505
- "x-amz-target": "SageMaker.SendPipelineExecutionStepFailure",
2506
- };
1759
+ const headers = sharedHeaders("SendPipelineExecutionStepFailure");
2507
1760
  let body;
2508
1761
  body = JSON.stringify(se_SendPipelineExecutionStepFailureRequest(input, context));
2509
1762
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2510
1763
  };
2511
1764
  exports.se_SendPipelineExecutionStepFailureCommand = se_SendPipelineExecutionStepFailureCommand;
2512
1765
  const se_SendPipelineExecutionStepSuccessCommand = async (input, context) => {
2513
- const headers = {
2514
- "content-type": "application/x-amz-json-1.1",
2515
- "x-amz-target": "SageMaker.SendPipelineExecutionStepSuccess",
2516
- };
1766
+ const headers = sharedHeaders("SendPipelineExecutionStepSuccess");
2517
1767
  let body;
2518
1768
  body = JSON.stringify(se_SendPipelineExecutionStepSuccessRequest(input, context));
2519
1769
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2520
1770
  };
2521
1771
  exports.se_SendPipelineExecutionStepSuccessCommand = se_SendPipelineExecutionStepSuccessCommand;
2522
1772
  const se_StartEdgeDeploymentStageCommand = async (input, context) => {
2523
- const headers = {
2524
- "content-type": "application/x-amz-json-1.1",
2525
- "x-amz-target": "SageMaker.StartEdgeDeploymentStage",
2526
- };
1773
+ const headers = sharedHeaders("StartEdgeDeploymentStage");
2527
1774
  let body;
2528
1775
  body = JSON.stringify(se_StartEdgeDeploymentStageRequest(input, context));
2529
1776
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2530
1777
  };
2531
1778
  exports.se_StartEdgeDeploymentStageCommand = se_StartEdgeDeploymentStageCommand;
2532
1779
  const se_StartInferenceExperimentCommand = async (input, context) => {
2533
- const headers = {
2534
- "content-type": "application/x-amz-json-1.1",
2535
- "x-amz-target": "SageMaker.StartInferenceExperiment",
2536
- };
1780
+ const headers = sharedHeaders("StartInferenceExperiment");
2537
1781
  let body;
2538
1782
  body = JSON.stringify(se_StartInferenceExperimentRequest(input, context));
2539
1783
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2540
1784
  };
2541
1785
  exports.se_StartInferenceExperimentCommand = se_StartInferenceExperimentCommand;
2542
1786
  const se_StartMonitoringScheduleCommand = async (input, context) => {
2543
- const headers = {
2544
- "content-type": "application/x-amz-json-1.1",
2545
- "x-amz-target": "SageMaker.StartMonitoringSchedule",
2546
- };
1787
+ const headers = sharedHeaders("StartMonitoringSchedule");
2547
1788
  let body;
2548
1789
  body = JSON.stringify(se_StartMonitoringScheduleRequest(input, context));
2549
1790
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2550
1791
  };
2551
1792
  exports.se_StartMonitoringScheduleCommand = se_StartMonitoringScheduleCommand;
2552
1793
  const se_StartNotebookInstanceCommand = async (input, context) => {
2553
- const headers = {
2554
- "content-type": "application/x-amz-json-1.1",
2555
- "x-amz-target": "SageMaker.StartNotebookInstance",
2556
- };
1794
+ const headers = sharedHeaders("StartNotebookInstance");
2557
1795
  let body;
2558
1796
  body = JSON.stringify(se_StartNotebookInstanceInput(input, context));
2559
1797
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2560
1798
  };
2561
1799
  exports.se_StartNotebookInstanceCommand = se_StartNotebookInstanceCommand;
2562
1800
  const se_StartPipelineExecutionCommand = async (input, context) => {
2563
- const headers = {
2564
- "content-type": "application/x-amz-json-1.1",
2565
- "x-amz-target": "SageMaker.StartPipelineExecution",
2566
- };
1801
+ const headers = sharedHeaders("StartPipelineExecution");
2567
1802
  let body;
2568
1803
  body = JSON.stringify(se_StartPipelineExecutionRequest(input, context));
2569
1804
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2570
1805
  };
2571
1806
  exports.se_StartPipelineExecutionCommand = se_StartPipelineExecutionCommand;
2572
1807
  const se_StopAutoMLJobCommand = async (input, context) => {
2573
- const headers = {
2574
- "content-type": "application/x-amz-json-1.1",
2575
- "x-amz-target": "SageMaker.StopAutoMLJob",
2576
- };
1808
+ const headers = sharedHeaders("StopAutoMLJob");
2577
1809
  let body;
2578
1810
  body = JSON.stringify(se_StopAutoMLJobRequest(input, context));
2579
1811
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2580
1812
  };
2581
1813
  exports.se_StopAutoMLJobCommand = se_StopAutoMLJobCommand;
2582
1814
  const se_StopCompilationJobCommand = async (input, context) => {
2583
- const headers = {
2584
- "content-type": "application/x-amz-json-1.1",
2585
- "x-amz-target": "SageMaker.StopCompilationJob",
2586
- };
1815
+ const headers = sharedHeaders("StopCompilationJob");
2587
1816
  let body;
2588
1817
  body = JSON.stringify(se_StopCompilationJobRequest(input, context));
2589
1818
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2590
1819
  };
2591
1820
  exports.se_StopCompilationJobCommand = se_StopCompilationJobCommand;
2592
1821
  const se_StopEdgeDeploymentStageCommand = async (input, context) => {
2593
- const headers = {
2594
- "content-type": "application/x-amz-json-1.1",
2595
- "x-amz-target": "SageMaker.StopEdgeDeploymentStage",
2596
- };
1822
+ const headers = sharedHeaders("StopEdgeDeploymentStage");
2597
1823
  let body;
2598
1824
  body = JSON.stringify(se_StopEdgeDeploymentStageRequest(input, context));
2599
1825
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2600
1826
  };
2601
1827
  exports.se_StopEdgeDeploymentStageCommand = se_StopEdgeDeploymentStageCommand;
2602
1828
  const se_StopEdgePackagingJobCommand = async (input, context) => {
2603
- const headers = {
2604
- "content-type": "application/x-amz-json-1.1",
2605
- "x-amz-target": "SageMaker.StopEdgePackagingJob",
2606
- };
1829
+ const headers = sharedHeaders("StopEdgePackagingJob");
2607
1830
  let body;
2608
1831
  body = JSON.stringify(se_StopEdgePackagingJobRequest(input, context));
2609
1832
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2610
1833
  };
2611
1834
  exports.se_StopEdgePackagingJobCommand = se_StopEdgePackagingJobCommand;
2612
1835
  const se_StopHyperParameterTuningJobCommand = async (input, context) => {
2613
- const headers = {
2614
- "content-type": "application/x-amz-json-1.1",
2615
- "x-amz-target": "SageMaker.StopHyperParameterTuningJob",
2616
- };
1836
+ const headers = sharedHeaders("StopHyperParameterTuningJob");
2617
1837
  let body;
2618
1838
  body = JSON.stringify(se_StopHyperParameterTuningJobRequest(input, context));
2619
1839
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2620
1840
  };
2621
1841
  exports.se_StopHyperParameterTuningJobCommand = se_StopHyperParameterTuningJobCommand;
2622
1842
  const se_StopInferenceExperimentCommand = async (input, context) => {
2623
- const headers = {
2624
- "content-type": "application/x-amz-json-1.1",
2625
- "x-amz-target": "SageMaker.StopInferenceExperiment",
2626
- };
1843
+ const headers = sharedHeaders("StopInferenceExperiment");
2627
1844
  let body;
2628
1845
  body = JSON.stringify(se_StopInferenceExperimentRequest(input, context));
2629
1846
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2630
1847
  };
2631
1848
  exports.se_StopInferenceExperimentCommand = se_StopInferenceExperimentCommand;
2632
1849
  const se_StopInferenceRecommendationsJobCommand = async (input, context) => {
2633
- const headers = {
2634
- "content-type": "application/x-amz-json-1.1",
2635
- "x-amz-target": "SageMaker.StopInferenceRecommendationsJob",
2636
- };
1850
+ const headers = sharedHeaders("StopInferenceRecommendationsJob");
2637
1851
  let body;
2638
1852
  body = JSON.stringify(se_StopInferenceRecommendationsJobRequest(input, context));
2639
1853
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2640
1854
  };
2641
1855
  exports.se_StopInferenceRecommendationsJobCommand = se_StopInferenceRecommendationsJobCommand;
2642
1856
  const se_StopLabelingJobCommand = async (input, context) => {
2643
- const headers = {
2644
- "content-type": "application/x-amz-json-1.1",
2645
- "x-amz-target": "SageMaker.StopLabelingJob",
2646
- };
1857
+ const headers = sharedHeaders("StopLabelingJob");
2647
1858
  let body;
2648
1859
  body = JSON.stringify(se_StopLabelingJobRequest(input, context));
2649
1860
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2650
1861
  };
2651
1862
  exports.se_StopLabelingJobCommand = se_StopLabelingJobCommand;
2652
1863
  const se_StopMonitoringScheduleCommand = async (input, context) => {
2653
- const headers = {
2654
- "content-type": "application/x-amz-json-1.1",
2655
- "x-amz-target": "SageMaker.StopMonitoringSchedule",
2656
- };
1864
+ const headers = sharedHeaders("StopMonitoringSchedule");
2657
1865
  let body;
2658
1866
  body = JSON.stringify(se_StopMonitoringScheduleRequest(input, context));
2659
1867
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2660
1868
  };
2661
1869
  exports.se_StopMonitoringScheduleCommand = se_StopMonitoringScheduleCommand;
2662
1870
  const se_StopNotebookInstanceCommand = async (input, context) => {
2663
- const headers = {
2664
- "content-type": "application/x-amz-json-1.1",
2665
- "x-amz-target": "SageMaker.StopNotebookInstance",
2666
- };
1871
+ const headers = sharedHeaders("StopNotebookInstance");
2667
1872
  let body;
2668
1873
  body = JSON.stringify(se_StopNotebookInstanceInput(input, context));
2669
1874
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2670
1875
  };
2671
1876
  exports.se_StopNotebookInstanceCommand = se_StopNotebookInstanceCommand;
2672
1877
  const se_StopPipelineExecutionCommand = async (input, context) => {
2673
- const headers = {
2674
- "content-type": "application/x-amz-json-1.1",
2675
- "x-amz-target": "SageMaker.StopPipelineExecution",
2676
- };
1878
+ const headers = sharedHeaders("StopPipelineExecution");
2677
1879
  let body;
2678
1880
  body = JSON.stringify(se_StopPipelineExecutionRequest(input, context));
2679
1881
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2680
1882
  };
2681
1883
  exports.se_StopPipelineExecutionCommand = se_StopPipelineExecutionCommand;
2682
1884
  const se_StopProcessingJobCommand = async (input, context) => {
2683
- const headers = {
2684
- "content-type": "application/x-amz-json-1.1",
2685
- "x-amz-target": "SageMaker.StopProcessingJob",
2686
- };
1885
+ const headers = sharedHeaders("StopProcessingJob");
2687
1886
  let body;
2688
1887
  body = JSON.stringify(se_StopProcessingJobRequest(input, context));
2689
1888
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2690
1889
  };
2691
1890
  exports.se_StopProcessingJobCommand = se_StopProcessingJobCommand;
2692
1891
  const se_StopTrainingJobCommand = async (input, context) => {
2693
- const headers = {
2694
- "content-type": "application/x-amz-json-1.1",
2695
- "x-amz-target": "SageMaker.StopTrainingJob",
2696
- };
1892
+ const headers = sharedHeaders("StopTrainingJob");
2697
1893
  let body;
2698
1894
  body = JSON.stringify(se_StopTrainingJobRequest(input, context));
2699
1895
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2700
1896
  };
2701
1897
  exports.se_StopTrainingJobCommand = se_StopTrainingJobCommand;
2702
1898
  const se_StopTransformJobCommand = async (input, context) => {
2703
- const headers = {
2704
- "content-type": "application/x-amz-json-1.1",
2705
- "x-amz-target": "SageMaker.StopTransformJob",
2706
- };
1899
+ const headers = sharedHeaders("StopTransformJob");
2707
1900
  let body;
2708
1901
  body = JSON.stringify(se_StopTransformJobRequest(input, context));
2709
1902
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2710
1903
  };
2711
1904
  exports.se_StopTransformJobCommand = se_StopTransformJobCommand;
2712
1905
  const se_UpdateActionCommand = async (input, context) => {
2713
- const headers = {
2714
- "content-type": "application/x-amz-json-1.1",
2715
- "x-amz-target": "SageMaker.UpdateAction",
2716
- };
1906
+ const headers = sharedHeaders("UpdateAction");
2717
1907
  let body;
2718
1908
  body = JSON.stringify(se_UpdateActionRequest(input, context));
2719
1909
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2720
1910
  };
2721
1911
  exports.se_UpdateActionCommand = se_UpdateActionCommand;
2722
1912
  const se_UpdateAppImageConfigCommand = async (input, context) => {
2723
- const headers = {
2724
- "content-type": "application/x-amz-json-1.1",
2725
- "x-amz-target": "SageMaker.UpdateAppImageConfig",
2726
- };
1913
+ const headers = sharedHeaders("UpdateAppImageConfig");
2727
1914
  let body;
2728
1915
  body = JSON.stringify(se_UpdateAppImageConfigRequest(input, context));
2729
1916
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2730
1917
  };
2731
1918
  exports.se_UpdateAppImageConfigCommand = se_UpdateAppImageConfigCommand;
2732
1919
  const se_UpdateArtifactCommand = async (input, context) => {
2733
- const headers = {
2734
- "content-type": "application/x-amz-json-1.1",
2735
- "x-amz-target": "SageMaker.UpdateArtifact",
2736
- };
1920
+ const headers = sharedHeaders("UpdateArtifact");
2737
1921
  let body;
2738
1922
  body = JSON.stringify(se_UpdateArtifactRequest(input, context));
2739
1923
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2740
1924
  };
2741
1925
  exports.se_UpdateArtifactCommand = se_UpdateArtifactCommand;
2742
1926
  const se_UpdateCodeRepositoryCommand = async (input, context) => {
2743
- const headers = {
2744
- "content-type": "application/x-amz-json-1.1",
2745
- "x-amz-target": "SageMaker.UpdateCodeRepository",
2746
- };
1927
+ const headers = sharedHeaders("UpdateCodeRepository");
2747
1928
  let body;
2748
1929
  body = JSON.stringify(se_UpdateCodeRepositoryInput(input, context));
2749
1930
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2750
1931
  };
2751
1932
  exports.se_UpdateCodeRepositoryCommand = se_UpdateCodeRepositoryCommand;
2752
1933
  const se_UpdateContextCommand = async (input, context) => {
2753
- const headers = {
2754
- "content-type": "application/x-amz-json-1.1",
2755
- "x-amz-target": "SageMaker.UpdateContext",
2756
- };
1934
+ const headers = sharedHeaders("UpdateContext");
2757
1935
  let body;
2758
1936
  body = JSON.stringify(se_UpdateContextRequest(input, context));
2759
1937
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2760
1938
  };
2761
1939
  exports.se_UpdateContextCommand = se_UpdateContextCommand;
2762
1940
  const se_UpdateDeviceFleetCommand = async (input, context) => {
2763
- const headers = {
2764
- "content-type": "application/x-amz-json-1.1",
2765
- "x-amz-target": "SageMaker.UpdateDeviceFleet",
2766
- };
1941
+ const headers = sharedHeaders("UpdateDeviceFleet");
2767
1942
  let body;
2768
1943
  body = JSON.stringify(se_UpdateDeviceFleetRequest(input, context));
2769
1944
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2770
1945
  };
2771
1946
  exports.se_UpdateDeviceFleetCommand = se_UpdateDeviceFleetCommand;
2772
1947
  const se_UpdateDevicesCommand = async (input, context) => {
2773
- const headers = {
2774
- "content-type": "application/x-amz-json-1.1",
2775
- "x-amz-target": "SageMaker.UpdateDevices",
2776
- };
1948
+ const headers = sharedHeaders("UpdateDevices");
2777
1949
  let body;
2778
1950
  body = JSON.stringify(se_UpdateDevicesRequest(input, context));
2779
1951
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2780
1952
  };
2781
1953
  exports.se_UpdateDevicesCommand = se_UpdateDevicesCommand;
2782
1954
  const se_UpdateDomainCommand = async (input, context) => {
2783
- const headers = {
2784
- "content-type": "application/x-amz-json-1.1",
2785
- "x-amz-target": "SageMaker.UpdateDomain",
2786
- };
1955
+ const headers = sharedHeaders("UpdateDomain");
2787
1956
  let body;
2788
1957
  body = JSON.stringify(se_UpdateDomainRequest(input, context));
2789
1958
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2790
1959
  };
2791
1960
  exports.se_UpdateDomainCommand = se_UpdateDomainCommand;
2792
1961
  const se_UpdateEndpointCommand = async (input, context) => {
2793
- const headers = {
2794
- "content-type": "application/x-amz-json-1.1",
2795
- "x-amz-target": "SageMaker.UpdateEndpoint",
2796
- };
1962
+ const headers = sharedHeaders("UpdateEndpoint");
2797
1963
  let body;
2798
1964
  body = JSON.stringify(se_UpdateEndpointInput(input, context));
2799
1965
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2800
1966
  };
2801
1967
  exports.se_UpdateEndpointCommand = se_UpdateEndpointCommand;
2802
1968
  const se_UpdateEndpointWeightsAndCapacitiesCommand = async (input, context) => {
2803
- const headers = {
2804
- "content-type": "application/x-amz-json-1.1",
2805
- "x-amz-target": "SageMaker.UpdateEndpointWeightsAndCapacities",
2806
- };
1969
+ const headers = sharedHeaders("UpdateEndpointWeightsAndCapacities");
2807
1970
  let body;
2808
1971
  body = JSON.stringify(se_UpdateEndpointWeightsAndCapacitiesInput(input, context));
2809
1972
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2810
1973
  };
2811
1974
  exports.se_UpdateEndpointWeightsAndCapacitiesCommand = se_UpdateEndpointWeightsAndCapacitiesCommand;
2812
1975
  const se_UpdateExperimentCommand = async (input, context) => {
2813
- const headers = {
2814
- "content-type": "application/x-amz-json-1.1",
2815
- "x-amz-target": "SageMaker.UpdateExperiment",
2816
- };
1976
+ const headers = sharedHeaders("UpdateExperiment");
2817
1977
  let body;
2818
1978
  body = JSON.stringify(se_UpdateExperimentRequest(input, context));
2819
1979
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2820
1980
  };
2821
1981
  exports.se_UpdateExperimentCommand = se_UpdateExperimentCommand;
2822
1982
  const se_UpdateFeatureGroupCommand = async (input, context) => {
2823
- const headers = {
2824
- "content-type": "application/x-amz-json-1.1",
2825
- "x-amz-target": "SageMaker.UpdateFeatureGroup",
2826
- };
1983
+ const headers = sharedHeaders("UpdateFeatureGroup");
2827
1984
  let body;
2828
1985
  body = JSON.stringify(se_UpdateFeatureGroupRequest(input, context));
2829
1986
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2830
1987
  };
2831
1988
  exports.se_UpdateFeatureGroupCommand = se_UpdateFeatureGroupCommand;
2832
1989
  const se_UpdateFeatureMetadataCommand = async (input, context) => {
2833
- const headers = {
2834
- "content-type": "application/x-amz-json-1.1",
2835
- "x-amz-target": "SageMaker.UpdateFeatureMetadata",
2836
- };
1990
+ const headers = sharedHeaders("UpdateFeatureMetadata");
2837
1991
  let body;
2838
1992
  body = JSON.stringify(se_UpdateFeatureMetadataRequest(input, context));
2839
1993
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2840
1994
  };
2841
1995
  exports.se_UpdateFeatureMetadataCommand = se_UpdateFeatureMetadataCommand;
2842
1996
  const se_UpdateHubCommand = async (input, context) => {
2843
- const headers = {
2844
- "content-type": "application/x-amz-json-1.1",
2845
- "x-amz-target": "SageMaker.UpdateHub",
2846
- };
1997
+ const headers = sharedHeaders("UpdateHub");
2847
1998
  let body;
2848
1999
  body = JSON.stringify(se_UpdateHubRequest(input, context));
2849
2000
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2850
2001
  };
2851
2002
  exports.se_UpdateHubCommand = se_UpdateHubCommand;
2852
2003
  const se_UpdateImageCommand = async (input, context) => {
2853
- const headers = {
2854
- "content-type": "application/x-amz-json-1.1",
2855
- "x-amz-target": "SageMaker.UpdateImage",
2856
- };
2004
+ const headers = sharedHeaders("UpdateImage");
2857
2005
  let body;
2858
2006
  body = JSON.stringify(se_UpdateImageRequest(input, context));
2859
2007
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2860
2008
  };
2861
2009
  exports.se_UpdateImageCommand = se_UpdateImageCommand;
2862
2010
  const se_UpdateImageVersionCommand = async (input, context) => {
2863
- const headers = {
2864
- "content-type": "application/x-amz-json-1.1",
2865
- "x-amz-target": "SageMaker.UpdateImageVersion",
2866
- };
2011
+ const headers = sharedHeaders("UpdateImageVersion");
2867
2012
  let body;
2868
2013
  body = JSON.stringify(se_UpdateImageVersionRequest(input, context));
2869
2014
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2870
2015
  };
2871
2016
  exports.se_UpdateImageVersionCommand = se_UpdateImageVersionCommand;
2872
2017
  const se_UpdateInferenceExperimentCommand = async (input, context) => {
2873
- const headers = {
2874
- "content-type": "application/x-amz-json-1.1",
2875
- "x-amz-target": "SageMaker.UpdateInferenceExperiment",
2876
- };
2018
+ const headers = sharedHeaders("UpdateInferenceExperiment");
2877
2019
  let body;
2878
2020
  body = JSON.stringify(se_UpdateInferenceExperimentRequest(input, context));
2879
2021
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2880
2022
  };
2881
2023
  exports.se_UpdateInferenceExperimentCommand = se_UpdateInferenceExperimentCommand;
2882
2024
  const se_UpdateModelCardCommand = async (input, context) => {
2883
- const headers = {
2884
- "content-type": "application/x-amz-json-1.1",
2885
- "x-amz-target": "SageMaker.UpdateModelCard",
2886
- };
2025
+ const headers = sharedHeaders("UpdateModelCard");
2887
2026
  let body;
2888
2027
  body = JSON.stringify(se_UpdateModelCardRequest(input, context));
2889
2028
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2890
2029
  };
2891
2030
  exports.se_UpdateModelCardCommand = se_UpdateModelCardCommand;
2892
2031
  const se_UpdateModelPackageCommand = async (input, context) => {
2893
- const headers = {
2894
- "content-type": "application/x-amz-json-1.1",
2895
- "x-amz-target": "SageMaker.UpdateModelPackage",
2896
- };
2032
+ const headers = sharedHeaders("UpdateModelPackage");
2897
2033
  let body;
2898
2034
  body = JSON.stringify(se_UpdateModelPackageInput(input, context));
2899
2035
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2900
2036
  };
2901
2037
  exports.se_UpdateModelPackageCommand = se_UpdateModelPackageCommand;
2902
2038
  const se_UpdateMonitoringAlertCommand = async (input, context) => {
2903
- const headers = {
2904
- "content-type": "application/x-amz-json-1.1",
2905
- "x-amz-target": "SageMaker.UpdateMonitoringAlert",
2906
- };
2039
+ const headers = sharedHeaders("UpdateMonitoringAlert");
2907
2040
  let body;
2908
2041
  body = JSON.stringify(se_UpdateMonitoringAlertRequest(input, context));
2909
2042
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2910
2043
  };
2911
2044
  exports.se_UpdateMonitoringAlertCommand = se_UpdateMonitoringAlertCommand;
2912
2045
  const se_UpdateMonitoringScheduleCommand = async (input, context) => {
2913
- const headers = {
2914
- "content-type": "application/x-amz-json-1.1",
2915
- "x-amz-target": "SageMaker.UpdateMonitoringSchedule",
2916
- };
2046
+ const headers = sharedHeaders("UpdateMonitoringSchedule");
2917
2047
  let body;
2918
2048
  body = JSON.stringify(se_UpdateMonitoringScheduleRequest(input, context));
2919
2049
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2920
2050
  };
2921
2051
  exports.se_UpdateMonitoringScheduleCommand = se_UpdateMonitoringScheduleCommand;
2922
2052
  const se_UpdateNotebookInstanceCommand = async (input, context) => {
2923
- const headers = {
2924
- "content-type": "application/x-amz-json-1.1",
2925
- "x-amz-target": "SageMaker.UpdateNotebookInstance",
2926
- };
2053
+ const headers = sharedHeaders("UpdateNotebookInstance");
2927
2054
  let body;
2928
2055
  body = JSON.stringify(se_UpdateNotebookInstanceInput(input, context));
2929
2056
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2930
2057
  };
2931
2058
  exports.se_UpdateNotebookInstanceCommand = se_UpdateNotebookInstanceCommand;
2932
2059
  const se_UpdateNotebookInstanceLifecycleConfigCommand = async (input, context) => {
2933
- const headers = {
2934
- "content-type": "application/x-amz-json-1.1",
2935
- "x-amz-target": "SageMaker.UpdateNotebookInstanceLifecycleConfig",
2936
- };
2060
+ const headers = sharedHeaders("UpdateNotebookInstanceLifecycleConfig");
2937
2061
  let body;
2938
2062
  body = JSON.stringify(se_UpdateNotebookInstanceLifecycleConfigInput(input, context));
2939
2063
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2940
2064
  };
2941
2065
  exports.se_UpdateNotebookInstanceLifecycleConfigCommand = se_UpdateNotebookInstanceLifecycleConfigCommand;
2942
2066
  const se_UpdatePipelineCommand = async (input, context) => {
2943
- const headers = {
2944
- "content-type": "application/x-amz-json-1.1",
2945
- "x-amz-target": "SageMaker.UpdatePipeline",
2946
- };
2067
+ const headers = sharedHeaders("UpdatePipeline");
2947
2068
  let body;
2948
2069
  body = JSON.stringify(se_UpdatePipelineRequest(input, context));
2949
2070
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2950
2071
  };
2951
2072
  exports.se_UpdatePipelineCommand = se_UpdatePipelineCommand;
2952
2073
  const se_UpdatePipelineExecutionCommand = async (input, context) => {
2953
- const headers = {
2954
- "content-type": "application/x-amz-json-1.1",
2955
- "x-amz-target": "SageMaker.UpdatePipelineExecution",
2956
- };
2074
+ const headers = sharedHeaders("UpdatePipelineExecution");
2957
2075
  let body;
2958
2076
  body = JSON.stringify(se_UpdatePipelineExecutionRequest(input, context));
2959
2077
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2960
2078
  };
2961
2079
  exports.se_UpdatePipelineExecutionCommand = se_UpdatePipelineExecutionCommand;
2962
2080
  const se_UpdateProjectCommand = async (input, context) => {
2963
- const headers = {
2964
- "content-type": "application/x-amz-json-1.1",
2965
- "x-amz-target": "SageMaker.UpdateProject",
2966
- };
2081
+ const headers = sharedHeaders("UpdateProject");
2967
2082
  let body;
2968
2083
  body = JSON.stringify(se_UpdateProjectInput(input, context));
2969
2084
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2970
2085
  };
2971
2086
  exports.se_UpdateProjectCommand = se_UpdateProjectCommand;
2972
2087
  const se_UpdateSpaceCommand = async (input, context) => {
2973
- const headers = {
2974
- "content-type": "application/x-amz-json-1.1",
2975
- "x-amz-target": "SageMaker.UpdateSpace",
2976
- };
2088
+ const headers = sharedHeaders("UpdateSpace");
2977
2089
  let body;
2978
2090
  body = JSON.stringify(se_UpdateSpaceRequest(input, context));
2979
2091
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2980
2092
  };
2981
2093
  exports.se_UpdateSpaceCommand = se_UpdateSpaceCommand;
2982
2094
  const se_UpdateTrainingJobCommand = async (input, context) => {
2983
- const headers = {
2984
- "content-type": "application/x-amz-json-1.1",
2985
- "x-amz-target": "SageMaker.UpdateTrainingJob",
2986
- };
2095
+ const headers = sharedHeaders("UpdateTrainingJob");
2987
2096
  let body;
2988
2097
  body = JSON.stringify(se_UpdateTrainingJobRequest(input, context));
2989
2098
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2990
2099
  };
2991
2100
  exports.se_UpdateTrainingJobCommand = se_UpdateTrainingJobCommand;
2992
2101
  const se_UpdateTrialCommand = async (input, context) => {
2993
- const headers = {
2994
- "content-type": "application/x-amz-json-1.1",
2995
- "x-amz-target": "SageMaker.UpdateTrial",
2996
- };
2102
+ const headers = sharedHeaders("UpdateTrial");
2997
2103
  let body;
2998
2104
  body = JSON.stringify(se_UpdateTrialRequest(input, context));
2999
2105
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3000
2106
  };
3001
2107
  exports.se_UpdateTrialCommand = se_UpdateTrialCommand;
3002
2108
  const se_UpdateTrialComponentCommand = async (input, context) => {
3003
- const headers = {
3004
- "content-type": "application/x-amz-json-1.1",
3005
- "x-amz-target": "SageMaker.UpdateTrialComponent",
3006
- };
2109
+ const headers = sharedHeaders("UpdateTrialComponent");
3007
2110
  let body;
3008
2111
  body = JSON.stringify(se_UpdateTrialComponentRequest(input, context));
3009
2112
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3010
2113
  };
3011
2114
  exports.se_UpdateTrialComponentCommand = se_UpdateTrialComponentCommand;
3012
2115
  const se_UpdateUserProfileCommand = async (input, context) => {
3013
- const headers = {
3014
- "content-type": "application/x-amz-json-1.1",
3015
- "x-amz-target": "SageMaker.UpdateUserProfile",
3016
- };
2116
+ const headers = sharedHeaders("UpdateUserProfile");
3017
2117
  let body;
3018
2118
  body = JSON.stringify(se_UpdateUserProfileRequest(input, context));
3019
2119
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3020
2120
  };
3021
2121
  exports.se_UpdateUserProfileCommand = se_UpdateUserProfileCommand;
3022
2122
  const se_UpdateWorkforceCommand = async (input, context) => {
3023
- const headers = {
3024
- "content-type": "application/x-amz-json-1.1",
3025
- "x-amz-target": "SageMaker.UpdateWorkforce",
3026
- };
2123
+ const headers = sharedHeaders("UpdateWorkforce");
3027
2124
  let body;
3028
2125
  body = JSON.stringify(se_UpdateWorkforceRequest(input, context));
3029
2126
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3030
2127
  };
3031
2128
  exports.se_UpdateWorkforceCommand = se_UpdateWorkforceCommand;
3032
2129
  const se_UpdateWorkteamCommand = async (input, context) => {
3033
- const headers = {
3034
- "content-type": "application/x-amz-json-1.1",
3035
- "x-amz-target": "SageMaker.UpdateWorkteam",
3036
- };
2130
+ const headers = sharedHeaders("UpdateWorkteam");
3037
2131
  let body;
3038
2132
  body = JSON.stringify(se_UpdateWorkteamRequest(input, context));
3039
2133
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
@@ -28520,6 +27614,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
28520
27614
  }
28521
27615
  return new protocol_http_1.HttpRequest(contents);
28522
27616
  };
27617
+ function sharedHeaders(operation) {
27618
+ return {
27619
+ "content-type": "application/x-amz-json-1.1",
27620
+ "x-amz-target": `SageMaker.${operation}`,
27621
+ };
27622
+ }
28523
27623
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
28524
27624
  if (encoded.length) {
28525
27625
  return JSON.parse(encoded);