@aws-sdk/client-fis 3.54.1 → 3.58.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 (32) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/FisClient.js +13 -13
  3. package/dist-cjs/commands/CreateExperimentTemplateCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteExperimentTemplateCommand.js +3 -3
  5. package/dist-cjs/commands/GetActionCommand.js +3 -3
  6. package/dist-cjs/commands/GetExperimentCommand.js +3 -3
  7. package/dist-cjs/commands/GetExperimentTemplateCommand.js +3 -3
  8. package/dist-cjs/commands/GetTargetResourceTypeCommand.js +3 -3
  9. package/dist-cjs/commands/ListActionsCommand.js +3 -3
  10. package/dist-cjs/commands/ListExperimentTemplatesCommand.js +3 -3
  11. package/dist-cjs/commands/ListExperimentsCommand.js +3 -3
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  13. package/dist-cjs/commands/ListTargetResourceTypesCommand.js +3 -3
  14. package/dist-cjs/commands/StartExperimentCommand.js +3 -3
  15. package/dist-cjs/commands/StopExperimentCommand.js +3 -3
  16. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  17. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  18. package/dist-cjs/commands/UpdateExperimentTemplateCommand.js +3 -3
  19. package/dist-cjs/endpoints.js +1 -1
  20. package/dist-cjs/protocols/Aws_restJson1.js +125 -125
  21. package/dist-cjs/runtimeConfig.browser.js +4 -4
  22. package/dist-cjs/runtimeConfig.js +9 -9
  23. package/dist-cjs/runtimeConfig.native.js +1 -1
  24. package/dist-es/Fis.js +16 -16
  25. package/dist-es/pagination/ListActionsPaginator.js +4 -4
  26. package/dist-es/pagination/ListExperimentTemplatesPaginator.js +4 -4
  27. package/dist-es/pagination/ListExperimentsPaginator.js +4 -4
  28. package/dist-es/pagination/ListTargetResourceTypesPaginator.js +4 -4
  29. package/dist-es/protocols/Aws_restJson1.js +16 -16
  30. package/dist-types/runtimeConfig.native.d.ts +2 -2
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  32. package/package.json +34 -34
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
29
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
31
  credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
34
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
35
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
36
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,
package/dist-es/Fis.js CHANGED
@@ -28,7 +28,7 @@ var Fis = (function (_super) {
28
28
  }
29
29
  else if (typeof cb === "function") {
30
30
  if (typeof optionsOrCb !== "object")
31
- throw new Error("Expect http options but get " + typeof optionsOrCb);
31
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
32
32
  this.send(command, optionsOrCb || {}, cb);
33
33
  }
34
34
  else {
@@ -42,7 +42,7 @@ var Fis = (function (_super) {
42
42
  }
43
43
  else if (typeof cb === "function") {
44
44
  if (typeof optionsOrCb !== "object")
45
- throw new Error("Expect http options but get " + typeof optionsOrCb);
45
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
46
46
  this.send(command, optionsOrCb || {}, cb);
47
47
  }
48
48
  else {
@@ -56,7 +56,7 @@ var Fis = (function (_super) {
56
56
  }
57
57
  else if (typeof cb === "function") {
58
58
  if (typeof optionsOrCb !== "object")
59
- throw new Error("Expect http options but get " + typeof optionsOrCb);
59
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
60
60
  this.send(command, optionsOrCb || {}, cb);
61
61
  }
62
62
  else {
@@ -70,7 +70,7 @@ var Fis = (function (_super) {
70
70
  }
71
71
  else if (typeof cb === "function") {
72
72
  if (typeof optionsOrCb !== "object")
73
- throw new Error("Expect http options but get " + typeof optionsOrCb);
73
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
74
74
  this.send(command, optionsOrCb || {}, cb);
75
75
  }
76
76
  else {
@@ -84,7 +84,7 @@ var Fis = (function (_super) {
84
84
  }
85
85
  else if (typeof cb === "function") {
86
86
  if (typeof optionsOrCb !== "object")
87
- throw new Error("Expect http options but get " + typeof optionsOrCb);
87
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
88
88
  this.send(command, optionsOrCb || {}, cb);
89
89
  }
90
90
  else {
@@ -98,7 +98,7 @@ var Fis = (function (_super) {
98
98
  }
99
99
  else if (typeof cb === "function") {
100
100
  if (typeof optionsOrCb !== "object")
101
- throw new Error("Expect http options but get " + typeof optionsOrCb);
101
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
102
102
  this.send(command, optionsOrCb || {}, cb);
103
103
  }
104
104
  else {
@@ -112,7 +112,7 @@ var Fis = (function (_super) {
112
112
  }
113
113
  else if (typeof cb === "function") {
114
114
  if (typeof optionsOrCb !== "object")
115
- throw new Error("Expect http options but get " + typeof optionsOrCb);
115
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
116
116
  this.send(command, optionsOrCb || {}, cb);
117
117
  }
118
118
  else {
@@ -126,7 +126,7 @@ var Fis = (function (_super) {
126
126
  }
127
127
  else if (typeof cb === "function") {
128
128
  if (typeof optionsOrCb !== "object")
129
- throw new Error("Expect http options but get " + typeof optionsOrCb);
129
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
130
130
  this.send(command, optionsOrCb || {}, cb);
131
131
  }
132
132
  else {
@@ -140,7 +140,7 @@ var Fis = (function (_super) {
140
140
  }
141
141
  else if (typeof cb === "function") {
142
142
  if (typeof optionsOrCb !== "object")
143
- throw new Error("Expect http options but get " + typeof optionsOrCb);
143
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
144
144
  this.send(command, optionsOrCb || {}, cb);
145
145
  }
146
146
  else {
@@ -154,7 +154,7 @@ var Fis = (function (_super) {
154
154
  }
155
155
  else if (typeof cb === "function") {
156
156
  if (typeof optionsOrCb !== "object")
157
- throw new Error("Expect http options but get " + typeof optionsOrCb);
157
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
158
158
  this.send(command, optionsOrCb || {}, cb);
159
159
  }
160
160
  else {
@@ -168,7 +168,7 @@ var Fis = (function (_super) {
168
168
  }
169
169
  else if (typeof cb === "function") {
170
170
  if (typeof optionsOrCb !== "object")
171
- throw new Error("Expect http options but get " + typeof optionsOrCb);
171
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
172
172
  this.send(command, optionsOrCb || {}, cb);
173
173
  }
174
174
  else {
@@ -182,7 +182,7 @@ var Fis = (function (_super) {
182
182
  }
183
183
  else if (typeof cb === "function") {
184
184
  if (typeof optionsOrCb !== "object")
185
- throw new Error("Expect http options but get " + typeof optionsOrCb);
185
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
186
186
  this.send(command, optionsOrCb || {}, cb);
187
187
  }
188
188
  else {
@@ -196,7 +196,7 @@ var Fis = (function (_super) {
196
196
  }
197
197
  else if (typeof cb === "function") {
198
198
  if (typeof optionsOrCb !== "object")
199
- throw new Error("Expect http options but get " + typeof optionsOrCb);
199
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
200
200
  this.send(command, optionsOrCb || {}, cb);
201
201
  }
202
202
  else {
@@ -210,7 +210,7 @@ var Fis = (function (_super) {
210
210
  }
211
211
  else if (typeof cb === "function") {
212
212
  if (typeof optionsOrCb !== "object")
213
- throw new Error("Expect http options but get " + typeof optionsOrCb);
213
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
214
214
  this.send(command, optionsOrCb || {}, cb);
215
215
  }
216
216
  else {
@@ -224,7 +224,7 @@ var Fis = (function (_super) {
224
224
  }
225
225
  else if (typeof cb === "function") {
226
226
  if (typeof optionsOrCb !== "object")
227
- throw new Error("Expect http options but get " + typeof optionsOrCb);
227
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
228
228
  this.send(command, optionsOrCb || {}, cb);
229
229
  }
230
230
  else {
@@ -238,7 +238,7 @@ var Fis = (function (_super) {
238
238
  }
239
239
  else if (typeof cb === "function") {
240
240
  if (typeof optionsOrCb !== "object")
241
- throw new Error("Expect http options but get " + typeof optionsOrCb);
241
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
242
242
  this.send(command, optionsOrCb || {}, cb);
243
243
  }
244
244
  else {
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListActionsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListActionsCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listActions.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listActions.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListActions(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof Fis)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof FisClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListExperimentTemplatesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListExperimentTemplatesCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listExperimentTemplates.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listExperimentTemplates.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListExperimentTemplates(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof Fis)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof FisClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListExperimentsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListExperimentsCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listExperiments.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listExperiments.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListExperiments(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof Fis)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof FisClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListTargetResourceTypesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListTargetResourceTypesCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listTargetResourceTypes.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listTargetResourceTypes.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListTargetResourceTypes(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof Fis)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof FisClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -15,7 +15,7 @@ export var serializeAws_restJson1CreateExperimentTemplateCommand = function (inp
15
15
  headers = {
16
16
  "content-type": "application/json",
17
17
  };
18
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates";
18
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates";
19
19
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions !== undefined &&
20
20
  input.actions !== null && {
21
21
  actions: serializeAws_restJson1CreateExperimentTemplateActionInputMap(input.actions, context),
@@ -49,7 +49,7 @@ export var serializeAws_restJson1DeleteExperimentTemplateCommand = function (inp
49
49
  case 1:
50
50
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
51
51
  headers = {};
52
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates/{id}";
52
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates/{id}";
53
53
  if (input.id !== undefined) {
54
54
  labelValue = input.id;
55
55
  if (labelValue.length <= 0) {
@@ -80,7 +80,7 @@ export var serializeAws_restJson1GetActionCommand = function (input, context) {
80
80
  case 1:
81
81
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
82
82
  headers = {};
83
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/actions/{id}";
83
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/actions/{id}";
84
84
  if (input.id !== undefined) {
85
85
  labelValue = input.id;
86
86
  if (labelValue.length <= 0) {
@@ -111,7 +111,7 @@ export var serializeAws_restJson1GetExperimentCommand = function (input, context
111
111
  case 1:
112
112
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
113
113
  headers = {};
114
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experiments/{id}";
114
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experiments/{id}";
115
115
  if (input.id !== undefined) {
116
116
  labelValue = input.id;
117
117
  if (labelValue.length <= 0) {
@@ -142,7 +142,7 @@ export var serializeAws_restJson1GetExperimentTemplateCommand = function (input,
142
142
  case 1:
143
143
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
144
144
  headers = {};
145
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates/{id}";
145
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates/{id}";
146
146
  if (input.id !== undefined) {
147
147
  labelValue = input.id;
148
148
  if (labelValue.length <= 0) {
@@ -173,7 +173,7 @@ export var serializeAws_restJson1GetTargetResourceTypeCommand = function (input,
173
173
  case 1:
174
174
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
175
175
  headers = {};
176
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/targetResourceTypes/{resourceType}";
176
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/targetResourceTypes/{resourceType}";
177
177
  if (input.resourceType !== undefined) {
178
178
  labelValue = input.resourceType;
179
179
  if (labelValue.length <= 0) {
@@ -204,7 +204,7 @@ export var serializeAws_restJson1ListActionsCommand = function (input, context)
204
204
  case 1:
205
205
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
206
206
  headers = {};
207
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/actions";
207
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/actions";
208
208
  query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
209
209
  return [2, new __HttpRequest({
210
210
  protocol: protocol,
@@ -227,7 +227,7 @@ export var serializeAws_restJson1ListExperimentsCommand = function (input, conte
227
227
  case 1:
228
228
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
229
229
  headers = {};
230
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experiments";
230
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experiments";
231
231
  query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
232
232
  return [2, new __HttpRequest({
233
233
  protocol: protocol,
@@ -250,7 +250,7 @@ export var serializeAws_restJson1ListExperimentTemplatesCommand = function (inpu
250
250
  case 1:
251
251
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
252
252
  headers = {};
253
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates";
253
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates";
254
254
  query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
255
255
  return [2, new __HttpRequest({
256
256
  protocol: protocol,
@@ -273,7 +273,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
273
273
  case 1:
274
274
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
275
275
  headers = {};
276
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
276
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
277
277
  if (input.resourceArn !== undefined) {
278
278
  labelValue = input.resourceArn;
279
279
  if (labelValue.length <= 0) {
@@ -304,7 +304,7 @@ export var serializeAws_restJson1ListTargetResourceTypesCommand = function (inpu
304
304
  case 1:
305
305
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
306
306
  headers = {};
307
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/targetResourceTypes";
307
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/targetResourceTypes";
308
308
  query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
309
309
  return [2, new __HttpRequest({
310
310
  protocol: protocol,
@@ -330,7 +330,7 @@ export var serializeAws_restJson1StartExperimentCommand = function (input, conte
330
330
  headers = {
331
331
  "content-type": "application/json",
332
332
  };
333
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experiments";
333
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experiments";
334
334
  body = JSON.stringify(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.experimentTemplateId !== undefined &&
335
335
  input.experimentTemplateId !== null && { experimentTemplateId: input.experimentTemplateId })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
336
336
  return [2, new __HttpRequest({
@@ -353,7 +353,7 @@ export var serializeAws_restJson1StopExperimentCommand = function (input, contex
353
353
  case 1:
354
354
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
355
355
  headers = {};
356
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experiments/{id}";
356
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experiments/{id}";
357
357
  if (input.id !== undefined) {
358
358
  labelValue = input.id;
359
359
  if (labelValue.length <= 0) {
@@ -386,7 +386,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
386
386
  headers = {
387
387
  "content-type": "application/json",
388
388
  };
389
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
389
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
390
390
  if (input.resourceArn !== undefined) {
391
391
  labelValue = input.resourceArn;
392
392
  if (labelValue.length <= 0) {
@@ -418,7 +418,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
418
418
  case 1:
419
419
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
420
420
  headers = {};
421
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
421
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
422
422
  if (input.resourceArn !== undefined) {
423
423
  labelValue = input.resourceArn;
424
424
  if (labelValue.length <= 0) {
@@ -453,7 +453,7 @@ export var serializeAws_restJson1UpdateExperimentTemplateCommand = function (inp
453
453
  headers = {
454
454
  "content-type": "application/json",
455
455
  };
456
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates/{id}";
456
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates/{id}";
457
457
  if (input.id !== undefined) {
458
458
  labelValue = input.id;
459
459
  if (labelValue.length <= 0) {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;