@aws-sdk/client-securityhub 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 (80) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/SecurityHubClient.js +13 -13
  3. package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +3 -3
  4. package/dist-cjs/commands/AcceptInvitationCommand.js +3 -3
  5. package/dist-cjs/commands/BatchDisableStandardsCommand.js +3 -3
  6. package/dist-cjs/commands/BatchEnableStandardsCommand.js +3 -3
  7. package/dist-cjs/commands/BatchImportFindingsCommand.js +3 -3
  8. package/dist-cjs/commands/BatchUpdateFindingsCommand.js +3 -3
  9. package/dist-cjs/commands/CreateActionTargetCommand.js +3 -3
  10. package/dist-cjs/commands/CreateFindingAggregatorCommand.js +3 -3
  11. package/dist-cjs/commands/CreateInsightCommand.js +3 -3
  12. package/dist-cjs/commands/CreateMembersCommand.js +3 -3
  13. package/dist-cjs/commands/DeclineInvitationsCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteActionTargetCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteInsightCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteInvitationsCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteMembersCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeActionTargetsCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeHubCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeProductsCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeStandardsCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeStandardsControlsCommand.js +3 -3
  25. package/dist-cjs/commands/DisableImportFindingsForProductCommand.js +3 -3
  26. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +3 -3
  27. package/dist-cjs/commands/DisableSecurityHubCommand.js +3 -3
  28. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +3 -3
  29. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +3 -3
  30. package/dist-cjs/commands/DisassociateMembersCommand.js +3 -3
  31. package/dist-cjs/commands/EnableImportFindingsForProductCommand.js +3 -3
  32. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +3 -3
  33. package/dist-cjs/commands/EnableSecurityHubCommand.js +3 -3
  34. package/dist-cjs/commands/GetAdministratorAccountCommand.js +3 -3
  35. package/dist-cjs/commands/GetEnabledStandardsCommand.js +3 -3
  36. package/dist-cjs/commands/GetFindingAggregatorCommand.js +3 -3
  37. package/dist-cjs/commands/GetFindingsCommand.js +3 -3
  38. package/dist-cjs/commands/GetInsightResultsCommand.js +3 -3
  39. package/dist-cjs/commands/GetInsightsCommand.js +3 -3
  40. package/dist-cjs/commands/GetInvitationsCountCommand.js +3 -3
  41. package/dist-cjs/commands/GetMasterAccountCommand.js +3 -3
  42. package/dist-cjs/commands/GetMembersCommand.js +3 -3
  43. package/dist-cjs/commands/InviteMembersCommand.js +3 -3
  44. package/dist-cjs/commands/ListEnabledProductsForImportCommand.js +3 -3
  45. package/dist-cjs/commands/ListFindingAggregatorsCommand.js +3 -3
  46. package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
  47. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  48. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
  49. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  50. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  51. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateActionTargetCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateFindingsCommand.js +3 -3
  55. package/dist-cjs/commands/UpdateInsightCommand.js +3 -3
  56. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
  57. package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +3 -3
  58. package/dist-cjs/commands/UpdateStandardsControlCommand.js +3 -3
  59. package/dist-cjs/endpoints.js +1 -1
  60. package/dist-cjs/protocols/Aws_restJson1.js +1591 -1591
  61. package/dist-cjs/runtimeConfig.browser.js +4 -4
  62. package/dist-cjs/runtimeConfig.js +9 -9
  63. package/dist-cjs/runtimeConfig.native.js +1 -1
  64. package/dist-es/SecurityHub.js +56 -56
  65. package/dist-es/pagination/DescribeActionTargetsPaginator.js +4 -4
  66. package/dist-es/pagination/DescribeProductsPaginator.js +4 -4
  67. package/dist-es/pagination/DescribeStandardsControlsPaginator.js +4 -4
  68. package/dist-es/pagination/DescribeStandardsPaginator.js +4 -4
  69. package/dist-es/pagination/GetEnabledStandardsPaginator.js +4 -4
  70. package/dist-es/pagination/GetFindingsPaginator.js +4 -4
  71. package/dist-es/pagination/GetInsightsPaginator.js +4 -4
  72. package/dist-es/pagination/ListEnabledProductsForImportPaginator.js +4 -4
  73. package/dist-es/pagination/ListFindingAggregatorsPaginator.js +4 -4
  74. package/dist-es/pagination/ListInvitationsPaginator.js +4 -4
  75. package/dist-es/pagination/ListMembersPaginator.js +4 -4
  76. package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +4 -4
  77. package/dist-es/protocols/Aws_restJson1.js +56 -56
  78. package/dist-types/runtimeConfig.native.d.ts +2 -2
  79. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  80. 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,
@@ -68,7 +68,7 @@ var SecurityHub = (function (_super) {
68
68
  }
69
69
  else if (typeof cb === "function") {
70
70
  if (typeof optionsOrCb !== "object")
71
- throw new Error("Expect http options but get " + typeof optionsOrCb);
71
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
72
72
  this.send(command, optionsOrCb || {}, cb);
73
73
  }
74
74
  else {
@@ -82,7 +82,7 @@ var SecurityHub = (function (_super) {
82
82
  }
83
83
  else if (typeof cb === "function") {
84
84
  if (typeof optionsOrCb !== "object")
85
- throw new Error("Expect http options but get " + typeof optionsOrCb);
85
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
86
86
  this.send(command, optionsOrCb || {}, cb);
87
87
  }
88
88
  else {
@@ -96,7 +96,7 @@ var SecurityHub = (function (_super) {
96
96
  }
97
97
  else if (typeof cb === "function") {
98
98
  if (typeof optionsOrCb !== "object")
99
- throw new Error("Expect http options but get " + typeof optionsOrCb);
99
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
100
100
  this.send(command, optionsOrCb || {}, cb);
101
101
  }
102
102
  else {
@@ -110,7 +110,7 @@ var SecurityHub = (function (_super) {
110
110
  }
111
111
  else if (typeof cb === "function") {
112
112
  if (typeof optionsOrCb !== "object")
113
- throw new Error("Expect http options but get " + typeof optionsOrCb);
113
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
114
114
  this.send(command, optionsOrCb || {}, cb);
115
115
  }
116
116
  else {
@@ -124,7 +124,7 @@ var SecurityHub = (function (_super) {
124
124
  }
125
125
  else if (typeof cb === "function") {
126
126
  if (typeof optionsOrCb !== "object")
127
- throw new Error("Expect http options but get " + typeof optionsOrCb);
127
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
128
128
  this.send(command, optionsOrCb || {}, cb);
129
129
  }
130
130
  else {
@@ -138,7 +138,7 @@ var SecurityHub = (function (_super) {
138
138
  }
139
139
  else if (typeof cb === "function") {
140
140
  if (typeof optionsOrCb !== "object")
141
- throw new Error("Expect http options but get " + typeof optionsOrCb);
141
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
142
142
  this.send(command, optionsOrCb || {}, cb);
143
143
  }
144
144
  else {
@@ -152,7 +152,7 @@ var SecurityHub = (function (_super) {
152
152
  }
153
153
  else if (typeof cb === "function") {
154
154
  if (typeof optionsOrCb !== "object")
155
- throw new Error("Expect http options but get " + typeof optionsOrCb);
155
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
156
156
  this.send(command, optionsOrCb || {}, cb);
157
157
  }
158
158
  else {
@@ -166,7 +166,7 @@ var SecurityHub = (function (_super) {
166
166
  }
167
167
  else if (typeof cb === "function") {
168
168
  if (typeof optionsOrCb !== "object")
169
- throw new Error("Expect http options but get " + typeof optionsOrCb);
169
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
170
170
  this.send(command, optionsOrCb || {}, cb);
171
171
  }
172
172
  else {
@@ -180,7 +180,7 @@ var SecurityHub = (function (_super) {
180
180
  }
181
181
  else if (typeof cb === "function") {
182
182
  if (typeof optionsOrCb !== "object")
183
- throw new Error("Expect http options but get " + typeof optionsOrCb);
183
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
184
184
  this.send(command, optionsOrCb || {}, cb);
185
185
  }
186
186
  else {
@@ -194,7 +194,7 @@ var SecurityHub = (function (_super) {
194
194
  }
195
195
  else if (typeof cb === "function") {
196
196
  if (typeof optionsOrCb !== "object")
197
- throw new Error("Expect http options but get " + typeof optionsOrCb);
197
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
198
198
  this.send(command, optionsOrCb || {}, cb);
199
199
  }
200
200
  else {
@@ -208,7 +208,7 @@ var SecurityHub = (function (_super) {
208
208
  }
209
209
  else if (typeof cb === "function") {
210
210
  if (typeof optionsOrCb !== "object")
211
- throw new Error("Expect http options but get " + typeof optionsOrCb);
211
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
212
212
  this.send(command, optionsOrCb || {}, cb);
213
213
  }
214
214
  else {
@@ -222,7 +222,7 @@ var SecurityHub = (function (_super) {
222
222
  }
223
223
  else if (typeof cb === "function") {
224
224
  if (typeof optionsOrCb !== "object")
225
- throw new Error("Expect http options but get " + typeof optionsOrCb);
225
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
226
226
  this.send(command, optionsOrCb || {}, cb);
227
227
  }
228
228
  else {
@@ -236,7 +236,7 @@ var SecurityHub = (function (_super) {
236
236
  }
237
237
  else if (typeof cb === "function") {
238
238
  if (typeof optionsOrCb !== "object")
239
- throw new Error("Expect http options but get " + typeof optionsOrCb);
239
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
240
240
  this.send(command, optionsOrCb || {}, cb);
241
241
  }
242
242
  else {
@@ -250,7 +250,7 @@ var SecurityHub = (function (_super) {
250
250
  }
251
251
  else if (typeof cb === "function") {
252
252
  if (typeof optionsOrCb !== "object")
253
- throw new Error("Expect http options but get " + typeof optionsOrCb);
253
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
254
254
  this.send(command, optionsOrCb || {}, cb);
255
255
  }
256
256
  else {
@@ -264,7 +264,7 @@ var SecurityHub = (function (_super) {
264
264
  }
265
265
  else if (typeof cb === "function") {
266
266
  if (typeof optionsOrCb !== "object")
267
- throw new Error("Expect http options but get " + typeof optionsOrCb);
267
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
268
268
  this.send(command, optionsOrCb || {}, cb);
269
269
  }
270
270
  else {
@@ -278,7 +278,7 @@ var SecurityHub = (function (_super) {
278
278
  }
279
279
  else if (typeof cb === "function") {
280
280
  if (typeof optionsOrCb !== "object")
281
- throw new Error("Expect http options but get " + typeof optionsOrCb);
281
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
282
282
  this.send(command, optionsOrCb || {}, cb);
283
283
  }
284
284
  else {
@@ -292,7 +292,7 @@ var SecurityHub = (function (_super) {
292
292
  }
293
293
  else if (typeof cb === "function") {
294
294
  if (typeof optionsOrCb !== "object")
295
- throw new Error("Expect http options but get " + typeof optionsOrCb);
295
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
296
296
  this.send(command, optionsOrCb || {}, cb);
297
297
  }
298
298
  else {
@@ -306,7 +306,7 @@ var SecurityHub = (function (_super) {
306
306
  }
307
307
  else if (typeof cb === "function") {
308
308
  if (typeof optionsOrCb !== "object")
309
- throw new Error("Expect http options but get " + typeof optionsOrCb);
309
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
310
310
  this.send(command, optionsOrCb || {}, cb);
311
311
  }
312
312
  else {
@@ -320,7 +320,7 @@ var SecurityHub = (function (_super) {
320
320
  }
321
321
  else if (typeof cb === "function") {
322
322
  if (typeof optionsOrCb !== "object")
323
- throw new Error("Expect http options but get " + typeof optionsOrCb);
323
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
324
324
  this.send(command, optionsOrCb || {}, cb);
325
325
  }
326
326
  else {
@@ -334,7 +334,7 @@ var SecurityHub = (function (_super) {
334
334
  }
335
335
  else if (typeof cb === "function") {
336
336
  if (typeof optionsOrCb !== "object")
337
- throw new Error("Expect http options but get " + typeof optionsOrCb);
337
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
338
338
  this.send(command, optionsOrCb || {}, cb);
339
339
  }
340
340
  else {
@@ -348,7 +348,7 @@ var SecurityHub = (function (_super) {
348
348
  }
349
349
  else if (typeof cb === "function") {
350
350
  if (typeof optionsOrCb !== "object")
351
- throw new Error("Expect http options but get " + typeof optionsOrCb);
351
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
352
352
  this.send(command, optionsOrCb || {}, cb);
353
353
  }
354
354
  else {
@@ -362,7 +362,7 @@ var SecurityHub = (function (_super) {
362
362
  }
363
363
  else if (typeof cb === "function") {
364
364
  if (typeof optionsOrCb !== "object")
365
- throw new Error("Expect http options but get " + typeof optionsOrCb);
365
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
366
366
  this.send(command, optionsOrCb || {}, cb);
367
367
  }
368
368
  else {
@@ -376,7 +376,7 @@ var SecurityHub = (function (_super) {
376
376
  }
377
377
  else if (typeof cb === "function") {
378
378
  if (typeof optionsOrCb !== "object")
379
- throw new Error("Expect http options but get " + typeof optionsOrCb);
379
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
380
380
  this.send(command, optionsOrCb || {}, cb);
381
381
  }
382
382
  else {
@@ -390,7 +390,7 @@ var SecurityHub = (function (_super) {
390
390
  }
391
391
  else if (typeof cb === "function") {
392
392
  if (typeof optionsOrCb !== "object")
393
- throw new Error("Expect http options but get " + typeof optionsOrCb);
393
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
394
394
  this.send(command, optionsOrCb || {}, cb);
395
395
  }
396
396
  else {
@@ -404,7 +404,7 @@ var SecurityHub = (function (_super) {
404
404
  }
405
405
  else if (typeof cb === "function") {
406
406
  if (typeof optionsOrCb !== "object")
407
- throw new Error("Expect http options but get " + typeof optionsOrCb);
407
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
408
408
  this.send(command, optionsOrCb || {}, cb);
409
409
  }
410
410
  else {
@@ -418,7 +418,7 @@ var SecurityHub = (function (_super) {
418
418
  }
419
419
  else if (typeof cb === "function") {
420
420
  if (typeof optionsOrCb !== "object")
421
- throw new Error("Expect http options but get " + typeof optionsOrCb);
421
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
422
422
  this.send(command, optionsOrCb || {}, cb);
423
423
  }
424
424
  else {
@@ -432,7 +432,7 @@ var SecurityHub = (function (_super) {
432
432
  }
433
433
  else if (typeof cb === "function") {
434
434
  if (typeof optionsOrCb !== "object")
435
- throw new Error("Expect http options but get " + typeof optionsOrCb);
435
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
436
436
  this.send(command, optionsOrCb || {}, cb);
437
437
  }
438
438
  else {
@@ -446,7 +446,7 @@ var SecurityHub = (function (_super) {
446
446
  }
447
447
  else if (typeof cb === "function") {
448
448
  if (typeof optionsOrCb !== "object")
449
- throw new Error("Expect http options but get " + typeof optionsOrCb);
449
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
450
450
  this.send(command, optionsOrCb || {}, cb);
451
451
  }
452
452
  else {
@@ -460,7 +460,7 @@ var SecurityHub = (function (_super) {
460
460
  }
461
461
  else if (typeof cb === "function") {
462
462
  if (typeof optionsOrCb !== "object")
463
- throw new Error("Expect http options but get " + typeof optionsOrCb);
463
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
464
464
  this.send(command, optionsOrCb || {}, cb);
465
465
  }
466
466
  else {
@@ -474,7 +474,7 @@ var SecurityHub = (function (_super) {
474
474
  }
475
475
  else if (typeof cb === "function") {
476
476
  if (typeof optionsOrCb !== "object")
477
- throw new Error("Expect http options but get " + typeof optionsOrCb);
477
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
478
478
  this.send(command, optionsOrCb || {}, cb);
479
479
  }
480
480
  else {
@@ -488,7 +488,7 @@ var SecurityHub = (function (_super) {
488
488
  }
489
489
  else if (typeof cb === "function") {
490
490
  if (typeof optionsOrCb !== "object")
491
- throw new Error("Expect http options but get " + typeof optionsOrCb);
491
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
492
492
  this.send(command, optionsOrCb || {}, cb);
493
493
  }
494
494
  else {
@@ -502,7 +502,7 @@ var SecurityHub = (function (_super) {
502
502
  }
503
503
  else if (typeof cb === "function") {
504
504
  if (typeof optionsOrCb !== "object")
505
- throw new Error("Expect http options but get " + typeof optionsOrCb);
505
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
506
506
  this.send(command, optionsOrCb || {}, cb);
507
507
  }
508
508
  else {
@@ -516,7 +516,7 @@ var SecurityHub = (function (_super) {
516
516
  }
517
517
  else if (typeof cb === "function") {
518
518
  if (typeof optionsOrCb !== "object")
519
- throw new Error("Expect http options but get " + typeof optionsOrCb);
519
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
520
520
  this.send(command, optionsOrCb || {}, cb);
521
521
  }
522
522
  else {
@@ -530,7 +530,7 @@ var SecurityHub = (function (_super) {
530
530
  }
531
531
  else if (typeof cb === "function") {
532
532
  if (typeof optionsOrCb !== "object")
533
- throw new Error("Expect http options but get " + typeof optionsOrCb);
533
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
534
534
  this.send(command, optionsOrCb || {}, cb);
535
535
  }
536
536
  else {
@@ -544,7 +544,7 @@ var SecurityHub = (function (_super) {
544
544
  }
545
545
  else if (typeof cb === "function") {
546
546
  if (typeof optionsOrCb !== "object")
547
- throw new Error("Expect http options but get " + typeof optionsOrCb);
547
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
548
548
  this.send(command, optionsOrCb || {}, cb);
549
549
  }
550
550
  else {
@@ -558,7 +558,7 @@ var SecurityHub = (function (_super) {
558
558
  }
559
559
  else if (typeof cb === "function") {
560
560
  if (typeof optionsOrCb !== "object")
561
- throw new Error("Expect http options but get " + typeof optionsOrCb);
561
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
562
562
  this.send(command, optionsOrCb || {}, cb);
563
563
  }
564
564
  else {
@@ -572,7 +572,7 @@ var SecurityHub = (function (_super) {
572
572
  }
573
573
  else if (typeof cb === "function") {
574
574
  if (typeof optionsOrCb !== "object")
575
- throw new Error("Expect http options but get " + typeof optionsOrCb);
575
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
576
576
  this.send(command, optionsOrCb || {}, cb);
577
577
  }
578
578
  else {
@@ -586,7 +586,7 @@ var SecurityHub = (function (_super) {
586
586
  }
587
587
  else if (typeof cb === "function") {
588
588
  if (typeof optionsOrCb !== "object")
589
- throw new Error("Expect http options but get " + typeof optionsOrCb);
589
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
590
590
  this.send(command, optionsOrCb || {}, cb);
591
591
  }
592
592
  else {
@@ -600,7 +600,7 @@ var SecurityHub = (function (_super) {
600
600
  }
601
601
  else if (typeof cb === "function") {
602
602
  if (typeof optionsOrCb !== "object")
603
- throw new Error("Expect http options but get " + typeof optionsOrCb);
603
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
604
604
  this.send(command, optionsOrCb || {}, cb);
605
605
  }
606
606
  else {
@@ -614,7 +614,7 @@ var SecurityHub = (function (_super) {
614
614
  }
615
615
  else if (typeof cb === "function") {
616
616
  if (typeof optionsOrCb !== "object")
617
- throw new Error("Expect http options but get " + typeof optionsOrCb);
617
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
618
618
  this.send(command, optionsOrCb || {}, cb);
619
619
  }
620
620
  else {
@@ -628,7 +628,7 @@ var SecurityHub = (function (_super) {
628
628
  }
629
629
  else if (typeof cb === "function") {
630
630
  if (typeof optionsOrCb !== "object")
631
- throw new Error("Expect http options but get " + typeof optionsOrCb);
631
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
632
632
  this.send(command, optionsOrCb || {}, cb);
633
633
  }
634
634
  else {
@@ -642,7 +642,7 @@ var SecurityHub = (function (_super) {
642
642
  }
643
643
  else if (typeof cb === "function") {
644
644
  if (typeof optionsOrCb !== "object")
645
- throw new Error("Expect http options but get " + typeof optionsOrCb);
645
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
646
646
  this.send(command, optionsOrCb || {}, cb);
647
647
  }
648
648
  else {
@@ -656,7 +656,7 @@ var SecurityHub = (function (_super) {
656
656
  }
657
657
  else if (typeof cb === "function") {
658
658
  if (typeof optionsOrCb !== "object")
659
- throw new Error("Expect http options but get " + typeof optionsOrCb);
659
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
660
660
  this.send(command, optionsOrCb || {}, cb);
661
661
  }
662
662
  else {
@@ -670,7 +670,7 @@ var SecurityHub = (function (_super) {
670
670
  }
671
671
  else if (typeof cb === "function") {
672
672
  if (typeof optionsOrCb !== "object")
673
- throw new Error("Expect http options but get " + typeof optionsOrCb);
673
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
674
674
  this.send(command, optionsOrCb || {}, cb);
675
675
  }
676
676
  else {
@@ -684,7 +684,7 @@ var SecurityHub = (function (_super) {
684
684
  }
685
685
  else if (typeof cb === "function") {
686
686
  if (typeof optionsOrCb !== "object")
687
- throw new Error("Expect http options but get " + typeof optionsOrCb);
687
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
688
688
  this.send(command, optionsOrCb || {}, cb);
689
689
  }
690
690
  else {
@@ -698,7 +698,7 @@ var SecurityHub = (function (_super) {
698
698
  }
699
699
  else if (typeof cb === "function") {
700
700
  if (typeof optionsOrCb !== "object")
701
- throw new Error("Expect http options but get " + typeof optionsOrCb);
701
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
702
702
  this.send(command, optionsOrCb || {}, cb);
703
703
  }
704
704
  else {
@@ -712,7 +712,7 @@ var SecurityHub = (function (_super) {
712
712
  }
713
713
  else if (typeof cb === "function") {
714
714
  if (typeof optionsOrCb !== "object")
715
- throw new Error("Expect http options but get " + typeof optionsOrCb);
715
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
716
716
  this.send(command, optionsOrCb || {}, cb);
717
717
  }
718
718
  else {
@@ -726,7 +726,7 @@ var SecurityHub = (function (_super) {
726
726
  }
727
727
  else if (typeof cb === "function") {
728
728
  if (typeof optionsOrCb !== "object")
729
- throw new Error("Expect http options but get " + typeof optionsOrCb);
729
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
730
730
  this.send(command, optionsOrCb || {}, cb);
731
731
  }
732
732
  else {
@@ -740,7 +740,7 @@ var SecurityHub = (function (_super) {
740
740
  }
741
741
  else if (typeof cb === "function") {
742
742
  if (typeof optionsOrCb !== "object")
743
- throw new Error("Expect http options but get " + typeof optionsOrCb);
743
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
744
744
  this.send(command, optionsOrCb || {}, cb);
745
745
  }
746
746
  else {
@@ -754,7 +754,7 @@ var SecurityHub = (function (_super) {
754
754
  }
755
755
  else if (typeof cb === "function") {
756
756
  if (typeof optionsOrCb !== "object")
757
- throw new Error("Expect http options but get " + typeof optionsOrCb);
757
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
758
758
  this.send(command, optionsOrCb || {}, cb);
759
759
  }
760
760
  else {
@@ -768,7 +768,7 @@ var SecurityHub = (function (_super) {
768
768
  }
769
769
  else if (typeof cb === "function") {
770
770
  if (typeof optionsOrCb !== "object")
771
- throw new Error("Expect http options but get " + typeof optionsOrCb);
771
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
772
772
  this.send(command, optionsOrCb || {}, cb);
773
773
  }
774
774
  else {
@@ -782,7 +782,7 @@ var SecurityHub = (function (_super) {
782
782
  }
783
783
  else if (typeof cb === "function") {
784
784
  if (typeof optionsOrCb !== "object")
785
- throw new Error("Expect http options but get " + typeof optionsOrCb);
785
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
786
786
  this.send(command, optionsOrCb || {}, cb);
787
787
  }
788
788
  else {
@@ -796,7 +796,7 @@ var SecurityHub = (function (_super) {
796
796
  }
797
797
  else if (typeof cb === "function") {
798
798
  if (typeof optionsOrCb !== "object")
799
- throw new Error("Expect http options but get " + typeof optionsOrCb);
799
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
800
800
  this.send(command, optionsOrCb || {}, cb);
801
801
  }
802
802
  else {
@@ -810,7 +810,7 @@ var SecurityHub = (function (_super) {
810
810
  }
811
811
  else if (typeof cb === "function") {
812
812
  if (typeof optionsOrCb !== "object")
813
- throw new Error("Expect http options but get " + typeof optionsOrCb);
813
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
814
814
  this.send(command, optionsOrCb || {}, cb);
815
815
  }
816
816
  else {
@@ -824,7 +824,7 @@ var SecurityHub = (function (_super) {
824
824
  }
825
825
  else if (typeof cb === "function") {
826
826
  if (typeof optionsOrCb !== "object")
827
- throw new Error("Expect http options but get " + typeof optionsOrCb);
827
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
828
828
  this.send(command, optionsOrCb || {}, cb);
829
829
  }
830
830
  else {
@@ -838,7 +838,7 @@ var SecurityHub = (function (_super) {
838
838
  }
839
839
  else if (typeof cb === "function") {
840
840
  if (typeof optionsOrCb !== "object")
841
- throw new Error("Expect http options but get " + typeof optionsOrCb);
841
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
842
842
  this.send(command, optionsOrCb || {}, cb);
843
843
  }
844
844
  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 DescribeActionTargetsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new DescribeActionTargetsCommand(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.describeActionTargets.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.describeActionTargets.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 paginateDescribeActionTargets(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof SecurityHub)) 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 SecurityHubClient)) 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 DescribeProductsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new DescribeProductsCommand(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.describeProducts.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.describeProducts.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 paginateDescribeProducts(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof SecurityHub)) 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 SecurityHubClient)) 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];