@aws-sdk/client-arc-zonal-shift 3.649.0 → 3.650.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.
package/dist-cjs/index.js CHANGED
@@ -1000,9 +1000,7 @@ var _rI = "resourceIdentifier";
1000
1000
  var _s = "status";
1001
1001
 
1002
1002
  // src/commands/CancelZonalShiftCommand.ts
1003
- var _CancelZonalShiftCommand = class _CancelZonalShiftCommand extends import_smithy_client.Command.classBuilder().ep({
1004
- ...commonParams
1005
- }).m(function(Command, cs, config, o) {
1003
+ var _CancelZonalShiftCommand = class _CancelZonalShiftCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1006
1004
  return [
1007
1005
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1008
1006
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1016,9 +1014,7 @@ var CancelZonalShiftCommand = _CancelZonalShiftCommand;
1016
1014
 
1017
1015
 
1018
1016
 
1019
- var _CreatePracticeRunConfigurationCommand = class _CreatePracticeRunConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
1020
- ...commonParams
1021
- }).m(function(Command, cs, config, o) {
1017
+ var _CreatePracticeRunConfigurationCommand = class _CreatePracticeRunConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1022
1018
  return [
1023
1019
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1024
1020
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1032,9 +1028,7 @@ var CreatePracticeRunConfigurationCommand = _CreatePracticeRunConfigurationComma
1032
1028
 
1033
1029
 
1034
1030
 
1035
- var _DeletePracticeRunConfigurationCommand = class _DeletePracticeRunConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
1036
- ...commonParams
1037
- }).m(function(Command, cs, config, o) {
1031
+ var _DeletePracticeRunConfigurationCommand = class _DeletePracticeRunConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1038
1032
  return [
1039
1033
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1040
1034
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1048,9 +1042,7 @@ var DeletePracticeRunConfigurationCommand = _DeletePracticeRunConfigurationComma
1048
1042
 
1049
1043
 
1050
1044
 
1051
- var _GetAutoshiftObserverNotificationStatusCommand = class _GetAutoshiftObserverNotificationStatusCommand extends import_smithy_client.Command.classBuilder().ep({
1052
- ...commonParams
1053
- }).m(function(Command, cs, config, o) {
1045
+ var _GetAutoshiftObserverNotificationStatusCommand = class _GetAutoshiftObserverNotificationStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1054
1046
  return [
1055
1047
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1056
1048
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1064,9 +1056,7 @@ var GetAutoshiftObserverNotificationStatusCommand = _GetAutoshiftObserverNotific
1064
1056
 
1065
1057
 
1066
1058
 
1067
- var _GetManagedResourceCommand = class _GetManagedResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1068
- ...commonParams
1069
- }).m(function(Command, cs, config, o) {
1059
+ var _GetManagedResourceCommand = class _GetManagedResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1070
1060
  return [
1071
1061
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1072
1062
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1080,9 +1070,7 @@ var GetManagedResourceCommand = _GetManagedResourceCommand;
1080
1070
 
1081
1071
 
1082
1072
 
1083
- var _ListAutoshiftsCommand = class _ListAutoshiftsCommand extends import_smithy_client.Command.classBuilder().ep({
1084
- ...commonParams
1085
- }).m(function(Command, cs, config, o) {
1073
+ var _ListAutoshiftsCommand = class _ListAutoshiftsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1086
1074
  return [
1087
1075
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1088
1076
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1096,9 +1084,7 @@ var ListAutoshiftsCommand = _ListAutoshiftsCommand;
1096
1084
 
1097
1085
 
1098
1086
 
1099
- var _ListManagedResourcesCommand = class _ListManagedResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
1100
- ...commonParams
1101
- }).m(function(Command, cs, config, o) {
1087
+ var _ListManagedResourcesCommand = class _ListManagedResourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1102
1088
  return [
1103
1089
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1104
1090
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1112,9 +1098,7 @@ var ListManagedResourcesCommand = _ListManagedResourcesCommand;
1112
1098
 
1113
1099
 
1114
1100
 
1115
- var _ListZonalShiftsCommand = class _ListZonalShiftsCommand extends import_smithy_client.Command.classBuilder().ep({
1116
- ...commonParams
1117
- }).m(function(Command, cs, config, o) {
1101
+ var _ListZonalShiftsCommand = class _ListZonalShiftsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1118
1102
  return [
1119
1103
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1120
1104
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1128,9 +1112,7 @@ var ListZonalShiftsCommand = _ListZonalShiftsCommand;
1128
1112
 
1129
1113
 
1130
1114
 
1131
- var _StartZonalShiftCommand = class _StartZonalShiftCommand extends import_smithy_client.Command.classBuilder().ep({
1132
- ...commonParams
1133
- }).m(function(Command, cs, config, o) {
1115
+ var _StartZonalShiftCommand = class _StartZonalShiftCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1134
1116
  return [
1135
1117
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1136
1118
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1144,9 +1126,7 @@ var StartZonalShiftCommand = _StartZonalShiftCommand;
1144
1126
 
1145
1127
 
1146
1128
 
1147
- var _UpdateAutoshiftObserverNotificationStatusCommand = class _UpdateAutoshiftObserverNotificationStatusCommand extends import_smithy_client.Command.classBuilder().ep({
1148
- ...commonParams
1149
- }).m(function(Command, cs, config, o) {
1129
+ var _UpdateAutoshiftObserverNotificationStatusCommand = class _UpdateAutoshiftObserverNotificationStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1150
1130
  return [
1151
1131
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1152
1132
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1160,9 +1140,7 @@ var UpdateAutoshiftObserverNotificationStatusCommand = _UpdateAutoshiftObserverN
1160
1140
 
1161
1141
 
1162
1142
 
1163
- var _UpdatePracticeRunConfigurationCommand = class _UpdatePracticeRunConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
1164
- ...commonParams
1165
- }).m(function(Command, cs, config, o) {
1143
+ var _UpdatePracticeRunConfigurationCommand = class _UpdatePracticeRunConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1166
1144
  return [
1167
1145
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1168
1146
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1176,9 +1154,7 @@ var UpdatePracticeRunConfigurationCommand = _UpdatePracticeRunConfigurationComma
1176
1154
 
1177
1155
 
1178
1156
 
1179
- var _UpdateZonalAutoshiftConfigurationCommand = class _UpdateZonalAutoshiftConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
1180
- ...commonParams
1181
- }).m(function(Command, cs, config, o) {
1157
+ var _UpdateZonalAutoshiftConfigurationCommand = class _UpdateZonalAutoshiftConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1182
1158
  return [
1183
1159
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1184
1160
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1192,9 +1168,7 @@ var UpdateZonalAutoshiftConfigurationCommand = _UpdateZonalAutoshiftConfiguratio
1192
1168
 
1193
1169
 
1194
1170
 
1195
- var _UpdateZonalShiftCommand = class _UpdateZonalShiftCommand extends import_smithy_client.Command.classBuilder().ep({
1196
- ...commonParams
1197
- }).m(function(Command, cs, config, o) {
1171
+ var _UpdateZonalShiftCommand = class _UpdateZonalShiftCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1198
1172
  return [
1199
1173
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1200
1174
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_CancelZonalShiftCommand, se_CancelZonalShiftCommand } from "../proto
6
6
  export { $Command };
7
7
  export class CancelZonalShiftCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreatePracticeRunConfigurationCommand, se_CreatePracticeRunConfigura
6
6
  export { $Command };
7
7
  export class CreatePracticeRunConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeletePracticeRunConfigurationCommand, se_DeletePracticeRunConfigura
6
6
  export { $Command };
7
7
  export class DeletePracticeRunConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetAutoshiftObserverNotificationStatusCommand, se_GetAutoshiftObserv
6
6
  export { $Command };
7
7
  export class GetAutoshiftObserverNotificationStatusCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetManagedResourceCommand, se_GetManagedResourceCommand } from "../p
6
6
  export { $Command };
7
7
  export class GetManagedResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListAutoshiftsCommand, se_ListAutoshiftsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListAutoshiftsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListManagedResourcesCommand, se_ListManagedResourcesCommand } from "
6
6
  export { $Command };
7
7
  export class ListManagedResourcesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListZonalShiftsCommand, se_ListZonalShiftsCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class ListZonalShiftsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StartZonalShiftCommand, se_StartZonalShiftCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class StartZonalShiftCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateAutoshiftObserverNotificationStatusCommand, se_UpdateAutoshift
6
6
  export { $Command };
7
7
  export class UpdateAutoshiftObserverNotificationStatusCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdatePracticeRunConfigurationCommand, se_UpdatePracticeRunConfigura
6
6
  export { $Command };
7
7
  export class UpdatePracticeRunConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateZonalAutoshiftConfigurationCommand, se_UpdateZonalAutoshiftCon
6
6
  export { $Command };
7
7
  export class UpdateZonalAutoshiftConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateZonalShiftCommand, se_UpdateZonalShiftCommand } from "../proto
6
6
  export { $Command };
7
7
  export class UpdateZonalShiftCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
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.649.0",
4
+ "version": "3.650.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,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }