@aws-sdk/client-osis 3.928.0 → 3.929.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.
Files changed (43) hide show
  1. package/dist-cjs/index.js +944 -996
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/OSISClient.js +2 -0
  4. package/dist-es/commands/CreatePipelineCommand.js +3 -9
  5. package/dist-es/commands/CreatePipelineEndpointCommand.js +3 -9
  6. package/dist-es/commands/DeletePipelineCommand.js +3 -9
  7. package/dist-es/commands/DeletePipelineEndpointCommand.js +3 -9
  8. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  9. package/dist-es/commands/GetPipelineBlueprintCommand.js +3 -9
  10. package/dist-es/commands/GetPipelineChangeProgressCommand.js +3 -9
  11. package/dist-es/commands/GetPipelineCommand.js +3 -9
  12. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  13. package/dist-es/commands/ListPipelineBlueprintsCommand.js +3 -9
  14. package/dist-es/commands/ListPipelineEndpointConnectionsCommand.js +3 -9
  15. package/dist-es/commands/ListPipelineEndpointsCommand.js +3 -9
  16. package/dist-es/commands/ListPipelinesCommand.js +3 -9
  17. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  18. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  19. package/dist-es/commands/RevokePipelineEndpointConnectionsCommand.js +3 -9
  20. package/dist-es/commands/StartPipelineCommand.js +3 -9
  21. package/dist-es/commands/StopPipelineCommand.js +3 -9
  22. package/dist-es/commands/TagResourceCommand.js +3 -9
  23. package/dist-es/commands/UntagResourceCommand.js +3 -9
  24. package/dist-es/commands/UpdatePipelineCommand.js +3 -9
  25. package/dist-es/commands/ValidatePipelineCommand.js +3 -9
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-es/schemas/schemas_0.js +885 -0
  28. package/dist-types/OSISClient.d.ts +10 -1
  29. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  30. package/dist-types/runtimeConfig.d.ts +1 -0
  31. package/dist-types/runtimeConfig.native.d.ts +1 -0
  32. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  33. package/dist-types/schemas/schemas_0.d.ts +115 -0
  34. package/dist-types/ts3.4/OSISClient.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +120 -0
  40. package/package.json +2 -2
  41. package/dist-es/protocols/Aws_restJson1.js +0 -824
  42. package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -269
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class OSISClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class OSISClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class OSISServiceException extends smithyClient.ServiceException {
113
+ let OSISServiceException$1 = class OSISServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, OSISServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends OSISServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends OSISServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,7 +128,7 @@ class AccessDeniedException extends OSISServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- }
131
+ };
132
132
  const VpcEndpointManagement = {
133
133
  CUSTOMER: "CUSTOMER",
134
134
  SERVICE: "SERVICE",
@@ -148,7 +148,7 @@ const PipelineStatus = {
148
148
  UPDATE_FAILED: "UPDATE_FAILED",
149
149
  UPDATING: "UPDATING",
150
150
  };
151
- class DisabledOperationException extends OSISServiceException {
151
+ let DisabledOperationException$1 = class DisabledOperationException extends OSISServiceException$1 {
152
152
  name = "DisabledOperationException";
153
153
  $fault = "client";
154
154
  constructor(opts) {
@@ -159,8 +159,8 @@ class DisabledOperationException extends OSISServiceException {
159
159
  });
160
160
  Object.setPrototypeOf(this, DisabledOperationException.prototype);
161
161
  }
162
- }
163
- class InternalException extends OSISServiceException {
162
+ };
163
+ let InternalException$1 = class InternalException extends OSISServiceException$1 {
164
164
  name = "InternalException";
165
165
  $fault = "server";
166
166
  constructor(opts) {
@@ -171,8 +171,8 @@ class InternalException extends OSISServiceException {
171
171
  });
172
172
  Object.setPrototypeOf(this, InternalException.prototype);
173
173
  }
174
- }
175
- class LimitExceededException extends OSISServiceException {
174
+ };
175
+ let LimitExceededException$1 = class LimitExceededException extends OSISServiceException$1 {
176
176
  name = "LimitExceededException";
177
177
  $fault = "client";
178
178
  constructor(opts) {
@@ -183,8 +183,8 @@ class LimitExceededException extends OSISServiceException {
183
183
  });
184
184
  Object.setPrototypeOf(this, LimitExceededException.prototype);
185
185
  }
186
- }
187
- class ResourceAlreadyExistsException extends OSISServiceException {
186
+ };
187
+ let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException extends OSISServiceException$1 {
188
188
  name = "ResourceAlreadyExistsException";
189
189
  $fault = "client";
190
190
  constructor(opts) {
@@ -195,8 +195,8 @@ class ResourceAlreadyExistsException extends OSISServiceException {
195
195
  });
196
196
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
197
197
  }
198
- }
199
- class ResourceNotFoundException extends OSISServiceException {
198
+ };
199
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends OSISServiceException$1 {
200
200
  name = "ResourceNotFoundException";
201
201
  $fault = "client";
202
202
  constructor(opts) {
@@ -207,8 +207,8 @@ class ResourceNotFoundException extends OSISServiceException {
207
207
  });
208
208
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
209
209
  }
210
- }
211
- class ValidationException extends OSISServiceException {
210
+ };
211
+ let ValidationException$1 = class ValidationException extends OSISServiceException$1 {
212
212
  name = "ValidationException";
213
213
  $fault = "client";
214
214
  constructor(opts) {
@@ -219,7 +219,7 @@ class ValidationException extends OSISServiceException {
219
219
  });
220
220
  Object.setPrototypeOf(this, ValidationException.prototype);
221
221
  }
222
- }
222
+ };
223
223
  const PipelineEndpointStatus = {
224
224
  ACTIVE: "ACTIVE",
225
225
  CREATE_FAILED: "CREATE_FAILED",
@@ -228,7 +228,7 @@ const PipelineEndpointStatus = {
228
228
  REVOKED: "REVOKED",
229
229
  REVOKING: "REVOKING",
230
230
  };
231
- class ConflictException extends OSISServiceException {
231
+ let ConflictException$1 = class ConflictException extends OSISServiceException$1 {
232
232
  name = "ConflictException";
233
233
  $fault = "client";
234
234
  constructor(opts) {
@@ -239,7 +239,7 @@ class ConflictException extends OSISServiceException {
239
239
  });
240
240
  Object.setPrototypeOf(this, ConflictException.prototype);
241
241
  }
242
- }
242
+ };
243
243
  const ChangeProgressStageStatuses = {
244
244
  COMPLETED: "COMPLETED",
245
245
  FAILED: "FAILED",
@@ -252,7 +252,7 @@ const ChangeProgressStatuses = {
252
252
  IN_PROGRESS: "IN_PROGRESS",
253
253
  PENDING: "PENDING",
254
254
  };
255
- class InvalidPaginationTokenException extends OSISServiceException {
255
+ let InvalidPaginationTokenException$1 = class InvalidPaginationTokenException extends OSISServiceException$1 {
256
256
  name = "InvalidPaginationTokenException";
257
257
  $fault = "client";
258
258
  constructor(opts) {
@@ -263,841 +263,894 @@ class InvalidPaginationTokenException extends OSISServiceException {
263
263
  });
264
264
  Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
265
265
  }
266
- }
267
-
268
- const se_CreatePipelineCommand = async (input, context) => {
269
- const b = core.requestBuilder(input, context);
270
- const headers = {
271
- "content-type": "application/json",
272
- };
273
- b.bp("/2022-01-01/osis/createPipeline");
274
- let body;
275
- body = JSON.stringify(smithyClient.take(input, {
276
- BufferOptions: (_) => smithyClient._json(_),
277
- EncryptionAtRestOptions: (_) => smithyClient._json(_),
278
- LogPublishingOptions: (_) => smithyClient._json(_),
279
- MaxUnits: [],
280
- MinUnits: [],
281
- PipelineConfigurationBody: [],
282
- PipelineName: [],
283
- PipelineRoleArn: [],
284
- Tags: (_) => smithyClient._json(_),
285
- VpcOptions: (_) => smithyClient._json(_),
286
- }));
287
- b.m("POST").h(headers).b(body);
288
- return b.build();
289
- };
290
- const se_CreatePipelineEndpointCommand = async (input, context) => {
291
- const b = core.requestBuilder(input, context);
292
- const headers = {
293
- "content-type": "application/json",
294
- };
295
- b.bp("/2022-01-01/osis/createPipelineEndpoint");
296
- let body;
297
- body = JSON.stringify(smithyClient.take(input, {
298
- PipelineArn: [],
299
- VpcOptions: (_) => smithyClient._json(_),
300
- }));
301
- b.m("POST").h(headers).b(body);
302
- return b.build();
303
- };
304
- const se_DeletePipelineCommand = async (input, context) => {
305
- const b = core.requestBuilder(input, context);
306
- const headers = {};
307
- b.bp("/2022-01-01/osis/deletePipeline/{PipelineName}");
308
- b.p("PipelineName", () => input.PipelineName, "{PipelineName}", false);
309
- let body;
310
- b.m("DELETE").h(headers).b(body);
311
- return b.build();
312
- };
313
- const se_DeletePipelineEndpointCommand = async (input, context) => {
314
- const b = core.requestBuilder(input, context);
315
- const headers = {};
316
- b.bp("/2022-01-01/osis/deletePipelineEndpoint/{EndpointId}");
317
- b.p("EndpointId", () => input.EndpointId, "{EndpointId}", false);
318
- let body;
319
- b.m("DELETE").h(headers).b(body);
320
- return b.build();
321
- };
322
- const se_DeleteResourcePolicyCommand = async (input, context) => {
323
- const b = core.requestBuilder(input, context);
324
- const headers = {};
325
- b.bp("/2022-01-01/osis/resourcePolicy/{ResourceArn}");
326
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
327
- let body;
328
- b.m("DELETE").h(headers).b(body);
329
- return b.build();
330
- };
331
- const se_GetPipelineCommand = async (input, context) => {
332
- const b = core.requestBuilder(input, context);
333
- const headers = {};
334
- b.bp("/2022-01-01/osis/getPipeline/{PipelineName}");
335
- b.p("PipelineName", () => input.PipelineName, "{PipelineName}", false);
336
- let body;
337
- b.m("GET").h(headers).b(body);
338
- return b.build();
339
- };
340
- const se_GetPipelineBlueprintCommand = async (input, context) => {
341
- const b = core.requestBuilder(input, context);
342
- const headers = {};
343
- b.bp("/2022-01-01/osis/getPipelineBlueprint/{BlueprintName}");
344
- b.p("BlueprintName", () => input.BlueprintName, "{BlueprintName}", false);
345
- const query = smithyClient.map({
346
- [_f]: [, input[_F]],
347
- });
348
- let body;
349
- b.m("GET").h(headers).q(query).b(body);
350
- return b.build();
351
- };
352
- const se_GetPipelineChangeProgressCommand = async (input, context) => {
353
- const b = core.requestBuilder(input, context);
354
- const headers = {};
355
- b.bp("/2022-01-01/osis/getPipelineChangeProgress/{PipelineName}");
356
- b.p("PipelineName", () => input.PipelineName, "{PipelineName}", false);
357
- let body;
358
- b.m("GET").h(headers).b(body);
359
- return b.build();
360
- };
361
- const se_GetResourcePolicyCommand = async (input, context) => {
362
- const b = core.requestBuilder(input, context);
363
- const headers = {};
364
- b.bp("/2022-01-01/osis/resourcePolicy/{ResourceArn}");
365
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
366
- let body;
367
- b.m("GET").h(headers).b(body);
368
- return b.build();
369
- };
370
- const se_ListPipelineBlueprintsCommand = async (input, context) => {
371
- const b = core.requestBuilder(input, context);
372
- const headers = {};
373
- b.bp("/2022-01-01/osis/listPipelineBlueprints");
374
- let body;
375
- b.m("POST").h(headers).b(body);
376
- return b.build();
377
- };
378
- const se_ListPipelineEndpointConnectionsCommand = async (input, context) => {
379
- const b = core.requestBuilder(input, context);
380
- const headers = {};
381
- b.bp("/2022-01-01/osis/listPipelineEndpointConnections");
382
- const query = smithyClient.map({
383
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
384
- [_nT]: [, input[_NT]],
385
- });
386
- let body;
387
- b.m("GET").h(headers).q(query).b(body);
388
- return b.build();
389
- };
390
- const se_ListPipelineEndpointsCommand = async (input, context) => {
391
- const b = core.requestBuilder(input, context);
392
- const headers = {};
393
- b.bp("/2022-01-01/osis/listPipelineEndpoints");
394
- const query = smithyClient.map({
395
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
396
- [_nT]: [, input[_NT]],
397
- });
398
- let body;
399
- b.m("GET").h(headers).q(query).b(body);
400
- return b.build();
401
- };
402
- const se_ListPipelinesCommand = async (input, context) => {
403
- const b = core.requestBuilder(input, context);
404
- const headers = {};
405
- b.bp("/2022-01-01/osis/listPipelines");
406
- const query = smithyClient.map({
407
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
408
- [_nT]: [, input[_NT]],
409
- });
410
- let body;
411
- b.m("GET").h(headers).q(query).b(body);
412
- return b.build();
413
- };
414
- const se_ListTagsForResourceCommand = async (input, context) => {
415
- const b = core.requestBuilder(input, context);
416
- const headers = {};
417
- b.bp("/2022-01-01/osis/listTagsForResource");
418
- const query = smithyClient.map({
419
- [_a]: [, smithyClient.expectNonNull(input[_A], `Arn`)],
420
- });
421
- let body;
422
- b.m("GET").h(headers).q(query).b(body);
423
- return b.build();
424
- };
425
- const se_PutResourcePolicyCommand = async (input, context) => {
426
- const b = core.requestBuilder(input, context);
427
- const headers = {
428
- "content-type": "application/json",
429
- };
430
- b.bp("/2022-01-01/osis/resourcePolicy/{ResourceArn}");
431
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
432
- let body;
433
- body = JSON.stringify(smithyClient.take(input, {
434
- Policy: [],
435
- }));
436
- b.m("PUT").h(headers).b(body);
437
- return b.build();
438
- };
439
- const se_RevokePipelineEndpointConnectionsCommand = async (input, context) => {
440
- const b = core.requestBuilder(input, context);
441
- const headers = {
442
- "content-type": "application/json",
443
- };
444
- b.bp("/2022-01-01/osis/revokePipelineEndpointConnections");
445
- let body;
446
- body = JSON.stringify(smithyClient.take(input, {
447
- EndpointIds: (_) => smithyClient._json(_),
448
- PipelineArn: [],
449
- }));
450
- b.m("POST").h(headers).b(body);
451
- return b.build();
452
- };
453
- const se_StartPipelineCommand = async (input, context) => {
454
- const b = core.requestBuilder(input, context);
455
- const headers = {};
456
- b.bp("/2022-01-01/osis/startPipeline/{PipelineName}");
457
- b.p("PipelineName", () => input.PipelineName, "{PipelineName}", false);
458
- let body;
459
- b.m("PUT").h(headers).b(body);
460
- return b.build();
461
- };
462
- const se_StopPipelineCommand = async (input, context) => {
463
- const b = core.requestBuilder(input, context);
464
- const headers = {};
465
- b.bp("/2022-01-01/osis/stopPipeline/{PipelineName}");
466
- b.p("PipelineName", () => input.PipelineName, "{PipelineName}", false);
467
- let body;
468
- b.m("PUT").h(headers).b(body);
469
- return b.build();
470
- };
471
- const se_TagResourceCommand = async (input, context) => {
472
- const b = core.requestBuilder(input, context);
473
- const headers = {
474
- "content-type": "application/json",
475
- };
476
- b.bp("/2022-01-01/osis/tagResource");
477
- const query = smithyClient.map({
478
- [_a]: [, smithyClient.expectNonNull(input[_A], `Arn`)],
479
- });
480
- let body;
481
- body = JSON.stringify(smithyClient.take(input, {
482
- Tags: (_) => smithyClient._json(_),
483
- }));
484
- b.m("POST").h(headers).q(query).b(body);
485
- return b.build();
486
- };
487
- const se_UntagResourceCommand = async (input, context) => {
488
- const b = core.requestBuilder(input, context);
489
- const headers = {
490
- "content-type": "application/json",
491
- };
492
- b.bp("/2022-01-01/osis/untagResource");
493
- const query = smithyClient.map({
494
- [_a]: [, smithyClient.expectNonNull(input[_A], `Arn`)],
495
- });
496
- let body;
497
- body = JSON.stringify(smithyClient.take(input, {
498
- TagKeys: (_) => smithyClient._json(_),
499
- }));
500
- b.m("POST").h(headers).q(query).b(body);
501
- return b.build();
502
- };
503
- const se_UpdatePipelineCommand = async (input, context) => {
504
- const b = core.requestBuilder(input, context);
505
- const headers = {
506
- "content-type": "application/json",
507
- };
508
- b.bp("/2022-01-01/osis/updatePipeline/{PipelineName}");
509
- b.p("PipelineName", () => input.PipelineName, "{PipelineName}", false);
510
- let body;
511
- body = JSON.stringify(smithyClient.take(input, {
512
- BufferOptions: (_) => smithyClient._json(_),
513
- EncryptionAtRestOptions: (_) => smithyClient._json(_),
514
- LogPublishingOptions: (_) => smithyClient._json(_),
515
- MaxUnits: [],
516
- MinUnits: [],
517
- PipelineConfigurationBody: [],
518
- PipelineRoleArn: [],
519
- }));
520
- b.m("PUT").h(headers).b(body);
521
- return b.build();
522
- };
523
- const se_ValidatePipelineCommand = async (input, context) => {
524
- const b = core.requestBuilder(input, context);
525
- const headers = {
526
- "content-type": "application/json",
527
- };
528
- b.bp("/2022-01-01/osis/validatePipeline");
529
- let body;
530
- body = JSON.stringify(smithyClient.take(input, {
531
- PipelineConfigurationBody: [],
532
- }));
533
- b.m("POST").h(headers).b(body);
534
- return b.build();
535
- };
536
- const de_CreatePipelineCommand = async (output, context) => {
537
- if (output.statusCode !== 200 && output.statusCode >= 300) {
538
- return de_CommandError(output, context);
539
- }
540
- const contents = smithyClient.map({
541
- $metadata: deserializeMetadata(output),
542
- });
543
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
544
- const doc = smithyClient.take(data, {
545
- Pipeline: (_) => de_Pipeline(_),
546
- });
547
- Object.assign(contents, doc);
548
- return contents;
549
- };
550
- const de_CreatePipelineEndpointCommand = async (output, context) => {
551
- if (output.statusCode !== 200 && output.statusCode >= 300) {
552
- return de_CommandError(output, context);
553
- }
554
- const contents = smithyClient.map({
555
- $metadata: deserializeMetadata(output),
556
- });
557
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
558
- const doc = smithyClient.take(data, {
559
- EndpointId: smithyClient.expectString,
560
- PipelineArn: smithyClient.expectString,
561
- Status: smithyClient.expectString,
562
- VpcId: smithyClient.expectString,
563
- });
564
- Object.assign(contents, doc);
565
- return contents;
566
- };
567
- const de_DeletePipelineCommand = async (output, context) => {
568
- if (output.statusCode !== 200 && output.statusCode >= 300) {
569
- return de_CommandError(output, context);
570
- }
571
- const contents = smithyClient.map({
572
- $metadata: deserializeMetadata(output),
573
- });
574
- await smithyClient.collectBody(output.body, context);
575
- return contents;
576
- };
577
- const de_DeletePipelineEndpointCommand = async (output, context) => {
578
- if (output.statusCode !== 200 && output.statusCode >= 300) {
579
- return de_CommandError(output, context);
580
- }
581
- const contents = smithyClient.map({
582
- $metadata: deserializeMetadata(output),
583
- });
584
- await smithyClient.collectBody(output.body, context);
585
- return contents;
586
- };
587
- const de_DeleteResourcePolicyCommand = async (output, context) => {
588
- if (output.statusCode !== 200 && output.statusCode >= 300) {
589
- return de_CommandError(output, context);
590
- }
591
- const contents = smithyClient.map({
592
- $metadata: deserializeMetadata(output),
593
- });
594
- await smithyClient.collectBody(output.body, context);
595
- return contents;
596
- };
597
- const de_GetPipelineCommand = async (output, context) => {
598
- if (output.statusCode !== 200 && output.statusCode >= 300) {
599
- return de_CommandError(output, context);
600
- }
601
- const contents = smithyClient.map({
602
- $metadata: deserializeMetadata(output),
603
- });
604
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
605
- const doc = smithyClient.take(data, {
606
- Pipeline: (_) => de_Pipeline(_),
607
- });
608
- Object.assign(contents, doc);
609
- return contents;
610
- };
611
- const de_GetPipelineBlueprintCommand = async (output, context) => {
612
- if (output.statusCode !== 200 && output.statusCode >= 300) {
613
- return de_CommandError(output, context);
614
- }
615
- const contents = smithyClient.map({
616
- $metadata: deserializeMetadata(output),
617
- });
618
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
619
- const doc = smithyClient.take(data, {
620
- Blueprint: smithyClient._json,
621
- Format: smithyClient.expectString,
622
- });
623
- Object.assign(contents, doc);
624
- return contents;
625
- };
626
- const de_GetPipelineChangeProgressCommand = async (output, context) => {
627
- if (output.statusCode !== 200 && output.statusCode >= 300) {
628
- return de_CommandError(output, context);
629
- }
630
- const contents = smithyClient.map({
631
- $metadata: deserializeMetadata(output),
632
- });
633
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
634
- const doc = smithyClient.take(data, {
635
- ChangeProgressStatuses: (_) => de_ChangeProgressStatusList(_),
636
- });
637
- Object.assign(contents, doc);
638
- return contents;
639
- };
640
- const de_GetResourcePolicyCommand = async (output, context) => {
641
- if (output.statusCode !== 200 && output.statusCode >= 300) {
642
- return de_CommandError(output, context);
643
- }
644
- const contents = smithyClient.map({
645
- $metadata: deserializeMetadata(output),
646
- });
647
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
648
- const doc = smithyClient.take(data, {
649
- Policy: smithyClient.expectString,
650
- ResourceArn: smithyClient.expectString,
651
- });
652
- Object.assign(contents, doc);
653
- return contents;
654
- };
655
- const de_ListPipelineBlueprintsCommand = async (output, context) => {
656
- if (output.statusCode !== 200 && output.statusCode >= 300) {
657
- return de_CommandError(output, context);
658
- }
659
- const contents = smithyClient.map({
660
- $metadata: deserializeMetadata(output),
661
- });
662
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
663
- const doc = smithyClient.take(data, {
664
- Blueprints: smithyClient._json,
665
- });
666
- Object.assign(contents, doc);
667
- return contents;
668
266
  };
669
- const de_ListPipelineEndpointConnectionsCommand = async (output, context) => {
670
- if (output.statusCode !== 200 && output.statusCode >= 300) {
671
- return de_CommandError(output, context);
672
- }
673
- const contents = smithyClient.map({
674
- $metadata: deserializeMetadata(output),
675
- });
676
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
677
- const doc = smithyClient.take(data, {
678
- NextToken: smithyClient.expectString,
679
- PipelineEndpointConnections: smithyClient._json,
680
- });
681
- Object.assign(contents, doc);
682
- return contents;
683
- };
684
- const de_ListPipelineEndpointsCommand = async (output, context) => {
685
- if (output.statusCode !== 200 && output.statusCode >= 300) {
686
- return de_CommandError(output, context);
687
- }
688
- const contents = smithyClient.map({
689
- $metadata: deserializeMetadata(output),
690
- });
691
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
692
- const doc = smithyClient.take(data, {
693
- NextToken: smithyClient.expectString,
694
- PipelineEndpoints: smithyClient._json,
695
- });
696
- Object.assign(contents, doc);
697
- return contents;
698
- };
699
- const de_ListPipelinesCommand = async (output, context) => {
700
- if (output.statusCode !== 200 && output.statusCode >= 300) {
701
- return de_CommandError(output, context);
702
- }
703
- const contents = smithyClient.map({
704
- $metadata: deserializeMetadata(output),
705
- });
706
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
707
- const doc = smithyClient.take(data, {
708
- NextToken: smithyClient.expectString,
709
- Pipelines: (_) => de_PipelineSummaryList(_),
710
- });
711
- Object.assign(contents, doc);
712
- return contents;
713
- };
714
- const de_ListTagsForResourceCommand = async (output, context) => {
715
- if (output.statusCode !== 200 && output.statusCode >= 300) {
716
- return de_CommandError(output, context);
717
- }
718
- const contents = smithyClient.map({
719
- $metadata: deserializeMetadata(output),
720
- });
721
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
722
- const doc = smithyClient.take(data, {
723
- Tags: smithyClient._json,
724
- });
725
- Object.assign(contents, doc);
726
- return contents;
727
- };
728
- const de_PutResourcePolicyCommand = async (output, context) => {
729
- if (output.statusCode !== 200 && output.statusCode >= 300) {
730
- return de_CommandError(output, context);
731
- }
732
- const contents = smithyClient.map({
733
- $metadata: deserializeMetadata(output),
734
- });
735
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
736
- const doc = smithyClient.take(data, {
737
- Policy: smithyClient.expectString,
738
- ResourceArn: smithyClient.expectString,
739
- });
740
- Object.assign(contents, doc);
741
- return contents;
742
- };
743
- const de_RevokePipelineEndpointConnectionsCommand = async (output, context) => {
744
- if (output.statusCode !== 200 && output.statusCode >= 300) {
745
- return de_CommandError(output, context);
746
- }
747
- const contents = smithyClient.map({
748
- $metadata: deserializeMetadata(output),
749
- });
750
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
751
- const doc = smithyClient.take(data, {
752
- PipelineArn: smithyClient.expectString,
753
- });
754
- Object.assign(contents, doc);
755
- return contents;
756
- };
757
- const de_StartPipelineCommand = async (output, context) => {
758
- if (output.statusCode !== 200 && output.statusCode >= 300) {
759
- return de_CommandError(output, context);
760
- }
761
- const contents = smithyClient.map({
762
- $metadata: deserializeMetadata(output),
763
- });
764
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
765
- const doc = smithyClient.take(data, {
766
- Pipeline: (_) => de_Pipeline(_),
767
- });
768
- Object.assign(contents, doc);
769
- return contents;
770
- };
771
- const de_StopPipelineCommand = async (output, context) => {
772
- if (output.statusCode !== 200 && output.statusCode >= 300) {
773
- return de_CommandError(output, context);
774
- }
775
- const contents = smithyClient.map({
776
- $metadata: deserializeMetadata(output),
777
- });
778
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
779
- const doc = smithyClient.take(data, {
780
- Pipeline: (_) => de_Pipeline(_),
781
- });
782
- Object.assign(contents, doc);
783
- return contents;
784
- };
785
- const de_TagResourceCommand = async (output, context) => {
786
- if (output.statusCode !== 200 && output.statusCode >= 300) {
787
- return de_CommandError(output, context);
788
- }
789
- const contents = smithyClient.map({
790
- $metadata: deserializeMetadata(output),
791
- });
792
- await smithyClient.collectBody(output.body, context);
793
- return contents;
794
- };
795
- const de_UntagResourceCommand = async (output, context) => {
796
- if (output.statusCode !== 200 && output.statusCode >= 300) {
797
- return de_CommandError(output, context);
798
- }
799
- const contents = smithyClient.map({
800
- $metadata: deserializeMetadata(output),
801
- });
802
- await smithyClient.collectBody(output.body, context);
803
- return contents;
804
- };
805
- const de_UpdatePipelineCommand = async (output, context) => {
806
- if (output.statusCode !== 200 && output.statusCode >= 300) {
807
- return de_CommandError(output, context);
808
- }
809
- const contents = smithyClient.map({
810
- $metadata: deserializeMetadata(output),
811
- });
812
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
813
- const doc = smithyClient.take(data, {
814
- Pipeline: (_) => de_Pipeline(_),
815
- });
816
- Object.assign(contents, doc);
817
- return contents;
818
- };
819
- const de_ValidatePipelineCommand = async (output, context) => {
820
- if (output.statusCode !== 200 && output.statusCode >= 300) {
821
- return de_CommandError(output, context);
822
- }
823
- const contents = smithyClient.map({
824
- $metadata: deserializeMetadata(output),
825
- });
826
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
827
- const doc = smithyClient.take(data, {
828
- Errors: smithyClient._json,
829
- isValid: smithyClient.expectBoolean,
830
- });
831
- Object.assign(contents, doc);
832
- return contents;
833
- };
834
- const de_CommandError = async (output, context) => {
835
- const parsedOutput = {
836
- ...output,
837
- body: await core$1.parseJsonErrorBody(output.body, context),
838
- };
839
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
840
- switch (errorCode) {
841
- case "AccessDeniedException":
842
- case "com.amazonaws.osis#AccessDeniedException":
843
- throw await de_AccessDeniedExceptionRes(parsedOutput);
844
- case "DisabledOperationException":
845
- case "com.amazonaws.osis#DisabledOperationException":
846
- throw await de_DisabledOperationExceptionRes(parsedOutput);
847
- case "InternalException":
848
- case "com.amazonaws.osis#InternalException":
849
- throw await de_InternalExceptionRes(parsedOutput);
850
- case "LimitExceededException":
851
- case "com.amazonaws.osis#LimitExceededException":
852
- throw await de_LimitExceededExceptionRes(parsedOutput);
853
- case "ResourceAlreadyExistsException":
854
- case "com.amazonaws.osis#ResourceAlreadyExistsException":
855
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput);
856
- case "ResourceNotFoundException":
857
- case "com.amazonaws.osis#ResourceNotFoundException":
858
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
859
- case "ValidationException":
860
- case "com.amazonaws.osis#ValidationException":
861
- throw await de_ValidationExceptionRes(parsedOutput);
862
- case "ConflictException":
863
- case "com.amazonaws.osis#ConflictException":
864
- throw await de_ConflictExceptionRes(parsedOutput);
865
- case "InvalidPaginationTokenException":
866
- case "com.amazonaws.osis#InvalidPaginationTokenException":
867
- throw await de_InvalidPaginationTokenExceptionRes(parsedOutput);
868
- default:
869
- const parsedBody = parsedOutput.body;
870
- return throwDefaultError({
871
- output,
872
- parsedBody,
873
- errorCode,
874
- });
875
- }
876
- };
877
- const throwDefaultError = smithyClient.withBaseException(OSISServiceException);
878
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
879
- const contents = smithyClient.map({});
880
- const data = parsedOutput.body;
881
- const doc = smithyClient.take(data, {
882
- message: smithyClient.expectString,
883
- });
884
- Object.assign(contents, doc);
885
- const exception = new AccessDeniedException({
886
- $metadata: deserializeMetadata(parsedOutput),
887
- ...contents,
888
- });
889
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
890
- };
891
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
892
- const contents = smithyClient.map({});
893
- const data = parsedOutput.body;
894
- const doc = smithyClient.take(data, {
895
- message: smithyClient.expectString,
896
- });
897
- Object.assign(contents, doc);
898
- const exception = new ConflictException({
899
- $metadata: deserializeMetadata(parsedOutput),
900
- ...contents,
901
- });
902
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
903
- };
904
- const de_DisabledOperationExceptionRes = async (parsedOutput, context) => {
905
- const contents = smithyClient.map({});
906
- const data = parsedOutput.body;
907
- const doc = smithyClient.take(data, {
908
- message: smithyClient.expectString,
909
- });
910
- Object.assign(contents, doc);
911
- const exception = new DisabledOperationException({
912
- $metadata: deserializeMetadata(parsedOutput),
913
- ...contents,
914
- });
915
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
916
- };
917
- const de_InternalExceptionRes = async (parsedOutput, context) => {
918
- const contents = smithyClient.map({});
919
- const data = parsedOutput.body;
920
- const doc = smithyClient.take(data, {
921
- message: smithyClient.expectString,
922
- });
923
- Object.assign(contents, doc);
924
- const exception = new InternalException({
925
- $metadata: deserializeMetadata(parsedOutput),
926
- ...contents,
927
- });
928
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
929
- };
930
- const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
931
- const contents = smithyClient.map({});
932
- const data = parsedOutput.body;
933
- const doc = smithyClient.take(data, {
934
- message: smithyClient.expectString,
935
- });
936
- Object.assign(contents, doc);
937
- const exception = new InvalidPaginationTokenException({
938
- $metadata: deserializeMetadata(parsedOutput),
939
- ...contents,
940
- });
941
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
942
- };
943
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
944
- const contents = smithyClient.map({});
945
- const data = parsedOutput.body;
946
- const doc = smithyClient.take(data, {
947
- message: smithyClient.expectString,
948
- });
949
- Object.assign(contents, doc);
950
- const exception = new LimitExceededException({
951
- $metadata: deserializeMetadata(parsedOutput),
952
- ...contents,
953
- });
954
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
955
- };
956
- const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
957
- const contents = smithyClient.map({});
958
- const data = parsedOutput.body;
959
- const doc = smithyClient.take(data, {
960
- message: smithyClient.expectString,
961
- });
962
- Object.assign(contents, doc);
963
- const exception = new ResourceAlreadyExistsException({
964
- $metadata: deserializeMetadata(parsedOutput),
965
- ...contents,
966
- });
967
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
968
- };
969
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
970
- const contents = smithyClient.map({});
971
- const data = parsedOutput.body;
972
- const doc = smithyClient.take(data, {
973
- message: smithyClient.expectString,
974
- });
975
- Object.assign(contents, doc);
976
- const exception = new ResourceNotFoundException({
977
- $metadata: deserializeMetadata(parsedOutput),
978
- ...contents,
979
- });
980
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
981
- };
982
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
983
- const contents = smithyClient.map({});
984
- const data = parsedOutput.body;
985
- const doc = smithyClient.take(data, {
986
- message: smithyClient.expectString,
987
- });
988
- Object.assign(contents, doc);
989
- const exception = new ValidationException({
990
- $metadata: deserializeMetadata(parsedOutput),
991
- ...contents,
992
- });
993
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
994
- };
995
- const de_ChangeProgressStage = (output, context) => {
996
- return smithyClient.take(output, {
997
- Description: smithyClient.expectString,
998
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
999
- Name: smithyClient.expectString,
1000
- Status: smithyClient.expectString,
1001
- });
1002
- };
1003
- const de_ChangeProgressStageList = (output, context) => {
1004
- const retVal = (output || [])
1005
- .filter((e) => e != null)
1006
- .map((entry) => {
1007
- return de_ChangeProgressStage(entry);
1008
- });
1009
- return retVal;
1010
- };
1011
- const de_ChangeProgressStatus = (output, context) => {
1012
- return smithyClient.take(output, {
1013
- ChangeProgressStages: (_) => de_ChangeProgressStageList(_),
1014
- StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1015
- Status: smithyClient.expectString,
1016
- TotalNumberOfStages: smithyClient.expectInt32,
1017
- });
1018
- };
1019
- const de_ChangeProgressStatusList = (output, context) => {
1020
- const retVal = (output || [])
1021
- .filter((e) => e != null)
1022
- .map((entry) => {
1023
- return de_ChangeProgressStatus(entry);
1024
- });
1025
- return retVal;
1026
- };
1027
- const de_Pipeline = (output, context) => {
1028
- return smithyClient.take(output, {
1029
- BufferOptions: smithyClient._json,
1030
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1031
- Destinations: smithyClient._json,
1032
- EncryptionAtRestOptions: smithyClient._json,
1033
- IngestEndpointUrls: smithyClient._json,
1034
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1035
- LogPublishingOptions: smithyClient._json,
1036
- MaxUnits: smithyClient.expectInt32,
1037
- MinUnits: smithyClient.expectInt32,
1038
- PipelineArn: smithyClient.expectString,
1039
- PipelineConfigurationBody: smithyClient.expectString,
1040
- PipelineName: smithyClient.expectString,
1041
- PipelineRoleArn: smithyClient.expectString,
1042
- ServiceVpcEndpoints: smithyClient._json,
1043
- Status: smithyClient.expectString,
1044
- StatusReason: smithyClient._json,
1045
- Tags: smithyClient._json,
1046
- VpcEndpointService: smithyClient.expectString,
1047
- VpcEndpoints: smithyClient._json,
1048
- });
1049
- };
1050
- const de_PipelineSummary = (output, context) => {
1051
- return smithyClient.take(output, {
1052
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1053
- Destinations: smithyClient._json,
1054
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1055
- MaxUnits: smithyClient.expectInt32,
1056
- MinUnits: smithyClient.expectInt32,
1057
- PipelineArn: smithyClient.expectString,
1058
- PipelineName: smithyClient.expectString,
1059
- Status: smithyClient.expectString,
1060
- StatusReason: smithyClient._json,
1061
- Tags: smithyClient._json,
1062
- });
1063
- };
1064
- const de_PipelineSummaryList = (output, context) => {
1065
- const retVal = (output || [])
1066
- .filter((e) => e != null)
1067
- .map((entry) => {
1068
- return de_PipelineSummary(entry);
1069
- });
1070
- return retVal;
1071
- };
1072
- const deserializeMetadata = (output) => ({
1073
- httpStatusCode: output.statusCode,
1074
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1075
- extendedRequestId: output.headers["x-amz-id-2"],
1076
- cfId: output.headers["x-amz-cf-id"],
1077
- });
267
+
1078
268
  const _A = "Arn";
269
+ const _ADE = "AccessDeniedException";
270
+ const _ATV = "AttachToVpc";
271
+ const _B = "Blueprint";
272
+ const _BN = "BlueprintName";
273
+ const _BO = "BufferOptions";
274
+ const _Bl = "Blueprints";
275
+ const _CA = "CreatedAt";
276
+ const _CB = "CidrBlock";
277
+ const _CE = "ConflictException";
278
+ const _CP = "CreatePipeline";
279
+ const _CPE = "CreatePipelineEndpoint";
280
+ const _CPER = "CreatePipelineEndpointRequest";
281
+ const _CPERr = "CreatePipelineEndpointResponse";
282
+ const _CPR = "CreatePipelineRequest";
283
+ const _CPRr = "CreatePipelineResponse";
284
+ const _CPS = "ChangeProgressStage";
285
+ const _CPSL = "ChangeProgressStageList";
286
+ const _CPSLh = "ChangeProgressStatusList";
287
+ const _CPSh = "ChangeProgressStatus";
288
+ const _CPSha = "ChangeProgressStages";
289
+ const _CPShan = "ChangeProgressStatuses";
290
+ const _CWLD = "CloudWatchLogDestination";
291
+ const _D = "Description";
292
+ const _DD = "DisplayDescription";
293
+ const _DN = "DisplayName";
294
+ const _DOE = "DisabledOperationException";
295
+ const _DP = "DeletePipeline";
296
+ const _DPE = "DeletePipelineEndpoint";
297
+ const _DPER = "DeletePipelineEndpointRequest";
298
+ const _DPERe = "DeletePipelineEndpointResponse";
299
+ const _DPR = "DeletePipelineRequest";
300
+ const _DPRe = "DeletePipelineResponse";
301
+ const _DRP = "DeleteResourcePolicy";
302
+ const _DRPR = "DeleteResourcePolicyRequest";
303
+ const _DRPRe = "DeleteResourcePolicyResponse";
304
+ const _De = "Destinations";
305
+ const _E = "Endpoint";
306
+ const _EARO = "EncryptionAtRestOptions";
307
+ const _EI = "EndpointId";
308
+ const _EIn = "EndpointIds";
309
+ const _Er = "Errors";
1079
310
  const _F = "Format";
311
+ const _GP = "GetPipeline";
312
+ const _GPB = "GetPipelineBlueprint";
313
+ const _GPBR = "GetPipelineBlueprintRequest";
314
+ const _GPBRe = "GetPipelineBlueprintResponse";
315
+ const _GPCP = "GetPipelineChangeProgress";
316
+ const _GPCPR = "GetPipelineChangeProgressRequest";
317
+ const _GPCPRe = "GetPipelineChangeProgressResponse";
318
+ const _GPR = "GetPipelineRequest";
319
+ const _GPRe = "GetPipelineResponse";
320
+ const _GRP = "GetResourcePolicy";
321
+ const _GRPR = "GetResourcePolicyRequest";
322
+ const _GRPRe = "GetResourcePolicyResponse";
323
+ const _IE = "InternalException";
324
+ const _IEU = "IngestEndpointUrls";
325
+ const _IEUn = "IngestEndpointUrl";
326
+ const _ILE = "IsLoggingEnabled";
327
+ const _IPTE = "InvalidPaginationTokenException";
328
+ const _K = "Key";
329
+ const _KKA = "KmsKeyArn";
330
+ const _LEE = "LimitExceededException";
331
+ const _LG = "LogGroup";
332
+ const _LP = "ListPipelines";
333
+ const _LPB = "ListPipelineBlueprints";
334
+ const _LPBR = "ListPipelineBlueprintsRequest";
335
+ const _LPBRi = "ListPipelineBlueprintsResponse";
336
+ const _LPE = "ListPipelineEndpoints";
337
+ const _LPEC = "ListPipelineEndpointConnections";
338
+ const _LPECR = "ListPipelineEndpointConnectionsRequest";
339
+ const _LPECRi = "ListPipelineEndpointConnectionsResponse";
340
+ const _LPER = "ListPipelineEndpointsRequest";
341
+ const _LPERi = "ListPipelineEndpointsResponse";
342
+ const _LPO = "LogPublishingOptions";
343
+ const _LPR = "ListPipelinesRequest";
344
+ const _LPRi = "ListPipelinesResponse";
345
+ const _LTFR = "ListTagsForResource";
346
+ const _LTFRR = "ListTagsForResourceRequest";
347
+ const _LTFRRi = "ListTagsForResourceResponse";
348
+ const _LUA = "LastUpdatedAt";
349
+ const _M = "Message";
1080
350
  const _MR = "MaxResults";
351
+ const _MU = "MinUnits";
352
+ const _MUa = "MaxUnits";
353
+ const _N = "Name";
1081
354
  const _NT = "NextToken";
355
+ const _P = "Pipeline";
356
+ const _PA = "PipelineArn";
357
+ const _PB = "PipelineBlueprint";
358
+ const _PBE = "PersistentBufferEnabled";
359
+ const _PBS = "PipelineBlueprintSummary";
360
+ const _PBSL = "PipelineBlueprintsSummaryList";
361
+ const _PCB = "PipelineConfigurationBody";
362
+ const _PD = "PipelineDestination";
363
+ const _PDL = "PipelineDestinationList";
364
+ const _PE = "PipelineEndpoints";
365
+ const _PEC = "PipelineEndpointConnections";
366
+ const _PECSL = "PipelineEndpointConnectionsSummaryList";
367
+ const _PECi = "PipelineEndpointConnection";
368
+ const _PESL = "PipelineEndpointsSummaryList";
369
+ const _PEVO = "PipelineEndpointVpcOptions";
370
+ const _PEi = "PipelineEndpoint";
371
+ const _PN = "PipelineName";
372
+ const _PRA = "PipelineRoleArn";
373
+ const _PRP = "PutResourcePolicy";
374
+ const _PRPR = "PutResourcePolicyRequest";
375
+ const _PRPRu = "PutResourcePolicyResponse";
376
+ const _PS = "PipelineSummary";
377
+ const _PSL = "PipelineSummaryList";
378
+ const _PSR = "PipelineStatusReason";
379
+ const _Pi = "Pipelines";
380
+ const _Po = "Policy";
381
+ const _RA = "ResourceArn";
382
+ const _RAEE = "ResourceAlreadyExistsException";
383
+ const _RNFE = "ResourceNotFoundException";
384
+ const _RPEC = "RevokePipelineEndpointConnections";
385
+ const _RPECR = "RevokePipelineEndpointConnectionsRequest";
386
+ const _RPECRe = "RevokePipelineEndpointConnectionsResponse";
387
+ const _S = "Status";
388
+ const _SGI = "SecurityGroupIds";
389
+ const _SI = "SubnetIds";
390
+ const _SN = "ServiceName";
391
+ const _SP = "StartPipeline";
392
+ const _SPR = "StartPipelineRequest";
393
+ const _SPRt = "StartPipelineResponse";
394
+ const _SPRto = "StopPipelineRequest";
395
+ const _SPRtop = "StopPipelineResponse";
396
+ const _SPt = "StopPipeline";
397
+ const _SR = "StatusReason";
398
+ const _ST = "StartTime";
399
+ const _SVE = "ServiceVpcEndpoints";
400
+ const _SVEL = "ServiceVpcEndpointsList";
401
+ const _SVEe = "ServiceVpcEndpoint";
402
+ const _Se = "Service";
403
+ const _T = "Tags";
404
+ const _TK = "TagKeys";
405
+ const _TL = "TagList";
406
+ const _TNOS = "TotalNumberOfStages";
407
+ const _TR = "TagResource";
408
+ const _TRR = "TagResourceRequest";
409
+ const _TRRa = "TagResourceResponse";
410
+ const _Ta = "Tag";
411
+ const _UC = "UseCase";
412
+ const _UP = "UpdatePipeline";
413
+ const _UPR = "UpdatePipelineRequest";
414
+ const _UPRp = "UpdatePipelineResponse";
415
+ const _UR = "UntagResource";
416
+ const _URR = "UntagResourceRequest";
417
+ const _URRn = "UntagResourceResponse";
418
+ const _V = "Value";
419
+ const _VAO = "VpcAttachmentOptions";
420
+ const _VE = "VpcEndpoints";
421
+ const _VEI = "VpcEndpointId";
422
+ const _VEL = "VpcEndpointsList";
423
+ const _VEM = "VpcEndpointManagement";
424
+ const _VEO = "VpcEndpointOwner";
425
+ const _VES = "VpcEndpointService";
426
+ const _VEa = "ValidationException";
427
+ const _VEp = "VpcEndpoint";
428
+ const _VI = "VpcId";
429
+ const _VM = "ValidationMessage";
430
+ const _VML = "ValidationMessageList";
431
+ const _VO = "VpcOptions";
432
+ const _VP = "ValidatePipeline";
433
+ const _VPR = "ValidatePipelineRequest";
434
+ const _VPRa = "ValidatePipelineResponse";
1082
435
  const _a = "arn";
436
+ const _c = "client";
437
+ const _e = "error";
1083
438
  const _f = "format";
439
+ const _h = "http";
440
+ const _hE = "httpError";
441
+ const _hQ = "httpQuery";
442
+ const _iV = "isValid";
443
+ const _m = "message";
1084
444
  const _mR = "maxResults";
1085
445
  const _nT = "nextToken";
446
+ const _s = "server";
447
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.osis";
448
+ const n0 = "com.amazonaws.osis";
449
+ var AccessDeniedException = [
450
+ -3,
451
+ n0,
452
+ _ADE,
453
+ {
454
+ [_e]: _c,
455
+ [_hE]: 403,
456
+ },
457
+ [_m],
458
+ [0],
459
+ ];
460
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
461
+ var BufferOptions = [3, n0, _BO, 0, [_PBE], [2]];
462
+ var ChangeProgressStage = [3, n0, _CPS, 0, [_N, _S, _D, _LUA], [0, 0, 0, 4]];
463
+ var ChangeProgressStatus = [
464
+ 3,
465
+ n0,
466
+ _CPSh,
467
+ 0,
468
+ [_ST, _S, _TNOS, _CPSha],
469
+ [4, 0, 1, () => ChangeProgressStageList],
470
+ ];
471
+ var CloudWatchLogDestination = [3, n0, _CWLD, 0, [_LG], [0]];
472
+ var ConflictException = [
473
+ -3,
474
+ n0,
475
+ _CE,
476
+ {
477
+ [_e]: _c,
478
+ [_hE]: 409,
479
+ },
480
+ [_m],
481
+ [0],
482
+ ];
483
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
484
+ var CreatePipelineEndpointRequest = [
485
+ 3,
486
+ n0,
487
+ _CPER,
488
+ 0,
489
+ [_PA, _VO],
490
+ [0, () => PipelineEndpointVpcOptions],
491
+ ];
492
+ var CreatePipelineEndpointResponse = [
493
+ 3,
494
+ n0,
495
+ _CPERr,
496
+ 0,
497
+ [_PA, _EI, _S, _VI],
498
+ [0, 0, 0, 0],
499
+ ];
500
+ var CreatePipelineRequest = [
501
+ 3,
502
+ n0,
503
+ _CPR,
504
+ 0,
505
+ [_PN, _MU, _MUa, _PCB, _LPO, _VO, _BO, _EARO, _T, _PRA],
506
+ [
507
+ 0,
508
+ 1,
509
+ 1,
510
+ 0,
511
+ () => LogPublishingOptions,
512
+ () => VpcOptions,
513
+ () => BufferOptions,
514
+ () => EncryptionAtRestOptions,
515
+ () => TagList,
516
+ 0,
517
+ ],
518
+ ];
519
+ var CreatePipelineResponse = [3, n0, _CPRr, 0, [_P], [() => Pipeline]];
520
+ var DeletePipelineEndpointRequest = [3, n0, _DPER, 0, [_EI], [[0, 1]]];
521
+ var DeletePipelineEndpointResponse = [3, n0, _DPERe, 0, [], []];
522
+ var DeletePipelineRequest = [3, n0, _DPR, 0, [_PN], [[0, 1]]];
523
+ var DeletePipelineResponse = [3, n0, _DPRe, 0, [], []];
524
+ var DeleteResourcePolicyRequest = [3, n0, _DRPR, 0, [_RA], [[0, 1]]];
525
+ var DeleteResourcePolicyResponse = [3, n0, _DRPRe, 0, [], []];
526
+ var DisabledOperationException = [
527
+ -3,
528
+ n0,
529
+ _DOE,
530
+ {
531
+ [_e]: _c,
532
+ [_hE]: 409,
533
+ },
534
+ [_m],
535
+ [0],
536
+ ];
537
+ schema.TypeRegistry.for(n0).registerError(DisabledOperationException, DisabledOperationException$1);
538
+ var EncryptionAtRestOptions = [3, n0, _EARO, 0, [_KKA], [0]];
539
+ var GetPipelineBlueprintRequest = [
540
+ 3,
541
+ n0,
542
+ _GPBR,
543
+ 0,
544
+ [_BN, _F],
545
+ [
546
+ [0, 1],
547
+ [
548
+ 0,
549
+ {
550
+ [_hQ]: _f,
551
+ },
552
+ ],
553
+ ],
554
+ ];
555
+ var GetPipelineBlueprintResponse = [
556
+ 3,
557
+ n0,
558
+ _GPBRe,
559
+ 0,
560
+ [_B, _F],
561
+ [() => PipelineBlueprint, 0],
562
+ ];
563
+ var GetPipelineChangeProgressRequest = [3, n0, _GPCPR, 0, [_PN], [[0, 1]]];
564
+ var GetPipelineChangeProgressResponse = [
565
+ 3,
566
+ n0,
567
+ _GPCPRe,
568
+ 0,
569
+ [_CPShan],
570
+ [() => ChangeProgressStatusList],
571
+ ];
572
+ var GetPipelineRequest = [3, n0, _GPR, 0, [_PN], [[0, 1]]];
573
+ var GetPipelineResponse = [3, n0, _GPRe, 0, [_P], [() => Pipeline]];
574
+ var GetResourcePolicyRequest = [3, n0, _GRPR, 0, [_RA], [[0, 1]]];
575
+ var GetResourcePolicyResponse = [3, n0, _GRPRe, 0, [_RA, _Po], [0, 0]];
576
+ var InternalException = [
577
+ -3,
578
+ n0,
579
+ _IE,
580
+ {
581
+ [_e]: _s,
582
+ [_hE]: 500,
583
+ },
584
+ [_m],
585
+ [0],
586
+ ];
587
+ schema.TypeRegistry.for(n0).registerError(InternalException, InternalException$1);
588
+ var InvalidPaginationTokenException = [
589
+ -3,
590
+ n0,
591
+ _IPTE,
592
+ {
593
+ [_e]: _c,
594
+ [_hE]: 400,
595
+ },
596
+ [_m],
597
+ [0],
598
+ ];
599
+ schema.TypeRegistry.for(n0).registerError(InvalidPaginationTokenException, InvalidPaginationTokenException$1);
600
+ var LimitExceededException = [
601
+ -3,
602
+ n0,
603
+ _LEE,
604
+ {
605
+ [_e]: _c,
606
+ [_hE]: 409,
607
+ },
608
+ [_m],
609
+ [0],
610
+ ];
611
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
612
+ var ListPipelineBlueprintsRequest = [3, n0, _LPBR, 0, [], []];
613
+ var ListPipelineBlueprintsResponse = [
614
+ 3,
615
+ n0,
616
+ _LPBRi,
617
+ 0,
618
+ [_Bl],
619
+ [() => PipelineBlueprintsSummaryList],
620
+ ];
621
+ var ListPipelineEndpointConnectionsRequest = [
622
+ 3,
623
+ n0,
624
+ _LPECR,
625
+ 0,
626
+ [_MR, _NT],
627
+ [
628
+ [
629
+ 1,
630
+ {
631
+ [_hQ]: _mR,
632
+ },
633
+ ],
634
+ [
635
+ 0,
636
+ {
637
+ [_hQ]: _nT,
638
+ },
639
+ ],
640
+ ],
641
+ ];
642
+ var ListPipelineEndpointConnectionsResponse = [
643
+ 3,
644
+ n0,
645
+ _LPECRi,
646
+ 0,
647
+ [_NT, _PEC],
648
+ [0, () => PipelineEndpointConnectionsSummaryList],
649
+ ];
650
+ var ListPipelineEndpointsRequest = [
651
+ 3,
652
+ n0,
653
+ _LPER,
654
+ 0,
655
+ [_MR, _NT],
656
+ [
657
+ [
658
+ 1,
659
+ {
660
+ [_hQ]: _mR,
661
+ },
662
+ ],
663
+ [
664
+ 0,
665
+ {
666
+ [_hQ]: _nT,
667
+ },
668
+ ],
669
+ ],
670
+ ];
671
+ var ListPipelineEndpointsResponse = [
672
+ 3,
673
+ n0,
674
+ _LPERi,
675
+ 0,
676
+ [_NT, _PE],
677
+ [0, () => PipelineEndpointsSummaryList],
678
+ ];
679
+ var ListPipelinesRequest = [
680
+ 3,
681
+ n0,
682
+ _LPR,
683
+ 0,
684
+ [_MR, _NT],
685
+ [
686
+ [
687
+ 1,
688
+ {
689
+ [_hQ]: _mR,
690
+ },
691
+ ],
692
+ [
693
+ 0,
694
+ {
695
+ [_hQ]: _nT,
696
+ },
697
+ ],
698
+ ],
699
+ ];
700
+ var ListPipelinesResponse = [3, n0, _LPRi, 0, [_NT, _Pi], [0, () => PipelineSummaryList]];
701
+ var ListTagsForResourceRequest = [
702
+ 3,
703
+ n0,
704
+ _LTFRR,
705
+ 0,
706
+ [_A],
707
+ [
708
+ [
709
+ 0,
710
+ {
711
+ [_hQ]: _a,
712
+ },
713
+ ],
714
+ ],
715
+ ];
716
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
717
+ var LogPublishingOptions = [
718
+ 3,
719
+ n0,
720
+ _LPO,
721
+ 0,
722
+ [_ILE, _CWLD],
723
+ [2, () => CloudWatchLogDestination],
724
+ ];
725
+ var Pipeline = [
726
+ 3,
727
+ n0,
728
+ _P,
729
+ 0,
730
+ [_PN, _PA, _MU, _MUa, _S, _SR, _PCB, _CA, _LUA, _IEU, _LPO, _VE, _BO, _EARO, _VES, _SVE, _De, _T, _PRA],
731
+ [
732
+ 0,
733
+ 0,
734
+ 1,
735
+ 1,
736
+ 0,
737
+ () => PipelineStatusReason,
738
+ 0,
739
+ 4,
740
+ 4,
741
+ 64 | 0,
742
+ () => LogPublishingOptions,
743
+ () => VpcEndpointsList,
744
+ () => BufferOptions,
745
+ () => EncryptionAtRestOptions,
746
+ 0,
747
+ () => ServiceVpcEndpointsList,
748
+ () => PipelineDestinationList,
749
+ () => TagList,
750
+ 0,
751
+ ],
752
+ ];
753
+ var PipelineBlueprint = [
754
+ 3,
755
+ n0,
756
+ _PB,
757
+ 0,
758
+ [_BN, _PCB, _DN, _DD, _Se, _UC],
759
+ [0, 0, 0, 0, 0, 0],
760
+ ];
761
+ var PipelineBlueprintSummary = [
762
+ 3,
763
+ n0,
764
+ _PBS,
765
+ 0,
766
+ [_BN, _DN, _DD, _Se, _UC],
767
+ [0, 0, 0, 0, 0],
768
+ ];
769
+ var PipelineDestination = [3, n0, _PD, 0, [_SN, _E], [0, 0]];
770
+ var PipelineEndpoint = [
771
+ 3,
772
+ n0,
773
+ _PEi,
774
+ 0,
775
+ [_PA, _EI, _S, _VI, _VO, _IEUn],
776
+ [0, 0, 0, 0, () => PipelineEndpointVpcOptions, 0],
777
+ ];
778
+ var PipelineEndpointConnection = [3, n0, _PECi, 0, [_PA, _EI, _S, _VEO], [0, 0, 0, 0]];
779
+ var PipelineEndpointVpcOptions = [3, n0, _PEVO, 0, [_SI, _SGI], [64 | 0, 64 | 0]];
780
+ var PipelineStatusReason = [3, n0, _PSR, 0, [_D], [0]];
781
+ var PipelineSummary = [
782
+ 3,
783
+ n0,
784
+ _PS,
785
+ 0,
786
+ [_S, _SR, _PN, _PA, _MU, _MUa, _CA, _LUA, _De, _T],
787
+ [0, () => PipelineStatusReason, 0, 0, 1, 1, 4, 4, () => PipelineDestinationList, () => TagList],
788
+ ];
789
+ var PutResourcePolicyRequest = [3, n0, _PRPR, 0, [_RA, _Po], [[0, 1], 0]];
790
+ var PutResourcePolicyResponse = [3, n0, _PRPRu, 0, [_RA, _Po], [0, 0]];
791
+ var ResourceAlreadyExistsException = [
792
+ -3,
793
+ n0,
794
+ _RAEE,
795
+ {
796
+ [_e]: _c,
797
+ [_hE]: 409,
798
+ },
799
+ [_m],
800
+ [0],
801
+ ];
802
+ schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
803
+ var ResourceNotFoundException = [
804
+ -3,
805
+ n0,
806
+ _RNFE,
807
+ {
808
+ [_e]: _c,
809
+ [_hE]: 404,
810
+ },
811
+ [_m],
812
+ [0],
813
+ ];
814
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
815
+ var RevokePipelineEndpointConnectionsRequest = [
816
+ 3,
817
+ n0,
818
+ _RPECR,
819
+ 0,
820
+ [_PA, _EIn],
821
+ [0, 64 | 0],
822
+ ];
823
+ var RevokePipelineEndpointConnectionsResponse = [3, n0, _RPECRe, 0, [_PA], [0]];
824
+ var ServiceVpcEndpoint = [3, n0, _SVEe, 0, [_SN, _VEI], [0, 0]];
825
+ var StartPipelineRequest = [3, n0, _SPR, 0, [_PN], [[0, 1]]];
826
+ var StartPipelineResponse = [3, n0, _SPRt, 0, [_P], [() => Pipeline]];
827
+ var StopPipelineRequest = [3, n0, _SPRto, 0, [_PN], [[0, 1]]];
828
+ var StopPipelineResponse = [3, n0, _SPRtop, 0, [_P], [() => Pipeline]];
829
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
830
+ var TagResourceRequest = [
831
+ 3,
832
+ n0,
833
+ _TRR,
834
+ 0,
835
+ [_A, _T],
836
+ [
837
+ [
838
+ 0,
839
+ {
840
+ [_hQ]: _a,
841
+ },
842
+ ],
843
+ () => TagList,
844
+ ],
845
+ ];
846
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
847
+ var UntagResourceRequest = [
848
+ 3,
849
+ n0,
850
+ _URR,
851
+ 0,
852
+ [_A, _TK],
853
+ [
854
+ [
855
+ 0,
856
+ {
857
+ [_hQ]: _a,
858
+ },
859
+ ],
860
+ 64 | 0,
861
+ ],
862
+ ];
863
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
864
+ var UpdatePipelineRequest = [
865
+ 3,
866
+ n0,
867
+ _UPR,
868
+ 0,
869
+ [_PN, _MU, _MUa, _PCB, _LPO, _BO, _EARO, _PRA],
870
+ [[0, 1], 1, 1, 0, () => LogPublishingOptions, () => BufferOptions, () => EncryptionAtRestOptions, 0],
871
+ ];
872
+ var UpdatePipelineResponse = [3, n0, _UPRp, 0, [_P], [() => Pipeline]];
873
+ var ValidatePipelineRequest = [3, n0, _VPR, 0, [_PCB], [0]];
874
+ var ValidatePipelineResponse = [
875
+ 3,
876
+ n0,
877
+ _VPRa,
878
+ 0,
879
+ [_iV, _Er],
880
+ [2, () => ValidationMessageList],
881
+ ];
882
+ var ValidationException = [
883
+ -3,
884
+ n0,
885
+ _VEa,
886
+ {
887
+ [_e]: _c,
888
+ [_hE]: 400,
889
+ },
890
+ [_m],
891
+ [0],
892
+ ];
893
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
894
+ var ValidationMessage = [3, n0, _VM, 0, [_M], [0]];
895
+ var VpcAttachmentOptions = [3, n0, _VAO, 0, [_ATV, _CB], [2, 0]];
896
+ var VpcEndpoint = [3, n0, _VEp, 0, [_VEI, _VI, _VO], [0, 0, () => VpcOptions]];
897
+ var VpcOptions = [
898
+ 3,
899
+ n0,
900
+ _VO,
901
+ 0,
902
+ [_SI, _SGI, _VAO, _VEM],
903
+ [64 | 0, 64 | 0, () => VpcAttachmentOptions, 0],
904
+ ];
905
+ var OSISServiceException = [-3, _sm, "OSISServiceException", 0, [], []];
906
+ schema.TypeRegistry.for(_sm).registerError(OSISServiceException, OSISServiceException$1);
907
+ var ChangeProgressStageList = [1, n0, _CPSL, 0, () => ChangeProgressStage];
908
+ var ChangeProgressStatusList = [1, n0, _CPSLh, 0, () => ChangeProgressStatus];
909
+ var PipelineBlueprintsSummaryList = [1, n0, _PBSL, 0, () => PipelineBlueprintSummary];
910
+ var PipelineDestinationList = [1, n0, _PDL, 0, () => PipelineDestination];
911
+ var PipelineEndpointConnectionsSummaryList = [
912
+ 1,
913
+ n0,
914
+ _PECSL,
915
+ 0,
916
+ () => PipelineEndpointConnection,
917
+ ];
918
+ var PipelineEndpointsSummaryList = [1, n0, _PESL, 0, () => PipelineEndpoint];
919
+ var PipelineSummaryList = [1, n0, _PSL, 0, () => PipelineSummary];
920
+ var ServiceVpcEndpointsList = [1, n0, _SVEL, 0, () => ServiceVpcEndpoint];
921
+ var TagList = [1, n0, _TL, 0, () => Tag];
922
+ var ValidationMessageList = [1, n0, _VML, 0, () => ValidationMessage];
923
+ var VpcEndpointsList = [1, n0, _VEL, 0, () => VpcEndpoint];
924
+ var CreatePipeline = [
925
+ 9,
926
+ n0,
927
+ _CP,
928
+ {
929
+ [_h]: ["POST", "/2022-01-01/osis/createPipeline", 200],
930
+ },
931
+ () => CreatePipelineRequest,
932
+ () => CreatePipelineResponse,
933
+ ];
934
+ var CreatePipelineEndpoint = [
935
+ 9,
936
+ n0,
937
+ _CPE,
938
+ {
939
+ [_h]: ["POST", "/2022-01-01/osis/createPipelineEndpoint", 200],
940
+ },
941
+ () => CreatePipelineEndpointRequest,
942
+ () => CreatePipelineEndpointResponse,
943
+ ];
944
+ var DeletePipeline = [
945
+ 9,
946
+ n0,
947
+ _DP,
948
+ {
949
+ [_h]: ["DELETE", "/2022-01-01/osis/deletePipeline/{PipelineName}", 200],
950
+ },
951
+ () => DeletePipelineRequest,
952
+ () => DeletePipelineResponse,
953
+ ];
954
+ var DeletePipelineEndpoint = [
955
+ 9,
956
+ n0,
957
+ _DPE,
958
+ {
959
+ [_h]: ["DELETE", "/2022-01-01/osis/deletePipelineEndpoint/{EndpointId}", 200],
960
+ },
961
+ () => DeletePipelineEndpointRequest,
962
+ () => DeletePipelineEndpointResponse,
963
+ ];
964
+ var DeleteResourcePolicy = [
965
+ 9,
966
+ n0,
967
+ _DRP,
968
+ {
969
+ [_h]: ["DELETE", "/2022-01-01/osis/resourcePolicy/{ResourceArn}", 200],
970
+ },
971
+ () => DeleteResourcePolicyRequest,
972
+ () => DeleteResourcePolicyResponse,
973
+ ];
974
+ var GetPipeline = [
975
+ 9,
976
+ n0,
977
+ _GP,
978
+ {
979
+ [_h]: ["GET", "/2022-01-01/osis/getPipeline/{PipelineName}", 200],
980
+ },
981
+ () => GetPipelineRequest,
982
+ () => GetPipelineResponse,
983
+ ];
984
+ var GetPipelineBlueprint = [
985
+ 9,
986
+ n0,
987
+ _GPB,
988
+ {
989
+ [_h]: ["GET", "/2022-01-01/osis/getPipelineBlueprint/{BlueprintName}", 200],
990
+ },
991
+ () => GetPipelineBlueprintRequest,
992
+ () => GetPipelineBlueprintResponse,
993
+ ];
994
+ var GetPipelineChangeProgress = [
995
+ 9,
996
+ n0,
997
+ _GPCP,
998
+ {
999
+ [_h]: ["GET", "/2022-01-01/osis/getPipelineChangeProgress/{PipelineName}", 200],
1000
+ },
1001
+ () => GetPipelineChangeProgressRequest,
1002
+ () => GetPipelineChangeProgressResponse,
1003
+ ];
1004
+ var GetResourcePolicy = [
1005
+ 9,
1006
+ n0,
1007
+ _GRP,
1008
+ {
1009
+ [_h]: ["GET", "/2022-01-01/osis/resourcePolicy/{ResourceArn}", 200],
1010
+ },
1011
+ () => GetResourcePolicyRequest,
1012
+ () => GetResourcePolicyResponse,
1013
+ ];
1014
+ var ListPipelineBlueprints = [
1015
+ 9,
1016
+ n0,
1017
+ _LPB,
1018
+ {
1019
+ [_h]: ["POST", "/2022-01-01/osis/listPipelineBlueprints", 200],
1020
+ },
1021
+ () => ListPipelineBlueprintsRequest,
1022
+ () => ListPipelineBlueprintsResponse,
1023
+ ];
1024
+ var ListPipelineEndpointConnections = [
1025
+ 9,
1026
+ n0,
1027
+ _LPEC,
1028
+ {
1029
+ [_h]: ["GET", "/2022-01-01/osis/listPipelineEndpointConnections", 200],
1030
+ },
1031
+ () => ListPipelineEndpointConnectionsRequest,
1032
+ () => ListPipelineEndpointConnectionsResponse,
1033
+ ];
1034
+ var ListPipelineEndpoints = [
1035
+ 9,
1036
+ n0,
1037
+ _LPE,
1038
+ {
1039
+ [_h]: ["GET", "/2022-01-01/osis/listPipelineEndpoints", 200],
1040
+ },
1041
+ () => ListPipelineEndpointsRequest,
1042
+ () => ListPipelineEndpointsResponse,
1043
+ ];
1044
+ var ListPipelines = [
1045
+ 9,
1046
+ n0,
1047
+ _LP,
1048
+ {
1049
+ [_h]: ["GET", "/2022-01-01/osis/listPipelines", 200],
1050
+ },
1051
+ () => ListPipelinesRequest,
1052
+ () => ListPipelinesResponse,
1053
+ ];
1054
+ var ListTagsForResource = [
1055
+ 9,
1056
+ n0,
1057
+ _LTFR,
1058
+ {
1059
+ [_h]: ["GET", "/2022-01-01/osis/listTagsForResource", 200],
1060
+ },
1061
+ () => ListTagsForResourceRequest,
1062
+ () => ListTagsForResourceResponse,
1063
+ ];
1064
+ var PutResourcePolicy = [
1065
+ 9,
1066
+ n0,
1067
+ _PRP,
1068
+ {
1069
+ [_h]: ["PUT", "/2022-01-01/osis/resourcePolicy/{ResourceArn}", 200],
1070
+ },
1071
+ () => PutResourcePolicyRequest,
1072
+ () => PutResourcePolicyResponse,
1073
+ ];
1074
+ var RevokePipelineEndpointConnections = [
1075
+ 9,
1076
+ n0,
1077
+ _RPEC,
1078
+ {
1079
+ [_h]: ["POST", "/2022-01-01/osis/revokePipelineEndpointConnections", 200],
1080
+ },
1081
+ () => RevokePipelineEndpointConnectionsRequest,
1082
+ () => RevokePipelineEndpointConnectionsResponse,
1083
+ ];
1084
+ var StartPipeline = [
1085
+ 9,
1086
+ n0,
1087
+ _SP,
1088
+ {
1089
+ [_h]: ["PUT", "/2022-01-01/osis/startPipeline/{PipelineName}", 200],
1090
+ },
1091
+ () => StartPipelineRequest,
1092
+ () => StartPipelineResponse,
1093
+ ];
1094
+ var StopPipeline = [
1095
+ 9,
1096
+ n0,
1097
+ _SPt,
1098
+ {
1099
+ [_h]: ["PUT", "/2022-01-01/osis/stopPipeline/{PipelineName}", 200],
1100
+ },
1101
+ () => StopPipelineRequest,
1102
+ () => StopPipelineResponse,
1103
+ ];
1104
+ var TagResource = [
1105
+ 9,
1106
+ n0,
1107
+ _TR,
1108
+ {
1109
+ [_h]: ["POST", "/2022-01-01/osis/tagResource", 200],
1110
+ },
1111
+ () => TagResourceRequest,
1112
+ () => TagResourceResponse,
1113
+ ];
1114
+ var UntagResource = [
1115
+ 9,
1116
+ n0,
1117
+ _UR,
1118
+ {
1119
+ [_h]: ["POST", "/2022-01-01/osis/untagResource", 200],
1120
+ },
1121
+ () => UntagResourceRequest,
1122
+ () => UntagResourceResponse,
1123
+ ];
1124
+ var UpdatePipeline = [
1125
+ 9,
1126
+ n0,
1127
+ _UP,
1128
+ {
1129
+ [_h]: ["PUT", "/2022-01-01/osis/updatePipeline/{PipelineName}", 200],
1130
+ },
1131
+ () => UpdatePipelineRequest,
1132
+ () => UpdatePipelineResponse,
1133
+ ];
1134
+ var ValidatePipeline = [
1135
+ 9,
1136
+ n0,
1137
+ _VP,
1138
+ {
1139
+ [_h]: ["POST", "/2022-01-01/osis/validatePipeline", 200],
1140
+ },
1141
+ () => ValidatePipelineRequest,
1142
+ () => ValidatePipelineResponse,
1143
+ ];
1086
1144
 
1087
1145
  class CreatePipelineCommand extends smithyClient.Command
1088
1146
  .classBuilder()
1089
1147
  .ep(commonParams)
1090
1148
  .m(function (Command, cs, config, o) {
1091
- return [
1092
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1093
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1094
- ];
1149
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1095
1150
  })
1096
1151
  .s("AmazonOpenSearchIngestionService", "CreatePipeline", {})
1097
1152
  .n("OSISClient", "CreatePipelineCommand")
1098
- .f(void 0, void 0)
1099
- .ser(se_CreatePipelineCommand)
1100
- .de(de_CreatePipelineCommand)
1153
+ .sc(CreatePipeline)
1101
1154
  .build() {
1102
1155
  }
1103
1156
 
@@ -1105,16 +1158,11 @@ class CreatePipelineEndpointCommand extends smithyClient.Command
1105
1158
  .classBuilder()
1106
1159
  .ep(commonParams)
1107
1160
  .m(function (Command, cs, config, o) {
1108
- return [
1109
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1110
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1111
- ];
1161
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1112
1162
  })
1113
1163
  .s("AmazonOpenSearchIngestionService", "CreatePipelineEndpoint", {})
1114
1164
  .n("OSISClient", "CreatePipelineEndpointCommand")
1115
- .f(void 0, void 0)
1116
- .ser(se_CreatePipelineEndpointCommand)
1117
- .de(de_CreatePipelineEndpointCommand)
1165
+ .sc(CreatePipelineEndpoint)
1118
1166
  .build() {
1119
1167
  }
1120
1168
 
@@ -1122,16 +1170,11 @@ class DeletePipelineCommand extends smithyClient.Command
1122
1170
  .classBuilder()
1123
1171
  .ep(commonParams)
1124
1172
  .m(function (Command, cs, config, o) {
1125
- return [
1126
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1127
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1128
- ];
1173
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1129
1174
  })
1130
1175
  .s("AmazonOpenSearchIngestionService", "DeletePipeline", {})
1131
1176
  .n("OSISClient", "DeletePipelineCommand")
1132
- .f(void 0, void 0)
1133
- .ser(se_DeletePipelineCommand)
1134
- .de(de_DeletePipelineCommand)
1177
+ .sc(DeletePipeline)
1135
1178
  .build() {
1136
1179
  }
1137
1180
 
@@ -1139,16 +1182,11 @@ class DeletePipelineEndpointCommand extends smithyClient.Command
1139
1182
  .classBuilder()
1140
1183
  .ep(commonParams)
1141
1184
  .m(function (Command, cs, config, o) {
1142
- return [
1143
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1144
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1145
- ];
1185
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1146
1186
  })
1147
1187
  .s("AmazonOpenSearchIngestionService", "DeletePipelineEndpoint", {})
1148
1188
  .n("OSISClient", "DeletePipelineEndpointCommand")
1149
- .f(void 0, void 0)
1150
- .ser(se_DeletePipelineEndpointCommand)
1151
- .de(de_DeletePipelineEndpointCommand)
1189
+ .sc(DeletePipelineEndpoint)
1152
1190
  .build() {
1153
1191
  }
1154
1192
 
@@ -1156,16 +1194,11 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
1156
1194
  .classBuilder()
1157
1195
  .ep(commonParams)
1158
1196
  .m(function (Command, cs, config, o) {
1159
- return [
1160
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1161
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1162
- ];
1197
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1163
1198
  })
1164
1199
  .s("AmazonOpenSearchIngestionService", "DeleteResourcePolicy", {})
1165
1200
  .n("OSISClient", "DeleteResourcePolicyCommand")
1166
- .f(void 0, void 0)
1167
- .ser(se_DeleteResourcePolicyCommand)
1168
- .de(de_DeleteResourcePolicyCommand)
1201
+ .sc(DeleteResourcePolicy)
1169
1202
  .build() {
1170
1203
  }
1171
1204
 
@@ -1173,16 +1206,11 @@ class GetPipelineBlueprintCommand extends smithyClient.Command
1173
1206
  .classBuilder()
1174
1207
  .ep(commonParams)
1175
1208
  .m(function (Command, cs, config, o) {
1176
- return [
1177
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1178
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1179
- ];
1209
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1180
1210
  })
1181
1211
  .s("AmazonOpenSearchIngestionService", "GetPipelineBlueprint", {})
1182
1212
  .n("OSISClient", "GetPipelineBlueprintCommand")
1183
- .f(void 0, void 0)
1184
- .ser(se_GetPipelineBlueprintCommand)
1185
- .de(de_GetPipelineBlueprintCommand)
1213
+ .sc(GetPipelineBlueprint)
1186
1214
  .build() {
1187
1215
  }
1188
1216
 
@@ -1190,16 +1218,11 @@ class GetPipelineChangeProgressCommand extends smithyClient.Command
1190
1218
  .classBuilder()
1191
1219
  .ep(commonParams)
1192
1220
  .m(function (Command, cs, config, o) {
1193
- return [
1194
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1195
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1196
- ];
1221
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1197
1222
  })
1198
1223
  .s("AmazonOpenSearchIngestionService", "GetPipelineChangeProgress", {})
1199
1224
  .n("OSISClient", "GetPipelineChangeProgressCommand")
1200
- .f(void 0, void 0)
1201
- .ser(se_GetPipelineChangeProgressCommand)
1202
- .de(de_GetPipelineChangeProgressCommand)
1225
+ .sc(GetPipelineChangeProgress)
1203
1226
  .build() {
1204
1227
  }
1205
1228
 
@@ -1207,16 +1230,11 @@ class GetPipelineCommand extends smithyClient.Command
1207
1230
  .classBuilder()
1208
1231
  .ep(commonParams)
1209
1232
  .m(function (Command, cs, config, o) {
1210
- return [
1211
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1212
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1213
- ];
1233
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1214
1234
  })
1215
1235
  .s("AmazonOpenSearchIngestionService", "GetPipeline", {})
1216
1236
  .n("OSISClient", "GetPipelineCommand")
1217
- .f(void 0, void 0)
1218
- .ser(se_GetPipelineCommand)
1219
- .de(de_GetPipelineCommand)
1237
+ .sc(GetPipeline)
1220
1238
  .build() {
1221
1239
  }
1222
1240
 
@@ -1224,16 +1242,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
1224
1242
  .classBuilder()
1225
1243
  .ep(commonParams)
1226
1244
  .m(function (Command, cs, config, o) {
1227
- return [
1228
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1229
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1230
- ];
1245
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1231
1246
  })
1232
1247
  .s("AmazonOpenSearchIngestionService", "GetResourcePolicy", {})
1233
1248
  .n("OSISClient", "GetResourcePolicyCommand")
1234
- .f(void 0, void 0)
1235
- .ser(se_GetResourcePolicyCommand)
1236
- .de(de_GetResourcePolicyCommand)
1249
+ .sc(GetResourcePolicy)
1237
1250
  .build() {
1238
1251
  }
1239
1252
 
@@ -1241,16 +1254,11 @@ class ListPipelineBlueprintsCommand extends smithyClient.Command
1241
1254
  .classBuilder()
1242
1255
  .ep(commonParams)
1243
1256
  .m(function (Command, cs, config, o) {
1244
- return [
1245
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1246
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1247
- ];
1257
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1248
1258
  })
1249
1259
  .s("AmazonOpenSearchIngestionService", "ListPipelineBlueprints", {})
1250
1260
  .n("OSISClient", "ListPipelineBlueprintsCommand")
1251
- .f(void 0, void 0)
1252
- .ser(se_ListPipelineBlueprintsCommand)
1253
- .de(de_ListPipelineBlueprintsCommand)
1261
+ .sc(ListPipelineBlueprints)
1254
1262
  .build() {
1255
1263
  }
1256
1264
 
@@ -1258,16 +1266,11 @@ class ListPipelineEndpointConnectionsCommand extends smithyClient.Command
1258
1266
  .classBuilder()
1259
1267
  .ep(commonParams)
1260
1268
  .m(function (Command, cs, config, o) {
1261
- return [
1262
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1263
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1264
- ];
1269
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1265
1270
  })
1266
1271
  .s("AmazonOpenSearchIngestionService", "ListPipelineEndpointConnections", {})
1267
1272
  .n("OSISClient", "ListPipelineEndpointConnectionsCommand")
1268
- .f(void 0, void 0)
1269
- .ser(se_ListPipelineEndpointConnectionsCommand)
1270
- .de(de_ListPipelineEndpointConnectionsCommand)
1273
+ .sc(ListPipelineEndpointConnections)
1271
1274
  .build() {
1272
1275
  }
1273
1276
 
@@ -1275,16 +1278,11 @@ class ListPipelineEndpointsCommand extends smithyClient.Command
1275
1278
  .classBuilder()
1276
1279
  .ep(commonParams)
1277
1280
  .m(function (Command, cs, config, o) {
1278
- return [
1279
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1280
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1281
- ];
1281
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1282
1282
  })
1283
1283
  .s("AmazonOpenSearchIngestionService", "ListPipelineEndpoints", {})
1284
1284
  .n("OSISClient", "ListPipelineEndpointsCommand")
1285
- .f(void 0, void 0)
1286
- .ser(se_ListPipelineEndpointsCommand)
1287
- .de(de_ListPipelineEndpointsCommand)
1285
+ .sc(ListPipelineEndpoints)
1288
1286
  .build() {
1289
1287
  }
1290
1288
 
@@ -1292,16 +1290,11 @@ class ListPipelinesCommand extends smithyClient.Command
1292
1290
  .classBuilder()
1293
1291
  .ep(commonParams)
1294
1292
  .m(function (Command, cs, config, o) {
1295
- return [
1296
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1297
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1298
- ];
1293
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1299
1294
  })
1300
1295
  .s("AmazonOpenSearchIngestionService", "ListPipelines", {})
1301
1296
  .n("OSISClient", "ListPipelinesCommand")
1302
- .f(void 0, void 0)
1303
- .ser(se_ListPipelinesCommand)
1304
- .de(de_ListPipelinesCommand)
1297
+ .sc(ListPipelines)
1305
1298
  .build() {
1306
1299
  }
1307
1300
 
@@ -1309,16 +1302,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1309
1302
  .classBuilder()
1310
1303
  .ep(commonParams)
1311
1304
  .m(function (Command, cs, config, o) {
1312
- return [
1313
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1314
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1315
- ];
1305
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1316
1306
  })
1317
1307
  .s("AmazonOpenSearchIngestionService", "ListTagsForResource", {})
1318
1308
  .n("OSISClient", "ListTagsForResourceCommand")
1319
- .f(void 0, void 0)
1320
- .ser(se_ListTagsForResourceCommand)
1321
- .de(de_ListTagsForResourceCommand)
1309
+ .sc(ListTagsForResource)
1322
1310
  .build() {
1323
1311
  }
1324
1312
 
@@ -1326,16 +1314,11 @@ class PutResourcePolicyCommand extends smithyClient.Command
1326
1314
  .classBuilder()
1327
1315
  .ep(commonParams)
1328
1316
  .m(function (Command, cs, config, o) {
1329
- return [
1330
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1331
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1332
- ];
1317
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1333
1318
  })
1334
1319
  .s("AmazonOpenSearchIngestionService", "PutResourcePolicy", {})
1335
1320
  .n("OSISClient", "PutResourcePolicyCommand")
1336
- .f(void 0, void 0)
1337
- .ser(se_PutResourcePolicyCommand)
1338
- .de(de_PutResourcePolicyCommand)
1321
+ .sc(PutResourcePolicy)
1339
1322
  .build() {
1340
1323
  }
1341
1324
 
@@ -1343,16 +1326,11 @@ class RevokePipelineEndpointConnectionsCommand extends smithyClient.Command
1343
1326
  .classBuilder()
1344
1327
  .ep(commonParams)
1345
1328
  .m(function (Command, cs, config, o) {
1346
- return [
1347
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1348
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1349
- ];
1329
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1350
1330
  })
1351
1331
  .s("AmazonOpenSearchIngestionService", "RevokePipelineEndpointConnections", {})
1352
1332
  .n("OSISClient", "RevokePipelineEndpointConnectionsCommand")
1353
- .f(void 0, void 0)
1354
- .ser(se_RevokePipelineEndpointConnectionsCommand)
1355
- .de(de_RevokePipelineEndpointConnectionsCommand)
1333
+ .sc(RevokePipelineEndpointConnections)
1356
1334
  .build() {
1357
1335
  }
1358
1336
 
@@ -1360,16 +1338,11 @@ class StartPipelineCommand extends smithyClient.Command
1360
1338
  .classBuilder()
1361
1339
  .ep(commonParams)
1362
1340
  .m(function (Command, cs, config, o) {
1363
- return [
1364
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1365
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1366
- ];
1341
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1367
1342
  })
1368
1343
  .s("AmazonOpenSearchIngestionService", "StartPipeline", {})
1369
1344
  .n("OSISClient", "StartPipelineCommand")
1370
- .f(void 0, void 0)
1371
- .ser(se_StartPipelineCommand)
1372
- .de(de_StartPipelineCommand)
1345
+ .sc(StartPipeline)
1373
1346
  .build() {
1374
1347
  }
1375
1348
 
@@ -1377,16 +1350,11 @@ class StopPipelineCommand extends smithyClient.Command
1377
1350
  .classBuilder()
1378
1351
  .ep(commonParams)
1379
1352
  .m(function (Command, cs, config, o) {
1380
- return [
1381
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1382
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1383
- ];
1353
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1384
1354
  })
1385
1355
  .s("AmazonOpenSearchIngestionService", "StopPipeline", {})
1386
1356
  .n("OSISClient", "StopPipelineCommand")
1387
- .f(void 0, void 0)
1388
- .ser(se_StopPipelineCommand)
1389
- .de(de_StopPipelineCommand)
1357
+ .sc(StopPipeline)
1390
1358
  .build() {
1391
1359
  }
1392
1360
 
@@ -1394,16 +1362,11 @@ class TagResourceCommand extends smithyClient.Command
1394
1362
  .classBuilder()
1395
1363
  .ep(commonParams)
1396
1364
  .m(function (Command, cs, config, o) {
1397
- return [
1398
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1399
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1400
- ];
1365
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1401
1366
  })
1402
1367
  .s("AmazonOpenSearchIngestionService", "TagResource", {})
1403
1368
  .n("OSISClient", "TagResourceCommand")
1404
- .f(void 0, void 0)
1405
- .ser(se_TagResourceCommand)
1406
- .de(de_TagResourceCommand)
1369
+ .sc(TagResource)
1407
1370
  .build() {
1408
1371
  }
1409
1372
 
@@ -1411,16 +1374,11 @@ class UntagResourceCommand extends smithyClient.Command
1411
1374
  .classBuilder()
1412
1375
  .ep(commonParams)
1413
1376
  .m(function (Command, cs, config, o) {
1414
- return [
1415
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1416
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1417
- ];
1377
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1418
1378
  })
1419
1379
  .s("AmazonOpenSearchIngestionService", "UntagResource", {})
1420
1380
  .n("OSISClient", "UntagResourceCommand")
1421
- .f(void 0, void 0)
1422
- .ser(se_UntagResourceCommand)
1423
- .de(de_UntagResourceCommand)
1381
+ .sc(UntagResource)
1424
1382
  .build() {
1425
1383
  }
1426
1384
 
@@ -1428,16 +1386,11 @@ class UpdatePipelineCommand extends smithyClient.Command
1428
1386
  .classBuilder()
1429
1387
  .ep(commonParams)
1430
1388
  .m(function (Command, cs, config, o) {
1431
- return [
1432
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1433
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1434
- ];
1389
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1435
1390
  })
1436
1391
  .s("AmazonOpenSearchIngestionService", "UpdatePipeline", {})
1437
1392
  .n("OSISClient", "UpdatePipelineCommand")
1438
- .f(void 0, void 0)
1439
- .ser(se_UpdatePipelineCommand)
1440
- .de(de_UpdatePipelineCommand)
1393
+ .sc(UpdatePipeline)
1441
1394
  .build() {
1442
1395
  }
1443
1396
 
@@ -1445,16 +1398,11 @@ class ValidatePipelineCommand extends smithyClient.Command
1445
1398
  .classBuilder()
1446
1399
  .ep(commonParams)
1447
1400
  .m(function (Command, cs, config, o) {
1448
- return [
1449
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1450
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1451
- ];
1401
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1452
1402
  })
1453
1403
  .s("AmazonOpenSearchIngestionService", "ValidatePipeline", {})
1454
1404
  .n("OSISClient", "ValidatePipelineCommand")
1455
- .f(void 0, void 0)
1456
- .ser(se_ValidatePipelineCommand)
1457
- .de(de_ValidatePipelineCommand)
1405
+ .sc(ValidatePipeline)
1458
1406
  .build() {
1459
1407
  }
1460
1408
 
@@ -1500,23 +1448,23 @@ Object.defineProperty(exports, "__Client", {
1500
1448
  enumerable: true,
1501
1449
  get: function () { return smithyClient.Client; }
1502
1450
  });
1503
- exports.AccessDeniedException = AccessDeniedException;
1451
+ exports.AccessDeniedException = AccessDeniedException$1;
1504
1452
  exports.ChangeProgressStageStatuses = ChangeProgressStageStatuses;
1505
1453
  exports.ChangeProgressStatuses = ChangeProgressStatuses;
1506
- exports.ConflictException = ConflictException;
1454
+ exports.ConflictException = ConflictException$1;
1507
1455
  exports.CreatePipelineCommand = CreatePipelineCommand;
1508
1456
  exports.CreatePipelineEndpointCommand = CreatePipelineEndpointCommand;
1509
1457
  exports.DeletePipelineCommand = DeletePipelineCommand;
1510
1458
  exports.DeletePipelineEndpointCommand = DeletePipelineEndpointCommand;
1511
1459
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
1512
- exports.DisabledOperationException = DisabledOperationException;
1460
+ exports.DisabledOperationException = DisabledOperationException$1;
1513
1461
  exports.GetPipelineBlueprintCommand = GetPipelineBlueprintCommand;
1514
1462
  exports.GetPipelineChangeProgressCommand = GetPipelineChangeProgressCommand;
1515
1463
  exports.GetPipelineCommand = GetPipelineCommand;
1516
1464
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1517
- exports.InternalException = InternalException;
1518
- exports.InvalidPaginationTokenException = InvalidPaginationTokenException;
1519
- exports.LimitExceededException = LimitExceededException;
1465
+ exports.InternalException = InternalException$1;
1466
+ exports.InvalidPaginationTokenException = InvalidPaginationTokenException$1;
1467
+ exports.LimitExceededException = LimitExceededException$1;
1520
1468
  exports.ListPipelineBlueprintsCommand = ListPipelineBlueprintsCommand;
1521
1469
  exports.ListPipelineEndpointConnectionsCommand = ListPipelineEndpointConnectionsCommand;
1522
1470
  exports.ListPipelineEndpointsCommand = ListPipelineEndpointsCommand;
@@ -1524,12 +1472,12 @@ exports.ListPipelinesCommand = ListPipelinesCommand;
1524
1472
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1525
1473
  exports.OSIS = OSIS;
1526
1474
  exports.OSISClient = OSISClient;
1527
- exports.OSISServiceException = OSISServiceException;
1475
+ exports.OSISServiceException = OSISServiceException$1;
1528
1476
  exports.PipelineEndpointStatus = PipelineEndpointStatus;
1529
1477
  exports.PipelineStatus = PipelineStatus;
1530
1478
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
1531
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
1532
- exports.ResourceNotFoundException = ResourceNotFoundException;
1479
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
1480
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1533
1481
  exports.RevokePipelineEndpointConnectionsCommand = RevokePipelineEndpointConnectionsCommand;
1534
1482
  exports.StartPipelineCommand = StartPipelineCommand;
1535
1483
  exports.StopPipelineCommand = StopPipelineCommand;
@@ -1537,7 +1485,7 @@ exports.TagResourceCommand = TagResourceCommand;
1537
1485
  exports.UntagResourceCommand = UntagResourceCommand;
1538
1486
  exports.UpdatePipelineCommand = UpdatePipelineCommand;
1539
1487
  exports.ValidatePipelineCommand = ValidatePipelineCommand;
1540
- exports.ValidationException = ValidationException;
1488
+ exports.ValidationException = ValidationException$1;
1541
1489
  exports.VpcEndpointManagement = VpcEndpointManagement;
1542
1490
  exports.VpcEndpointServiceName = VpcEndpointServiceName;
1543
1491
  exports.paginateListPipelineEndpointConnections = paginateListPipelineEndpointConnections;