@aws-sdk/client-arc-zonal-shift 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist-cjs/index.js +609 -802
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ARCZonalShiftClient.js +2 -0
  4. package/dist-es/commands/CancelPracticeRunCommand.js +3 -9
  5. package/dist-es/commands/CancelZonalShiftCommand.js +3 -9
  6. package/dist-es/commands/CreatePracticeRunConfigurationCommand.js +3 -9
  7. package/dist-es/commands/DeletePracticeRunConfigurationCommand.js +3 -9
  8. package/dist-es/commands/GetAutoshiftObserverNotificationStatusCommand.js +3 -9
  9. package/dist-es/commands/GetManagedResourceCommand.js +3 -9
  10. package/dist-es/commands/ListAutoshiftsCommand.js +3 -9
  11. package/dist-es/commands/ListManagedResourcesCommand.js +3 -9
  12. package/dist-es/commands/ListZonalShiftsCommand.js +3 -9
  13. package/dist-es/commands/StartPracticeRunCommand.js +3 -9
  14. package/dist-es/commands/StartZonalShiftCommand.js +3 -9
  15. package/dist-es/commands/UpdateAutoshiftObserverNotificationStatusCommand.js +3 -9
  16. package/dist-es/commands/UpdatePracticeRunConfigurationCommand.js +3 -9
  17. package/dist-es/commands/UpdateZonalAutoshiftConfigurationCommand.js +3 -9
  18. package/dist-es/commands/UpdateZonalShiftCommand.js +3 -9
  19. package/dist-es/runtimeConfig.shared.js +2 -0
  20. package/dist-es/schemas/schemas_0.js +569 -0
  21. package/dist-types/ARCZonalShiftClient.d.ts +10 -1
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  23. package/dist-types/runtimeConfig.d.ts +1 -0
  24. package/dist-types/runtimeConfig.native.d.ts +1 -0
  25. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +71 -0
  27. package/dist-types/ts3.4/ARCZonalShiftClient.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -0
  33. package/package.json +2 -2
  34. package/dist-es/protocols/Aws_restJson1.js +0 -684
  35. package/dist-types/protocols/Aws_restJson1.d.ts +0 -137
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -185
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class ARCZonalShiftClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class ARCZonalShiftClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class ARCZonalShiftServiceException extends smithyClient.ServiceException {
113
+ let ARCZonalShiftServiceException$1 = class ARCZonalShiftServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, ARCZonalShiftServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends ARCZonalShiftServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends ARCZonalShiftServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,12 +128,12 @@ class AccessDeniedException extends ARCZonalShiftServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- }
131
+ };
132
132
  const AppliedStatus = {
133
133
  APPLIED: "APPLIED",
134
134
  NOT_APPLIED: "NOT_APPLIED",
135
135
  };
136
- class InternalServerException extends ARCZonalShiftServiceException {
136
+ let InternalServerException$1 = class InternalServerException extends ARCZonalShiftServiceException$1 {
137
137
  name = "InternalServerException";
138
138
  $fault = "server";
139
139
  constructor(opts) {
@@ -144,12 +144,12 @@ class InternalServerException extends ARCZonalShiftServiceException {
144
144
  });
145
145
  Object.setPrototypeOf(this, InternalServerException.prototype);
146
146
  }
147
- }
147
+ };
148
148
  const AutoshiftExecutionStatus = {
149
149
  ACTIVE: "ACTIVE",
150
150
  COMPLETED: "COMPLETED",
151
151
  };
152
- class ThrottlingException extends ARCZonalShiftServiceException {
152
+ let ThrottlingException$1 = class ThrottlingException extends ARCZonalShiftServiceException$1 {
153
153
  name = "ThrottlingException";
154
154
  $fault = "client";
155
155
  constructor(opts) {
@@ -160,7 +160,7 @@ class ThrottlingException extends ARCZonalShiftServiceException {
160
160
  });
161
161
  Object.setPrototypeOf(this, ThrottlingException.prototype);
162
162
  }
163
- }
163
+ };
164
164
  const ValidationExceptionReason = {
165
165
  AUTOSHIFT_UPDATE_NOT_ALLOWED: "AutoshiftUpdateNotAllowed",
166
166
  CONFLICTING_PRACTICE_WINDOWS: "InvalidPracticeWindows",
@@ -178,7 +178,7 @@ const ValidationExceptionReason = {
178
178
  UNSUPPORTED_AZ: "UnsupportedAz",
179
179
  UNSUPPORTED_PRACTICE_CANCEL_SHIFT_TYPE: "UnsupportedPracticeCancelShiftType",
180
180
  };
181
- class ValidationException extends ARCZonalShiftServiceException {
181
+ let ValidationException$1 = class ValidationException extends ARCZonalShiftServiceException$1 {
182
182
  name = "ValidationException";
183
183
  $fault = "client";
184
184
  reason;
@@ -191,7 +191,7 @@ class ValidationException extends ARCZonalShiftServiceException {
191
191
  Object.setPrototypeOf(this, ValidationException.prototype);
192
192
  this.reason = opts.reason;
193
193
  }
194
- }
194
+ };
195
195
  const AutoshiftAppliedStatus = {
196
196
  APPLIED: "APPLIED",
197
197
  NOT_APPLIED: "NOT_APPLIED",
@@ -222,7 +222,7 @@ const ConflictExceptionReason = {
222
222
  ZONAL_SHIFT_ALREADY_EXISTS: "ZonalShiftAlreadyExists",
223
223
  ZONAL_SHIFT_STATUS_NOT_ACTIVE: "ZonalShiftStatusNotActive",
224
224
  };
225
- class ConflictException extends ARCZonalShiftServiceException {
225
+ let ConflictException$1 = class ConflictException extends ARCZonalShiftServiceException$1 {
226
226
  name = "ConflictException";
227
227
  $fault = "client";
228
228
  reason;
@@ -237,8 +237,8 @@ class ConflictException extends ARCZonalShiftServiceException {
237
237
  this.reason = opts.reason;
238
238
  this.zonalShiftId = opts.zonalShiftId;
239
239
  }
240
- }
241
- class ResourceNotFoundException extends ARCZonalShiftServiceException {
240
+ };
241
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ARCZonalShiftServiceException$1 {
242
242
  name = "ResourceNotFoundException";
243
243
  $fault = "client";
244
244
  constructor(opts) {
@@ -249,7 +249,7 @@ class ResourceNotFoundException extends ARCZonalShiftServiceException {
249
249
  });
250
250
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
251
251
  }
252
- }
252
+ };
253
253
  const ZonalAutoshiftStatus = {
254
254
  DISABLED: "DISABLED",
255
255
  ENABLED: "ENABLED",
@@ -268,699 +268,576 @@ const ShiftType = {
268
268
  ZONAL_SHIFT: "ZONAL_SHIFT",
269
269
  };
270
270
 
271
- const se_CancelPracticeRunCommand = async (input, context) => {
272
- const b = core.requestBuilder(input, context);
273
- const headers = {};
274
- b.bp("/practiceruns/{zonalShiftId}");
275
- b.p("zonalShiftId", () => input.zonalShiftId, "{zonalShiftId}", false);
276
- let body;
277
- b.m("DELETE").h(headers).b(body);
278
- return b.build();
279
- };
280
- const se_CancelZonalShiftCommand = async (input, context) => {
281
- const b = core.requestBuilder(input, context);
282
- const headers = {};
283
- b.bp("/zonalshifts/{zonalShiftId}");
284
- b.p("zonalShiftId", () => input.zonalShiftId, "{zonalShiftId}", false);
285
- let body;
286
- b.m("DELETE").h(headers).b(body);
287
- return b.build();
288
- };
289
- const se_CreatePracticeRunConfigurationCommand = async (input, context) => {
290
- const b = core.requestBuilder(input, context);
291
- const headers = {
292
- "content-type": "application/json",
293
- };
294
- b.bp("/configuration");
295
- let body;
296
- body = JSON.stringify(smithyClient.take(input, {
297
- allowedWindows: (_) => smithyClient._json(_),
298
- blockedDates: (_) => smithyClient._json(_),
299
- blockedWindows: (_) => smithyClient._json(_),
300
- blockingAlarms: (_) => smithyClient._json(_),
301
- outcomeAlarms: (_) => smithyClient._json(_),
302
- resourceIdentifier: [],
303
- }));
304
- b.m("POST").h(headers).b(body);
305
- return b.build();
306
- };
307
- const se_DeletePracticeRunConfigurationCommand = async (input, context) => {
308
- const b = core.requestBuilder(input, context);
309
- const headers = {};
310
- b.bp("/configuration/{resourceIdentifier}");
311
- b.p("resourceIdentifier", () => input.resourceIdentifier, "{resourceIdentifier}", false);
312
- let body;
313
- b.m("DELETE").h(headers).b(body);
314
- return b.build();
315
- };
316
- const se_GetAutoshiftObserverNotificationStatusCommand = async (input, context) => {
317
- const b = core.requestBuilder(input, context);
318
- const headers = {};
319
- b.bp("/autoshift-observer-notification");
320
- let body;
321
- b.m("GET").h(headers).b(body);
322
- return b.build();
323
- };
324
- const se_GetManagedResourceCommand = async (input, context) => {
325
- const b = core.requestBuilder(input, context);
326
- const headers = {};
327
- b.bp("/managedresources/{resourceIdentifier}");
328
- b.p("resourceIdentifier", () => input.resourceIdentifier, "{resourceIdentifier}", false);
329
- let body;
330
- b.m("GET").h(headers).b(body);
331
- return b.build();
332
- };
333
- const se_ListAutoshiftsCommand = async (input, context) => {
334
- const b = core.requestBuilder(input, context);
335
- const headers = {};
336
- b.bp("/autoshifts");
337
- const query = smithyClient.map({
338
- [_nT]: [, input[_nT]],
339
- [_s]: [, input[_s]],
340
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
341
- });
342
- let body;
343
- b.m("GET").h(headers).q(query).b(body);
344
- return b.build();
345
- };
346
- const se_ListManagedResourcesCommand = async (input, context) => {
347
- const b = core.requestBuilder(input, context);
348
- const headers = {};
349
- b.bp("/managedresources");
350
- const query = smithyClient.map({
351
- [_nT]: [, input[_nT]],
352
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
353
- });
354
- let body;
355
- b.m("GET").h(headers).q(query).b(body);
356
- return b.build();
357
- };
358
- const se_ListZonalShiftsCommand = async (input, context) => {
359
- const b = core.requestBuilder(input, context);
360
- const headers = {};
361
- b.bp("/zonalshifts");
362
- const query = smithyClient.map({
363
- [_nT]: [, input[_nT]],
364
- [_s]: [, input[_s]],
365
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
366
- [_rI]: [, input[_rI]],
367
- });
368
- let body;
369
- b.m("GET").h(headers).q(query).b(body);
370
- return b.build();
371
- };
372
- const se_StartPracticeRunCommand = async (input, context) => {
373
- const b = core.requestBuilder(input, context);
374
- const headers = {
375
- "content-type": "application/json",
376
- };
377
- b.bp("/practiceruns");
378
- let body;
379
- body = JSON.stringify(smithyClient.take(input, {
380
- awayFrom: [],
381
- comment: [],
382
- resourceIdentifier: [],
383
- }));
384
- b.m("POST").h(headers).b(body);
385
- return b.build();
386
- };
387
- const se_StartZonalShiftCommand = async (input, context) => {
388
- const b = core.requestBuilder(input, context);
389
- const headers = {
390
- "content-type": "application/json",
391
- };
392
- b.bp("/zonalshifts");
393
- let body;
394
- body = JSON.stringify(smithyClient.take(input, {
395
- awayFrom: [],
396
- comment: [],
397
- expiresIn: [],
398
- resourceIdentifier: [],
399
- }));
400
- b.m("POST").h(headers).b(body);
401
- return b.build();
402
- };
403
- const se_UpdateAutoshiftObserverNotificationStatusCommand = async (input, context) => {
404
- const b = core.requestBuilder(input, context);
405
- const headers = {
406
- "content-type": "application/json",
407
- };
408
- b.bp("/autoshift-observer-notification");
409
- let body;
410
- body = JSON.stringify(smithyClient.take(input, {
411
- status: [],
412
- }));
413
- b.m("PUT").h(headers).b(body);
414
- return b.build();
415
- };
416
- const se_UpdatePracticeRunConfigurationCommand = async (input, context) => {
417
- const b = core.requestBuilder(input, context);
418
- const headers = {
419
- "content-type": "application/json",
420
- };
421
- b.bp("/configuration/{resourceIdentifier}");
422
- b.p("resourceIdentifier", () => input.resourceIdentifier, "{resourceIdentifier}", false);
423
- let body;
424
- body = JSON.stringify(smithyClient.take(input, {
425
- allowedWindows: (_) => smithyClient._json(_),
426
- blockedDates: (_) => smithyClient._json(_),
427
- blockedWindows: (_) => smithyClient._json(_),
428
- blockingAlarms: (_) => smithyClient._json(_),
429
- outcomeAlarms: (_) => smithyClient._json(_),
430
- }));
431
- b.m("PATCH").h(headers).b(body);
432
- return b.build();
433
- };
434
- const se_UpdateZonalAutoshiftConfigurationCommand = async (input, context) => {
435
- const b = core.requestBuilder(input, context);
436
- const headers = {
437
- "content-type": "application/json",
438
- };
439
- b.bp("/managedresources/{resourceIdentifier}");
440
- b.p("resourceIdentifier", () => input.resourceIdentifier, "{resourceIdentifier}", false);
441
- let body;
442
- body = JSON.stringify(smithyClient.take(input, {
443
- zonalAutoshiftStatus: [],
444
- }));
445
- b.m("PUT").h(headers).b(body);
446
- return b.build();
447
- };
448
- const se_UpdateZonalShiftCommand = async (input, context) => {
449
- const b = core.requestBuilder(input, context);
450
- const headers = {
451
- "content-type": "application/json",
452
- };
453
- b.bp("/zonalshifts/{zonalShiftId}");
454
- b.p("zonalShiftId", () => input.zonalShiftId, "{zonalShiftId}", false);
455
- let body;
456
- body = JSON.stringify(smithyClient.take(input, {
457
- comment: [],
458
- expiresIn: [],
459
- }));
460
- b.m("PATCH").h(headers).b(body);
461
- return b.build();
462
- };
463
- const de_CancelPracticeRunCommand = async (output, context) => {
464
- if (output.statusCode !== 200 && output.statusCode >= 300) {
465
- return de_CommandError(output, context);
466
- }
467
- const contents = smithyClient.map({
468
- $metadata: deserializeMetadata(output),
469
- });
470
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
471
- const doc = smithyClient.take(data, {
472
- awayFrom: smithyClient.expectString,
473
- comment: smithyClient.expectString,
474
- expiryTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
475
- resourceIdentifier: smithyClient.expectString,
476
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
477
- status: smithyClient.expectString,
478
- zonalShiftId: smithyClient.expectString,
479
- });
480
- Object.assign(contents, doc);
481
- return contents;
482
- };
483
- const de_CancelZonalShiftCommand = async (output, context) => {
484
- if (output.statusCode !== 200 && output.statusCode >= 300) {
485
- return de_CommandError(output, context);
486
- }
487
- const contents = smithyClient.map({
488
- $metadata: deserializeMetadata(output),
489
- });
490
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
491
- const doc = smithyClient.take(data, {
492
- awayFrom: smithyClient.expectString,
493
- comment: smithyClient.expectString,
494
- expiryTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
495
- resourceIdentifier: smithyClient.expectString,
496
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
497
- status: smithyClient.expectString,
498
- zonalShiftId: smithyClient.expectString,
499
- });
500
- Object.assign(contents, doc);
501
- return contents;
502
- };
503
- const de_CreatePracticeRunConfigurationCommand = async (output, context) => {
504
- if (output.statusCode !== 201 && output.statusCode >= 300) {
505
- return de_CommandError(output, context);
506
- }
507
- const contents = smithyClient.map({
508
- $metadata: deserializeMetadata(output),
509
- });
510
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
511
- const doc = smithyClient.take(data, {
512
- arn: smithyClient.expectString,
513
- name: smithyClient.expectString,
514
- practiceRunConfiguration: smithyClient._json,
515
- zonalAutoshiftStatus: smithyClient.expectString,
516
- });
517
- Object.assign(contents, doc);
518
- return contents;
519
- };
520
- const de_DeletePracticeRunConfigurationCommand = async (output, context) => {
521
- if (output.statusCode !== 200 && output.statusCode >= 300) {
522
- return de_CommandError(output, context);
523
- }
524
- const contents = smithyClient.map({
525
- $metadata: deserializeMetadata(output),
526
- });
527
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
528
- const doc = smithyClient.take(data, {
529
- arn: smithyClient.expectString,
530
- name: smithyClient.expectString,
531
- zonalAutoshiftStatus: smithyClient.expectString,
532
- });
533
- Object.assign(contents, doc);
534
- return contents;
535
- };
536
- const de_GetAutoshiftObserverNotificationStatusCommand = async (output, context) => {
537
- if (output.statusCode !== 200 && output.statusCode >= 300) {
538
- return de_CommandError(output, context);
539
- }
540
- const contents = smithyClient.map({
541
- $metadata: deserializeMetadata(output),
542
- });
543
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
544
- const doc = smithyClient.take(data, {
545
- status: smithyClient.expectString,
546
- });
547
- Object.assign(contents, doc);
548
- return contents;
549
- };
550
- const de_GetManagedResourceCommand = async (output, context) => {
551
- if (output.statusCode !== 200 && output.statusCode >= 300) {
552
- return de_CommandError(output, context);
553
- }
554
- const contents = smithyClient.map({
555
- $metadata: deserializeMetadata(output),
556
- });
557
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
558
- const doc = smithyClient.take(data, {
559
- appliedWeights: (_) => de_AppliedWeights(_),
560
- arn: smithyClient.expectString,
561
- autoshifts: (_) => de_AutoshiftsInResource(_),
562
- name: smithyClient.expectString,
563
- practiceRunConfiguration: smithyClient._json,
564
- zonalAutoshiftStatus: smithyClient.expectString,
565
- zonalShifts: (_) => de_ZonalShiftsInResource(_),
566
- });
567
- Object.assign(contents, doc);
568
- return contents;
569
- };
570
- const de_ListAutoshiftsCommand = async (output, context) => {
571
- if (output.statusCode !== 200 && output.statusCode >= 300) {
572
- return de_CommandError(output, context);
573
- }
574
- const contents = smithyClient.map({
575
- $metadata: deserializeMetadata(output),
576
- });
577
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
578
- const doc = smithyClient.take(data, {
579
- items: (_) => de_AutoshiftSummaries(_),
580
- nextToken: smithyClient.expectString,
581
- });
582
- Object.assign(contents, doc);
583
- return contents;
584
- };
585
- const de_ListManagedResourcesCommand = async (output, context) => {
586
- if (output.statusCode !== 200 && output.statusCode >= 300) {
587
- return de_CommandError(output, context);
588
- }
589
- const contents = smithyClient.map({
590
- $metadata: deserializeMetadata(output),
591
- });
592
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
593
- const doc = smithyClient.take(data, {
594
- items: (_) => de_ManagedResourceSummaries(_),
595
- nextToken: smithyClient.expectString,
596
- });
597
- Object.assign(contents, doc);
598
- return contents;
599
- };
600
- const de_ListZonalShiftsCommand = async (output, context) => {
601
- if (output.statusCode !== 200 && output.statusCode >= 300) {
602
- return de_CommandError(output, context);
603
- }
604
- const contents = smithyClient.map({
605
- $metadata: deserializeMetadata(output),
606
- });
607
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
608
- const doc = smithyClient.take(data, {
609
- items: (_) => de_ZonalShiftSummaries(_),
610
- nextToken: smithyClient.expectString,
611
- });
612
- Object.assign(contents, doc);
613
- return contents;
614
- };
615
- const de_StartPracticeRunCommand = async (output, context) => {
616
- if (output.statusCode !== 200 && output.statusCode >= 300) {
617
- return de_CommandError(output, context);
618
- }
619
- const contents = smithyClient.map({
620
- $metadata: deserializeMetadata(output),
621
- });
622
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
623
- const doc = smithyClient.take(data, {
624
- awayFrom: smithyClient.expectString,
625
- comment: smithyClient.expectString,
626
- expiryTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
627
- resourceIdentifier: smithyClient.expectString,
628
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
629
- status: smithyClient.expectString,
630
- zonalShiftId: smithyClient.expectString,
631
- });
632
- Object.assign(contents, doc);
633
- return contents;
634
- };
635
- const de_StartZonalShiftCommand = async (output, context) => {
636
- if (output.statusCode !== 201 && output.statusCode >= 300) {
637
- return de_CommandError(output, context);
638
- }
639
- const contents = smithyClient.map({
640
- $metadata: deserializeMetadata(output),
641
- });
642
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
643
- const doc = smithyClient.take(data, {
644
- awayFrom: smithyClient.expectString,
645
- comment: smithyClient.expectString,
646
- expiryTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
647
- resourceIdentifier: smithyClient.expectString,
648
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
649
- status: smithyClient.expectString,
650
- zonalShiftId: smithyClient.expectString,
651
- });
652
- Object.assign(contents, doc);
653
- return contents;
654
- };
655
- const de_UpdateAutoshiftObserverNotificationStatusCommand = async (output, context) => {
656
- if (output.statusCode !== 200 && output.statusCode >= 300) {
657
- return de_CommandError(output, context);
658
- }
659
- const contents = smithyClient.map({
660
- $metadata: deserializeMetadata(output),
661
- });
662
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
663
- const doc = smithyClient.take(data, {
664
- status: smithyClient.expectString,
665
- });
666
- Object.assign(contents, doc);
667
- return contents;
668
- };
669
- const de_UpdatePracticeRunConfigurationCommand = async (output, context) => {
670
- if (output.statusCode !== 200 && output.statusCode >= 300) {
671
- return de_CommandError(output, context);
672
- }
673
- const contents = smithyClient.map({
674
- $metadata: deserializeMetadata(output),
675
- });
676
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
677
- const doc = smithyClient.take(data, {
678
- arn: smithyClient.expectString,
679
- name: smithyClient.expectString,
680
- practiceRunConfiguration: smithyClient._json,
681
- zonalAutoshiftStatus: smithyClient.expectString,
682
- });
683
- Object.assign(contents, doc);
684
- return contents;
685
- };
686
- const de_UpdateZonalAutoshiftConfigurationCommand = async (output, context) => {
687
- if (output.statusCode !== 200 && output.statusCode >= 300) {
688
- return de_CommandError(output, context);
689
- }
690
- const contents = smithyClient.map({
691
- $metadata: deserializeMetadata(output),
692
- });
693
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
694
- const doc = smithyClient.take(data, {
695
- resourceIdentifier: smithyClient.expectString,
696
- zonalAutoshiftStatus: smithyClient.expectString,
697
- });
698
- Object.assign(contents, doc);
699
- return contents;
700
- };
701
- const de_UpdateZonalShiftCommand = async (output, context) => {
702
- if (output.statusCode !== 200 && output.statusCode >= 300) {
703
- return de_CommandError(output, context);
704
- }
705
- const contents = smithyClient.map({
706
- $metadata: deserializeMetadata(output),
707
- });
708
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
709
- const doc = smithyClient.take(data, {
710
- awayFrom: smithyClient.expectString,
711
- comment: smithyClient.expectString,
712
- expiryTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
713
- resourceIdentifier: smithyClient.expectString,
714
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
715
- status: smithyClient.expectString,
716
- zonalShiftId: smithyClient.expectString,
717
- });
718
- Object.assign(contents, doc);
719
- return contents;
720
- };
721
- const de_CommandError = async (output, context) => {
722
- const parsedOutput = {
723
- ...output,
724
- body: await core$1.parseJsonErrorBody(output.body, context),
725
- };
726
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
727
- switch (errorCode) {
728
- case "AccessDeniedException":
729
- case "com.amazonaws.arczonalshift#AccessDeniedException":
730
- throw await de_AccessDeniedExceptionRes(parsedOutput);
731
- case "ConflictException":
732
- case "com.amazonaws.arczonalshift#ConflictException":
733
- throw await de_ConflictExceptionRes(parsedOutput);
734
- case "InternalServerException":
735
- case "com.amazonaws.arczonalshift#InternalServerException":
736
- throw await de_InternalServerExceptionRes(parsedOutput);
737
- case "ResourceNotFoundException":
738
- case "com.amazonaws.arczonalshift#ResourceNotFoundException":
739
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
740
- case "ThrottlingException":
741
- case "com.amazonaws.arczonalshift#ThrottlingException":
742
- throw await de_ThrottlingExceptionRes(parsedOutput);
743
- case "ValidationException":
744
- case "com.amazonaws.arczonalshift#ValidationException":
745
- throw await de_ValidationExceptionRes(parsedOutput);
746
- default:
747
- const parsedBody = parsedOutput.body;
748
- return throwDefaultError({
749
- output,
750
- parsedBody,
751
- errorCode,
752
- });
753
- }
754
- };
755
- const throwDefaultError = smithyClient.withBaseException(ARCZonalShiftServiceException);
756
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
757
- const contents = smithyClient.map({});
758
- const data = parsedOutput.body;
759
- const doc = smithyClient.take(data, {
760
- message: smithyClient.expectString,
761
- });
762
- Object.assign(contents, doc);
763
- const exception = new AccessDeniedException({
764
- $metadata: deserializeMetadata(parsedOutput),
765
- ...contents,
766
- });
767
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
768
- };
769
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
770
- const contents = smithyClient.map({});
771
- const data = parsedOutput.body;
772
- const doc = smithyClient.take(data, {
773
- message: smithyClient.expectString,
774
- reason: smithyClient.expectString,
775
- zonalShiftId: smithyClient.expectString,
776
- });
777
- Object.assign(contents, doc);
778
- const exception = new ConflictException({
779
- $metadata: deserializeMetadata(parsedOutput),
780
- ...contents,
781
- });
782
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
783
- };
784
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
785
- const contents = smithyClient.map({});
786
- const data = parsedOutput.body;
787
- const doc = smithyClient.take(data, {
788
- message: smithyClient.expectString,
789
- });
790
- Object.assign(contents, doc);
791
- const exception = new InternalServerException({
792
- $metadata: deserializeMetadata(parsedOutput),
793
- ...contents,
794
- });
795
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
796
- };
797
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
798
- const contents = smithyClient.map({});
799
- const data = parsedOutput.body;
800
- const doc = smithyClient.take(data, {
801
- message: smithyClient.expectString,
802
- });
803
- Object.assign(contents, doc);
804
- const exception = new ResourceNotFoundException({
805
- $metadata: deserializeMetadata(parsedOutput),
806
- ...contents,
807
- });
808
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
809
- };
810
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
811
- const contents = smithyClient.map({});
812
- const data = parsedOutput.body;
813
- const doc = smithyClient.take(data, {
814
- message: smithyClient.expectString,
815
- });
816
- Object.assign(contents, doc);
817
- const exception = new ThrottlingException({
818
- $metadata: deserializeMetadata(parsedOutput),
819
- ...contents,
820
- });
821
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
822
- };
823
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
824
- const contents = smithyClient.map({});
825
- const data = parsedOutput.body;
826
- const doc = smithyClient.take(data, {
827
- message: smithyClient.expectString,
828
- reason: smithyClient.expectString,
829
- });
830
- Object.assign(contents, doc);
831
- const exception = new ValidationException({
832
- $metadata: deserializeMetadata(parsedOutput),
833
- ...contents,
834
- });
835
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
836
- };
837
- const de_AppliedWeights = (output, context) => {
838
- return Object.entries(output).reduce((acc, [key, value]) => {
839
- if (value === null) {
840
- return acc;
841
- }
842
- acc[key] = smithyClient.limitedParseFloat32(value);
843
- return acc;
844
- }, {});
845
- };
846
- const de_AutoshiftInResource = (output, context) => {
847
- return smithyClient.take(output, {
848
- appliedStatus: smithyClient.expectString,
849
- awayFrom: smithyClient.expectString,
850
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
851
- });
852
- };
853
- const de_AutoshiftsInResource = (output, context) => {
854
- const retVal = (output || [])
855
- .filter((e) => e != null)
856
- .map((entry) => {
857
- return de_AutoshiftInResource(entry);
858
- });
859
- return retVal;
860
- };
861
- const de_AutoshiftSummaries = (output, context) => {
862
- const retVal = (output || [])
863
- .filter((e) => e != null)
864
- .map((entry) => {
865
- return de_AutoshiftSummary(entry);
866
- });
867
- return retVal;
868
- };
869
- const de_AutoshiftSummary = (output, context) => {
870
- return smithyClient.take(output, {
871
- awayFrom: smithyClient.expectString,
872
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
873
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
874
- status: smithyClient.expectString,
875
- });
876
- };
877
- const de_ManagedResourceSummaries = (output, context) => {
878
- const retVal = (output || [])
879
- .filter((e) => e != null)
880
- .map((entry) => {
881
- return de_ManagedResourceSummary(entry);
882
- });
883
- return retVal;
884
- };
885
- const de_ManagedResourceSummary = (output, context) => {
886
- return smithyClient.take(output, {
887
- appliedWeights: (_) => de_AppliedWeights(_),
888
- arn: smithyClient.expectString,
889
- autoshifts: (_) => de_AutoshiftsInResource(_),
890
- availabilityZones: smithyClient._json,
891
- name: smithyClient.expectString,
892
- practiceRunStatus: smithyClient.expectString,
893
- zonalAutoshiftStatus: smithyClient.expectString,
894
- zonalShifts: (_) => de_ZonalShiftsInResource(_),
895
- });
896
- };
897
- const de_ZonalShiftInResource = (output, context) => {
898
- return smithyClient.take(output, {
899
- appliedStatus: smithyClient.expectString,
900
- awayFrom: smithyClient.expectString,
901
- comment: smithyClient.expectString,
902
- expiryTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
903
- practiceRunOutcome: smithyClient.expectString,
904
- resourceIdentifier: smithyClient.expectString,
905
- shiftType: smithyClient.expectString,
906
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
907
- zonalShiftId: smithyClient.expectString,
908
- });
909
- };
910
- const de_ZonalShiftsInResource = (output, context) => {
911
- const retVal = (output || [])
912
- .filter((e) => e != null)
913
- .map((entry) => {
914
- return de_ZonalShiftInResource(entry);
915
- });
916
- return retVal;
917
- };
918
- const de_ZonalShiftSummaries = (output, context) => {
919
- const retVal = (output || [])
920
- .filter((e) => e != null)
921
- .map((entry) => {
922
- return de_ZonalShiftSummary(entry);
923
- });
924
- return retVal;
925
- };
926
- const de_ZonalShiftSummary = (output, context) => {
927
- return smithyClient.take(output, {
928
- awayFrom: smithyClient.expectString,
929
- comment: smithyClient.expectString,
930
- expiryTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
931
- practiceRunOutcome: smithyClient.expectString,
932
- resourceIdentifier: smithyClient.expectString,
933
- shiftType: smithyClient.expectString,
934
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
935
- status: smithyClient.expectString,
936
- zonalShiftId: smithyClient.expectString,
937
- });
938
- };
939
- const deserializeMetadata = (output) => ({
940
- httpStatusCode: output.statusCode,
941
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
942
- extendedRequestId: output.headers["x-amz-id-2"],
943
- cfId: output.headers["x-amz-cf-id"],
944
- });
271
+ const _ADE = "AccessDeniedException";
272
+ const _AIR = "AutoshiftInResource";
273
+ const _AIRu = "AutoshiftsInResource";
274
+ const _AS = "AutoshiftSummary";
275
+ const _ASu = "AutoshiftSummaries";
276
+ const _BA = "BlockingAlarms";
277
+ const _CC = "ControlCondition";
278
+ const _CE = "ConflictException";
279
+ const _CPR = "CancelPracticeRun";
280
+ const _CPRC = "CreatePracticeRunConfiguration";
281
+ const _CPRCR = "CreatePracticeRunConfigurationRequest";
282
+ const _CPRCRr = "CreatePracticeRunConfigurationResponse";
283
+ const _CPRR = "CancelPracticeRunRequest";
284
+ const _CPRRa = "CancelPracticeRunResponse";
285
+ const _CZS = "CancelZonalShift";
286
+ const _CZSR = "CancelZonalShiftRequest";
287
+ const _DPRC = "DeletePracticeRunConfiguration";
288
+ const _DPRCR = "DeletePracticeRunConfigurationRequest";
289
+ const _DPRCRe = "DeletePracticeRunConfigurationResponse";
290
+ const _GAONS = "GetAutoshiftObserverNotificationStatus";
291
+ const _GAONSR = "GetAutoshiftObserverNotificationStatusRequest";
292
+ const _GAONSRe = "GetAutoshiftObserverNotificationStatusResponse";
293
+ const _GMR = "GetManagedResource";
294
+ const _GMRR = "GetManagedResourceRequest";
295
+ const _GMRRe = "GetManagedResourceResponse";
296
+ const _ISE = "InternalServerException";
297
+ const _LA = "ListAutoshifts";
298
+ const _LAR = "ListAutoshiftsRequest";
299
+ const _LARi = "ListAutoshiftsResponse";
300
+ const _LMR = "ListManagedResources";
301
+ const _LMRR = "ListManagedResourcesRequest";
302
+ const _LMRRi = "ListManagedResourcesResponse";
303
+ const _LZS = "ListZonalShifts";
304
+ const _LZSR = "ListZonalShiftsRequest";
305
+ const _LZSRi = "ListZonalShiftsResponse";
306
+ const _MRS = "ManagedResourceSummary";
307
+ const _MRSa = "ManagedResourceSummaries";
308
+ const _OA = "OutcomeAlarms";
309
+ const _PRC = "PracticeRunConfiguration";
310
+ const _RNFE = "ResourceNotFoundException";
311
+ const _SPR = "StartPracticeRun";
312
+ const _SPRR = "StartPracticeRunRequest";
313
+ const _SPRRt = "StartPracticeRunResponse";
314
+ const _SZS = "StartZonalShift";
315
+ const _SZSR = "StartZonalShiftRequest";
316
+ const _TE = "ThrottlingException";
317
+ const _UAONS = "UpdateAutoshiftObserverNotificationStatus";
318
+ const _UAONSR = "UpdateAutoshiftObserverNotificationStatusRequest";
319
+ const _UAONSRp = "UpdateAutoshiftObserverNotificationStatusResponse";
320
+ const _UPRC = "UpdatePracticeRunConfiguration";
321
+ const _UPRCR = "UpdatePracticeRunConfigurationRequest";
322
+ const _UPRCRp = "UpdatePracticeRunConfigurationResponse";
323
+ const _UZAC = "UpdateZonalAutoshiftConfiguration";
324
+ const _UZACR = "UpdateZonalAutoshiftConfigurationRequest";
325
+ const _UZACRp = "UpdateZonalAutoshiftConfigurationResponse";
326
+ const _UZS = "UpdateZonalShift";
327
+ const _UZSR = "UpdateZonalShiftRequest";
328
+ const _VE = "ValidationException";
329
+ const _ZS = "ZonalShift";
330
+ const _ZSIR = "ZonalShiftInResource";
331
+ const _ZSIRo = "ZonalShiftsInResource";
332
+ const _ZSS = "ZonalShiftSummary";
333
+ const _ZSSo = "ZonalShiftSummaries";
334
+ const _a = "arn";
335
+ const _aF = "awayFrom";
336
+ const _aI = "alarmIdentifier";
337
+ const _aS = "appliedStatus";
338
+ const _aW = "allowedWindows";
339
+ const _aWp = "appliedWeights";
340
+ const _aZ = "availabilityZones";
341
+ const _au = "autoshifts";
342
+ const _bA = "blockingAlarms";
343
+ const _bD = "blockedDates";
344
+ const _bW = "blockedWindows";
345
+ const _c = "client";
346
+ const _co = "comment";
347
+ const _e = "error";
348
+ const _eI = "expiresIn";
349
+ const _eT = "endTime";
350
+ const _eTx = "expiryTime";
351
+ const _h = "http";
352
+ const _hE = "httpError";
353
+ const _hQ = "httpQuery";
354
+ const _i = "items";
355
+ const _m = "message";
945
356
  const _mR = "maxResults";
357
+ const _n = "name";
946
358
  const _nT = "nextToken";
359
+ const _oA = "outcomeAlarms";
360
+ const _pRC = "practiceRunConfiguration";
361
+ const _pRO = "practiceRunOutcome";
362
+ const _pRS = "practiceRunStatus";
363
+ const _r = "reason";
947
364
  const _rI = "resourceIdentifier";
948
365
  const _s = "status";
366
+ const _sT = "startTime";
367
+ const _sTh = "shiftType";
368
+ const _se = "server";
369
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.arczonalshift";
370
+ const _t = "type";
371
+ const _zAS = "zonalAutoshiftStatus";
372
+ const _zS = "zonalShifts";
373
+ const _zSI = "zonalShiftId";
374
+ const n0 = "com.amazonaws.arczonalshift";
375
+ var AccessDeniedException = [
376
+ -3,
377
+ n0,
378
+ _ADE,
379
+ {
380
+ [_e]: _c,
381
+ [_hE]: 403,
382
+ },
383
+ [_m],
384
+ [0],
385
+ ];
386
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
387
+ var AutoshiftInResource = [3, n0, _AIR, 0, [_aS, _aF, _sT], [0, 0, 4]];
388
+ var AutoshiftSummary = [3, n0, _AS, 0, [_aF, _eT, _sT, _s], [0, 4, 4, 0]];
389
+ var CancelPracticeRunRequest = [3, n0, _CPRR, 0, [_zSI], [[0, 1]]];
390
+ var CancelPracticeRunResponse = [
391
+ 3,
392
+ n0,
393
+ _CPRRa,
394
+ 0,
395
+ [_zSI, _rI, _aF, _eTx, _sT, _s, _co],
396
+ [0, 0, 0, 4, 4, 0, 0],
397
+ ];
398
+ var CancelZonalShiftRequest = [3, n0, _CZSR, 0, [_zSI], [[0, 1]]];
399
+ var ConflictException = [
400
+ -3,
401
+ n0,
402
+ _CE,
403
+ {
404
+ [_e]: _c,
405
+ [_hE]: 409,
406
+ },
407
+ [_m, _r, _zSI],
408
+ [0, 0, 0],
409
+ ];
410
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
411
+ var ControlCondition = [3, n0, _CC, 0, [_t, _aI], [0, 0]];
412
+ var CreatePracticeRunConfigurationRequest = [
413
+ 3,
414
+ n0,
415
+ _CPRCR,
416
+ 0,
417
+ [_rI, _bW, _bD, _bA, _aW, _oA],
418
+ [0, 64 | 0, 64 | 0, () => BlockingAlarms, 64 | 0, () => OutcomeAlarms],
419
+ ];
420
+ var CreatePracticeRunConfigurationResponse = [
421
+ 3,
422
+ n0,
423
+ _CPRCRr,
424
+ 0,
425
+ [_a, _n, _zAS, _pRC],
426
+ [0, 0, 0, () => PracticeRunConfiguration],
427
+ ];
428
+ var DeletePracticeRunConfigurationRequest = [3, n0, _DPRCR, 0, [_rI], [[0, 1]]];
429
+ var DeletePracticeRunConfigurationResponse = [
430
+ 3,
431
+ n0,
432
+ _DPRCRe,
433
+ 0,
434
+ [_a, _n, _zAS],
435
+ [0, 0, 0],
436
+ ];
437
+ var GetAutoshiftObserverNotificationStatusRequest = [3, n0, _GAONSR, 0, [], []];
438
+ var GetAutoshiftObserverNotificationStatusResponse = [3, n0, _GAONSRe, 0, [_s], [0]];
439
+ var GetManagedResourceRequest = [3, n0, _GMRR, 0, [_rI], [[0, 1]]];
440
+ var GetManagedResourceResponse = [
441
+ 3,
442
+ n0,
443
+ _GMRRe,
444
+ 0,
445
+ [_a, _n, _aWp, _zS, _au, _pRC, _zAS],
446
+ [0, 0, 128 | 1, () => ZonalShiftsInResource, () => AutoshiftsInResource, () => PracticeRunConfiguration, 0],
447
+ ];
448
+ var InternalServerException = [
449
+ -3,
450
+ n0,
451
+ _ISE,
452
+ {
453
+ [_e]: _se,
454
+ [_hE]: 500,
455
+ },
456
+ [_m],
457
+ [0],
458
+ ];
459
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
460
+ var ListAutoshiftsRequest = [
461
+ 3,
462
+ n0,
463
+ _LAR,
464
+ 0,
465
+ [_nT, _s, _mR],
466
+ [
467
+ [
468
+ 0,
469
+ {
470
+ [_hQ]: _nT,
471
+ },
472
+ ],
473
+ [
474
+ 0,
475
+ {
476
+ [_hQ]: _s,
477
+ },
478
+ ],
479
+ [
480
+ 1,
481
+ {
482
+ [_hQ]: _mR,
483
+ },
484
+ ],
485
+ ],
486
+ ];
487
+ var ListAutoshiftsResponse = [3, n0, _LARi, 0, [_i, _nT], [() => AutoshiftSummaries, 0]];
488
+ var ListManagedResourcesRequest = [
489
+ 3,
490
+ n0,
491
+ _LMRR,
492
+ 0,
493
+ [_nT, _mR],
494
+ [
495
+ [
496
+ 0,
497
+ {
498
+ [_hQ]: _nT,
499
+ },
500
+ ],
501
+ [
502
+ 1,
503
+ {
504
+ [_hQ]: _mR,
505
+ },
506
+ ],
507
+ ],
508
+ ];
509
+ var ListManagedResourcesResponse = [
510
+ 3,
511
+ n0,
512
+ _LMRRi,
513
+ 0,
514
+ [_i, _nT],
515
+ [() => ManagedResourceSummaries, 0],
516
+ ];
517
+ var ListZonalShiftsRequest = [
518
+ 3,
519
+ n0,
520
+ _LZSR,
521
+ 0,
522
+ [_nT, _s, _mR, _rI],
523
+ [
524
+ [
525
+ 0,
526
+ {
527
+ [_hQ]: _nT,
528
+ },
529
+ ],
530
+ [
531
+ 0,
532
+ {
533
+ [_hQ]: _s,
534
+ },
535
+ ],
536
+ [
537
+ 1,
538
+ {
539
+ [_hQ]: _mR,
540
+ },
541
+ ],
542
+ [
543
+ 0,
544
+ {
545
+ [_hQ]: _rI,
546
+ },
547
+ ],
548
+ ],
549
+ ];
550
+ var ListZonalShiftsResponse = [
551
+ 3,
552
+ n0,
553
+ _LZSRi,
554
+ 0,
555
+ [_i, _nT],
556
+ [() => ZonalShiftSummaries, 0],
557
+ ];
558
+ var ManagedResourceSummary = [
559
+ 3,
560
+ n0,
561
+ _MRS,
562
+ 0,
563
+ [_a, _n, _aZ, _aWp, _zS, _au, _zAS, _pRS],
564
+ [0, 0, 64 | 0, 128 | 1, () => ZonalShiftsInResource, () => AutoshiftsInResource, 0, 0],
565
+ ];
566
+ var PracticeRunConfiguration = [
567
+ 3,
568
+ n0,
569
+ _PRC,
570
+ 0,
571
+ [_bA, _oA, _bW, _aW, _bD],
572
+ [() => BlockingAlarms, () => OutcomeAlarms, 64 | 0, 64 | 0, 64 | 0],
573
+ ];
574
+ var ResourceNotFoundException = [
575
+ -3,
576
+ n0,
577
+ _RNFE,
578
+ {
579
+ [_e]: _c,
580
+ [_hE]: 404,
581
+ },
582
+ [_m],
583
+ [0],
584
+ ];
585
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
586
+ var StartPracticeRunRequest = [3, n0, _SPRR, 0, [_rI, _aF, _co], [0, 0, 0]];
587
+ var StartPracticeRunResponse = [
588
+ 3,
589
+ n0,
590
+ _SPRRt,
591
+ 0,
592
+ [_zSI, _rI, _aF, _eTx, _sT, _s, _co],
593
+ [0, 0, 0, 4, 4, 0, 0],
594
+ ];
595
+ var StartZonalShiftRequest = [3, n0, _SZSR, 0, [_rI, _aF, _eI, _co], [0, 0, 0, 0]];
596
+ var ThrottlingException = [
597
+ -3,
598
+ n0,
599
+ _TE,
600
+ {
601
+ [_e]: _c,
602
+ [_hE]: 429,
603
+ },
604
+ [_m],
605
+ [0],
606
+ ];
607
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
608
+ var UpdateAutoshiftObserverNotificationStatusRequest = [3, n0, _UAONSR, 0, [_s], [0]];
609
+ var UpdateAutoshiftObserverNotificationStatusResponse = [3, n0, _UAONSRp, 0, [_s], [0]];
610
+ var UpdatePracticeRunConfigurationRequest = [
611
+ 3,
612
+ n0,
613
+ _UPRCR,
614
+ 0,
615
+ [_rI, _bW, _bD, _bA, _aW, _oA],
616
+ [[0, 1], 64 | 0, 64 | 0, () => BlockingAlarms, 64 | 0, () => OutcomeAlarms],
617
+ ];
618
+ var UpdatePracticeRunConfigurationResponse = [
619
+ 3,
620
+ n0,
621
+ _UPRCRp,
622
+ 0,
623
+ [_a, _n, _zAS, _pRC],
624
+ [0, 0, 0, () => PracticeRunConfiguration],
625
+ ];
626
+ var UpdateZonalAutoshiftConfigurationRequest = [
627
+ 3,
628
+ n0,
629
+ _UZACR,
630
+ 0,
631
+ [_rI, _zAS],
632
+ [[0, 1], 0],
633
+ ];
634
+ var UpdateZonalAutoshiftConfigurationResponse = [3, n0, _UZACRp, 0, [_rI, _zAS], [0, 0]];
635
+ var UpdateZonalShiftRequest = [3, n0, _UZSR, 0, [_zSI, _co, _eI], [[0, 1], 0, 0]];
636
+ var ValidationException = [
637
+ -3,
638
+ n0,
639
+ _VE,
640
+ {
641
+ [_e]: _c,
642
+ [_hE]: 400,
643
+ },
644
+ [_m, _r],
645
+ [0, 0],
646
+ ];
647
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
648
+ var ZonalShift = [
649
+ 3,
650
+ n0,
651
+ _ZS,
652
+ 0,
653
+ [_zSI, _rI, _aF, _eTx, _sT, _s, _co],
654
+ [0, 0, 0, 4, 4, 0, 0],
655
+ ];
656
+ var ZonalShiftInResource = [
657
+ 3,
658
+ n0,
659
+ _ZSIR,
660
+ 0,
661
+ [_aS, _zSI, _rI, _aF, _eTx, _sT, _co, _sTh, _pRO],
662
+ [0, 0, 0, 0, 4, 4, 0, 0, 0],
663
+ ];
664
+ var ZonalShiftSummary = [
665
+ 3,
666
+ n0,
667
+ _ZSS,
668
+ 0,
669
+ [_zSI, _rI, _aF, _eTx, _sT, _s, _co, _sTh, _pRO],
670
+ [0, 0, 0, 4, 4, 0, 0, 0, 0],
671
+ ];
672
+ var ARCZonalShiftServiceException = [-3, _sm, "ARCZonalShiftServiceException", 0, [], []];
673
+ schema.TypeRegistry.for(_sm).registerError(ARCZonalShiftServiceException, ARCZonalShiftServiceException$1);
674
+ var AutoshiftsInResource = [1, n0, _AIRu, 0, () => AutoshiftInResource];
675
+ var AutoshiftSummaries = [1, n0, _ASu, 0, () => AutoshiftSummary];
676
+ var BlockingAlarms = [1, n0, _BA, 0, () => ControlCondition];
677
+ var ManagedResourceSummaries = [1, n0, _MRSa, 0, () => ManagedResourceSummary];
678
+ var OutcomeAlarms = [1, n0, _OA, 0, () => ControlCondition];
679
+ var ZonalShiftsInResource = [1, n0, _ZSIRo, 0, () => ZonalShiftInResource];
680
+ var ZonalShiftSummaries = [1, n0, _ZSSo, 0, () => ZonalShiftSummary];
681
+ var CancelPracticeRun = [
682
+ 9,
683
+ n0,
684
+ _CPR,
685
+ {
686
+ [_h]: ["DELETE", "/practiceruns/{zonalShiftId}", 200],
687
+ },
688
+ () => CancelPracticeRunRequest,
689
+ () => CancelPracticeRunResponse,
690
+ ];
691
+ var CancelZonalShift = [
692
+ 9,
693
+ n0,
694
+ _CZS,
695
+ {
696
+ [_h]: ["DELETE", "/zonalshifts/{zonalShiftId}", 200],
697
+ },
698
+ () => CancelZonalShiftRequest,
699
+ () => ZonalShift,
700
+ ];
701
+ var CreatePracticeRunConfiguration = [
702
+ 9,
703
+ n0,
704
+ _CPRC,
705
+ {
706
+ [_h]: ["POST", "/configuration", 201],
707
+ },
708
+ () => CreatePracticeRunConfigurationRequest,
709
+ () => CreatePracticeRunConfigurationResponse,
710
+ ];
711
+ var DeletePracticeRunConfiguration = [
712
+ 9,
713
+ n0,
714
+ _DPRC,
715
+ {
716
+ [_h]: ["DELETE", "/configuration/{resourceIdentifier}", 200],
717
+ },
718
+ () => DeletePracticeRunConfigurationRequest,
719
+ () => DeletePracticeRunConfigurationResponse,
720
+ ];
721
+ var GetAutoshiftObserverNotificationStatus = [
722
+ 9,
723
+ n0,
724
+ _GAONS,
725
+ {
726
+ [_h]: ["GET", "/autoshift-observer-notification", 200],
727
+ },
728
+ () => GetAutoshiftObserverNotificationStatusRequest,
729
+ () => GetAutoshiftObserverNotificationStatusResponse,
730
+ ];
731
+ var GetManagedResource = [
732
+ 9,
733
+ n0,
734
+ _GMR,
735
+ {
736
+ [_h]: ["GET", "/managedresources/{resourceIdentifier}", 200],
737
+ },
738
+ () => GetManagedResourceRequest,
739
+ () => GetManagedResourceResponse,
740
+ ];
741
+ var ListAutoshifts = [
742
+ 9,
743
+ n0,
744
+ _LA,
745
+ {
746
+ [_h]: ["GET", "/autoshifts", 200],
747
+ },
748
+ () => ListAutoshiftsRequest,
749
+ () => ListAutoshiftsResponse,
750
+ ];
751
+ var ListManagedResources = [
752
+ 9,
753
+ n0,
754
+ _LMR,
755
+ {
756
+ [_h]: ["GET", "/managedresources", 200],
757
+ },
758
+ () => ListManagedResourcesRequest,
759
+ () => ListManagedResourcesResponse,
760
+ ];
761
+ var ListZonalShifts = [
762
+ 9,
763
+ n0,
764
+ _LZS,
765
+ {
766
+ [_h]: ["GET", "/zonalshifts", 200],
767
+ },
768
+ () => ListZonalShiftsRequest,
769
+ () => ListZonalShiftsResponse,
770
+ ];
771
+ var StartPracticeRun = [
772
+ 9,
773
+ n0,
774
+ _SPR,
775
+ {
776
+ [_h]: ["POST", "/practiceruns", 200],
777
+ },
778
+ () => StartPracticeRunRequest,
779
+ () => StartPracticeRunResponse,
780
+ ];
781
+ var StartZonalShift = [
782
+ 9,
783
+ n0,
784
+ _SZS,
785
+ {
786
+ [_h]: ["POST", "/zonalshifts", 201],
787
+ },
788
+ () => StartZonalShiftRequest,
789
+ () => ZonalShift,
790
+ ];
791
+ var UpdateAutoshiftObserverNotificationStatus = [
792
+ 9,
793
+ n0,
794
+ _UAONS,
795
+ {
796
+ [_h]: ["PUT", "/autoshift-observer-notification", 200],
797
+ },
798
+ () => UpdateAutoshiftObserverNotificationStatusRequest,
799
+ () => UpdateAutoshiftObserverNotificationStatusResponse,
800
+ ];
801
+ var UpdatePracticeRunConfiguration = [
802
+ 9,
803
+ n0,
804
+ _UPRC,
805
+ {
806
+ [_h]: ["PATCH", "/configuration/{resourceIdentifier}", 200],
807
+ },
808
+ () => UpdatePracticeRunConfigurationRequest,
809
+ () => UpdatePracticeRunConfigurationResponse,
810
+ ];
811
+ var UpdateZonalAutoshiftConfiguration = [
812
+ 9,
813
+ n0,
814
+ _UZAC,
815
+ {
816
+ [_h]: ["PUT", "/managedresources/{resourceIdentifier}", 200],
817
+ },
818
+ () => UpdateZonalAutoshiftConfigurationRequest,
819
+ () => UpdateZonalAutoshiftConfigurationResponse,
820
+ ];
821
+ var UpdateZonalShift = [
822
+ 9,
823
+ n0,
824
+ _UZS,
825
+ {
826
+ [_h]: ["PATCH", "/zonalshifts/{zonalShiftId}", 200],
827
+ },
828
+ () => UpdateZonalShiftRequest,
829
+ () => ZonalShift,
830
+ ];
949
831
 
950
832
  class CancelPracticeRunCommand extends smithyClient.Command
951
833
  .classBuilder()
952
834
  .ep(commonParams)
953
835
  .m(function (Command, cs, config, o) {
954
- return [
955
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
956
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
957
- ];
836
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
958
837
  })
959
838
  .s("PercDataPlane", "CancelPracticeRun", {})
960
839
  .n("ARCZonalShiftClient", "CancelPracticeRunCommand")
961
- .f(void 0, void 0)
962
- .ser(se_CancelPracticeRunCommand)
963
- .de(de_CancelPracticeRunCommand)
840
+ .sc(CancelPracticeRun)
964
841
  .build() {
965
842
  }
966
843
 
@@ -968,16 +845,11 @@ class CancelZonalShiftCommand extends smithyClient.Command
968
845
  .classBuilder()
969
846
  .ep(commonParams)
970
847
  .m(function (Command, cs, config, o) {
971
- return [
972
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
973
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
974
- ];
848
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
975
849
  })
976
850
  .s("PercDataPlane", "CancelZonalShift", {})
977
851
  .n("ARCZonalShiftClient", "CancelZonalShiftCommand")
978
- .f(void 0, void 0)
979
- .ser(se_CancelZonalShiftCommand)
980
- .de(de_CancelZonalShiftCommand)
852
+ .sc(CancelZonalShift)
981
853
  .build() {
982
854
  }
983
855
 
@@ -985,16 +857,11 @@ class CreatePracticeRunConfigurationCommand extends smithyClient.Command
985
857
  .classBuilder()
986
858
  .ep(commonParams)
987
859
  .m(function (Command, cs, config, o) {
988
- return [
989
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
990
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
991
- ];
860
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
992
861
  })
993
862
  .s("PercDataPlane", "CreatePracticeRunConfiguration", {})
994
863
  .n("ARCZonalShiftClient", "CreatePracticeRunConfigurationCommand")
995
- .f(void 0, void 0)
996
- .ser(se_CreatePracticeRunConfigurationCommand)
997
- .de(de_CreatePracticeRunConfigurationCommand)
864
+ .sc(CreatePracticeRunConfiguration)
998
865
  .build() {
999
866
  }
1000
867
 
@@ -1002,16 +869,11 @@ class DeletePracticeRunConfigurationCommand extends smithyClient.Command
1002
869
  .classBuilder()
1003
870
  .ep(commonParams)
1004
871
  .m(function (Command, cs, config, o) {
1005
- return [
1006
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1007
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1008
- ];
872
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1009
873
  })
1010
874
  .s("PercDataPlane", "DeletePracticeRunConfiguration", {})
1011
875
  .n("ARCZonalShiftClient", "DeletePracticeRunConfigurationCommand")
1012
- .f(void 0, void 0)
1013
- .ser(se_DeletePracticeRunConfigurationCommand)
1014
- .de(de_DeletePracticeRunConfigurationCommand)
876
+ .sc(DeletePracticeRunConfiguration)
1015
877
  .build() {
1016
878
  }
1017
879
 
@@ -1019,16 +881,11 @@ class GetAutoshiftObserverNotificationStatusCommand extends smithyClient.Command
1019
881
  .classBuilder()
1020
882
  .ep(commonParams)
1021
883
  .m(function (Command, cs, config, o) {
1022
- return [
1023
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1024
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1025
- ];
884
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1026
885
  })
1027
886
  .s("PercDataPlane", "GetAutoshiftObserverNotificationStatus", {})
1028
887
  .n("ARCZonalShiftClient", "GetAutoshiftObserverNotificationStatusCommand")
1029
- .f(void 0, void 0)
1030
- .ser(se_GetAutoshiftObserverNotificationStatusCommand)
1031
- .de(de_GetAutoshiftObserverNotificationStatusCommand)
888
+ .sc(GetAutoshiftObserverNotificationStatus)
1032
889
  .build() {
1033
890
  }
1034
891
 
@@ -1036,16 +893,11 @@ class GetManagedResourceCommand extends smithyClient.Command
1036
893
  .classBuilder()
1037
894
  .ep(commonParams)
1038
895
  .m(function (Command, cs, config, o) {
1039
- return [
1040
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1041
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1042
- ];
896
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1043
897
  })
1044
898
  .s("PercDataPlane", "GetManagedResource", {})
1045
899
  .n("ARCZonalShiftClient", "GetManagedResourceCommand")
1046
- .f(void 0, void 0)
1047
- .ser(se_GetManagedResourceCommand)
1048
- .de(de_GetManagedResourceCommand)
900
+ .sc(GetManagedResource)
1049
901
  .build() {
1050
902
  }
1051
903
 
@@ -1053,16 +905,11 @@ class ListAutoshiftsCommand extends smithyClient.Command
1053
905
  .classBuilder()
1054
906
  .ep(commonParams)
1055
907
  .m(function (Command, cs, config, o) {
1056
- return [
1057
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1058
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1059
- ];
908
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1060
909
  })
1061
910
  .s("PercDataPlane", "ListAutoshifts", {})
1062
911
  .n("ARCZonalShiftClient", "ListAutoshiftsCommand")
1063
- .f(void 0, void 0)
1064
- .ser(se_ListAutoshiftsCommand)
1065
- .de(de_ListAutoshiftsCommand)
912
+ .sc(ListAutoshifts)
1066
913
  .build() {
1067
914
  }
1068
915
 
@@ -1070,16 +917,11 @@ class ListManagedResourcesCommand extends smithyClient.Command
1070
917
  .classBuilder()
1071
918
  .ep(commonParams)
1072
919
  .m(function (Command, cs, config, o) {
1073
- return [
1074
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1075
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1076
- ];
920
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1077
921
  })
1078
922
  .s("PercDataPlane", "ListManagedResources", {})
1079
923
  .n("ARCZonalShiftClient", "ListManagedResourcesCommand")
1080
- .f(void 0, void 0)
1081
- .ser(se_ListManagedResourcesCommand)
1082
- .de(de_ListManagedResourcesCommand)
924
+ .sc(ListManagedResources)
1083
925
  .build() {
1084
926
  }
1085
927
 
@@ -1087,16 +929,11 @@ class ListZonalShiftsCommand extends smithyClient.Command
1087
929
  .classBuilder()
1088
930
  .ep(commonParams)
1089
931
  .m(function (Command, cs, config, o) {
1090
- return [
1091
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1092
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1093
- ];
932
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1094
933
  })
1095
934
  .s("PercDataPlane", "ListZonalShifts", {})
1096
935
  .n("ARCZonalShiftClient", "ListZonalShiftsCommand")
1097
- .f(void 0, void 0)
1098
- .ser(se_ListZonalShiftsCommand)
1099
- .de(de_ListZonalShiftsCommand)
936
+ .sc(ListZonalShifts)
1100
937
  .build() {
1101
938
  }
1102
939
 
@@ -1104,16 +941,11 @@ class StartPracticeRunCommand extends smithyClient.Command
1104
941
  .classBuilder()
1105
942
  .ep(commonParams)
1106
943
  .m(function (Command, cs, config, o) {
1107
- return [
1108
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1109
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1110
- ];
944
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1111
945
  })
1112
946
  .s("PercDataPlane", "StartPracticeRun", {})
1113
947
  .n("ARCZonalShiftClient", "StartPracticeRunCommand")
1114
- .f(void 0, void 0)
1115
- .ser(se_StartPracticeRunCommand)
1116
- .de(de_StartPracticeRunCommand)
948
+ .sc(StartPracticeRun)
1117
949
  .build() {
1118
950
  }
1119
951
 
@@ -1121,16 +953,11 @@ class StartZonalShiftCommand extends smithyClient.Command
1121
953
  .classBuilder()
1122
954
  .ep(commonParams)
1123
955
  .m(function (Command, cs, config, o) {
1124
- return [
1125
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1126
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1127
- ];
956
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1128
957
  })
1129
958
  .s("PercDataPlane", "StartZonalShift", {})
1130
959
  .n("ARCZonalShiftClient", "StartZonalShiftCommand")
1131
- .f(void 0, void 0)
1132
- .ser(se_StartZonalShiftCommand)
1133
- .de(de_StartZonalShiftCommand)
960
+ .sc(StartZonalShift)
1134
961
  .build() {
1135
962
  }
1136
963
 
@@ -1138,16 +965,11 @@ class UpdateAutoshiftObserverNotificationStatusCommand extends smithyClient.Comm
1138
965
  .classBuilder()
1139
966
  .ep(commonParams)
1140
967
  .m(function (Command, cs, config, o) {
1141
- return [
1142
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1143
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1144
- ];
968
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1145
969
  })
1146
970
  .s("PercDataPlane", "UpdateAutoshiftObserverNotificationStatus", {})
1147
971
  .n("ARCZonalShiftClient", "UpdateAutoshiftObserverNotificationStatusCommand")
1148
- .f(void 0, void 0)
1149
- .ser(se_UpdateAutoshiftObserverNotificationStatusCommand)
1150
- .de(de_UpdateAutoshiftObserverNotificationStatusCommand)
972
+ .sc(UpdateAutoshiftObserverNotificationStatus)
1151
973
  .build() {
1152
974
  }
1153
975
 
@@ -1155,16 +977,11 @@ class UpdatePracticeRunConfigurationCommand extends smithyClient.Command
1155
977
  .classBuilder()
1156
978
  .ep(commonParams)
1157
979
  .m(function (Command, cs, config, o) {
1158
- return [
1159
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1160
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1161
- ];
980
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1162
981
  })
1163
982
  .s("PercDataPlane", "UpdatePracticeRunConfiguration", {})
1164
983
  .n("ARCZonalShiftClient", "UpdatePracticeRunConfigurationCommand")
1165
- .f(void 0, void 0)
1166
- .ser(se_UpdatePracticeRunConfigurationCommand)
1167
- .de(de_UpdatePracticeRunConfigurationCommand)
984
+ .sc(UpdatePracticeRunConfiguration)
1168
985
  .build() {
1169
986
  }
1170
987
 
@@ -1172,16 +989,11 @@ class UpdateZonalAutoshiftConfigurationCommand extends smithyClient.Command
1172
989
  .classBuilder()
1173
990
  .ep(commonParams)
1174
991
  .m(function (Command, cs, config, o) {
1175
- return [
1176
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1177
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1178
- ];
992
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1179
993
  })
1180
994
  .s("PercDataPlane", "UpdateZonalAutoshiftConfiguration", {})
1181
995
  .n("ARCZonalShiftClient", "UpdateZonalAutoshiftConfigurationCommand")
1182
- .f(void 0, void 0)
1183
- .ser(se_UpdateZonalAutoshiftConfigurationCommand)
1184
- .de(de_UpdateZonalAutoshiftConfigurationCommand)
996
+ .sc(UpdateZonalAutoshiftConfiguration)
1185
997
  .build() {
1186
998
  }
1187
999
 
@@ -1189,16 +1001,11 @@ class UpdateZonalShiftCommand extends smithyClient.Command
1189
1001
  .classBuilder()
1190
1002
  .ep(commonParams)
1191
1003
  .m(function (Command, cs, config, o) {
1192
- return [
1193
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1194
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1195
- ];
1004
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
1005
  })
1197
1006
  .s("PercDataPlane", "UpdateZonalShift", {})
1198
1007
  .n("ARCZonalShiftClient", "UpdateZonalShiftCommand")
1199
- .f(void 0, void 0)
1200
- .ser(se_UpdateZonalShiftCommand)
1201
- .de(de_UpdateZonalShiftCommand)
1008
+ .sc(UpdateZonalShift)
1202
1009
  .build() {
1203
1010
  }
1204
1011
 
@@ -1239,36 +1046,36 @@ Object.defineProperty(exports, "__Client", {
1239
1046
  });
1240
1047
  exports.ARCZonalShift = ARCZonalShift;
1241
1048
  exports.ARCZonalShiftClient = ARCZonalShiftClient;
1242
- exports.ARCZonalShiftServiceException = ARCZonalShiftServiceException;
1243
- exports.AccessDeniedException = AccessDeniedException;
1049
+ exports.ARCZonalShiftServiceException = ARCZonalShiftServiceException$1;
1050
+ exports.AccessDeniedException = AccessDeniedException$1;
1244
1051
  exports.AppliedStatus = AppliedStatus;
1245
1052
  exports.AutoshiftAppliedStatus = AutoshiftAppliedStatus;
1246
1053
  exports.AutoshiftExecutionStatus = AutoshiftExecutionStatus;
1247
1054
  exports.AutoshiftObserverNotificationStatus = AutoshiftObserverNotificationStatus;
1248
1055
  exports.CancelPracticeRunCommand = CancelPracticeRunCommand;
1249
1056
  exports.CancelZonalShiftCommand = CancelZonalShiftCommand;
1250
- exports.ConflictException = ConflictException;
1057
+ exports.ConflictException = ConflictException$1;
1251
1058
  exports.ConflictExceptionReason = ConflictExceptionReason;
1252
1059
  exports.ControlConditionType = ControlConditionType;
1253
1060
  exports.CreatePracticeRunConfigurationCommand = CreatePracticeRunConfigurationCommand;
1254
1061
  exports.DeletePracticeRunConfigurationCommand = DeletePracticeRunConfigurationCommand;
1255
1062
  exports.GetAutoshiftObserverNotificationStatusCommand = GetAutoshiftObserverNotificationStatusCommand;
1256
1063
  exports.GetManagedResourceCommand = GetManagedResourceCommand;
1257
- exports.InternalServerException = InternalServerException;
1064
+ exports.InternalServerException = InternalServerException$1;
1258
1065
  exports.ListAutoshiftsCommand = ListAutoshiftsCommand;
1259
1066
  exports.ListManagedResourcesCommand = ListManagedResourcesCommand;
1260
1067
  exports.ListZonalShiftsCommand = ListZonalShiftsCommand;
1261
1068
  exports.PracticeRunOutcome = PracticeRunOutcome;
1262
- exports.ResourceNotFoundException = ResourceNotFoundException;
1069
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1263
1070
  exports.ShiftType = ShiftType;
1264
1071
  exports.StartPracticeRunCommand = StartPracticeRunCommand;
1265
1072
  exports.StartZonalShiftCommand = StartZonalShiftCommand;
1266
- exports.ThrottlingException = ThrottlingException;
1073
+ exports.ThrottlingException = ThrottlingException$1;
1267
1074
  exports.UpdateAutoshiftObserverNotificationStatusCommand = UpdateAutoshiftObserverNotificationStatusCommand;
1268
1075
  exports.UpdatePracticeRunConfigurationCommand = UpdatePracticeRunConfigurationCommand;
1269
1076
  exports.UpdateZonalAutoshiftConfigurationCommand = UpdateZonalAutoshiftConfigurationCommand;
1270
1077
  exports.UpdateZonalShiftCommand = UpdateZonalShiftCommand;
1271
- exports.ValidationException = ValidationException;
1078
+ exports.ValidationException = ValidationException$1;
1272
1079
  exports.ValidationExceptionReason = ValidationExceptionReason;
1273
1080
  exports.ZonalAutoshiftStatus = ZonalAutoshiftStatus;
1274
1081
  exports.ZonalShiftStatus = ZonalShiftStatus;