@aws-sdk/client-appsync 3.54.0 → 3.56.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 (61) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/AppSyncClient.js +13 -13
  3. package/dist-cjs/commands/AssociateApiCommand.js +3 -3
  4. package/dist-cjs/commands/CreateApiCacheCommand.js +3 -3
  5. package/dist-cjs/commands/CreateApiKeyCommand.js +3 -3
  6. package/dist-cjs/commands/CreateDataSourceCommand.js +3 -3
  7. package/dist-cjs/commands/CreateDomainNameCommand.js +3 -3
  8. package/dist-cjs/commands/CreateFunctionCommand.js +3 -3
  9. package/dist-cjs/commands/CreateGraphqlApiCommand.js +3 -3
  10. package/dist-cjs/commands/CreateResolverCommand.js +3 -3
  11. package/dist-cjs/commands/CreateTypeCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteApiCacheCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteApiKeyCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteDataSourceCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteDomainNameCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteFunctionCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteGraphqlApiCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteResolverCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteTypeCommand.js +3 -3
  20. package/dist-cjs/commands/DisassociateApiCommand.js +3 -3
  21. package/dist-cjs/commands/FlushApiCacheCommand.js +3 -3
  22. package/dist-cjs/commands/GetApiAssociationCommand.js +3 -3
  23. package/dist-cjs/commands/GetApiCacheCommand.js +3 -3
  24. package/dist-cjs/commands/GetDataSourceCommand.js +3 -3
  25. package/dist-cjs/commands/GetDomainNameCommand.js +3 -3
  26. package/dist-cjs/commands/GetFunctionCommand.js +3 -3
  27. package/dist-cjs/commands/GetGraphqlApiCommand.js +3 -3
  28. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +3 -3
  29. package/dist-cjs/commands/GetResolverCommand.js +3 -3
  30. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +3 -3
  31. package/dist-cjs/commands/GetTypeCommand.js +3 -3
  32. package/dist-cjs/commands/ListApiKeysCommand.js +3 -3
  33. package/dist-cjs/commands/ListDataSourcesCommand.js +3 -3
  34. package/dist-cjs/commands/ListDomainNamesCommand.js +3 -3
  35. package/dist-cjs/commands/ListFunctionsCommand.js +3 -3
  36. package/dist-cjs/commands/ListGraphqlApisCommand.js +3 -3
  37. package/dist-cjs/commands/ListResolversByFunctionCommand.js +3 -3
  38. package/dist-cjs/commands/ListResolversCommand.js +3 -3
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  40. package/dist-cjs/commands/ListTypesCommand.js +3 -3
  41. package/dist-cjs/commands/StartSchemaCreationCommand.js +3 -3
  42. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  43. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  44. package/dist-cjs/commands/UpdateApiCacheCommand.js +3 -3
  45. package/dist-cjs/commands/UpdateApiKeyCommand.js +3 -3
  46. package/dist-cjs/commands/UpdateDataSourceCommand.js +3 -3
  47. package/dist-cjs/commands/UpdateDomainNameCommand.js +3 -3
  48. package/dist-cjs/commands/UpdateFunctionCommand.js +3 -3
  49. package/dist-cjs/commands/UpdateGraphqlApiCommand.js +3 -3
  50. package/dist-cjs/commands/UpdateResolverCommand.js +3 -3
  51. package/dist-cjs/commands/UpdateTypeCommand.js +3 -3
  52. package/dist-cjs/endpoints.js +1 -1
  53. package/dist-cjs/protocols/Aws_restJson1.js +283 -283
  54. package/dist-cjs/runtimeConfig.browser.js +4 -4
  55. package/dist-cjs/runtimeConfig.js +9 -9
  56. package/dist-cjs/runtimeConfig.native.js +1 -1
  57. package/dist-es/AppSync.js +49 -49
  58. package/dist-es/protocols/Aws_restJson1.js +49 -49
  59. package/dist-types/runtimeConfig.native.d.ts +2 -2
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  61. 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,
@@ -61,7 +61,7 @@ var AppSync = (function (_super) {
61
61
  }
62
62
  else if (typeof cb === "function") {
63
63
  if (typeof optionsOrCb !== "object")
64
- throw new Error("Expect http options but get " + typeof optionsOrCb);
64
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
65
65
  this.send(command, optionsOrCb || {}, cb);
66
66
  }
67
67
  else {
@@ -75,7 +75,7 @@ var AppSync = (function (_super) {
75
75
  }
76
76
  else if (typeof cb === "function") {
77
77
  if (typeof optionsOrCb !== "object")
78
- throw new Error("Expect http options but get " + typeof optionsOrCb);
78
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
79
79
  this.send(command, optionsOrCb || {}, cb);
80
80
  }
81
81
  else {
@@ -89,7 +89,7 @@ var AppSync = (function (_super) {
89
89
  }
90
90
  else if (typeof cb === "function") {
91
91
  if (typeof optionsOrCb !== "object")
92
- throw new Error("Expect http options but get " + typeof optionsOrCb);
92
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
93
93
  this.send(command, optionsOrCb || {}, cb);
94
94
  }
95
95
  else {
@@ -103,7 +103,7 @@ var AppSync = (function (_super) {
103
103
  }
104
104
  else if (typeof cb === "function") {
105
105
  if (typeof optionsOrCb !== "object")
106
- throw new Error("Expect http options but get " + typeof optionsOrCb);
106
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
107
107
  this.send(command, optionsOrCb || {}, cb);
108
108
  }
109
109
  else {
@@ -117,7 +117,7 @@ var AppSync = (function (_super) {
117
117
  }
118
118
  else if (typeof cb === "function") {
119
119
  if (typeof optionsOrCb !== "object")
120
- throw new Error("Expect http options but get " + typeof optionsOrCb);
120
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
121
121
  this.send(command, optionsOrCb || {}, cb);
122
122
  }
123
123
  else {
@@ -131,7 +131,7 @@ var AppSync = (function (_super) {
131
131
  }
132
132
  else if (typeof cb === "function") {
133
133
  if (typeof optionsOrCb !== "object")
134
- throw new Error("Expect http options but get " + typeof optionsOrCb);
134
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
135
135
  this.send(command, optionsOrCb || {}, cb);
136
136
  }
137
137
  else {
@@ -145,7 +145,7 @@ var AppSync = (function (_super) {
145
145
  }
146
146
  else if (typeof cb === "function") {
147
147
  if (typeof optionsOrCb !== "object")
148
- throw new Error("Expect http options but get " + typeof optionsOrCb);
148
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
149
149
  this.send(command, optionsOrCb || {}, cb);
150
150
  }
151
151
  else {
@@ -159,7 +159,7 @@ var AppSync = (function (_super) {
159
159
  }
160
160
  else if (typeof cb === "function") {
161
161
  if (typeof optionsOrCb !== "object")
162
- throw new Error("Expect http options but get " + typeof optionsOrCb);
162
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
163
163
  this.send(command, optionsOrCb || {}, cb);
164
164
  }
165
165
  else {
@@ -173,7 +173,7 @@ var AppSync = (function (_super) {
173
173
  }
174
174
  else if (typeof cb === "function") {
175
175
  if (typeof optionsOrCb !== "object")
176
- throw new Error("Expect http options but get " + typeof optionsOrCb);
176
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
177
177
  this.send(command, optionsOrCb || {}, cb);
178
178
  }
179
179
  else {
@@ -187,7 +187,7 @@ var AppSync = (function (_super) {
187
187
  }
188
188
  else if (typeof cb === "function") {
189
189
  if (typeof optionsOrCb !== "object")
190
- throw new Error("Expect http options but get " + typeof optionsOrCb);
190
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
191
191
  this.send(command, optionsOrCb || {}, cb);
192
192
  }
193
193
  else {
@@ -201,7 +201,7 @@ var AppSync = (function (_super) {
201
201
  }
202
202
  else if (typeof cb === "function") {
203
203
  if (typeof optionsOrCb !== "object")
204
- throw new Error("Expect http options but get " + typeof optionsOrCb);
204
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
205
205
  this.send(command, optionsOrCb || {}, cb);
206
206
  }
207
207
  else {
@@ -215,7 +215,7 @@ var AppSync = (function (_super) {
215
215
  }
216
216
  else if (typeof cb === "function") {
217
217
  if (typeof optionsOrCb !== "object")
218
- throw new Error("Expect http options but get " + typeof optionsOrCb);
218
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
219
219
  this.send(command, optionsOrCb || {}, cb);
220
220
  }
221
221
  else {
@@ -229,7 +229,7 @@ var AppSync = (function (_super) {
229
229
  }
230
230
  else if (typeof cb === "function") {
231
231
  if (typeof optionsOrCb !== "object")
232
- throw new Error("Expect http options but get " + typeof optionsOrCb);
232
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
233
233
  this.send(command, optionsOrCb || {}, cb);
234
234
  }
235
235
  else {
@@ -243,7 +243,7 @@ var AppSync = (function (_super) {
243
243
  }
244
244
  else if (typeof cb === "function") {
245
245
  if (typeof optionsOrCb !== "object")
246
- throw new Error("Expect http options but get " + typeof optionsOrCb);
246
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
247
247
  this.send(command, optionsOrCb || {}, cb);
248
248
  }
249
249
  else {
@@ -257,7 +257,7 @@ var AppSync = (function (_super) {
257
257
  }
258
258
  else if (typeof cb === "function") {
259
259
  if (typeof optionsOrCb !== "object")
260
- throw new Error("Expect http options but get " + typeof optionsOrCb);
260
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
261
261
  this.send(command, optionsOrCb || {}, cb);
262
262
  }
263
263
  else {
@@ -271,7 +271,7 @@ var AppSync = (function (_super) {
271
271
  }
272
272
  else if (typeof cb === "function") {
273
273
  if (typeof optionsOrCb !== "object")
274
- throw new Error("Expect http options but get " + typeof optionsOrCb);
274
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
275
275
  this.send(command, optionsOrCb || {}, cb);
276
276
  }
277
277
  else {
@@ -285,7 +285,7 @@ var AppSync = (function (_super) {
285
285
  }
286
286
  else if (typeof cb === "function") {
287
287
  if (typeof optionsOrCb !== "object")
288
- throw new Error("Expect http options but get " + typeof optionsOrCb);
288
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
289
289
  this.send(command, optionsOrCb || {}, cb);
290
290
  }
291
291
  else {
@@ -299,7 +299,7 @@ var AppSync = (function (_super) {
299
299
  }
300
300
  else if (typeof cb === "function") {
301
301
  if (typeof optionsOrCb !== "object")
302
- throw new Error("Expect http options but get " + typeof optionsOrCb);
302
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
303
303
  this.send(command, optionsOrCb || {}, cb);
304
304
  }
305
305
  else {
@@ -313,7 +313,7 @@ var AppSync = (function (_super) {
313
313
  }
314
314
  else if (typeof cb === "function") {
315
315
  if (typeof optionsOrCb !== "object")
316
- throw new Error("Expect http options but get " + typeof optionsOrCb);
316
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
317
317
  this.send(command, optionsOrCb || {}, cb);
318
318
  }
319
319
  else {
@@ -327,7 +327,7 @@ var AppSync = (function (_super) {
327
327
  }
328
328
  else if (typeof cb === "function") {
329
329
  if (typeof optionsOrCb !== "object")
330
- throw new Error("Expect http options but get " + typeof optionsOrCb);
330
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
331
331
  this.send(command, optionsOrCb || {}, cb);
332
332
  }
333
333
  else {
@@ -341,7 +341,7 @@ var AppSync = (function (_super) {
341
341
  }
342
342
  else if (typeof cb === "function") {
343
343
  if (typeof optionsOrCb !== "object")
344
- throw new Error("Expect http options but get " + typeof optionsOrCb);
344
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
345
345
  this.send(command, optionsOrCb || {}, cb);
346
346
  }
347
347
  else {
@@ -355,7 +355,7 @@ var AppSync = (function (_super) {
355
355
  }
356
356
  else if (typeof cb === "function") {
357
357
  if (typeof optionsOrCb !== "object")
358
- throw new Error("Expect http options but get " + typeof optionsOrCb);
358
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
359
359
  this.send(command, optionsOrCb || {}, cb);
360
360
  }
361
361
  else {
@@ -369,7 +369,7 @@ var AppSync = (function (_super) {
369
369
  }
370
370
  else if (typeof cb === "function") {
371
371
  if (typeof optionsOrCb !== "object")
372
- throw new Error("Expect http options but get " + typeof optionsOrCb);
372
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
373
373
  this.send(command, optionsOrCb || {}, cb);
374
374
  }
375
375
  else {
@@ -383,7 +383,7 @@ var AppSync = (function (_super) {
383
383
  }
384
384
  else if (typeof cb === "function") {
385
385
  if (typeof optionsOrCb !== "object")
386
- throw new Error("Expect http options but get " + typeof optionsOrCb);
386
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
387
387
  this.send(command, optionsOrCb || {}, cb);
388
388
  }
389
389
  else {
@@ -397,7 +397,7 @@ var AppSync = (function (_super) {
397
397
  }
398
398
  else if (typeof cb === "function") {
399
399
  if (typeof optionsOrCb !== "object")
400
- throw new Error("Expect http options but get " + typeof optionsOrCb);
400
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
401
401
  this.send(command, optionsOrCb || {}, cb);
402
402
  }
403
403
  else {
@@ -411,7 +411,7 @@ var AppSync = (function (_super) {
411
411
  }
412
412
  else if (typeof cb === "function") {
413
413
  if (typeof optionsOrCb !== "object")
414
- throw new Error("Expect http options but get " + typeof optionsOrCb);
414
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
415
415
  this.send(command, optionsOrCb || {}, cb);
416
416
  }
417
417
  else {
@@ -425,7 +425,7 @@ var AppSync = (function (_super) {
425
425
  }
426
426
  else if (typeof cb === "function") {
427
427
  if (typeof optionsOrCb !== "object")
428
- throw new Error("Expect http options but get " + typeof optionsOrCb);
428
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
429
429
  this.send(command, optionsOrCb || {}, cb);
430
430
  }
431
431
  else {
@@ -439,7 +439,7 @@ var AppSync = (function (_super) {
439
439
  }
440
440
  else if (typeof cb === "function") {
441
441
  if (typeof optionsOrCb !== "object")
442
- throw new Error("Expect http options but get " + typeof optionsOrCb);
442
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
443
443
  this.send(command, optionsOrCb || {}, cb);
444
444
  }
445
445
  else {
@@ -453,7 +453,7 @@ var AppSync = (function (_super) {
453
453
  }
454
454
  else if (typeof cb === "function") {
455
455
  if (typeof optionsOrCb !== "object")
456
- throw new Error("Expect http options but get " + typeof optionsOrCb);
456
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
457
457
  this.send(command, optionsOrCb || {}, cb);
458
458
  }
459
459
  else {
@@ -467,7 +467,7 @@ var AppSync = (function (_super) {
467
467
  }
468
468
  else if (typeof cb === "function") {
469
469
  if (typeof optionsOrCb !== "object")
470
- throw new Error("Expect http options but get " + typeof optionsOrCb);
470
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
471
471
  this.send(command, optionsOrCb || {}, cb);
472
472
  }
473
473
  else {
@@ -481,7 +481,7 @@ var AppSync = (function (_super) {
481
481
  }
482
482
  else if (typeof cb === "function") {
483
483
  if (typeof optionsOrCb !== "object")
484
- throw new Error("Expect http options but get " + typeof optionsOrCb);
484
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
485
485
  this.send(command, optionsOrCb || {}, cb);
486
486
  }
487
487
  else {
@@ -495,7 +495,7 @@ var AppSync = (function (_super) {
495
495
  }
496
496
  else if (typeof cb === "function") {
497
497
  if (typeof optionsOrCb !== "object")
498
- throw new Error("Expect http options but get " + typeof optionsOrCb);
498
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
499
499
  this.send(command, optionsOrCb || {}, cb);
500
500
  }
501
501
  else {
@@ -509,7 +509,7 @@ var AppSync = (function (_super) {
509
509
  }
510
510
  else if (typeof cb === "function") {
511
511
  if (typeof optionsOrCb !== "object")
512
- throw new Error("Expect http options but get " + typeof optionsOrCb);
512
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
513
513
  this.send(command, optionsOrCb || {}, cb);
514
514
  }
515
515
  else {
@@ -523,7 +523,7 @@ var AppSync = (function (_super) {
523
523
  }
524
524
  else if (typeof cb === "function") {
525
525
  if (typeof optionsOrCb !== "object")
526
- throw new Error("Expect http options but get " + typeof optionsOrCb);
526
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
527
527
  this.send(command, optionsOrCb || {}, cb);
528
528
  }
529
529
  else {
@@ -537,7 +537,7 @@ var AppSync = (function (_super) {
537
537
  }
538
538
  else if (typeof cb === "function") {
539
539
  if (typeof optionsOrCb !== "object")
540
- throw new Error("Expect http options but get " + typeof optionsOrCb);
540
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
541
541
  this.send(command, optionsOrCb || {}, cb);
542
542
  }
543
543
  else {
@@ -551,7 +551,7 @@ var AppSync = (function (_super) {
551
551
  }
552
552
  else if (typeof cb === "function") {
553
553
  if (typeof optionsOrCb !== "object")
554
- throw new Error("Expect http options but get " + typeof optionsOrCb);
554
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
555
555
  this.send(command, optionsOrCb || {}, cb);
556
556
  }
557
557
  else {
@@ -565,7 +565,7 @@ var AppSync = (function (_super) {
565
565
  }
566
566
  else if (typeof cb === "function") {
567
567
  if (typeof optionsOrCb !== "object")
568
- throw new Error("Expect http options but get " + typeof optionsOrCb);
568
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
569
569
  this.send(command, optionsOrCb || {}, cb);
570
570
  }
571
571
  else {
@@ -579,7 +579,7 @@ var AppSync = (function (_super) {
579
579
  }
580
580
  else if (typeof cb === "function") {
581
581
  if (typeof optionsOrCb !== "object")
582
- throw new Error("Expect http options but get " + typeof optionsOrCb);
582
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
583
583
  this.send(command, optionsOrCb || {}, cb);
584
584
  }
585
585
  else {
@@ -593,7 +593,7 @@ var AppSync = (function (_super) {
593
593
  }
594
594
  else if (typeof cb === "function") {
595
595
  if (typeof optionsOrCb !== "object")
596
- throw new Error("Expect http options but get " + typeof optionsOrCb);
596
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
597
597
  this.send(command, optionsOrCb || {}, cb);
598
598
  }
599
599
  else {
@@ -607,7 +607,7 @@ var AppSync = (function (_super) {
607
607
  }
608
608
  else if (typeof cb === "function") {
609
609
  if (typeof optionsOrCb !== "object")
610
- throw new Error("Expect http options but get " + typeof optionsOrCb);
610
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
611
611
  this.send(command, optionsOrCb || {}, cb);
612
612
  }
613
613
  else {
@@ -621,7 +621,7 @@ var AppSync = (function (_super) {
621
621
  }
622
622
  else if (typeof cb === "function") {
623
623
  if (typeof optionsOrCb !== "object")
624
- throw new Error("Expect http options but get " + typeof optionsOrCb);
624
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
625
625
  this.send(command, optionsOrCb || {}, cb);
626
626
  }
627
627
  else {
@@ -635,7 +635,7 @@ var AppSync = (function (_super) {
635
635
  }
636
636
  else if (typeof cb === "function") {
637
637
  if (typeof optionsOrCb !== "object")
638
- throw new Error("Expect http options but get " + typeof optionsOrCb);
638
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
639
639
  this.send(command, optionsOrCb || {}, cb);
640
640
  }
641
641
  else {
@@ -649,7 +649,7 @@ var AppSync = (function (_super) {
649
649
  }
650
650
  else if (typeof cb === "function") {
651
651
  if (typeof optionsOrCb !== "object")
652
- throw new Error("Expect http options but get " + typeof optionsOrCb);
652
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
653
653
  this.send(command, optionsOrCb || {}, cb);
654
654
  }
655
655
  else {
@@ -663,7 +663,7 @@ var AppSync = (function (_super) {
663
663
  }
664
664
  else if (typeof cb === "function") {
665
665
  if (typeof optionsOrCb !== "object")
666
- throw new Error("Expect http options but get " + typeof optionsOrCb);
666
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
667
667
  this.send(command, optionsOrCb || {}, cb);
668
668
  }
669
669
  else {
@@ -677,7 +677,7 @@ var AppSync = (function (_super) {
677
677
  }
678
678
  else if (typeof cb === "function") {
679
679
  if (typeof optionsOrCb !== "object")
680
- throw new Error("Expect http options but get " + typeof optionsOrCb);
680
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
681
681
  this.send(command, optionsOrCb || {}, cb);
682
682
  }
683
683
  else {
@@ -691,7 +691,7 @@ var AppSync = (function (_super) {
691
691
  }
692
692
  else if (typeof cb === "function") {
693
693
  if (typeof optionsOrCb !== "object")
694
- throw new Error("Expect http options but get " + typeof optionsOrCb);
694
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
695
695
  this.send(command, optionsOrCb || {}, cb);
696
696
  }
697
697
  else {
@@ -705,7 +705,7 @@ var AppSync = (function (_super) {
705
705
  }
706
706
  else if (typeof cb === "function") {
707
707
  if (typeof optionsOrCb !== "object")
708
- throw new Error("Expect http options but get " + typeof optionsOrCb);
708
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
709
709
  this.send(command, optionsOrCb || {}, cb);
710
710
  }
711
711
  else {
@@ -719,7 +719,7 @@ var AppSync = (function (_super) {
719
719
  }
720
720
  else if (typeof cb === "function") {
721
721
  if (typeof optionsOrCb !== "object")
722
- throw new Error("Expect http options but get " + typeof optionsOrCb);
722
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
723
723
  this.send(command, optionsOrCb || {}, cb);
724
724
  }
725
725
  else {
@@ -733,7 +733,7 @@ var AppSync = (function (_super) {
733
733
  }
734
734
  else if (typeof cb === "function") {
735
735
  if (typeof optionsOrCb !== "object")
736
- throw new Error("Expect http options but get " + typeof optionsOrCb);
736
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
737
737
  this.send(command, optionsOrCb || {}, cb);
738
738
  }
739
739
  else {