@aws-sdk/client-arc-zonal-shift 3.758.0 → 3.774.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 (2) hide show
  1. package/dist-cjs/index.js +35 -35
  2. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  ARCZonalShift: () => ARCZonalShift,
25
25
  ARCZonalShiftClient: () => ARCZonalShiftClient,
26
26
  ARCZonalShiftServiceException: () => ARCZonalShiftServiceException,
@@ -58,7 +58,7 @@ __export(src_exports, {
58
58
  paginateListManagedResources: () => paginateListManagedResources,
59
59
  paginateListZonalShifts: () => paginateListZonalShifts
60
60
  });
61
- module.exports = __toCommonJS(src_exports);
61
+ module.exports = __toCommonJS(index_exports);
62
62
 
63
63
  // src/ARCZonalShiftClient.ts
64
64
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -185,9 +185,9 @@ var ARCZonalShiftClient = class extends import_smithy_client.Client {
185
185
  this.middlewareStack.use(
186
186
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
187
187
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultARCZonalShiftHttpAuthSchemeParametersProvider,
188
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
188
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
189
189
  "aws.auth#sigv4": config.credentials
190
- })
190
+ }), "identityProviderConfigProvider")
191
191
  })
192
192
  );
193
193
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -431,10 +431,10 @@ var se_CreatePracticeRunConfigurationCommand = /* @__PURE__ */ __name(async (inp
431
431
  let body;
432
432
  body = JSON.stringify(
433
433
  (0, import_smithy_client.take)(input, {
434
- blockedDates: (_) => (0, import_smithy_client._json)(_),
435
- blockedWindows: (_) => (0, import_smithy_client._json)(_),
436
- blockingAlarms: (_) => (0, import_smithy_client._json)(_),
437
- outcomeAlarms: (_) => (0, import_smithy_client._json)(_),
434
+ blockedDates: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "blockedDates"),
435
+ blockedWindows: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "blockedWindows"),
436
+ blockingAlarms: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "blockingAlarms"),
437
+ outcomeAlarms: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outcomeAlarms"),
438
438
  resourceIdentifier: []
439
439
  })
440
440
  );
@@ -549,10 +549,10 @@ var se_UpdatePracticeRunConfigurationCommand = /* @__PURE__ */ __name(async (inp
549
549
  let body;
550
550
  body = JSON.stringify(
551
551
  (0, import_smithy_client.take)(input, {
552
- blockedDates: (_) => (0, import_smithy_client._json)(_),
553
- blockedWindows: (_) => (0, import_smithy_client._json)(_),
554
- blockingAlarms: (_) => (0, import_smithy_client._json)(_),
555
- outcomeAlarms: (_) => (0, import_smithy_client._json)(_)
552
+ blockedDates: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "blockedDates"),
553
+ blockedWindows: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "blockedWindows"),
554
+ blockingAlarms: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "blockingAlarms"),
555
+ outcomeAlarms: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outcomeAlarms")
556
556
  })
557
557
  );
558
558
  b.m("PATCH").h(headers).b(body);
@@ -602,9 +602,9 @@ var de_CancelZonalShiftCommand = /* @__PURE__ */ __name(async (output, context)
602
602
  const doc = (0, import_smithy_client.take)(data, {
603
603
  awayFrom: import_smithy_client.expectString,
604
604
  comment: import_smithy_client.expectString,
605
- expiryTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
605
+ expiryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiryTime"),
606
606
  resourceIdentifier: import_smithy_client.expectString,
607
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
607
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
608
608
  status: import_smithy_client.expectString,
609
609
  zonalShiftId: import_smithy_client.expectString
610
610
  });
@@ -667,13 +667,13 @@ var de_GetManagedResourceCommand = /* @__PURE__ */ __name(async (output, context
667
667
  });
668
668
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
669
669
  const doc = (0, import_smithy_client.take)(data, {
670
- appliedWeights: (_) => de_AppliedWeights(_, context),
670
+ appliedWeights: /* @__PURE__ */ __name((_) => de_AppliedWeights(_, context), "appliedWeights"),
671
671
  arn: import_smithy_client.expectString,
672
- autoshifts: (_) => de_AutoshiftsInResource(_, context),
672
+ autoshifts: /* @__PURE__ */ __name((_) => de_AutoshiftsInResource(_, context), "autoshifts"),
673
673
  name: import_smithy_client.expectString,
674
674
  practiceRunConfiguration: import_smithy_client._json,
675
675
  zonalAutoshiftStatus: import_smithy_client.expectString,
676
- zonalShifts: (_) => de_ZonalShiftsInResource(_, context)
676
+ zonalShifts: /* @__PURE__ */ __name((_) => de_ZonalShiftsInResource(_, context), "zonalShifts")
677
677
  });
678
678
  Object.assign(contents, doc);
679
679
  return contents;
@@ -687,7 +687,7 @@ var de_ListAutoshiftsCommand = /* @__PURE__ */ __name(async (output, context) =>
687
687
  });
688
688
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
689
689
  const doc = (0, import_smithy_client.take)(data, {
690
- items: (_) => de_AutoshiftSummaries(_, context),
690
+ items: /* @__PURE__ */ __name((_) => de_AutoshiftSummaries(_, context), "items"),
691
691
  nextToken: import_smithy_client.expectString
692
692
  });
693
693
  Object.assign(contents, doc);
@@ -702,7 +702,7 @@ var de_ListManagedResourcesCommand = /* @__PURE__ */ __name(async (output, conte
702
702
  });
703
703
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
704
704
  const doc = (0, import_smithy_client.take)(data, {
705
- items: (_) => de_ManagedResourceSummaries(_, context),
705
+ items: /* @__PURE__ */ __name((_) => de_ManagedResourceSummaries(_, context), "items"),
706
706
  nextToken: import_smithy_client.expectString
707
707
  });
708
708
  Object.assign(contents, doc);
@@ -717,7 +717,7 @@ var de_ListZonalShiftsCommand = /* @__PURE__ */ __name(async (output, context) =
717
717
  });
718
718
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
719
719
  const doc = (0, import_smithy_client.take)(data, {
720
- items: (_) => de_ZonalShiftSummaries(_, context),
720
+ items: /* @__PURE__ */ __name((_) => de_ZonalShiftSummaries(_, context), "items"),
721
721
  nextToken: import_smithy_client.expectString
722
722
  });
723
723
  Object.assign(contents, doc);
@@ -734,9 +734,9 @@ var de_StartZonalShiftCommand = /* @__PURE__ */ __name(async (output, context) =
734
734
  const doc = (0, import_smithy_client.take)(data, {
735
735
  awayFrom: import_smithy_client.expectString,
736
736
  comment: import_smithy_client.expectString,
737
- expiryTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
737
+ expiryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiryTime"),
738
738
  resourceIdentifier: import_smithy_client.expectString,
739
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
739
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
740
740
  status: import_smithy_client.expectString,
741
741
  zonalShiftId: import_smithy_client.expectString
742
742
  });
@@ -800,9 +800,9 @@ var de_UpdateZonalShiftCommand = /* @__PURE__ */ __name(async (output, context)
800
800
  const doc = (0, import_smithy_client.take)(data, {
801
801
  awayFrom: import_smithy_client.expectString,
802
802
  comment: import_smithy_client.expectString,
803
- expiryTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
803
+ expiryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiryTime"),
804
804
  resourceIdentifier: import_smithy_client.expectString,
805
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
805
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
806
806
  status: import_smithy_client.expectString,
807
807
  zonalShiftId: import_smithy_client.expectString
808
808
  });
@@ -938,7 +938,7 @@ var de_AutoshiftInResource = /* @__PURE__ */ __name((output, context) => {
938
938
  return (0, import_smithy_client.take)(output, {
939
939
  appliedStatus: import_smithy_client.expectString,
940
940
  awayFrom: import_smithy_client.expectString,
941
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
941
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime")
942
942
  });
943
943
  }, "de_AutoshiftInResource");
944
944
  var de_AutoshiftsInResource = /* @__PURE__ */ __name((output, context) => {
@@ -956,8 +956,8 @@ var de_AutoshiftSummaries = /* @__PURE__ */ __name((output, context) => {
956
956
  var de_AutoshiftSummary = /* @__PURE__ */ __name((output, context) => {
957
957
  return (0, import_smithy_client.take)(output, {
958
958
  awayFrom: import_smithy_client.expectString,
959
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
960
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
959
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
960
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
961
961
  status: import_smithy_client.expectString
962
962
  });
963
963
  }, "de_AutoshiftSummary");
@@ -969,14 +969,14 @@ var de_ManagedResourceSummaries = /* @__PURE__ */ __name((output, context) => {
969
969
  }, "de_ManagedResourceSummaries");
970
970
  var de_ManagedResourceSummary = /* @__PURE__ */ __name((output, context) => {
971
971
  return (0, import_smithy_client.take)(output, {
972
- appliedWeights: (_) => de_AppliedWeights(_, context),
972
+ appliedWeights: /* @__PURE__ */ __name((_) => de_AppliedWeights(_, context), "appliedWeights"),
973
973
  arn: import_smithy_client.expectString,
974
- autoshifts: (_) => de_AutoshiftsInResource(_, context),
974
+ autoshifts: /* @__PURE__ */ __name((_) => de_AutoshiftsInResource(_, context), "autoshifts"),
975
975
  availabilityZones: import_smithy_client._json,
976
976
  name: import_smithy_client.expectString,
977
977
  practiceRunStatus: import_smithy_client.expectString,
978
978
  zonalAutoshiftStatus: import_smithy_client.expectString,
979
- zonalShifts: (_) => de_ZonalShiftsInResource(_, context)
979
+ zonalShifts: /* @__PURE__ */ __name((_) => de_ZonalShiftsInResource(_, context), "zonalShifts")
980
980
  });
981
981
  }, "de_ManagedResourceSummary");
982
982
  var de_ZonalShiftInResource = /* @__PURE__ */ __name((output, context) => {
@@ -984,10 +984,10 @@ var de_ZonalShiftInResource = /* @__PURE__ */ __name((output, context) => {
984
984
  appliedStatus: import_smithy_client.expectString,
985
985
  awayFrom: import_smithy_client.expectString,
986
986
  comment: import_smithy_client.expectString,
987
- expiryTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
987
+ expiryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiryTime"),
988
988
  practiceRunOutcome: import_smithy_client.expectString,
989
989
  resourceIdentifier: import_smithy_client.expectString,
990
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
990
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
991
991
  zonalShiftId: import_smithy_client.expectString
992
992
  });
993
993
  }, "de_ZonalShiftInResource");
@@ -1007,10 +1007,10 @@ var de_ZonalShiftSummary = /* @__PURE__ */ __name((output, context) => {
1007
1007
  return (0, import_smithy_client.take)(output, {
1008
1008
  awayFrom: import_smithy_client.expectString,
1009
1009
  comment: import_smithy_client.expectString,
1010
- expiryTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1010
+ expiryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiryTime"),
1011
1011
  practiceRunOutcome: import_smithy_client.expectString,
1012
1012
  resourceIdentifier: import_smithy_client.expectString,
1013
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1013
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
1014
1014
  status: import_smithy_client.expectString,
1015
1015
  zonalShiftId: import_smithy_client.expectString
1016
1016
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-arc-zonal-shift",
3
3
  "description": "AWS SDK for JavaScript Arc Zonal Shift Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.774.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-arc-zonal-shift",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
25
- "@aws-sdk/middleware-host-header": "3.734.0",
23
+ "@aws-sdk/core": "3.774.0",
24
+ "@aws-sdk/credential-provider-node": "3.774.0",
25
+ "@aws-sdk/middleware-host-header": "3.774.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.758.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.774.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.758.0",
33
+ "@aws-sdk/util-user-agent-node": "3.774.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
35
  "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",