@aws-sdk/client-rtbfabric 3.927.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 (55) hide show
  1. package/dist-cjs/index.js +1115 -1418
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/RTBFabricClient.js +2 -0
  4. package/dist-es/commands/AcceptLinkCommand.js +3 -9
  5. package/dist-es/commands/CreateInboundExternalLinkCommand.js +3 -9
  6. package/dist-es/commands/CreateLinkCommand.js +3 -9
  7. package/dist-es/commands/CreateOutboundExternalLinkCommand.js +3 -9
  8. package/dist-es/commands/CreateRequesterGatewayCommand.js +3 -9
  9. package/dist-es/commands/CreateResponderGatewayCommand.js +3 -10
  10. package/dist-es/commands/DeleteInboundExternalLinkCommand.js +3 -9
  11. package/dist-es/commands/DeleteLinkCommand.js +3 -9
  12. package/dist-es/commands/DeleteOutboundExternalLinkCommand.js +3 -9
  13. package/dist-es/commands/DeleteRequesterGatewayCommand.js +3 -9
  14. package/dist-es/commands/DeleteResponderGatewayCommand.js +3 -9
  15. package/dist-es/commands/GetInboundExternalLinkCommand.js +3 -9
  16. package/dist-es/commands/GetLinkCommand.js +3 -9
  17. package/dist-es/commands/GetOutboundExternalLinkCommand.js +3 -9
  18. package/dist-es/commands/GetRequesterGatewayCommand.js +3 -9
  19. package/dist-es/commands/GetResponderGatewayCommand.js +3 -10
  20. package/dist-es/commands/ListLinksCommand.js +3 -9
  21. package/dist-es/commands/ListRequesterGatewaysCommand.js +3 -9
  22. package/dist-es/commands/ListResponderGatewaysCommand.js +3 -9
  23. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  24. package/dist-es/commands/RejectLinkCommand.js +3 -9
  25. package/dist-es/commands/TagResourceCommand.js +3 -9
  26. package/dist-es/commands/UntagResourceCommand.js +3 -9
  27. package/dist-es/commands/UpdateLinkCommand.js +3 -9
  28. package/dist-es/commands/UpdateLinkModuleFlowCommand.js +3 -9
  29. package/dist-es/commands/UpdateRequesterGatewayCommand.js +3 -9
  30. package/dist-es/commands/UpdateResponderGatewayCommand.js +3 -10
  31. package/dist-es/models/models_0.js +0 -44
  32. package/dist-es/runtimeConfig.shared.js +2 -0
  33. package/dist-es/schemas/schemas_0.js +1051 -0
  34. package/dist-types/RTBFabricClient.d.ts +10 -1
  35. package/dist-types/commands/CreateInboundExternalLinkCommand.d.ts +17 -1
  36. package/dist-types/commands/CreateOutboundExternalLinkCommand.d.ts +29 -0
  37. package/dist-types/commands/GetInboundExternalLinkCommand.d.ts +8 -0
  38. package/dist-types/commands/GetOutboundExternalLinkCommand.d.ts +8 -0
  39. package/dist-types/models/models_0.d.ts +25 -24
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  41. package/dist-types/runtimeConfig.d.ts +1 -0
  42. package/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  44. package/dist-types/schemas/schemas_0.d.ts +127 -0
  45. package/dist-types/ts3.4/RTBFabricClient.d.ts +4 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +5 -18
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +133 -0
  52. package/package.json +5 -6
  53. package/dist-es/protocols/Aws_restJson1.js +0 -1163
  54. package/dist-types/protocols/Aws_restJson1.d.ts +0 -245
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -329
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,9 +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
- var uuid = require('@smithy/uuid');
20
18
  var utilWaiter = require('@smithy/util-waiter');
21
19
 
22
20
  const resolveClientEndpointParameters = (options) => {
@@ -93,6 +91,7 @@ class RTBFabricClient extends smithyClient.Client {
93
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
98
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -112,12 +111,12 @@ class RTBFabricClient extends smithyClient.Client {
112
111
  }
113
112
  }
114
113
 
115
- class RTBFabricServiceException extends smithyClient.ServiceException {
114
+ let RTBFabricServiceException$1 = class RTBFabricServiceException extends smithyClient.ServiceException {
116
115
  constructor(options) {
117
116
  super(options);
118
117
  Object.setPrototypeOf(this, RTBFabricServiceException.prototype);
119
118
  }
120
- }
119
+ };
121
120
 
122
121
  const ResponderErrorMaskingAction = {
123
122
  NO_BID: "NO_BID",
@@ -173,7 +172,7 @@ const LinkStatus = {
173
172
  REJECTED: "REJECTED",
174
173
  REQUESTED: "REQUESTED",
175
174
  };
176
- class AccessDeniedException extends RTBFabricServiceException {
175
+ let AccessDeniedException$1 = class AccessDeniedException extends RTBFabricServiceException$1 {
177
176
  name = "AccessDeniedException";
178
177
  $fault = "client";
179
178
  constructor(opts) {
@@ -184,8 +183,8 @@ class AccessDeniedException extends RTBFabricServiceException {
184
183
  });
185
184
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
186
185
  }
187
- }
188
- class ConflictException extends RTBFabricServiceException {
186
+ };
187
+ let ConflictException$1 = class ConflictException extends RTBFabricServiceException$1 {
189
188
  name = "ConflictException";
190
189
  $fault = "client";
191
190
  constructor(opts) {
@@ -196,8 +195,8 @@ class ConflictException extends RTBFabricServiceException {
196
195
  });
197
196
  Object.setPrototypeOf(this, ConflictException.prototype);
198
197
  }
199
- }
200
- class InternalServerException extends RTBFabricServiceException {
198
+ };
199
+ let InternalServerException$1 = class InternalServerException extends RTBFabricServiceException$1 {
201
200
  name = "InternalServerException";
202
201
  $fault = "server";
203
202
  $retryable = {};
@@ -209,8 +208,8 @@ class InternalServerException extends RTBFabricServiceException {
209
208
  });
210
209
  Object.setPrototypeOf(this, InternalServerException.prototype);
211
210
  }
212
- }
213
- class ResourceNotFoundException extends RTBFabricServiceException {
211
+ };
212
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends RTBFabricServiceException$1 {
214
213
  name = "ResourceNotFoundException";
215
214
  $fault = "client";
216
215
  constructor(opts) {
@@ -221,8 +220,8 @@ class ResourceNotFoundException extends RTBFabricServiceException {
221
220
  });
222
221
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
223
222
  }
224
- }
225
- class ThrottlingException extends RTBFabricServiceException {
223
+ };
224
+ let ThrottlingException$1 = class ThrottlingException extends RTBFabricServiceException$1 {
226
225
  name = "ThrottlingException";
227
226
  $fault = "client";
228
227
  $retryable = {};
@@ -234,8 +233,8 @@ class ThrottlingException extends RTBFabricServiceException {
234
233
  });
235
234
  Object.setPrototypeOf(this, ThrottlingException.prototype);
236
235
  }
237
- }
238
- class ValidationException extends RTBFabricServiceException {
236
+ };
237
+ let ValidationException$1 = class ValidationException extends RTBFabricServiceException$1 {
239
238
  name = "ValidationException";
240
239
  $fault = "client";
241
240
  constructor(opts) {
@@ -246,8 +245,8 @@ class ValidationException extends RTBFabricServiceException {
246
245
  });
247
246
  Object.setPrototypeOf(this, ValidationException.prototype);
248
247
  }
249
- }
250
- class ServiceQuotaExceededException extends RTBFabricServiceException {
248
+ };
249
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends RTBFabricServiceException$1 {
251
250
  name = "ServiceQuotaExceededException";
252
251
  $fault = "client";
253
252
  constructor(opts) {
@@ -258,7 +257,7 @@ class ServiceQuotaExceededException extends RTBFabricServiceException {
258
257
  });
259
258
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
260
259
  }
261
- }
260
+ };
262
261
  const RequesterGatewayStatus = {
263
262
  ACTIVE: "ACTIVE",
264
263
  DELETED: "DELETED",
@@ -295,1221 +294,1055 @@ const ResponderGatewayStatus = {
295
294
  PENDING_RESTORATION: "PENDING_RESTORATION",
296
295
  PENDING_UPDATE: "PENDING_UPDATE",
297
296
  };
298
- const EksEndpointsConfigurationFilterSensitiveLog = (obj) => ({
299
- ...obj,
300
- ...(obj.clusterApiServerCaCertificateChain && { clusterApiServerCaCertificateChain: smithyClient.SENSITIVE_STRING }),
301
- });
302
- const ManagedEndpointConfigurationFilterSensitiveLog = (obj) => {
303
- if (obj.autoScalingGroups !== undefined)
304
- return { autoScalingGroups: obj.autoScalingGroups };
305
- if (obj.eksEndpoints !== undefined)
306
- return { eksEndpoints: EksEndpointsConfigurationFilterSensitiveLog(obj.eksEndpoints) };
307
- if (obj.$unknown !== undefined)
308
- return { [obj.$unknown[0]]: "UNKNOWN" };
309
- };
310
- const TrustStoreConfigurationFilterSensitiveLog = (obj) => ({
311
- ...obj,
312
- ...(obj.certificateAuthorityCertificates && { certificateAuthorityCertificates: smithyClient.SENSITIVE_STRING }),
313
- });
314
- const CreateResponderGatewayRequestFilterSensitiveLog = (obj) => ({
315
- ...obj,
316
- ...(obj.trustStoreConfiguration && {
317
- trustStoreConfiguration: TrustStoreConfigurationFilterSensitiveLog(obj.trustStoreConfiguration),
318
- }),
319
- ...(obj.managedEndpointConfiguration && {
320
- managedEndpointConfiguration: ManagedEndpointConfigurationFilterSensitiveLog(obj.managedEndpointConfiguration),
321
- }),
322
- });
323
- const GetResponderGatewayResponseFilterSensitiveLog = (obj) => ({
324
- ...obj,
325
- ...(obj.trustStoreConfiguration && {
326
- trustStoreConfiguration: TrustStoreConfigurationFilterSensitiveLog(obj.trustStoreConfiguration),
327
- }),
328
- ...(obj.managedEndpointConfiguration && {
329
- managedEndpointConfiguration: ManagedEndpointConfigurationFilterSensitiveLog(obj.managedEndpointConfiguration),
330
- }),
331
- });
332
- const UpdateResponderGatewayRequestFilterSensitiveLog = (obj) => ({
333
- ...obj,
334
- ...(obj.trustStoreConfiguration && {
335
- trustStoreConfiguration: TrustStoreConfigurationFilterSensitiveLog(obj.trustStoreConfiguration),
336
- }),
337
- ...(obj.managedEndpointConfiguration && {
338
- managedEndpointConfiguration: ManagedEndpointConfigurationFilterSensitiveLog(obj.managedEndpointConfiguration),
339
- }),
340
- });
341
297
 
342
- const se_AcceptLinkCommand = async (input, context) => {
343
- const b = core.requestBuilder(input, context);
344
- const headers = {
345
- "content-type": "application/json",
346
- };
347
- b.bp("/gateway/{gatewayId}/link/{linkId}/accept");
348
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
349
- b.p("linkId", () => input.linkId, "{linkId}", false);
350
- let body;
351
- body = JSON.stringify(smithyClient.take(input, {
352
- attributes: (_) => se_LinkAttributes(_),
353
- logSettings: (_) => se_LinkLogSettings(_),
354
- }));
355
- b.m("POST").h(headers).b(body);
356
- return b.build();
357
- };
358
- const se_CreateInboundExternalLinkCommand = async (input, context) => {
359
- const b = core.requestBuilder(input, context);
360
- const headers = {
361
- "content-type": "application/json",
362
- };
363
- b.bp("/responder-gateway/{gatewayId}/inbound-external-link");
364
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
365
- let body;
366
- body = JSON.stringify(smithyClient.take(input, {
367
- attributes: (_) => se_LinkAttributes(_),
368
- clientToken: [true, (_) => _ ?? uuid.v4()],
369
- tags: (_) => smithyClient._json(_),
370
- }));
371
- b.m("POST").h(headers).b(body);
372
- return b.build();
373
- };
374
- const se_CreateLinkCommand = async (input, context) => {
375
- const b = core.requestBuilder(input, context);
376
- const headers = {
377
- "content-type": "application/json",
378
- };
379
- b.bp("/gateway/{gatewayId}/create-link");
380
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
381
- let body;
382
- body = JSON.stringify(smithyClient.take(input, {
383
- attributes: (_) => se_LinkAttributes(_),
384
- httpResponderAllowed: [],
385
- logSettings: (_) => se_LinkLogSettings(_),
386
- peerGatewayId: [],
387
- tags: (_) => smithyClient._json(_),
388
- }));
389
- b.m("POST").h(headers).b(body);
390
- return b.build();
391
- };
392
- const se_CreateOutboundExternalLinkCommand = async (input, context) => {
393
- const b = core.requestBuilder(input, context);
394
- const headers = {
395
- "content-type": "application/json",
396
- };
397
- b.bp("/requester-gateway/{gatewayId}/outbound-external-link");
398
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
399
- let body;
400
- body = JSON.stringify(smithyClient.take(input, {
401
- clientToken: [true, (_) => _ ?? uuid.v4()],
402
- publicEndpoint: [],
403
- tags: (_) => smithyClient._json(_),
404
- }));
405
- b.m("POST").h(headers).b(body);
406
- return b.build();
407
- };
408
- const se_CreateRequesterGatewayCommand = async (input, context) => {
409
- const b = core.requestBuilder(input, context);
410
- const headers = {
411
- "content-type": "application/json",
412
- };
413
- b.bp("/requester-gateway");
414
- let body;
415
- body = JSON.stringify(smithyClient.take(input, {
416
- clientToken: [true, (_) => _ ?? uuid.v4()],
417
- description: [],
418
- securityGroupIds: (_) => smithyClient._json(_),
419
- subnetIds: (_) => smithyClient._json(_),
420
- tags: (_) => smithyClient._json(_),
421
- vpcId: [],
422
- }));
423
- b.m("POST").h(headers).b(body);
424
- return b.build();
425
- };
426
- const se_CreateResponderGatewayCommand = async (input, context) => {
427
- const b = core.requestBuilder(input, context);
428
- const headers = {
429
- "content-type": "application/json",
430
- };
431
- b.bp("/responder-gateway");
432
- let body;
433
- body = JSON.stringify(smithyClient.take(input, {
434
- clientToken: [true, (_) => _ ?? uuid.v4()],
435
- description: [],
436
- domainName: [],
437
- managedEndpointConfiguration: (_) => smithyClient._json(_),
438
- port: [],
439
- protocol: [],
440
- securityGroupIds: (_) => smithyClient._json(_),
441
- subnetIds: (_) => smithyClient._json(_),
442
- tags: (_) => smithyClient._json(_),
443
- trustStoreConfiguration: (_) => smithyClient._json(_),
444
- vpcId: [],
445
- }));
446
- b.m("POST").h(headers).b(body);
447
- return b.build();
448
- };
449
- const se_DeleteInboundExternalLinkCommand = async (input, context) => {
450
- const b = core.requestBuilder(input, context);
451
- const headers = {};
452
- b.bp("/responder-gateway/{gatewayId}/inbound-external-link/{linkId}");
453
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
454
- b.p("linkId", () => input.linkId, "{linkId}", false);
455
- let body;
456
- b.m("DELETE").h(headers).b(body);
457
- return b.build();
458
- };
459
- const se_DeleteLinkCommand = async (input, context) => {
460
- const b = core.requestBuilder(input, context);
461
- const headers = {};
462
- b.bp("/gateway/{gatewayId}/link/{linkId}");
463
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
464
- b.p("linkId", () => input.linkId, "{linkId}", false);
465
- let body;
466
- b.m("DELETE").h(headers).b(body);
467
- return b.build();
468
- };
469
- const se_DeleteOutboundExternalLinkCommand = async (input, context) => {
470
- const b = core.requestBuilder(input, context);
471
- const headers = {};
472
- b.bp("/requester-gateway/{gatewayId}/outbound-external-link/{linkId}");
473
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
474
- b.p("linkId", () => input.linkId, "{linkId}", false);
475
- let body;
476
- b.m("DELETE").h(headers).b(body);
477
- return b.build();
478
- };
479
- const se_DeleteRequesterGatewayCommand = async (input, context) => {
480
- const b = core.requestBuilder(input, context);
481
- const headers = {};
482
- b.bp("/requester-gateway/{gatewayId}");
483
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
484
- let body;
485
- b.m("DELETE").h(headers).b(body);
486
- return b.build();
487
- };
488
- const se_DeleteResponderGatewayCommand = async (input, context) => {
489
- const b = core.requestBuilder(input, context);
490
- const headers = {};
491
- b.bp("/responder-gateway/{gatewayId}");
492
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
493
- let body;
494
- b.m("DELETE").h(headers).b(body);
495
- return b.build();
496
- };
497
- const se_GetInboundExternalLinkCommand = async (input, context) => {
498
- const b = core.requestBuilder(input, context);
499
- const headers = {};
500
- b.bp("/responder-gateway/{gatewayId}/inbound-external-link/{linkId}");
501
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
502
- b.p("linkId", () => input.linkId, "{linkId}", false);
503
- let body;
504
- b.m("GET").h(headers).b(body);
505
- return b.build();
506
- };
507
- const se_GetLinkCommand = async (input, context) => {
508
- const b = core.requestBuilder(input, context);
509
- const headers = {};
510
- b.bp("/gateway/{gatewayId}/link/{linkId}");
511
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
512
- b.p("linkId", () => input.linkId, "{linkId}", false);
513
- let body;
514
- b.m("GET").h(headers).b(body);
515
- return b.build();
516
- };
517
- const se_GetOutboundExternalLinkCommand = async (input, context) => {
518
- const b = core.requestBuilder(input, context);
519
- const headers = {};
520
- b.bp("/requester-gateway/{gatewayId}/outbound-external-link/{linkId}");
521
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
522
- b.p("linkId", () => input.linkId, "{linkId}", false);
523
- let body;
524
- b.m("GET").h(headers).b(body);
525
- return b.build();
526
- };
527
- const se_GetRequesterGatewayCommand = async (input, context) => {
528
- const b = core.requestBuilder(input, context);
529
- const headers = {};
530
- b.bp("/requester-gateway/{gatewayId}");
531
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
532
- let body;
533
- b.m("GET").h(headers).b(body);
534
- return b.build();
535
- };
536
- const se_GetResponderGatewayCommand = async (input, context) => {
537
- const b = core.requestBuilder(input, context);
538
- const headers = {};
539
- b.bp("/responder-gateway/{gatewayId}");
540
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
541
- let body;
542
- b.m("GET").h(headers).b(body);
543
- return b.build();
544
- };
545
- const se_ListLinksCommand = async (input, context) => {
546
- const b = core.requestBuilder(input, context);
547
- const headers = {};
548
- b.bp("/gateway/{gatewayId}/links");
549
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
550
- const query = smithyClient.map({
551
- [_nT]: [, input[_nT]],
552
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
553
- });
554
- let body;
555
- b.m("GET").h(headers).q(query).b(body);
556
- return b.build();
557
- };
558
- const se_ListRequesterGatewaysCommand = async (input, context) => {
559
- const b = core.requestBuilder(input, context);
560
- const headers = {};
561
- b.bp("/requester-gateways");
562
- const query = smithyClient.map({
563
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
564
- [_nT]: [, input[_nT]],
565
- });
566
- let body;
567
- b.m("GET").h(headers).q(query).b(body);
568
- return b.build();
569
- };
570
- const se_ListResponderGatewaysCommand = async (input, context) => {
571
- const b = core.requestBuilder(input, context);
572
- const headers = {};
573
- b.bp("/responder-gateways");
574
- const query = smithyClient.map({
575
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
576
- [_nT]: [, input[_nT]],
577
- });
578
- let body;
579
- b.m("GET").h(headers).q(query).b(body);
580
- return b.build();
581
- };
582
- const se_ListTagsForResourceCommand = async (input, context) => {
583
- const b = core.requestBuilder(input, context);
584
- const headers = {};
585
- b.bp("/tags/{resourceArn}");
586
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
587
- let body;
588
- b.m("GET").h(headers).b(body);
589
- return b.build();
590
- };
591
- const se_RejectLinkCommand = async (input, context) => {
592
- const b = core.requestBuilder(input, context);
593
- const headers = {};
594
- b.bp("/gateway/{gatewayId}/link/{linkId}/reject");
595
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
596
- b.p("linkId", () => input.linkId, "{linkId}", false);
597
- let body;
598
- b.m("POST").h(headers).b(body);
599
- return b.build();
600
- };
601
- const se_TagResourceCommand = async (input, context) => {
602
- const b = core.requestBuilder(input, context);
603
- const headers = {
604
- "content-type": "application/json",
605
- };
606
- b.bp("/tags/{resourceArn}");
607
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
608
- let body;
609
- body = JSON.stringify(smithyClient.take(input, {
610
- tags: (_) => smithyClient._json(_),
611
- }));
612
- b.m("POST").h(headers).b(body);
613
- return b.build();
614
- };
615
- const se_UntagResourceCommand = async (input, context) => {
616
- const b = core.requestBuilder(input, context);
617
- const headers = {};
618
- b.bp("/tags/{resourceArn}");
619
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
620
- const query = smithyClient.map({
621
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
622
- });
623
- let body;
624
- b.m("DELETE").h(headers).q(query).b(body);
625
- return b.build();
626
- };
627
- const se_UpdateLinkCommand = async (input, context) => {
628
- const b = core.requestBuilder(input, context);
629
- const headers = {
630
- "content-type": "application/json",
631
- };
632
- b.bp("/gateway/{gatewayId}/link/{linkId}");
633
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
634
- b.p("linkId", () => input.linkId, "{linkId}", false);
635
- let body;
636
- body = JSON.stringify(smithyClient.take(input, {
637
- logSettings: (_) => se_LinkLogSettings(_),
638
- }));
639
- b.m("PATCH").h(headers).b(body);
640
- return b.build();
641
- };
642
- const se_UpdateLinkModuleFlowCommand = async (input, context) => {
643
- const b = core.requestBuilder(input, context);
644
- const headers = {
645
- "content-type": "application/json",
646
- };
647
- b.bp("/gateway/{gatewayId}/link/{linkId}/module-flow");
648
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
649
- b.p("linkId", () => input.linkId, "{linkId}", false);
650
- let body;
651
- body = JSON.stringify(smithyClient.take(input, {
652
- clientToken: [true, (_) => _ ?? uuid.v4()],
653
- modules: (_) => se_ModuleConfigurationList(_),
654
- }));
655
- b.m("POST").h(headers).b(body);
656
- return b.build();
657
- };
658
- const se_UpdateRequesterGatewayCommand = async (input, context) => {
659
- const b = core.requestBuilder(input, context);
660
- const headers = {
661
- "content-type": "application/json",
662
- };
663
- b.bp("/requester-gateway/{gatewayId}/update");
664
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
665
- let body;
666
- body = JSON.stringify(smithyClient.take(input, {
667
- clientToken: [true, (_) => _ ?? uuid.v4()],
668
- description: [],
669
- }));
670
- b.m("POST").h(headers).b(body);
671
- return b.build();
672
- };
673
- const se_UpdateResponderGatewayCommand = async (input, context) => {
674
- const b = core.requestBuilder(input, context);
675
- const headers = {
676
- "content-type": "application/json",
677
- };
678
- b.bp("/responder-gateway/{gatewayId}/update");
679
- b.p("gatewayId", () => input.gatewayId, "{gatewayId}", false);
680
- let body;
681
- body = JSON.stringify(smithyClient.take(input, {
682
- clientToken: [true, (_) => _ ?? uuid.v4()],
683
- description: [],
684
- domainName: [],
685
- managedEndpointConfiguration: (_) => smithyClient._json(_),
686
- port: [],
687
- protocol: [],
688
- trustStoreConfiguration: (_) => smithyClient._json(_),
689
- }));
690
- b.m("POST").h(headers).b(body);
691
- return b.build();
692
- };
693
- const de_AcceptLinkCommand = async (output, context) => {
694
- if (output.statusCode !== 200 && output.statusCode >= 300) {
695
- return de_CommandError(output, context);
696
- }
697
- const contents = smithyClient.map({
698
- $metadata: deserializeMetadata(output),
699
- });
700
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
701
- const doc = smithyClient.take(data, {
702
- attributes: (_) => de_LinkAttributes(_),
703
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
704
- direction: smithyClient.expectString,
705
- flowModules: (_) => de_ModuleConfigurationList(_),
706
- gatewayId: smithyClient.expectString,
707
- linkId: smithyClient.expectString,
708
- peerGatewayId: smithyClient.expectString,
709
- pendingFlowModules: (_) => de_ModuleConfigurationList(_),
710
- status: smithyClient.expectString,
711
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
712
- });
713
- Object.assign(contents, doc);
714
- return contents;
715
- };
716
- const de_CreateInboundExternalLinkCommand = async (output, context) => {
717
- if (output.statusCode !== 200 && output.statusCode >= 300) {
718
- return de_CommandError(output, context);
719
- }
720
- const contents = smithyClient.map({
721
- $metadata: deserializeMetadata(output),
722
- });
723
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
724
- const doc = smithyClient.take(data, {
725
- domainName: smithyClient.expectString,
726
- gatewayId: smithyClient.expectString,
727
- linkId: smithyClient.expectString,
728
- status: smithyClient.expectString,
729
- });
730
- Object.assign(contents, doc);
731
- return contents;
732
- };
733
- const de_CreateLinkCommand = async (output, context) => {
734
- if (output.statusCode !== 200 && output.statusCode >= 300) {
735
- return de_CommandError(output, context);
736
- }
737
- const contents = smithyClient.map({
738
- $metadata: deserializeMetadata(output),
739
- });
740
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
741
- const doc = smithyClient.take(data, {
742
- attributes: (_) => de_LinkAttributes(_),
743
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
744
- customerProvidedId: smithyClient.expectString,
745
- direction: smithyClient.expectString,
746
- flowModules: (_) => de_ModuleConfigurationList(_),
747
- gatewayId: smithyClient.expectString,
748
- linkId: smithyClient.expectString,
749
- peerGatewayId: smithyClient.expectString,
750
- pendingFlowModules: (_) => de_ModuleConfigurationList(_),
751
- status: smithyClient.expectString,
752
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
753
- });
754
- Object.assign(contents, doc);
755
- return contents;
756
- };
757
- const de_CreateOutboundExternalLinkCommand = 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
- gatewayId: smithyClient.expectString,
767
- linkId: smithyClient.expectString,
768
- status: smithyClient.expectString,
769
- });
770
- Object.assign(contents, doc);
771
- return contents;
772
- };
773
- const de_CreateRequesterGatewayCommand = async (output, context) => {
774
- if (output.statusCode !== 200 && output.statusCode >= 300) {
775
- return de_CommandError(output, context);
776
- }
777
- const contents = smithyClient.map({
778
- $metadata: deserializeMetadata(output),
779
- });
780
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
781
- const doc = smithyClient.take(data, {
782
- domainName: smithyClient.expectString,
783
- gatewayId: smithyClient.expectString,
784
- status: smithyClient.expectString,
785
- });
786
- Object.assign(contents, doc);
787
- return contents;
788
- };
789
- const de_CreateResponderGatewayCommand = async (output, context) => {
790
- if (output.statusCode !== 200 && output.statusCode >= 300) {
791
- return de_CommandError(output, context);
792
- }
793
- const contents = smithyClient.map({
794
- $metadata: deserializeMetadata(output),
795
- });
796
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
797
- const doc = smithyClient.take(data, {
798
- gatewayId: smithyClient.expectString,
799
- status: smithyClient.expectString,
800
- });
801
- Object.assign(contents, doc);
802
- return contents;
803
- };
804
- const de_DeleteInboundExternalLinkCommand = async (output, context) => {
805
- if (output.statusCode !== 200 && output.statusCode >= 300) {
806
- return de_CommandError(output, context);
807
- }
808
- const contents = smithyClient.map({
809
- $metadata: deserializeMetadata(output),
810
- });
811
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
812
- const doc = smithyClient.take(data, {
813
- linkId: smithyClient.expectString,
814
- status: smithyClient.expectString,
815
- });
816
- Object.assign(contents, doc);
817
- return contents;
818
- };
819
- const de_DeleteLinkCommand = 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
- linkId: smithyClient.expectString,
829
- status: smithyClient.expectString,
830
- });
831
- Object.assign(contents, doc);
832
- return contents;
833
- };
834
- const de_DeleteOutboundExternalLinkCommand = async (output, context) => {
835
- if (output.statusCode !== 200 && output.statusCode >= 300) {
836
- return de_CommandError(output, context);
837
- }
838
- const contents = smithyClient.map({
839
- $metadata: deserializeMetadata(output),
840
- });
841
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
842
- const doc = smithyClient.take(data, {
843
- linkId: smithyClient.expectString,
844
- status: smithyClient.expectString,
845
- });
846
- Object.assign(contents, doc);
847
- return contents;
848
- };
849
- const de_DeleteRequesterGatewayCommand = async (output, context) => {
850
- if (output.statusCode !== 200 && output.statusCode >= 300) {
851
- return de_CommandError(output, context);
852
- }
853
- const contents = smithyClient.map({
854
- $metadata: deserializeMetadata(output),
855
- });
856
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
857
- const doc = smithyClient.take(data, {
858
- gatewayId: smithyClient.expectString,
859
- status: smithyClient.expectString,
860
- });
861
- Object.assign(contents, doc);
862
- return contents;
863
- };
864
- const de_DeleteResponderGatewayCommand = async (output, context) => {
865
- if (output.statusCode !== 200 && output.statusCode >= 300) {
866
- return de_CommandError(output, context);
867
- }
868
- const contents = smithyClient.map({
869
- $metadata: deserializeMetadata(output),
870
- });
871
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
872
- const doc = smithyClient.take(data, {
873
- gatewayId: smithyClient.expectString,
874
- status: smithyClient.expectString,
875
- });
876
- Object.assign(contents, doc);
877
- return contents;
878
- };
879
- const de_GetInboundExternalLinkCommand = async (output, context) => {
880
- if (output.statusCode !== 200 && output.statusCode >= 300) {
881
- return de_CommandError(output, context);
882
- }
883
- const contents = smithyClient.map({
884
- $metadata: deserializeMetadata(output),
885
- });
886
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
887
- const doc = smithyClient.take(data, {
888
- attributes: (_) => de_LinkAttributes(_),
889
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
890
- domainName: smithyClient.expectString,
891
- flowModules: (_) => de_ModuleConfigurationList(_),
892
- gatewayId: smithyClient.expectString,
893
- linkId: smithyClient.expectString,
894
- pendingFlowModules: (_) => de_ModuleConfigurationList(_),
895
- status: smithyClient.expectString,
896
- tags: smithyClient._json,
897
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
898
- });
899
- Object.assign(contents, doc);
900
- return contents;
901
- };
902
- const de_GetLinkCommand = async (output, context) => {
903
- if (output.statusCode !== 200 && output.statusCode >= 300) {
904
- return de_CommandError(output, context);
905
- }
906
- const contents = smithyClient.map({
907
- $metadata: deserializeMetadata(output),
908
- });
909
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
910
- const doc = smithyClient.take(data, {
911
- attributes: (_) => de_LinkAttributes(_),
912
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
913
- direction: smithyClient.expectString,
914
- flowModules: (_) => de_ModuleConfigurationList(_),
915
- gatewayId: smithyClient.expectString,
916
- linkId: smithyClient.expectString,
917
- logSettings: (_) => de_LinkLogSettings(_),
918
- peerGatewayId: smithyClient.expectString,
919
- pendingFlowModules: (_) => de_ModuleConfigurationList(_),
920
- status: smithyClient.expectString,
921
- tags: smithyClient._json,
922
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
923
- });
924
- Object.assign(contents, doc);
925
- return contents;
926
- };
927
- const de_GetOutboundExternalLinkCommand = async (output, context) => {
928
- if (output.statusCode !== 200 && output.statusCode >= 300) {
929
- return de_CommandError(output, context);
930
- }
931
- const contents = smithyClient.map({
932
- $metadata: deserializeMetadata(output),
933
- });
934
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
935
- const doc = smithyClient.take(data, {
936
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
937
- gatewayId: smithyClient.expectString,
938
- linkId: smithyClient.expectString,
939
- publicEndpoint: smithyClient.expectString,
940
- status: smithyClient.expectString,
941
- tags: smithyClient._json,
942
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
943
- });
944
- Object.assign(contents, doc);
945
- return contents;
946
- };
947
- const de_GetRequesterGatewayCommand = async (output, context) => {
948
- if (output.statusCode !== 200 && output.statusCode >= 300) {
949
- return de_CommandError(output, context);
950
- }
951
- const contents = smithyClient.map({
952
- $metadata: deserializeMetadata(output),
953
- });
954
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
955
- const doc = smithyClient.take(data, {
956
- activeLinksCount: smithyClient.expectInt32,
957
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
958
- description: smithyClient.expectString,
959
- domainName: smithyClient.expectString,
960
- gatewayId: smithyClient.expectString,
961
- securityGroupIds: smithyClient._json,
962
- status: smithyClient.expectString,
963
- subnetIds: smithyClient._json,
964
- tags: smithyClient._json,
965
- totalLinksCount: smithyClient.expectInt32,
966
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
967
- vpcId: smithyClient.expectString,
968
- });
969
- Object.assign(contents, doc);
970
- return contents;
971
- };
972
- const de_GetResponderGatewayCommand = async (output, context) => {
973
- if (output.statusCode !== 200 && output.statusCode >= 300) {
974
- return de_CommandError(output, context);
975
- }
976
- const contents = smithyClient.map({
977
- $metadata: deserializeMetadata(output),
978
- });
979
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
980
- const doc = smithyClient.take(data, {
981
- activeLinksCount: smithyClient.expectInt32,
982
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
983
- description: smithyClient.expectString,
984
- domainName: smithyClient.expectString,
985
- gatewayId: smithyClient.expectString,
986
- inboundLinksCount: smithyClient.expectInt32,
987
- managedEndpointConfiguration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
988
- port: smithyClient.expectInt32,
989
- protocol: smithyClient.expectString,
990
- securityGroupIds: smithyClient._json,
991
- status: smithyClient.expectString,
992
- subnetIds: smithyClient._json,
993
- tags: smithyClient._json,
994
- totalLinksCount: smithyClient.expectInt32,
995
- trustStoreConfiguration: smithyClient._json,
996
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
997
- vpcId: smithyClient.expectString,
998
- });
999
- Object.assign(contents, doc);
1000
- return contents;
1001
- };
1002
- const de_ListLinksCommand = async (output, context) => {
1003
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1004
- return de_CommandError(output, context);
1005
- }
1006
- const contents = smithyClient.map({
1007
- $metadata: deserializeMetadata(output),
1008
- });
1009
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1010
- const doc = smithyClient.take(data, {
1011
- links: (_) => de_LinkList(_),
1012
- nextToken: smithyClient.expectString,
1013
- });
1014
- Object.assign(contents, doc);
1015
- return contents;
1016
- };
1017
- const de_ListRequesterGatewaysCommand = async (output, context) => {
1018
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1019
- return de_CommandError(output, context);
1020
- }
1021
- const contents = smithyClient.map({
1022
- $metadata: deserializeMetadata(output),
1023
- });
1024
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1025
- const doc = smithyClient.take(data, {
1026
- gatewayIds: smithyClient._json,
1027
- nextToken: smithyClient.expectString,
1028
- });
1029
- Object.assign(contents, doc);
1030
- return contents;
1031
- };
1032
- const de_ListResponderGatewaysCommand = async (output, context) => {
1033
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1034
- return de_CommandError(output, context);
1035
- }
1036
- const contents = smithyClient.map({
1037
- $metadata: deserializeMetadata(output),
1038
- });
1039
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1040
- const doc = smithyClient.take(data, {
1041
- gatewayIds: smithyClient._json,
1042
- nextToken: smithyClient.expectString,
1043
- });
1044
- Object.assign(contents, doc);
1045
- return contents;
1046
- };
1047
- const de_ListTagsForResourceCommand = async (output, context) => {
1048
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1049
- return de_CommandError(output, context);
1050
- }
1051
- const contents = smithyClient.map({
1052
- $metadata: deserializeMetadata(output),
1053
- });
1054
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1055
- const doc = smithyClient.take(data, {
1056
- tags: smithyClient._json,
1057
- });
1058
- Object.assign(contents, doc);
1059
- return contents;
1060
- };
1061
- const de_RejectLinkCommand = async (output, context) => {
1062
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1063
- return de_CommandError(output, context);
1064
- }
1065
- const contents = smithyClient.map({
1066
- $metadata: deserializeMetadata(output),
1067
- });
1068
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1069
- const doc = smithyClient.take(data, {
1070
- attributes: (_) => de_LinkAttributes(_),
1071
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1072
- direction: smithyClient.expectString,
1073
- flowModules: (_) => de_ModuleConfigurationList(_),
1074
- gatewayId: smithyClient.expectString,
1075
- linkId: smithyClient.expectString,
1076
- peerGatewayId: smithyClient.expectString,
1077
- pendingFlowModules: (_) => de_ModuleConfigurationList(_),
1078
- status: smithyClient.expectString,
1079
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1080
- });
1081
- Object.assign(contents, doc);
1082
- return contents;
1083
- };
1084
- const de_TagResourceCommand = async (output, context) => {
1085
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1086
- return de_CommandError(output, context);
1087
- }
1088
- const contents = smithyClient.map({
1089
- $metadata: deserializeMetadata(output),
1090
- });
1091
- await smithyClient.collectBody(output.body, context);
1092
- return contents;
1093
- };
1094
- const de_UntagResourceCommand = async (output, context) => {
1095
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1096
- return de_CommandError(output, context);
1097
- }
1098
- const contents = smithyClient.map({
1099
- $metadata: deserializeMetadata(output),
1100
- });
1101
- await smithyClient.collectBody(output.body, context);
1102
- return contents;
1103
- };
1104
- const de_UpdateLinkCommand = async (output, context) => {
1105
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1106
- return de_CommandError(output, context);
1107
- }
1108
- const contents = smithyClient.map({
1109
- $metadata: deserializeMetadata(output),
1110
- });
1111
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1112
- const doc = smithyClient.take(data, {
1113
- linkId: smithyClient.expectString,
1114
- status: smithyClient.expectString,
1115
- });
1116
- Object.assign(contents, doc);
1117
- return contents;
1118
- };
1119
- const de_UpdateLinkModuleFlowCommand = async (output, context) => {
1120
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1121
- return de_CommandError(output, context);
1122
- }
1123
- const contents = smithyClient.map({
1124
- $metadata: deserializeMetadata(output),
1125
- });
1126
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1127
- const doc = smithyClient.take(data, {
1128
- gatewayId: smithyClient.expectString,
1129
- linkId: smithyClient.expectString,
1130
- status: smithyClient.expectString,
1131
- });
1132
- Object.assign(contents, doc);
1133
- return contents;
1134
- };
1135
- const de_UpdateRequesterGatewayCommand = async (output, context) => {
1136
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1137
- return de_CommandError(output, context);
1138
- }
1139
- const contents = smithyClient.map({
1140
- $metadata: deserializeMetadata(output),
1141
- });
1142
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1143
- const doc = smithyClient.take(data, {
1144
- gatewayId: smithyClient.expectString,
1145
- status: smithyClient.expectString,
1146
- });
1147
- Object.assign(contents, doc);
1148
- return contents;
1149
- };
1150
- const de_UpdateResponderGatewayCommand = async (output, context) => {
1151
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1152
- return de_CommandError(output, context);
1153
- }
1154
- const contents = smithyClient.map({
1155
- $metadata: deserializeMetadata(output),
1156
- });
1157
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1158
- const doc = smithyClient.take(data, {
1159
- gatewayId: smithyClient.expectString,
1160
- status: smithyClient.expectString,
1161
- });
1162
- Object.assign(contents, doc);
1163
- return contents;
1164
- };
1165
- const de_CommandError = async (output, context) => {
1166
- const parsedOutput = {
1167
- ...output,
1168
- body: await core$1.parseJsonErrorBody(output.body, context),
1169
- };
1170
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1171
- switch (errorCode) {
1172
- case "AccessDeniedException":
1173
- case "com.amazonaws.rtbfabric#AccessDeniedException":
1174
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1175
- case "ConflictException":
1176
- case "com.amazonaws.rtbfabric#ConflictException":
1177
- throw await de_ConflictExceptionRes(parsedOutput);
1178
- case "InternalServerException":
1179
- case "com.amazonaws.rtbfabric#InternalServerException":
1180
- throw await de_InternalServerExceptionRes(parsedOutput);
1181
- case "ResourceNotFoundException":
1182
- case "com.amazonaws.rtbfabric#ResourceNotFoundException":
1183
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1184
- case "ThrottlingException":
1185
- case "com.amazonaws.rtbfabric#ThrottlingException":
1186
- throw await de_ThrottlingExceptionRes(parsedOutput);
1187
- case "ValidationException":
1188
- case "com.amazonaws.rtbfabric#ValidationException":
1189
- throw await de_ValidationExceptionRes(parsedOutput);
1190
- case "ServiceQuotaExceededException":
1191
- case "com.amazonaws.rtbfabric#ServiceQuotaExceededException":
1192
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1193
- default:
1194
- const parsedBody = parsedOutput.body;
1195
- return throwDefaultError({
1196
- output,
1197
- parsedBody,
1198
- errorCode,
1199
- });
1200
- }
1201
- };
1202
- const throwDefaultError = smithyClient.withBaseException(RTBFabricServiceException);
1203
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1204
- const contents = smithyClient.map({});
1205
- const data = parsedOutput.body;
1206
- const doc = smithyClient.take(data, {
1207
- message: smithyClient.expectString,
1208
- });
1209
- Object.assign(contents, doc);
1210
- const exception = new AccessDeniedException({
1211
- $metadata: deserializeMetadata(parsedOutput),
1212
- ...contents,
1213
- });
1214
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1215
- };
1216
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1217
- const contents = smithyClient.map({});
1218
- const data = parsedOutput.body;
1219
- const doc = smithyClient.take(data, {
1220
- message: smithyClient.expectString,
1221
- });
1222
- Object.assign(contents, doc);
1223
- const exception = new ConflictException({
1224
- $metadata: deserializeMetadata(parsedOutput),
1225
- ...contents,
1226
- });
1227
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1228
- };
1229
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1230
- const contents = smithyClient.map({});
1231
- const data = parsedOutput.body;
1232
- const doc = smithyClient.take(data, {
1233
- message: smithyClient.expectString,
1234
- });
1235
- Object.assign(contents, doc);
1236
- const exception = new InternalServerException({
1237
- $metadata: deserializeMetadata(parsedOutput),
1238
- ...contents,
1239
- });
1240
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1241
- };
1242
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1243
- const contents = smithyClient.map({});
1244
- const data = parsedOutput.body;
1245
- const doc = smithyClient.take(data, {
1246
- message: smithyClient.expectString,
1247
- });
1248
- Object.assign(contents, doc);
1249
- const exception = new ResourceNotFoundException({
1250
- $metadata: deserializeMetadata(parsedOutput),
1251
- ...contents,
1252
- });
1253
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1254
- };
1255
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1256
- const contents = smithyClient.map({});
1257
- const data = parsedOutput.body;
1258
- const doc = smithyClient.take(data, {
1259
- message: smithyClient.expectString,
1260
- });
1261
- Object.assign(contents, doc);
1262
- const exception = new ServiceQuotaExceededException({
1263
- $metadata: deserializeMetadata(parsedOutput),
1264
- ...contents,
1265
- });
1266
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1267
- };
1268
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1269
- const contents = smithyClient.map({});
1270
- const data = parsedOutput.body;
1271
- const doc = smithyClient.take(data, {
1272
- message: smithyClient.expectString,
1273
- });
1274
- Object.assign(contents, doc);
1275
- const exception = new ThrottlingException({
1276
- $metadata: deserializeMetadata(parsedOutput),
1277
- ...contents,
1278
- });
1279
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1280
- };
1281
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1282
- const contents = smithyClient.map({});
1283
- const data = parsedOutput.body;
1284
- const doc = smithyClient.take(data, {
1285
- message: smithyClient.expectString,
1286
- });
1287
- Object.assign(contents, doc);
1288
- const exception = new ValidationException({
1289
- $metadata: deserializeMetadata(parsedOutput),
1290
- ...contents,
1291
- });
1292
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1293
- };
1294
- const se_LinkApplicationLogConfiguration = (input, context) => {
1295
- return smithyClient.take(input, {
1296
- sampling: (_) => se_LinkApplicationLogSampling(_),
1297
- });
1298
- };
1299
- const se_LinkApplicationLogSampling = (input, context) => {
1300
- return smithyClient.take(input, {
1301
- errorLog: smithyClient.serializeFloat,
1302
- filterLog: smithyClient.serializeFloat,
1303
- });
1304
- };
1305
- const se_LinkAttributes = (input, context) => {
1306
- return smithyClient.take(input, {
1307
- customerProvidedId: [],
1308
- responderErrorMasking: (_) => se_ResponderErrorMasking(_),
1309
- });
1310
- };
1311
- const se_LinkLogSettings = (input, context) => {
1312
- return smithyClient.take(input, {
1313
- applicationLogs: (_) => se_LinkApplicationLogConfiguration(_),
1314
- });
1315
- };
1316
- const se_ModuleConfiguration = (input, context) => {
1317
- return smithyClient.take(input, {
1318
- dependsOn: smithyClient._json,
1319
- moduleParameters: (_) => se_ModuleParameters(_),
1320
- name: [],
1321
- version: [],
1322
- });
1323
- };
1324
- const se_ModuleConfigurationList = (input, context) => {
1325
- return input
1326
- .filter((e) => e != null)
1327
- .map((entry) => {
1328
- return se_ModuleConfiguration(entry);
1329
- });
1330
- };
1331
- const se_ModuleParameters = (input, context) => {
1332
- return exports.ModuleParameters.visit(input, {
1333
- noBid: (value) => ({ noBid: se_NoBidModuleParameters(value) }),
1334
- openRtbAttribute: (value) => ({ openRtbAttribute: se_OpenRtbAttributeModuleParameters(value) }),
1335
- rateLimiter: (value) => ({ rateLimiter: se_RateLimiterModuleParameters(value) }),
1336
- _: (name, value) => ({ [name]: value }),
1337
- });
1338
- };
1339
- const se_NoBidModuleParameters = (input, context) => {
1340
- return smithyClient.take(input, {
1341
- passThroughPercentage: smithyClient.serializeFloat,
1342
- reason: [],
1343
- reasonCode: [],
1344
- });
1345
- };
1346
- const se_OpenRtbAttributeModuleParameters = (input, context) => {
1347
- return smithyClient.take(input, {
1348
- action: smithyClient._json,
1349
- filterConfiguration: smithyClient._json,
1350
- filterType: [],
1351
- holdbackPercentage: smithyClient.serializeFloat,
1352
- });
1353
- };
1354
- const se_RateLimiterModuleParameters = (input, context) => {
1355
- return smithyClient.take(input, {
1356
- tps: smithyClient.serializeFloat,
1357
- });
1358
- };
1359
- const se_ResponderErrorMasking = (input, context) => {
1360
- return input
1361
- .filter((e) => e != null)
1362
- .map((entry) => {
1363
- return se_ResponderErrorMaskingForHttpCode(entry);
1364
- });
1365
- };
1366
- const se_ResponderErrorMaskingForHttpCode = (input, context) => {
1367
- return smithyClient.take(input, {
1368
- action: [],
1369
- httpCode: [],
1370
- loggingTypes: smithyClient._json,
1371
- responseLoggingPercentage: smithyClient.serializeFloat,
1372
- });
1373
- };
1374
- const de_LinkApplicationLogConfiguration = (output, context) => {
1375
- return smithyClient.take(output, {
1376
- sampling: (_) => de_LinkApplicationLogSampling(_),
1377
- });
1378
- };
1379
- const de_LinkApplicationLogSampling = (output, context) => {
1380
- return smithyClient.take(output, {
1381
- errorLog: smithyClient.limitedParseDouble,
1382
- filterLog: smithyClient.limitedParseDouble,
1383
- });
1384
- };
1385
- const de_LinkAttributes = (output, context) => {
1386
- return smithyClient.take(output, {
1387
- customerProvidedId: smithyClient.expectString,
1388
- responderErrorMasking: (_) => de_ResponderErrorMasking(_),
1389
- });
1390
- };
1391
- const de_LinkList = (output, context) => {
1392
- const retVal = (output || [])
1393
- .filter((e) => e != null)
1394
- .map((entry) => {
1395
- return de_ListLinksResponseStructure(entry);
1396
- });
1397
- return retVal;
1398
- };
1399
- const de_LinkLogSettings = (output, context) => {
1400
- return smithyClient.take(output, {
1401
- applicationLogs: (_) => de_LinkApplicationLogConfiguration(_),
1402
- });
1403
- };
1404
- const de_ListLinksResponseStructure = (output, context) => {
1405
- return smithyClient.take(output, {
1406
- attributes: (_) => de_LinkAttributes(_),
1407
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1408
- direction: smithyClient.expectString,
1409
- flowModules: (_) => de_ModuleConfigurationList(_),
1410
- gatewayId: smithyClient.expectString,
1411
- linkId: smithyClient.expectString,
1412
- peerGatewayId: smithyClient.expectString,
1413
- pendingFlowModules: (_) => de_ModuleConfigurationList(_),
1414
- status: smithyClient.expectString,
1415
- tags: smithyClient._json,
1416
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1417
- });
1418
- };
1419
- const de_ModuleConfiguration = (output, context) => {
1420
- return smithyClient.take(output, {
1421
- dependsOn: smithyClient._json,
1422
- moduleParameters: (_) => de_ModuleParameters(core$1.awsExpectUnion(_)),
1423
- name: smithyClient.expectString,
1424
- version: smithyClient.expectString,
1425
- });
1426
- };
1427
- const de_ModuleConfigurationList = (output, context) => {
1428
- const retVal = (output || [])
1429
- .filter((e) => e != null)
1430
- .map((entry) => {
1431
- return de_ModuleConfiguration(entry);
1432
- });
1433
- return retVal;
1434
- };
1435
- const de_ModuleParameters = (output, context) => {
1436
- if (output.noBid != null) {
1437
- return {
1438
- noBid: de_NoBidModuleParameters(output.noBid),
1439
- };
1440
- }
1441
- if (output.openRtbAttribute != null) {
1442
- return {
1443
- openRtbAttribute: de_OpenRtbAttributeModuleParameters(output.openRtbAttribute),
1444
- };
1445
- }
1446
- if (output.rateLimiter != null) {
1447
- return {
1448
- rateLimiter: de_RateLimiterModuleParameters(output.rateLimiter),
1449
- };
1450
- }
1451
- return { $unknown: Object.entries(output)[0] };
1452
- };
1453
- const de_NoBidModuleParameters = (output, context) => {
1454
- return smithyClient.take(output, {
1455
- passThroughPercentage: smithyClient.limitedParseFloat32,
1456
- reason: smithyClient.expectString,
1457
- reasonCode: smithyClient.expectInt32,
1458
- });
1459
- };
1460
- const de_OpenRtbAttributeModuleParameters = (output, context) => {
1461
- return smithyClient.take(output, {
1462
- action: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1463
- filterConfiguration: smithyClient._json,
1464
- filterType: smithyClient.expectString,
1465
- holdbackPercentage: smithyClient.limitedParseFloat32,
1466
- });
1467
- };
1468
- const de_RateLimiterModuleParameters = (output, context) => {
1469
- return smithyClient.take(output, {
1470
- tps: smithyClient.limitedParseFloat32,
1471
- });
1472
- };
1473
- const de_ResponderErrorMasking = (output, context) => {
1474
- const retVal = (output || [])
1475
- .filter((e) => e != null)
1476
- .map((entry) => {
1477
- return de_ResponderErrorMaskingForHttpCode(entry);
1478
- });
1479
- return retVal;
1480
- };
1481
- const de_ResponderErrorMaskingForHttpCode = (output, context) => {
1482
- return smithyClient.take(output, {
1483
- action: smithyClient.expectString,
1484
- httpCode: smithyClient.expectString,
1485
- loggingTypes: smithyClient._json,
1486
- responseLoggingPercentage: smithyClient.limitedParseFloat32,
1487
- });
1488
- };
1489
- const deserializeMetadata = (output) => ({
1490
- httpStatusCode: output.statusCode,
1491
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1492
- extendedRequestId: output.headers["x-amz-id-2"],
1493
- cfId: output.headers["x-amz-cf-id"],
1494
- });
298
+ const _A = "Action";
299
+ const _ADE = "AccessDeniedException";
300
+ const _AL = "AcceptLink";
301
+ const _ALR = "AcceptLinkRequest";
302
+ const _ALRc = "AcceptLinkResponse";
303
+ const _ASGC = "AutoScalingGroupsConfiguration";
304
+ const _BECC = "Base64EncodedCertificateChain";
305
+ const _CAC = "CertificateAuthorityCertificates";
306
+ const _CE = "ConflictException";
307
+ const _CIEL = "CreateInboundExternalLink";
308
+ const _CIELR = "CreateInboundExternalLinkRequest";
309
+ const _CIELRr = "CreateInboundExternalLinkResponse";
310
+ const _CL = "CreateLink";
311
+ const _CLR = "CreateLinkRequest";
312
+ const _CLRr = "CreateLinkResponse";
313
+ const _COEL = "CreateOutboundExternalLink";
314
+ const _COELR = "CreateOutboundExternalLinkRequest";
315
+ const _COELRr = "CreateOutboundExternalLinkResponse";
316
+ const _CRG = "CreateRequesterGateway";
317
+ const _CRGR = "CreateRequesterGatewayRequest";
318
+ const _CRGRr = "CreateRequesterGatewayResponse";
319
+ const _CRGRre = "CreateResponderGatewayRequest";
320
+ const _CRGRrea = "CreateResponderGatewayResponse";
321
+ const _CRGr = "CreateResponderGateway";
322
+ const _DIEL = "DeleteInboundExternalLink";
323
+ const _DIELR = "DeleteInboundExternalLinkRequest";
324
+ const _DIELRe = "DeleteInboundExternalLinkResponse";
325
+ const _DL = "DeleteLink";
326
+ const _DLR = "DeleteLinkRequest";
327
+ const _DLRe = "DeleteLinkResponse";
328
+ const _DOEL = "DeleteOutboundExternalLink";
329
+ const _DOELR = "DeleteOutboundExternalLinkRequest";
330
+ const _DOELRe = "DeleteOutboundExternalLinkResponse";
331
+ const _DRG = "DeleteRequesterGateway";
332
+ const _DRGR = "DeleteRequesterGatewayRequest";
333
+ const _DRGRe = "DeleteRequesterGatewayResponse";
334
+ const _DRGRel = "DeleteResponderGatewayRequest";
335
+ const _DRGRele = "DeleteResponderGatewayResponse";
336
+ const _DRGe = "DeleteResponderGateway";
337
+ const _EEC = "EksEndpointsConfiguration";
338
+ const _F = "Filter";
339
+ const _FC = "FilterCriterion";
340
+ const _FCi = "FilterConfiguration";
341
+ const _FCil = "FilterCriteria";
342
+ const _GIEL = "GetInboundExternalLink";
343
+ const _GIELR = "GetInboundExternalLinkRequest";
344
+ const _GIELRe = "GetInboundExternalLinkResponse";
345
+ const _GL = "GetLink";
346
+ const _GLR = "GetLinkRequest";
347
+ const _GLRe = "GetLinkResponse";
348
+ const _GOEL = "GetOutboundExternalLink";
349
+ const _GOELR = "GetOutboundExternalLinkRequest";
350
+ const _GOELRe = "GetOutboundExternalLinkResponse";
351
+ const _GRG = "GetRequesterGateway";
352
+ const _GRGR = "GetRequesterGatewayRequest";
353
+ const _GRGRe = "GetRequesterGatewayResponse";
354
+ const _GRGRet = "GetResponderGatewayRequest";
355
+ const _GRGRete = "GetResponderGatewayResponse";
356
+ const _GRGe = "GetResponderGateway";
357
+ const _HTA = "HeaderTagAction";
358
+ const _ISE = "InternalServerException";
359
+ const _LA = "LinkAttributes";
360
+ const _LALC = "LinkApplicationLogConfiguration";
361
+ const _LALS = "LinkApplicationLogSampling";
362
+ const _LL = "LinkList";
363
+ const _LLR = "ListLinksRequest";
364
+ const _LLRS = "ListLinksResponseStructure";
365
+ const _LLRi = "ListLinksResponse";
366
+ const _LLS = "LinkLogSettings";
367
+ const _LLi = "ListLinks";
368
+ const _LRG = "ListRequesterGateways";
369
+ const _LRGR = "ListRequesterGatewaysRequest";
370
+ const _LRGRi = "ListRequesterGatewaysResponse";
371
+ const _LRGRis = "ListResponderGatewaysRequest";
372
+ const _LRGRist = "ListResponderGatewaysResponse";
373
+ const _LRGi = "ListResponderGateways";
374
+ const _LTFR = "ListTagsForResource";
375
+ const _LTFRR = "ListTagsForResourceRequest";
376
+ const _LTFRRi = "ListTagsForResourceResponse";
377
+ const _MC = "ModuleConfiguration";
378
+ const _MCL = "ModuleConfigurationList";
379
+ const _MEC = "ManagedEndpointConfiguration";
380
+ const _MP = "ModuleParameters";
381
+ const _NBA = "NoBidAction";
382
+ const _NBMP = "NoBidModuleParameters";
383
+ const _ORAMP = "OpenRtbAttributeModuleParameters";
384
+ const _REM = "ResponderErrorMasking";
385
+ const _REMFHC = "ResponderErrorMaskingForHttpCode";
386
+ const _RL = "RejectLink";
387
+ const _RLMP = "RateLimiterModuleParameters";
388
+ const _RLR = "RejectLinkRequest";
389
+ const _RLRe = "RejectLinkResponse";
390
+ const _RNFE = "ResourceNotFoundException";
391
+ const _SQEE = "ServiceQuotaExceededException";
392
+ const _TE = "ThrottlingException";
393
+ const _TR = "TagResource";
394
+ const _TRR = "TagResourceRequest";
395
+ const _TRRa = "TagResourceResponse";
396
+ const _TSC = "TrustStoreConfiguration";
397
+ const _UL = "UpdateLink";
398
+ const _ULMF = "UpdateLinkModuleFlow";
399
+ const _ULMFR = "UpdateLinkModuleFlowRequest";
400
+ const _ULMFRp = "UpdateLinkModuleFlowResponse";
401
+ const _ULR = "UpdateLinkRequest";
402
+ const _ULRp = "UpdateLinkResponse";
403
+ const _UR = "UntagResource";
404
+ const _URG = "UpdateRequesterGateway";
405
+ const _URGR = "UpdateRequesterGatewayRequest";
406
+ const _URGRp = "UpdateRequesterGatewayResponse";
407
+ const _URGRpd = "UpdateResponderGatewayRequest";
408
+ const _URGRpda = "UpdateResponderGatewayResponse";
409
+ const _URGp = "UpdateResponderGateway";
410
+ const _URR = "UntagResourceRequest";
411
+ const _URRn = "UntagResourceResponse";
412
+ const _VE = "ValidationException";
413
+ const _a = "attributes";
414
+ const _aL = "applicationLogs";
415
+ const _aLC = "activeLinksCount";
416
+ const _aSG = "autoScalingGroups";
417
+ const _aSGN = "autoScalingGroupNames";
418
+ const _ac = "action";
419
+ const _c = "client";
420
+ const _cA = "createdAt";
421
+ const _cAC = "certificateAuthorityCertificates";
422
+ const _cASCCC = "clusterApiServerCaCertificateChain";
423
+ const _cASEU = "clusterApiServerEndpointUri";
424
+ const _cN = "clusterName";
425
+ const _cPI = "customerProvidedId";
426
+ const _cT = "clientToken";
427
+ const _cr = "criteria";
428
+ const _d = "direction";
429
+ const _dN = "domainName";
430
+ const _dO = "dependsOn";
431
+ const _de = "description";
432
+ const _e = "error";
433
+ const _eE = "eksEndpoints";
434
+ const _eL = "errorLog";
435
+ const _eRN = "endpointsResourceName";
436
+ const _eRNn = "endpointsResourceNamespace";
437
+ const _fC = "filterConfiguration";
438
+ const _fL = "filterLog";
439
+ const _fM = "flowModules";
440
+ const _fT = "filterType";
441
+ const _gI = "gatewayId";
442
+ const _gIa = "gatewayIds";
443
+ const _h = "http";
444
+ const _hC = "httpCode";
445
+ const _hE = "httpError";
446
+ const _hP = "holdbackPercentage";
447
+ const _hQ = "httpQuery";
448
+ const _hRA = "httpResponderAllowed";
449
+ const _hT = "headerTag";
450
+ const _iLC = "inboundLinksCount";
451
+ const _l = "links";
452
+ const _lI = "linkId";
453
+ const _lS = "logSettings";
454
+ const _lT = "loggingTypes";
455
+ const _m = "message";
456
+ const _mEC = "managedEndpointConfiguration";
457
+ const _mP = "moduleParameters";
1495
458
  const _mR = "maxResults";
459
+ const _mo = "modules";
460
+ const _n = "name";
461
+ const _nB = "noBid";
462
+ const _nBRC = "noBidReasonCode";
1496
463
  const _nT = "nextToken";
464
+ const _oRA = "openRtbAttribute";
465
+ const _p = "port";
466
+ const _pE = "publicEndpoint";
467
+ const _pFM = "pendingFlowModules";
468
+ const _pGI = "peerGatewayId";
469
+ const _pTP = "passThroughPercentage";
470
+ const _pa = "path";
471
+ const _pr = "protocol";
472
+ const _r = "reason";
473
+ const _rA = "roleArn";
474
+ const _rAe = "resourceArn";
475
+ const _rC = "reasonCode";
476
+ const _rEM = "responderErrorMasking";
477
+ const _rL = "rateLimiter";
478
+ const _rLP = "responseLoggingPercentage";
479
+ const _s = "status";
480
+ const _sGI = "securityGroupIds";
481
+ const _sI = "subnetIds";
482
+ const _sa = "sampling";
483
+ const _se = "server";
484
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rtbfabric";
485
+ const _t = "tags";
1497
486
  const _tK = "tagKeys";
487
+ const _tLC = "totalLinksCount";
488
+ const _tSC = "trustStoreConfiguration";
489
+ const _tp = "tps";
490
+ const _uA = "updatedAt";
491
+ const _v = "values";
492
+ const _vI = "vpcId";
493
+ const _va = "value";
494
+ const _ve = "version";
495
+ const n0 = "com.amazonaws.rtbfabric";
496
+ var Base64EncodedCertificateChain = [0, n0, _BECC, 8, 0];
497
+ var AcceptLinkRequest = [
498
+ 3,
499
+ n0,
500
+ _ALR,
501
+ 0,
502
+ [_gI, _lI, _a, _lS],
503
+ [[0, 1], [0, 1], () => LinkAttributes, () => LinkLogSettings],
504
+ ];
505
+ var AcceptLinkResponse = [
506
+ 3,
507
+ n0,
508
+ _ALRc,
509
+ 0,
510
+ [_gI, _pGI, _s, _cA, _uA, _d, _fM, _pFM, _a, _lI],
511
+ [0, 0, 0, 4, 4, 0, () => ModuleConfigurationList, () => ModuleConfigurationList, () => LinkAttributes, 0],
512
+ ];
513
+ var AccessDeniedException = [
514
+ -3,
515
+ n0,
516
+ _ADE,
517
+ {
518
+ [_e]: _c,
519
+ [_hE]: 403,
520
+ },
521
+ [_m],
522
+ [0],
523
+ ];
524
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
525
+ var AutoScalingGroupsConfiguration = [3, n0, _ASGC, 0, [_aSGN, _rA], [64 | 0, 0]];
526
+ var ConflictException = [
527
+ -3,
528
+ n0,
529
+ _CE,
530
+ {
531
+ [_e]: _c,
532
+ [_hE]: 409,
533
+ },
534
+ [_m],
535
+ [0],
536
+ ];
537
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
538
+ var CreateInboundExternalLinkRequest = [
539
+ 3,
540
+ n0,
541
+ _CIELR,
542
+ 0,
543
+ [_cT, _gI, _a, _lS, _t],
544
+ [[0, 4], [0, 1], () => LinkAttributes, () => LinkLogSettings, 128 | 0],
545
+ ];
546
+ var CreateInboundExternalLinkResponse = [
547
+ 3,
548
+ n0,
549
+ _CIELRr,
550
+ 0,
551
+ [_gI, _lI, _s, _dN],
552
+ [0, 0, 0, 0],
553
+ ];
554
+ var CreateLinkRequest = [
555
+ 3,
556
+ n0,
557
+ _CLR,
558
+ 0,
559
+ [_gI, _pGI, _a, _hRA, _t, _lS],
560
+ [[0, 1], 0, () => LinkAttributes, 2, 128 | 0, () => LinkLogSettings],
561
+ ];
562
+ var CreateLinkResponse = [
563
+ 3,
564
+ n0,
565
+ _CLRr,
566
+ 0,
567
+ [_gI, _pGI, _s, _cA, _uA, _d, _fM, _pFM, _a, _lI, _cPI],
568
+ [0, 0, 0, 4, 4, 0, () => ModuleConfigurationList, () => ModuleConfigurationList, () => LinkAttributes, 0, 0],
569
+ ];
570
+ var CreateOutboundExternalLinkRequest = [
571
+ 3,
572
+ n0,
573
+ _COELR,
574
+ 0,
575
+ [_cT, _gI, _a, _pE, _lS, _t],
576
+ [[0, 4], [0, 1], () => LinkAttributes, 0, () => LinkLogSettings, 128 | 0],
577
+ ];
578
+ var CreateOutboundExternalLinkResponse = [3, n0, _COELRr, 0, [_gI, _lI, _s], [0, 0, 0]];
579
+ var CreateRequesterGatewayRequest = [
580
+ 3,
581
+ n0,
582
+ _CRGR,
583
+ 0,
584
+ [_vI, _sI, _sGI, _cT, _de, _t],
585
+ [0, 64 | 0, 64 | 0, [0, 4], 0, 128 | 0],
586
+ ];
587
+ var CreateRequesterGatewayResponse = [3, n0, _CRGRr, 0, [_gI, _dN, _s], [0, 0, 0]];
588
+ var CreateResponderGatewayRequest = [
589
+ 3,
590
+ n0,
591
+ _CRGRre,
592
+ 0,
593
+ [_vI, _sI, _sGI, _dN, _p, _pr, _tSC, _mEC, _cT, _de, _t],
594
+ [
595
+ 0,
596
+ 64 | 0,
597
+ 64 | 0,
598
+ 0,
599
+ 1,
600
+ 0,
601
+ [() => TrustStoreConfiguration, 0],
602
+ [() => ManagedEndpointConfiguration, 0],
603
+ [0, 4],
604
+ 0,
605
+ 128 | 0,
606
+ ],
607
+ ];
608
+ var CreateResponderGatewayResponse = [3, n0, _CRGRrea, 0, [_gI, _s], [0, 0]];
609
+ var DeleteInboundExternalLinkRequest = [
610
+ 3,
611
+ n0,
612
+ _DIELR,
613
+ 0,
614
+ [_gI, _lI],
615
+ [
616
+ [0, 1],
617
+ [0, 1],
618
+ ],
619
+ ];
620
+ var DeleteInboundExternalLinkResponse = [3, n0, _DIELRe, 0, [_lI, _s], [0, 0]];
621
+ var DeleteLinkRequest = [
622
+ 3,
623
+ n0,
624
+ _DLR,
625
+ 0,
626
+ [_gI, _lI],
627
+ [
628
+ [0, 1],
629
+ [0, 1],
630
+ ],
631
+ ];
632
+ var DeleteLinkResponse = [3, n0, _DLRe, 0, [_lI, _s], [0, 0]];
633
+ var DeleteOutboundExternalLinkRequest = [
634
+ 3,
635
+ n0,
636
+ _DOELR,
637
+ 0,
638
+ [_gI, _lI],
639
+ [
640
+ [0, 1],
641
+ [0, 1],
642
+ ],
643
+ ];
644
+ var DeleteOutboundExternalLinkResponse = [3, n0, _DOELRe, 0, [_lI, _s], [0, 0]];
645
+ var DeleteRequesterGatewayRequest = [3, n0, _DRGR, 0, [_gI], [[0, 1]]];
646
+ var DeleteRequesterGatewayResponse = [3, n0, _DRGRe, 0, [_gI, _s], [0, 0]];
647
+ var DeleteResponderGatewayRequest = [3, n0, _DRGRel, 0, [_gI], [[0, 1]]];
648
+ var DeleteResponderGatewayResponse = [3, n0, _DRGRele, 0, [_gI, _s], [0, 0]];
649
+ var EksEndpointsConfiguration = [
650
+ 3,
651
+ n0,
652
+ _EEC,
653
+ 0,
654
+ [_eRN, _eRNn, _cASEU, _cASCCC, _cN, _rA],
655
+ [0, 0, 0, [() => Base64EncodedCertificateChain, 0], 0, 0],
656
+ ];
657
+ var Filter = [3, n0, _F, 0, [_cr], [() => FilterCriteria]];
658
+ var FilterCriterion = [3, n0, _FC, 0, [_pa, _v], [0, 64 | 0]];
659
+ var GetInboundExternalLinkRequest = [
660
+ 3,
661
+ n0,
662
+ _GIELR,
663
+ 0,
664
+ [_gI, _lI],
665
+ [
666
+ [0, 1],
667
+ [0, 1],
668
+ ],
669
+ ];
670
+ var GetInboundExternalLinkResponse = [
671
+ 3,
672
+ n0,
673
+ _GIELRe,
674
+ 0,
675
+ [_gI, _lI, _s, _dN, _fM, _pFM, _a, _cA, _uA, _t, _lS],
676
+ [
677
+ 0,
678
+ 0,
679
+ 0,
680
+ 0,
681
+ () => ModuleConfigurationList,
682
+ () => ModuleConfigurationList,
683
+ () => LinkAttributes,
684
+ 4,
685
+ 4,
686
+ 128 | 0,
687
+ () => LinkLogSettings,
688
+ ],
689
+ ];
690
+ var GetLinkRequest = [
691
+ 3,
692
+ n0,
693
+ _GLR,
694
+ 0,
695
+ [_gI, _lI],
696
+ [
697
+ [0, 1],
698
+ [0, 1],
699
+ ],
700
+ ];
701
+ var GetLinkResponse = [
702
+ 3,
703
+ n0,
704
+ _GLRe,
705
+ 0,
706
+ [_gI, _pGI, _s, _cA, _uA, _d, _fM, _pFM, _a, _lI, _t, _lS],
707
+ [
708
+ 0,
709
+ 0,
710
+ 0,
711
+ 4,
712
+ 4,
713
+ 0,
714
+ () => ModuleConfigurationList,
715
+ () => ModuleConfigurationList,
716
+ () => LinkAttributes,
717
+ 0,
718
+ 128 | 0,
719
+ () => LinkLogSettings,
720
+ ],
721
+ ];
722
+ var GetOutboundExternalLinkRequest = [
723
+ 3,
724
+ n0,
725
+ _GOELR,
726
+ 0,
727
+ [_gI, _lI],
728
+ [
729
+ [0, 1],
730
+ [0, 1],
731
+ ],
732
+ ];
733
+ var GetOutboundExternalLinkResponse = [
734
+ 3,
735
+ n0,
736
+ _GOELRe,
737
+ 0,
738
+ [_gI, _lI, _s, _pE, _cA, _uA, _t, _lS],
739
+ [0, 0, 0, 0, 4, 4, 128 | 0, () => LinkLogSettings],
740
+ ];
741
+ var GetRequesterGatewayRequest = [3, n0, _GRGR, 0, [_gI], [[0, 1]]];
742
+ var GetRequesterGatewayResponse = [
743
+ 3,
744
+ n0,
745
+ _GRGRe,
746
+ 0,
747
+ [_s, _dN, _de, _cA, _uA, _vI, _sI, _sGI, _gI, _t, _aLC, _tLC],
748
+ [0, 0, 0, 4, 4, 0, 64 | 0, 64 | 0, 0, 128 | 0, 1, 1],
749
+ ];
750
+ var GetResponderGatewayRequest = [3, n0, _GRGRet, 0, [_gI], [[0, 1]]];
751
+ var GetResponderGatewayResponse = [
752
+ 3,
753
+ n0,
754
+ _GRGRete,
755
+ 0,
756
+ [_vI, _sI, _sGI, _s, _de, _cA, _uA, _dN, _p, _pr, _tSC, _mEC, _gI, _t, _aLC, _tLC, _iLC],
757
+ [
758
+ 0,
759
+ 64 | 0,
760
+ 64 | 0,
761
+ 0,
762
+ 0,
763
+ 4,
764
+ 4,
765
+ 0,
766
+ 1,
767
+ 0,
768
+ [() => TrustStoreConfiguration, 0],
769
+ [() => ManagedEndpointConfiguration, 0],
770
+ 0,
771
+ 128 | 0,
772
+ 1,
773
+ 1,
774
+ 1,
775
+ ],
776
+ ];
777
+ var HeaderTagAction = [3, n0, _HTA, 0, [_n, _va], [0, 0]];
778
+ var InternalServerException = [
779
+ -3,
780
+ n0,
781
+ _ISE,
782
+ {
783
+ [_e]: _se,
784
+ [_hE]: 500,
785
+ },
786
+ [_m],
787
+ [0],
788
+ ];
789
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
790
+ var LinkApplicationLogConfiguration = [
791
+ 3,
792
+ n0,
793
+ _LALC,
794
+ 0,
795
+ [_sa],
796
+ [() => LinkApplicationLogSampling],
797
+ ];
798
+ var LinkApplicationLogSampling = [3, n0, _LALS, 0, [_eL, _fL], [1, 1]];
799
+ var LinkAttributes = [3, n0, _LA, 0, [_rEM, _cPI], [() => ResponderErrorMasking, 0]];
800
+ var LinkLogSettings = [3, n0, _LLS, 0, [_aL], [() => LinkApplicationLogConfiguration]];
801
+ var ListLinksRequest = [
802
+ 3,
803
+ n0,
804
+ _LLR,
805
+ 0,
806
+ [_gI, _nT, _mR],
807
+ [
808
+ [0, 1],
809
+ [
810
+ 0,
811
+ {
812
+ [_hQ]: _nT,
813
+ },
814
+ ],
815
+ [
816
+ 1,
817
+ {
818
+ [_hQ]: _mR,
819
+ },
820
+ ],
821
+ ],
822
+ ];
823
+ var ListLinksResponse = [3, n0, _LLRi, 0, [_l, _nT], [() => LinkList, 0]];
824
+ var ListLinksResponseStructure = [
825
+ 3,
826
+ n0,
827
+ _LLRS,
828
+ 0,
829
+ [_gI, _pGI, _s, _cA, _uA, _d, _fM, _pFM, _a, _lI, _t],
830
+ [0, 0, 0, 4, 4, 0, () => ModuleConfigurationList, () => ModuleConfigurationList, () => LinkAttributes, 0, 128 | 0],
831
+ ];
832
+ var ListRequesterGatewaysRequest = [
833
+ 3,
834
+ n0,
835
+ _LRGR,
836
+ 0,
837
+ [_mR, _nT],
838
+ [
839
+ [
840
+ 1,
841
+ {
842
+ [_hQ]: _mR,
843
+ },
844
+ ],
845
+ [
846
+ 0,
847
+ {
848
+ [_hQ]: _nT,
849
+ },
850
+ ],
851
+ ],
852
+ ];
853
+ var ListRequesterGatewaysResponse = [3, n0, _LRGRi, 0, [_gIa, _nT], [64 | 0, 0]];
854
+ var ListResponderGatewaysRequest = [
855
+ 3,
856
+ n0,
857
+ _LRGRis,
858
+ 0,
859
+ [_mR, _nT],
860
+ [
861
+ [
862
+ 1,
863
+ {
864
+ [_hQ]: _mR,
865
+ },
866
+ ],
867
+ [
868
+ 0,
869
+ {
870
+ [_hQ]: _nT,
871
+ },
872
+ ],
873
+ ],
874
+ ];
875
+ var ListResponderGatewaysResponse = [3, n0, _LRGRist, 0, [_gIa, _nT], [64 | 0, 0]];
876
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rAe], [[0, 1]]];
877
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
878
+ var ModuleConfiguration = [
879
+ 3,
880
+ n0,
881
+ _MC,
882
+ 0,
883
+ [_ve, _n, _dO, _mP],
884
+ [0, 0, 64 | 0, () => ModuleParameters],
885
+ ];
886
+ var NoBidAction = [3, n0, _NBA, 0, [_nBRC], [1]];
887
+ var NoBidModuleParameters = [3, n0, _NBMP, 0, [_r, _rC, _pTP], [0, 1, 1]];
888
+ var OpenRtbAttributeModuleParameters = [
889
+ 3,
890
+ n0,
891
+ _ORAMP,
892
+ 0,
893
+ [_fT, _fC, _ac, _hP],
894
+ [0, () => FilterConfiguration, () => Action, 1],
895
+ ];
896
+ var RateLimiterModuleParameters = [3, n0, _RLMP, 0, [_tp], [1]];
897
+ var RejectLinkRequest = [
898
+ 3,
899
+ n0,
900
+ _RLR,
901
+ 0,
902
+ [_gI, _lI],
903
+ [
904
+ [0, 1],
905
+ [0, 1],
906
+ ],
907
+ ];
908
+ var RejectLinkResponse = [
909
+ 3,
910
+ n0,
911
+ _RLRe,
912
+ 0,
913
+ [_gI, _pGI, _s, _cA, _uA, _d, _fM, _pFM, _a, _lI],
914
+ [0, 0, 0, 4, 4, 0, () => ModuleConfigurationList, () => ModuleConfigurationList, () => LinkAttributes, 0],
915
+ ];
916
+ var ResourceNotFoundException = [
917
+ -3,
918
+ n0,
919
+ _RNFE,
920
+ {
921
+ [_e]: _c,
922
+ [_hE]: 404,
923
+ },
924
+ [_m],
925
+ [0],
926
+ ];
927
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
928
+ var ResponderErrorMaskingForHttpCode = [
929
+ 3,
930
+ n0,
931
+ _REMFHC,
932
+ 0,
933
+ [_hC, _ac, _lT, _rLP],
934
+ [0, 0, 64 | 0, 1],
935
+ ];
936
+ var ServiceQuotaExceededException = [
937
+ -3,
938
+ n0,
939
+ _SQEE,
940
+ {
941
+ [_e]: _c,
942
+ [_hE]: 402,
943
+ },
944
+ [_m],
945
+ [0],
946
+ ];
947
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
948
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _t], [[0, 1], 128 | 0]];
949
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
950
+ var ThrottlingException = [
951
+ -3,
952
+ n0,
953
+ _TE,
954
+ {
955
+ [_e]: _c,
956
+ [_hE]: 429,
957
+ },
958
+ [_m],
959
+ [0],
960
+ ];
961
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
962
+ var TrustStoreConfiguration = [
963
+ 3,
964
+ n0,
965
+ _TSC,
966
+ 0,
967
+ [_cAC],
968
+ [[() => CertificateAuthorityCertificates, 0]],
969
+ ];
970
+ var UntagResourceRequest = [
971
+ 3,
972
+ n0,
973
+ _URR,
974
+ 0,
975
+ [_rAe, _tK],
976
+ [
977
+ [0, 1],
978
+ [
979
+ 64 | 0,
980
+ {
981
+ [_hQ]: _tK,
982
+ },
983
+ ],
984
+ ],
985
+ ];
986
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
987
+ var UpdateLinkModuleFlowRequest = [
988
+ 3,
989
+ n0,
990
+ _ULMFR,
991
+ 0,
992
+ [_cT, _gI, _lI, _mo],
993
+ [[0, 4], [0, 1], [0, 1], () => ModuleConfigurationList],
994
+ ];
995
+ var UpdateLinkModuleFlowResponse = [3, n0, _ULMFRp, 0, [_gI, _lI, _s], [0, 0, 0]];
996
+ var UpdateLinkRequest = [
997
+ 3,
998
+ n0,
999
+ _ULR,
1000
+ 0,
1001
+ [_gI, _lI, _lS],
1002
+ [[0, 1], [0, 1], () => LinkLogSettings],
1003
+ ];
1004
+ var UpdateLinkResponse = [3, n0, _ULRp, 0, [_lI, _s], [0, 0]];
1005
+ var UpdateRequesterGatewayRequest = [
1006
+ 3,
1007
+ n0,
1008
+ _URGR,
1009
+ 0,
1010
+ [_cT, _gI, _de],
1011
+ [[0, 4], [0, 1], 0],
1012
+ ];
1013
+ var UpdateRequesterGatewayResponse = [3, n0, _URGRp, 0, [_gI, _s], [0, 0]];
1014
+ var UpdateResponderGatewayRequest = [
1015
+ 3,
1016
+ n0,
1017
+ _URGRpd,
1018
+ 0,
1019
+ [_dN, _p, _pr, _tSC, _mEC, _cT, _gI, _de],
1020
+ [0, 1, 0, [() => TrustStoreConfiguration, 0], [() => ManagedEndpointConfiguration, 0], [0, 4], [0, 1], 0],
1021
+ ];
1022
+ var UpdateResponderGatewayResponse = [3, n0, _URGRpda, 0, [_gI, _s], [0, 0]];
1023
+ var ValidationException = [
1024
+ -3,
1025
+ n0,
1026
+ _VE,
1027
+ {
1028
+ [_e]: _c,
1029
+ [_hE]: 400,
1030
+ },
1031
+ [_m],
1032
+ [0],
1033
+ ];
1034
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1035
+ var RTBFabricServiceException = [-3, _sm, "RTBFabricServiceException", 0, [], []];
1036
+ schema.TypeRegistry.for(_sm).registerError(RTBFabricServiceException, RTBFabricServiceException$1);
1037
+ var CertificateAuthorityCertificates = [
1038
+ 1,
1039
+ n0,
1040
+ _CAC,
1041
+ 0,
1042
+ [() => Base64EncodedCertificateChain, 0],
1043
+ ];
1044
+ var FilterConfiguration = [1, n0, _FCi, 0, () => Filter];
1045
+ var FilterCriteria = [1, n0, _FCil, 0, () => FilterCriterion];
1046
+ var LinkList = [1, n0, _LL, 0, () => ListLinksResponseStructure];
1047
+ var ModuleConfigurationList = [1, n0, _MCL, 0, () => ModuleConfiguration];
1048
+ var ResponderErrorMasking = [1, n0, _REM, 0, () => ResponderErrorMaskingForHttpCode];
1049
+ var Action = [3, n0, _A, 0, [_nB, _hT], [() => NoBidAction, () => HeaderTagAction]];
1050
+ var ManagedEndpointConfiguration = [
1051
+ 3,
1052
+ n0,
1053
+ _MEC,
1054
+ 0,
1055
+ [_aSG, _eE],
1056
+ [() => AutoScalingGroupsConfiguration, [() => EksEndpointsConfiguration, 0]],
1057
+ ];
1058
+ var ModuleParameters = [
1059
+ 3,
1060
+ n0,
1061
+ _MP,
1062
+ 0,
1063
+ [_nB, _oRA, _rL],
1064
+ [() => NoBidModuleParameters, () => OpenRtbAttributeModuleParameters, () => RateLimiterModuleParameters],
1065
+ ];
1066
+ var AcceptLink = [
1067
+ 9,
1068
+ n0,
1069
+ _AL,
1070
+ {
1071
+ [_h]: ["POST", "/gateway/{gatewayId}/link/{linkId}/accept", 200],
1072
+ },
1073
+ () => AcceptLinkRequest,
1074
+ () => AcceptLinkResponse,
1075
+ ];
1076
+ var CreateInboundExternalLink = [
1077
+ 9,
1078
+ n0,
1079
+ _CIEL,
1080
+ {
1081
+ [_h]: ["POST", "/responder-gateway/{gatewayId}/inbound-external-link", 200],
1082
+ },
1083
+ () => CreateInboundExternalLinkRequest,
1084
+ () => CreateInboundExternalLinkResponse,
1085
+ ];
1086
+ var CreateLink = [
1087
+ 9,
1088
+ n0,
1089
+ _CL,
1090
+ {
1091
+ [_h]: ["POST", "/gateway/{gatewayId}/create-link", 200],
1092
+ },
1093
+ () => CreateLinkRequest,
1094
+ () => CreateLinkResponse,
1095
+ ];
1096
+ var CreateOutboundExternalLink = [
1097
+ 9,
1098
+ n0,
1099
+ _COEL,
1100
+ {
1101
+ [_h]: ["POST", "/requester-gateway/{gatewayId}/outbound-external-link", 200],
1102
+ },
1103
+ () => CreateOutboundExternalLinkRequest,
1104
+ () => CreateOutboundExternalLinkResponse,
1105
+ ];
1106
+ var CreateRequesterGateway = [
1107
+ 9,
1108
+ n0,
1109
+ _CRG,
1110
+ {
1111
+ [_h]: ["POST", "/requester-gateway", 200],
1112
+ },
1113
+ () => CreateRequesterGatewayRequest,
1114
+ () => CreateRequesterGatewayResponse,
1115
+ ];
1116
+ var CreateResponderGateway = [
1117
+ 9,
1118
+ n0,
1119
+ _CRGr,
1120
+ {
1121
+ [_h]: ["POST", "/responder-gateway", 200],
1122
+ },
1123
+ () => CreateResponderGatewayRequest,
1124
+ () => CreateResponderGatewayResponse,
1125
+ ];
1126
+ var DeleteInboundExternalLink = [
1127
+ 9,
1128
+ n0,
1129
+ _DIEL,
1130
+ {
1131
+ [_h]: ["DELETE", "/responder-gateway/{gatewayId}/inbound-external-link/{linkId}", 200],
1132
+ },
1133
+ () => DeleteInboundExternalLinkRequest,
1134
+ () => DeleteInboundExternalLinkResponse,
1135
+ ];
1136
+ var DeleteLink = [
1137
+ 9,
1138
+ n0,
1139
+ _DL,
1140
+ {
1141
+ [_h]: ["DELETE", "/gateway/{gatewayId}/link/{linkId}", 200],
1142
+ },
1143
+ () => DeleteLinkRequest,
1144
+ () => DeleteLinkResponse,
1145
+ ];
1146
+ var DeleteOutboundExternalLink = [
1147
+ 9,
1148
+ n0,
1149
+ _DOEL,
1150
+ {
1151
+ [_h]: ["DELETE", "/requester-gateway/{gatewayId}/outbound-external-link/{linkId}", 200],
1152
+ },
1153
+ () => DeleteOutboundExternalLinkRequest,
1154
+ () => DeleteOutboundExternalLinkResponse,
1155
+ ];
1156
+ var DeleteRequesterGateway = [
1157
+ 9,
1158
+ n0,
1159
+ _DRG,
1160
+ {
1161
+ [_h]: ["DELETE", "/requester-gateway/{gatewayId}", 200],
1162
+ },
1163
+ () => DeleteRequesterGatewayRequest,
1164
+ () => DeleteRequesterGatewayResponse,
1165
+ ];
1166
+ var DeleteResponderGateway = [
1167
+ 9,
1168
+ n0,
1169
+ _DRGe,
1170
+ {
1171
+ [_h]: ["DELETE", "/responder-gateway/{gatewayId}", 200],
1172
+ },
1173
+ () => DeleteResponderGatewayRequest,
1174
+ () => DeleteResponderGatewayResponse,
1175
+ ];
1176
+ var GetInboundExternalLink = [
1177
+ 9,
1178
+ n0,
1179
+ _GIEL,
1180
+ {
1181
+ [_h]: ["GET", "/responder-gateway/{gatewayId}/inbound-external-link/{linkId}", 200],
1182
+ },
1183
+ () => GetInboundExternalLinkRequest,
1184
+ () => GetInboundExternalLinkResponse,
1185
+ ];
1186
+ var GetLink = [
1187
+ 9,
1188
+ n0,
1189
+ _GL,
1190
+ {
1191
+ [_h]: ["GET", "/gateway/{gatewayId}/link/{linkId}", 200],
1192
+ },
1193
+ () => GetLinkRequest,
1194
+ () => GetLinkResponse,
1195
+ ];
1196
+ var GetOutboundExternalLink = [
1197
+ 9,
1198
+ n0,
1199
+ _GOEL,
1200
+ {
1201
+ [_h]: ["GET", "/requester-gateway/{gatewayId}/outbound-external-link/{linkId}", 200],
1202
+ },
1203
+ () => GetOutboundExternalLinkRequest,
1204
+ () => GetOutboundExternalLinkResponse,
1205
+ ];
1206
+ var GetRequesterGateway = [
1207
+ 9,
1208
+ n0,
1209
+ _GRG,
1210
+ {
1211
+ [_h]: ["GET", "/requester-gateway/{gatewayId}", 200],
1212
+ },
1213
+ () => GetRequesterGatewayRequest,
1214
+ () => GetRequesterGatewayResponse,
1215
+ ];
1216
+ var GetResponderGateway = [
1217
+ 9,
1218
+ n0,
1219
+ _GRGe,
1220
+ {
1221
+ [_h]: ["GET", "/responder-gateway/{gatewayId}", 200],
1222
+ },
1223
+ () => GetResponderGatewayRequest,
1224
+ () => GetResponderGatewayResponse,
1225
+ ];
1226
+ var ListLinks = [
1227
+ 9,
1228
+ n0,
1229
+ _LLi,
1230
+ {
1231
+ [_h]: ["GET", "/gateway/{gatewayId}/links/", 200],
1232
+ },
1233
+ () => ListLinksRequest,
1234
+ () => ListLinksResponse,
1235
+ ];
1236
+ var ListRequesterGateways = [
1237
+ 9,
1238
+ n0,
1239
+ _LRG,
1240
+ {
1241
+ [_h]: ["GET", "/requester-gateways", 200],
1242
+ },
1243
+ () => ListRequesterGatewaysRequest,
1244
+ () => ListRequesterGatewaysResponse,
1245
+ ];
1246
+ var ListResponderGateways = [
1247
+ 9,
1248
+ n0,
1249
+ _LRGi,
1250
+ {
1251
+ [_h]: ["GET", "/responder-gateways", 200],
1252
+ },
1253
+ () => ListResponderGatewaysRequest,
1254
+ () => ListResponderGatewaysResponse,
1255
+ ];
1256
+ var ListTagsForResource = [
1257
+ 9,
1258
+ n0,
1259
+ _LTFR,
1260
+ {
1261
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
1262
+ },
1263
+ () => ListTagsForResourceRequest,
1264
+ () => ListTagsForResourceResponse,
1265
+ ];
1266
+ var RejectLink = [
1267
+ 9,
1268
+ n0,
1269
+ _RL,
1270
+ {
1271
+ [_h]: ["POST", "/gateway/{gatewayId}/link/{linkId}/reject", 200],
1272
+ },
1273
+ () => RejectLinkRequest,
1274
+ () => RejectLinkResponse,
1275
+ ];
1276
+ var TagResource = [
1277
+ 9,
1278
+ n0,
1279
+ _TR,
1280
+ {
1281
+ [_h]: ["POST", "/tags/{resourceArn}", 204],
1282
+ },
1283
+ () => TagResourceRequest,
1284
+ () => TagResourceResponse,
1285
+ ];
1286
+ var UntagResource = [
1287
+ 9,
1288
+ n0,
1289
+ _UR,
1290
+ {
1291
+ [_h]: ["DELETE", "/tags/{resourceArn}", 204],
1292
+ },
1293
+ () => UntagResourceRequest,
1294
+ () => UntagResourceResponse,
1295
+ ];
1296
+ var UpdateLink = [
1297
+ 9,
1298
+ n0,
1299
+ _UL,
1300
+ {
1301
+ [_h]: ["PATCH", "/gateway/{gatewayId}/link/{linkId}", 200],
1302
+ },
1303
+ () => UpdateLinkRequest,
1304
+ () => UpdateLinkResponse,
1305
+ ];
1306
+ var UpdateLinkModuleFlow = [
1307
+ 9,
1308
+ n0,
1309
+ _ULMF,
1310
+ {
1311
+ [_h]: ["POST", "/gateway/{gatewayId}/link/{linkId}/module-flow", 200],
1312
+ },
1313
+ () => UpdateLinkModuleFlowRequest,
1314
+ () => UpdateLinkModuleFlowResponse,
1315
+ ];
1316
+ var UpdateRequesterGateway = [
1317
+ 9,
1318
+ n0,
1319
+ _URG,
1320
+ {
1321
+ [_h]: ["POST", "/requester-gateway/{gatewayId}/update", 200],
1322
+ },
1323
+ () => UpdateRequesterGatewayRequest,
1324
+ () => UpdateRequesterGatewayResponse,
1325
+ ];
1326
+ var UpdateResponderGateway = [
1327
+ 9,
1328
+ n0,
1329
+ _URGp,
1330
+ {
1331
+ [_h]: ["POST", "/responder-gateway/{gatewayId}/update", 200],
1332
+ },
1333
+ () => UpdateResponderGatewayRequest,
1334
+ () => UpdateResponderGatewayResponse,
1335
+ ];
1498
1336
 
1499
1337
  class AcceptLinkCommand extends smithyClient.Command
1500
1338
  .classBuilder()
1501
1339
  .ep(commonParams)
1502
1340
  .m(function (Command, cs, config, o) {
1503
- return [
1504
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1505
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1506
- ];
1341
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1507
1342
  })
1508
1343
  .s("RTBFabric", "AcceptLink", {})
1509
1344
  .n("RTBFabricClient", "AcceptLinkCommand")
1510
- .f(void 0, void 0)
1511
- .ser(se_AcceptLinkCommand)
1512
- .de(de_AcceptLinkCommand)
1345
+ .sc(AcceptLink)
1513
1346
  .build() {
1514
1347
  }
1515
1348
 
@@ -1517,16 +1350,11 @@ class CreateInboundExternalLinkCommand extends smithyClient.Command
1517
1350
  .classBuilder()
1518
1351
  .ep(commonParams)
1519
1352
  .m(function (Command, cs, config, o) {
1520
- return [
1521
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1522
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1523
- ];
1353
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1524
1354
  })
1525
1355
  .s("RTBFabric", "CreateInboundExternalLink", {})
1526
1356
  .n("RTBFabricClient", "CreateInboundExternalLinkCommand")
1527
- .f(void 0, void 0)
1528
- .ser(se_CreateInboundExternalLinkCommand)
1529
- .de(de_CreateInboundExternalLinkCommand)
1357
+ .sc(CreateInboundExternalLink)
1530
1358
  .build() {
1531
1359
  }
1532
1360
 
@@ -1534,16 +1362,11 @@ class CreateLinkCommand extends smithyClient.Command
1534
1362
  .classBuilder()
1535
1363
  .ep(commonParams)
1536
1364
  .m(function (Command, cs, config, o) {
1537
- return [
1538
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1539
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1540
- ];
1365
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1541
1366
  })
1542
1367
  .s("RTBFabric", "CreateLink", {})
1543
1368
  .n("RTBFabricClient", "CreateLinkCommand")
1544
- .f(void 0, void 0)
1545
- .ser(se_CreateLinkCommand)
1546
- .de(de_CreateLinkCommand)
1369
+ .sc(CreateLink)
1547
1370
  .build() {
1548
1371
  }
1549
1372
 
@@ -1551,16 +1374,11 @@ class CreateOutboundExternalLinkCommand extends smithyClient.Command
1551
1374
  .classBuilder()
1552
1375
  .ep(commonParams)
1553
1376
  .m(function (Command, cs, config, o) {
1554
- return [
1555
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1556
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1557
- ];
1377
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1558
1378
  })
1559
1379
  .s("RTBFabric", "CreateOutboundExternalLink", {})
1560
1380
  .n("RTBFabricClient", "CreateOutboundExternalLinkCommand")
1561
- .f(void 0, void 0)
1562
- .ser(se_CreateOutboundExternalLinkCommand)
1563
- .de(de_CreateOutboundExternalLinkCommand)
1381
+ .sc(CreateOutboundExternalLink)
1564
1382
  .build() {
1565
1383
  }
1566
1384
 
@@ -1568,16 +1386,11 @@ class CreateRequesterGatewayCommand extends smithyClient.Command
1568
1386
  .classBuilder()
1569
1387
  .ep(commonParams)
1570
1388
  .m(function (Command, cs, config, o) {
1571
- return [
1572
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1573
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1574
- ];
1389
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1575
1390
  })
1576
1391
  .s("RTBFabric", "CreateRequesterGateway", {})
1577
1392
  .n("RTBFabricClient", "CreateRequesterGatewayCommand")
1578
- .f(void 0, void 0)
1579
- .ser(se_CreateRequesterGatewayCommand)
1580
- .de(de_CreateRequesterGatewayCommand)
1393
+ .sc(CreateRequesterGateway)
1581
1394
  .build() {
1582
1395
  }
1583
1396
 
@@ -1585,16 +1398,11 @@ class CreateResponderGatewayCommand extends smithyClient.Command
1585
1398
  .classBuilder()
1586
1399
  .ep(commonParams)
1587
1400
  .m(function (Command, cs, config, o) {
1588
- return [
1589
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1590
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1591
- ];
1401
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1592
1402
  })
1593
1403
  .s("RTBFabric", "CreateResponderGateway", {})
1594
1404
  .n("RTBFabricClient", "CreateResponderGatewayCommand")
1595
- .f(CreateResponderGatewayRequestFilterSensitiveLog, void 0)
1596
- .ser(se_CreateResponderGatewayCommand)
1597
- .de(de_CreateResponderGatewayCommand)
1405
+ .sc(CreateResponderGateway)
1598
1406
  .build() {
1599
1407
  }
1600
1408
 
@@ -1602,16 +1410,11 @@ class DeleteInboundExternalLinkCommand extends smithyClient.Command
1602
1410
  .classBuilder()
1603
1411
  .ep(commonParams)
1604
1412
  .m(function (Command, cs, config, o) {
1605
- return [
1606
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1607
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1608
- ];
1413
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1609
1414
  })
1610
1415
  .s("RTBFabric", "DeleteInboundExternalLink", {})
1611
1416
  .n("RTBFabricClient", "DeleteInboundExternalLinkCommand")
1612
- .f(void 0, void 0)
1613
- .ser(se_DeleteInboundExternalLinkCommand)
1614
- .de(de_DeleteInboundExternalLinkCommand)
1417
+ .sc(DeleteInboundExternalLink)
1615
1418
  .build() {
1616
1419
  }
1617
1420
 
@@ -1619,16 +1422,11 @@ class DeleteLinkCommand extends smithyClient.Command
1619
1422
  .classBuilder()
1620
1423
  .ep(commonParams)
1621
1424
  .m(function (Command, cs, config, o) {
1622
- return [
1623
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1624
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1625
- ];
1425
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1626
1426
  })
1627
1427
  .s("RTBFabric", "DeleteLink", {})
1628
1428
  .n("RTBFabricClient", "DeleteLinkCommand")
1629
- .f(void 0, void 0)
1630
- .ser(se_DeleteLinkCommand)
1631
- .de(de_DeleteLinkCommand)
1429
+ .sc(DeleteLink)
1632
1430
  .build() {
1633
1431
  }
1634
1432
 
@@ -1636,16 +1434,11 @@ class DeleteOutboundExternalLinkCommand extends smithyClient.Command
1636
1434
  .classBuilder()
1637
1435
  .ep(commonParams)
1638
1436
  .m(function (Command, cs, config, o) {
1639
- return [
1640
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1641
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1642
- ];
1437
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1643
1438
  })
1644
1439
  .s("RTBFabric", "DeleteOutboundExternalLink", {})
1645
1440
  .n("RTBFabricClient", "DeleteOutboundExternalLinkCommand")
1646
- .f(void 0, void 0)
1647
- .ser(se_DeleteOutboundExternalLinkCommand)
1648
- .de(de_DeleteOutboundExternalLinkCommand)
1441
+ .sc(DeleteOutboundExternalLink)
1649
1442
  .build() {
1650
1443
  }
1651
1444
 
@@ -1653,16 +1446,11 @@ class DeleteRequesterGatewayCommand extends smithyClient.Command
1653
1446
  .classBuilder()
1654
1447
  .ep(commonParams)
1655
1448
  .m(function (Command, cs, config, o) {
1656
- return [
1657
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1658
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1659
- ];
1449
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1660
1450
  })
1661
1451
  .s("RTBFabric", "DeleteRequesterGateway", {})
1662
1452
  .n("RTBFabricClient", "DeleteRequesterGatewayCommand")
1663
- .f(void 0, void 0)
1664
- .ser(se_DeleteRequesterGatewayCommand)
1665
- .de(de_DeleteRequesterGatewayCommand)
1453
+ .sc(DeleteRequesterGateway)
1666
1454
  .build() {
1667
1455
  }
1668
1456
 
@@ -1670,16 +1458,11 @@ class DeleteResponderGatewayCommand extends smithyClient.Command
1670
1458
  .classBuilder()
1671
1459
  .ep(commonParams)
1672
1460
  .m(function (Command, cs, config, o) {
1673
- return [
1674
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1675
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1676
- ];
1461
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1677
1462
  })
1678
1463
  .s("RTBFabric", "DeleteResponderGateway", {})
1679
1464
  .n("RTBFabricClient", "DeleteResponderGatewayCommand")
1680
- .f(void 0, void 0)
1681
- .ser(se_DeleteResponderGatewayCommand)
1682
- .de(de_DeleteResponderGatewayCommand)
1465
+ .sc(DeleteResponderGateway)
1683
1466
  .build() {
1684
1467
  }
1685
1468
 
@@ -1687,16 +1470,11 @@ class GetInboundExternalLinkCommand extends smithyClient.Command
1687
1470
  .classBuilder()
1688
1471
  .ep(commonParams)
1689
1472
  .m(function (Command, cs, config, o) {
1690
- return [
1691
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1692
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1693
- ];
1473
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1694
1474
  })
1695
1475
  .s("RTBFabric", "GetInboundExternalLink", {})
1696
1476
  .n("RTBFabricClient", "GetInboundExternalLinkCommand")
1697
- .f(void 0, void 0)
1698
- .ser(se_GetInboundExternalLinkCommand)
1699
- .de(de_GetInboundExternalLinkCommand)
1477
+ .sc(GetInboundExternalLink)
1700
1478
  .build() {
1701
1479
  }
1702
1480
 
@@ -1704,16 +1482,11 @@ class GetLinkCommand extends smithyClient.Command
1704
1482
  .classBuilder()
1705
1483
  .ep(commonParams)
1706
1484
  .m(function (Command, cs, config, o) {
1707
- return [
1708
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1709
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1710
- ];
1485
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1711
1486
  })
1712
1487
  .s("RTBFabric", "GetLink", {})
1713
1488
  .n("RTBFabricClient", "GetLinkCommand")
1714
- .f(void 0, void 0)
1715
- .ser(se_GetLinkCommand)
1716
- .de(de_GetLinkCommand)
1489
+ .sc(GetLink)
1717
1490
  .build() {
1718
1491
  }
1719
1492
 
@@ -1721,16 +1494,11 @@ class GetOutboundExternalLinkCommand extends smithyClient.Command
1721
1494
  .classBuilder()
1722
1495
  .ep(commonParams)
1723
1496
  .m(function (Command, cs, config, o) {
1724
- return [
1725
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1726
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1727
- ];
1497
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1728
1498
  })
1729
1499
  .s("RTBFabric", "GetOutboundExternalLink", {})
1730
1500
  .n("RTBFabricClient", "GetOutboundExternalLinkCommand")
1731
- .f(void 0, void 0)
1732
- .ser(se_GetOutboundExternalLinkCommand)
1733
- .de(de_GetOutboundExternalLinkCommand)
1501
+ .sc(GetOutboundExternalLink)
1734
1502
  .build() {
1735
1503
  }
1736
1504
 
@@ -1738,16 +1506,11 @@ class GetRequesterGatewayCommand extends smithyClient.Command
1738
1506
  .classBuilder()
1739
1507
  .ep(commonParams)
1740
1508
  .m(function (Command, cs, config, o) {
1741
- return [
1742
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1743
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1744
- ];
1509
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1745
1510
  })
1746
1511
  .s("RTBFabric", "GetRequesterGateway", {})
1747
1512
  .n("RTBFabricClient", "GetRequesterGatewayCommand")
1748
- .f(void 0, void 0)
1749
- .ser(se_GetRequesterGatewayCommand)
1750
- .de(de_GetRequesterGatewayCommand)
1513
+ .sc(GetRequesterGateway)
1751
1514
  .build() {
1752
1515
  }
1753
1516
 
@@ -1755,16 +1518,11 @@ class GetResponderGatewayCommand extends smithyClient.Command
1755
1518
  .classBuilder()
1756
1519
  .ep(commonParams)
1757
1520
  .m(function (Command, cs, config, o) {
1758
- return [
1759
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1760
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1761
- ];
1521
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1762
1522
  })
1763
1523
  .s("RTBFabric", "GetResponderGateway", {})
1764
1524
  .n("RTBFabricClient", "GetResponderGatewayCommand")
1765
- .f(void 0, GetResponderGatewayResponseFilterSensitiveLog)
1766
- .ser(se_GetResponderGatewayCommand)
1767
- .de(de_GetResponderGatewayCommand)
1525
+ .sc(GetResponderGateway)
1768
1526
  .build() {
1769
1527
  }
1770
1528
 
@@ -1772,16 +1530,11 @@ class ListLinksCommand extends smithyClient.Command
1772
1530
  .classBuilder()
1773
1531
  .ep(commonParams)
1774
1532
  .m(function (Command, cs, config, o) {
1775
- return [
1776
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1777
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1778
- ];
1533
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1779
1534
  })
1780
1535
  .s("RTBFabric", "ListLinks", {})
1781
1536
  .n("RTBFabricClient", "ListLinksCommand")
1782
- .f(void 0, void 0)
1783
- .ser(se_ListLinksCommand)
1784
- .de(de_ListLinksCommand)
1537
+ .sc(ListLinks)
1785
1538
  .build() {
1786
1539
  }
1787
1540
 
@@ -1789,16 +1542,11 @@ class ListRequesterGatewaysCommand extends smithyClient.Command
1789
1542
  .classBuilder()
1790
1543
  .ep(commonParams)
1791
1544
  .m(function (Command, cs, config, o) {
1792
- return [
1793
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1794
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1795
- ];
1545
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1796
1546
  })
1797
1547
  .s("RTBFabric", "ListRequesterGateways", {})
1798
1548
  .n("RTBFabricClient", "ListRequesterGatewaysCommand")
1799
- .f(void 0, void 0)
1800
- .ser(se_ListRequesterGatewaysCommand)
1801
- .de(de_ListRequesterGatewaysCommand)
1549
+ .sc(ListRequesterGateways)
1802
1550
  .build() {
1803
1551
  }
1804
1552
 
@@ -1806,16 +1554,11 @@ class ListResponderGatewaysCommand extends smithyClient.Command
1806
1554
  .classBuilder()
1807
1555
  .ep(commonParams)
1808
1556
  .m(function (Command, cs, config, o) {
1809
- return [
1810
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1811
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1812
- ];
1557
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1813
1558
  })
1814
1559
  .s("RTBFabric", "ListResponderGateways", {})
1815
1560
  .n("RTBFabricClient", "ListResponderGatewaysCommand")
1816
- .f(void 0, void 0)
1817
- .ser(se_ListResponderGatewaysCommand)
1818
- .de(de_ListResponderGatewaysCommand)
1561
+ .sc(ListResponderGateways)
1819
1562
  .build() {
1820
1563
  }
1821
1564
 
@@ -1823,16 +1566,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1823
1566
  .classBuilder()
1824
1567
  .ep(commonParams)
1825
1568
  .m(function (Command, cs, config, o) {
1826
- return [
1827
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1828
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1829
- ];
1569
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1830
1570
  })
1831
1571
  .s("RTBFabric", "ListTagsForResource", {})
1832
1572
  .n("RTBFabricClient", "ListTagsForResourceCommand")
1833
- .f(void 0, void 0)
1834
- .ser(se_ListTagsForResourceCommand)
1835
- .de(de_ListTagsForResourceCommand)
1573
+ .sc(ListTagsForResource)
1836
1574
  .build() {
1837
1575
  }
1838
1576
 
@@ -1840,16 +1578,11 @@ class RejectLinkCommand extends smithyClient.Command
1840
1578
  .classBuilder()
1841
1579
  .ep(commonParams)
1842
1580
  .m(function (Command, cs, config, o) {
1843
- return [
1844
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1845
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1846
- ];
1581
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1847
1582
  })
1848
1583
  .s("RTBFabric", "RejectLink", {})
1849
1584
  .n("RTBFabricClient", "RejectLinkCommand")
1850
- .f(void 0, void 0)
1851
- .ser(se_RejectLinkCommand)
1852
- .de(de_RejectLinkCommand)
1585
+ .sc(RejectLink)
1853
1586
  .build() {
1854
1587
  }
1855
1588
 
@@ -1857,16 +1590,11 @@ class TagResourceCommand extends smithyClient.Command
1857
1590
  .classBuilder()
1858
1591
  .ep(commonParams)
1859
1592
  .m(function (Command, cs, config, o) {
1860
- return [
1861
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1862
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1863
- ];
1593
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1864
1594
  })
1865
1595
  .s("RTBFabric", "TagResource", {})
1866
1596
  .n("RTBFabricClient", "TagResourceCommand")
1867
- .f(void 0, void 0)
1868
- .ser(se_TagResourceCommand)
1869
- .de(de_TagResourceCommand)
1597
+ .sc(TagResource)
1870
1598
  .build() {
1871
1599
  }
1872
1600
 
@@ -1874,16 +1602,11 @@ class UntagResourceCommand extends smithyClient.Command
1874
1602
  .classBuilder()
1875
1603
  .ep(commonParams)
1876
1604
  .m(function (Command, cs, config, o) {
1877
- return [
1878
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1879
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1880
- ];
1605
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1881
1606
  })
1882
1607
  .s("RTBFabric", "UntagResource", {})
1883
1608
  .n("RTBFabricClient", "UntagResourceCommand")
1884
- .f(void 0, void 0)
1885
- .ser(se_UntagResourceCommand)
1886
- .de(de_UntagResourceCommand)
1609
+ .sc(UntagResource)
1887
1610
  .build() {
1888
1611
  }
1889
1612
 
@@ -1891,16 +1614,11 @@ class UpdateLinkCommand extends smithyClient.Command
1891
1614
  .classBuilder()
1892
1615
  .ep(commonParams)
1893
1616
  .m(function (Command, cs, config, o) {
1894
- return [
1895
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1896
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1897
- ];
1617
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1898
1618
  })
1899
1619
  .s("RTBFabric", "UpdateLink", {})
1900
1620
  .n("RTBFabricClient", "UpdateLinkCommand")
1901
- .f(void 0, void 0)
1902
- .ser(se_UpdateLinkCommand)
1903
- .de(de_UpdateLinkCommand)
1621
+ .sc(UpdateLink)
1904
1622
  .build() {
1905
1623
  }
1906
1624
 
@@ -1908,16 +1626,11 @@ class UpdateLinkModuleFlowCommand extends smithyClient.Command
1908
1626
  .classBuilder()
1909
1627
  .ep(commonParams)
1910
1628
  .m(function (Command, cs, config, o) {
1911
- return [
1912
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1913
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1914
- ];
1629
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1915
1630
  })
1916
1631
  .s("RTBFabric", "UpdateLinkModuleFlow", {})
1917
1632
  .n("RTBFabricClient", "UpdateLinkModuleFlowCommand")
1918
- .f(void 0, void 0)
1919
- .ser(se_UpdateLinkModuleFlowCommand)
1920
- .de(de_UpdateLinkModuleFlowCommand)
1633
+ .sc(UpdateLinkModuleFlow)
1921
1634
  .build() {
1922
1635
  }
1923
1636
 
@@ -1925,16 +1638,11 @@ class UpdateRequesterGatewayCommand extends smithyClient.Command
1925
1638
  .classBuilder()
1926
1639
  .ep(commonParams)
1927
1640
  .m(function (Command, cs, config, o) {
1928
- return [
1929
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1930
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1931
- ];
1641
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1932
1642
  })
1933
1643
  .s("RTBFabric", "UpdateRequesterGateway", {})
1934
1644
  .n("RTBFabricClient", "UpdateRequesterGatewayCommand")
1935
- .f(void 0, void 0)
1936
- .ser(se_UpdateRequesterGatewayCommand)
1937
- .de(de_UpdateRequesterGatewayCommand)
1645
+ .sc(UpdateRequesterGateway)
1938
1646
  .build() {
1939
1647
  }
1940
1648
 
@@ -1942,16 +1650,11 @@ class UpdateResponderGatewayCommand extends smithyClient.Command
1942
1650
  .classBuilder()
1943
1651
  .ep(commonParams)
1944
1652
  .m(function (Command, cs, config, o) {
1945
- return [
1946
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1947
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1948
- ];
1653
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1949
1654
  })
1950
1655
  .s("RTBFabric", "UpdateResponderGateway", {})
1951
1656
  .n("RTBFabricClient", "UpdateResponderGatewayCommand")
1952
- .f(UpdateResponderGatewayRequestFilterSensitiveLog, void 0)
1953
- .ser(se_UpdateResponderGatewayCommand)
1954
- .de(de_UpdateResponderGatewayCommand)
1657
+ .sc(UpdateResponderGateway)
1955
1658
  .build() {
1956
1659
  }
1957
1660
 
@@ -2423,56 +2126,50 @@ Object.defineProperty(exports, "__Client", {
2423
2126
  get: function () { return smithyClient.Client; }
2424
2127
  });
2425
2128
  exports.AcceptLinkCommand = AcceptLinkCommand;
2426
- exports.AccessDeniedException = AccessDeniedException;
2427
- exports.ConflictException = ConflictException;
2129
+ exports.AccessDeniedException = AccessDeniedException$1;
2130
+ exports.ConflictException = ConflictException$1;
2428
2131
  exports.CreateInboundExternalLinkCommand = CreateInboundExternalLinkCommand;
2429
2132
  exports.CreateLinkCommand = CreateLinkCommand;
2430
2133
  exports.CreateOutboundExternalLinkCommand = CreateOutboundExternalLinkCommand;
2431
2134
  exports.CreateRequesterGatewayCommand = CreateRequesterGatewayCommand;
2432
2135
  exports.CreateResponderGatewayCommand = CreateResponderGatewayCommand;
2433
- exports.CreateResponderGatewayRequestFilterSensitiveLog = CreateResponderGatewayRequestFilterSensitiveLog;
2434
2136
  exports.DeleteInboundExternalLinkCommand = DeleteInboundExternalLinkCommand;
2435
2137
  exports.DeleteLinkCommand = DeleteLinkCommand;
2436
2138
  exports.DeleteOutboundExternalLinkCommand = DeleteOutboundExternalLinkCommand;
2437
2139
  exports.DeleteRequesterGatewayCommand = DeleteRequesterGatewayCommand;
2438
2140
  exports.DeleteResponderGatewayCommand = DeleteResponderGatewayCommand;
2439
- exports.EksEndpointsConfigurationFilterSensitiveLog = EksEndpointsConfigurationFilterSensitiveLog;
2440
2141
  exports.FilterType = FilterType;
2441
2142
  exports.GetInboundExternalLinkCommand = GetInboundExternalLinkCommand;
2442
2143
  exports.GetLinkCommand = GetLinkCommand;
2443
2144
  exports.GetOutboundExternalLinkCommand = GetOutboundExternalLinkCommand;
2444
2145
  exports.GetRequesterGatewayCommand = GetRequesterGatewayCommand;
2445
2146
  exports.GetResponderGatewayCommand = GetResponderGatewayCommand;
2446
- exports.GetResponderGatewayResponseFilterSensitiveLog = GetResponderGatewayResponseFilterSensitiveLog;
2447
- exports.InternalServerException = InternalServerException;
2147
+ exports.InternalServerException = InternalServerException$1;
2448
2148
  exports.LinkDirection = LinkDirection;
2449
2149
  exports.LinkStatus = LinkStatus;
2450
2150
  exports.ListLinksCommand = ListLinksCommand;
2451
2151
  exports.ListRequesterGatewaysCommand = ListRequesterGatewaysCommand;
2452
2152
  exports.ListResponderGatewaysCommand = ListResponderGatewaysCommand;
2453
2153
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2454
- exports.ManagedEndpointConfigurationFilterSensitiveLog = ManagedEndpointConfigurationFilterSensitiveLog;
2455
2154
  exports.Protocol = Protocol;
2456
2155
  exports.RTBFabric = RTBFabric;
2457
2156
  exports.RTBFabricClient = RTBFabricClient;
2458
- exports.RTBFabricServiceException = RTBFabricServiceException;
2157
+ exports.RTBFabricServiceException = RTBFabricServiceException$1;
2459
2158
  exports.RejectLinkCommand = RejectLinkCommand;
2460
2159
  exports.RequesterGatewayStatus = RequesterGatewayStatus;
2461
- exports.ResourceNotFoundException = ResourceNotFoundException;
2160
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2462
2161
  exports.ResponderErrorMaskingAction = ResponderErrorMaskingAction;
2463
2162
  exports.ResponderErrorMaskingLoggingType = ResponderErrorMaskingLoggingType;
2464
2163
  exports.ResponderGatewayStatus = ResponderGatewayStatus;
2465
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2164
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2466
2165
  exports.TagResourceCommand = TagResourceCommand;
2467
- exports.ThrottlingException = ThrottlingException;
2468
- exports.TrustStoreConfigurationFilterSensitiveLog = TrustStoreConfigurationFilterSensitiveLog;
2166
+ exports.ThrottlingException = ThrottlingException$1;
2469
2167
  exports.UntagResourceCommand = UntagResourceCommand;
2470
2168
  exports.UpdateLinkCommand = UpdateLinkCommand;
2471
2169
  exports.UpdateLinkModuleFlowCommand = UpdateLinkModuleFlowCommand;
2472
2170
  exports.UpdateRequesterGatewayCommand = UpdateRequesterGatewayCommand;
2473
2171
  exports.UpdateResponderGatewayCommand = UpdateResponderGatewayCommand;
2474
- exports.UpdateResponderGatewayRequestFilterSensitiveLog = UpdateResponderGatewayRequestFilterSensitiveLog;
2475
- exports.ValidationException = ValidationException;
2172
+ exports.ValidationException = ValidationException$1;
2476
2173
  exports.paginateListLinks = paginateListLinks;
2477
2174
  exports.paginateListRequesterGateways = paginateListRequesterGateways;
2478
2175
  exports.paginateListResponderGateways = paginateListResponderGateways;