@aws-sdk/client-service-catalog-appregistry 3.53.0 → 3.55.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 (44) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/ServiceCatalogAppRegistryClient.js +13 -13
  3. package/dist-cjs/commands/AssociateAttributeGroupCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateResourceCommand.js +3 -3
  5. package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
  6. package/dist-cjs/commands/CreateAttributeGroupCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteAttributeGroupCommand.js +3 -3
  9. package/dist-cjs/commands/DisassociateAttributeGroupCommand.js +3 -3
  10. package/dist-cjs/commands/DisassociateResourceCommand.js +3 -3
  11. package/dist-cjs/commands/GetApplicationCommand.js +3 -3
  12. package/dist-cjs/commands/GetAssociatedResourceCommand.js +3 -3
  13. package/dist-cjs/commands/GetAttributeGroupCommand.js +3 -3
  14. package/dist-cjs/commands/ListApplicationsCommand.js +3 -3
  15. package/dist-cjs/commands/ListAssociatedAttributeGroupsCommand.js +3 -3
  16. package/dist-cjs/commands/ListAssociatedResourcesCommand.js +3 -3
  17. package/dist-cjs/commands/ListAttributeGroupsCommand.js +3 -3
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  19. package/dist-cjs/commands/SyncResourceCommand.js +3 -3
  20. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  21. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  22. package/dist-cjs/commands/UpdateApplicationCommand.js +3 -3
  23. package/dist-cjs/commands/UpdateAttributeGroupCommand.js +3 -3
  24. package/dist-cjs/endpoints.js +1 -1
  25. package/dist-cjs/protocols/Aws_restJson1.js +141 -141
  26. package/dist-cjs/runtimeConfig.browser.js +4 -4
  27. package/dist-cjs/runtimeConfig.js +9 -9
  28. package/dist-cjs/runtimeConfig.native.js +1 -1
  29. package/dist-es/ServiceCatalogAppRegistry.js +21 -21
  30. package/dist-es/pagination/ListApplicationsPaginator.js +4 -4
  31. package/dist-es/pagination/ListAssociatedAttributeGroupsPaginator.js +4 -4
  32. package/dist-es/pagination/ListAssociatedResourcesPaginator.js +4 -4
  33. package/dist-es/pagination/ListAttributeGroupsPaginator.js +4 -4
  34. package/dist-es/protocols/Aws_restJson1.js +21 -21
  35. package/dist-types/ServiceCatalogAppRegistryClient.d.ts +2 -2
  36. package/dist-types/models/models_0.d.ts +4 -0
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  38. package/dist-types/runtimeConfig.d.ts +1 -1
  39. package/dist-types/runtimeConfig.native.d.ts +3 -3
  40. package/dist-types/ts3.4/ServiceCatalogAppRegistryClient.d.ts +2 -2
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  44. 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,
@@ -33,7 +33,7 @@ var ServiceCatalogAppRegistry = (function (_super) {
33
33
  }
34
34
  else if (typeof cb === "function") {
35
35
  if (typeof optionsOrCb !== "object")
36
- throw new Error("Expect http options but get " + typeof optionsOrCb);
36
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
37
37
  this.send(command, optionsOrCb || {}, cb);
38
38
  }
39
39
  else {
@@ -47,7 +47,7 @@ var ServiceCatalogAppRegistry = (function (_super) {
47
47
  }
48
48
  else if (typeof cb === "function") {
49
49
  if (typeof optionsOrCb !== "object")
50
- throw new Error("Expect http options but get " + typeof optionsOrCb);
50
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
51
51
  this.send(command, optionsOrCb || {}, cb);
52
52
  }
53
53
  else {
@@ -61,7 +61,7 @@ var ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 ServiceCatalogAppRegistry = (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 {
@@ -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 ListApplicationsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListApplicationsCommand(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.listApplications.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listApplications.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 paginateListApplications(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof ServiceCatalogAppRegistry)) 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 ServiceCatalogAppRegistryClient)) 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 ListAssociatedAttributeGroupsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListAssociatedAttributeGroupsCommand(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.listAssociatedAttributeGroups.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listAssociatedAttributeGroups.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 paginateListAssociatedAttributeGroups(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof ServiceCatalogAppRegistry)) 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 ServiceCatalogAppRegistryClient)) 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 ListAssociatedResourcesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListAssociatedResourcesCommand(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.listAssociatedResources.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listAssociatedResources.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 paginateListAssociatedResources(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof ServiceCatalogAppRegistry)) 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 ServiceCatalogAppRegistryClient)) 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 ListAttributeGroupsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListAttributeGroupsCommand(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.listAttributeGroups.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listAttributeGroups.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 paginateListAttributeGroups(config, input) {
48
48
  input.nextToken = token;
49
49
  input["maxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof ServiceCatalogAppRegistry)) 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 ServiceCatalogAppRegistryClient)) 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];
@@ -12,7 +12,7 @@ export var serializeAws_restJson1AssociateAttributeGroupCommand = function (inpu
12
12
  case 1:
13
13
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
14
14
  headers = {};
15
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
15
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
16
16
  "/applications/{application}/attribute-groups/{attributeGroup}";
17
17
  if (input.application !== undefined) {
18
18
  labelValue = input.application;
@@ -54,7 +54,7 @@ export var serializeAws_restJson1AssociateResourceCommand = function (input, con
54
54
  case 1:
55
55
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
56
56
  headers = {};
57
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
57
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
58
58
  "/applications/{application}/resources/{resourceType}/{resource}";
59
59
  if (input.application !== undefined) {
60
60
  labelValue = input.application;
@@ -109,7 +109,7 @@ export var serializeAws_restJson1CreateApplicationCommand = function (input, con
109
109
  headers = {
110
110
  "content-type": "application/json",
111
111
  };
112
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications";
112
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications";
113
113
  body = JSON.stringify(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.description !== undefined && input.description !== null && { description: input.description })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) })));
114
114
  return [2, new __HttpRequest({
115
115
  protocol: protocol,
@@ -134,7 +134,7 @@ export var serializeAws_restJson1CreateAttributeGroupCommand = function (input,
134
134
  headers = {
135
135
  "content-type": "application/json",
136
136
  };
137
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups";
137
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups";
138
138
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.attributes !== undefined && input.attributes !== null && { attributes: input.attributes })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.description !== undefined && input.description !== null && { description: input.description })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) })));
139
139
  return [2, new __HttpRequest({
140
140
  protocol: protocol,
@@ -156,7 +156,7 @@ export var serializeAws_restJson1DeleteApplicationCommand = function (input, con
156
156
  case 1:
157
157
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
158
158
  headers = {};
159
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{application}";
159
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{application}";
160
160
  if (input.application !== undefined) {
161
161
  labelValue = input.application;
162
162
  if (labelValue.length <= 0) {
@@ -187,7 +187,7 @@ export var serializeAws_restJson1DeleteAttributeGroupCommand = function (input,
187
187
  case 1:
188
188
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
189
189
  headers = {};
190
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups/{attributeGroup}";
190
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups/{attributeGroup}";
191
191
  if (input.attributeGroup !== undefined) {
192
192
  labelValue = input.attributeGroup;
193
193
  if (labelValue.length <= 0) {
@@ -218,7 +218,7 @@ export var serializeAws_restJson1DisassociateAttributeGroupCommand = function (i
218
218
  case 1:
219
219
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
220
220
  headers = {};
221
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
221
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
222
222
  "/applications/{application}/attribute-groups/{attributeGroup}";
223
223
  if (input.application !== undefined) {
224
224
  labelValue = input.application;
@@ -260,7 +260,7 @@ export var serializeAws_restJson1DisassociateResourceCommand = function (input,
260
260
  case 1:
261
261
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
262
262
  headers = {};
263
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
263
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
264
264
  "/applications/{application}/resources/{resourceType}/{resource}";
265
265
  if (input.application !== undefined) {
266
266
  labelValue = input.application;
@@ -312,7 +312,7 @@ export var serializeAws_restJson1GetApplicationCommand = function (input, contex
312
312
  case 1:
313
313
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
314
314
  headers = {};
315
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{application}";
315
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{application}";
316
316
  if (input.application !== undefined) {
317
317
  labelValue = input.application;
318
318
  if (labelValue.length <= 0) {
@@ -343,7 +343,7 @@ export var serializeAws_restJson1GetAssociatedResourceCommand = function (input,
343
343
  case 1:
344
344
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
345
345
  headers = {};
346
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
346
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
347
347
  "/applications/{application}/resources/{resourceType}/{resource}";
348
348
  if (input.application !== undefined) {
349
349
  labelValue = input.application;
@@ -395,7 +395,7 @@ export var serializeAws_restJson1GetAttributeGroupCommand = function (input, con
395
395
  case 1:
396
396
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
397
397
  headers = {};
398
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups/{attributeGroup}";
398
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups/{attributeGroup}";
399
399
  if (input.attributeGroup !== undefined) {
400
400
  labelValue = input.attributeGroup;
401
401
  if (labelValue.length <= 0) {
@@ -426,7 +426,7 @@ export var serializeAws_restJson1ListApplicationsCommand = function (input, cont
426
426
  case 1:
427
427
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
428
428
  headers = {};
429
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications";
429
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications";
430
430
  query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
431
431
  return [2, new __HttpRequest({
432
432
  protocol: protocol,
@@ -449,7 +449,7 @@ export var serializeAws_restJson1ListAssociatedAttributeGroupsCommand = function
449
449
  case 1:
450
450
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
451
451
  headers = {};
452
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
452
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
453
453
  "/applications/{application}/attribute-groups";
454
454
  if (input.application !== undefined) {
455
455
  labelValue = input.application;
@@ -483,7 +483,7 @@ export var serializeAws_restJson1ListAssociatedResourcesCommand = function (inpu
483
483
  case 1:
484
484
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
485
485
  headers = {};
486
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{application}/resources";
486
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{application}/resources";
487
487
  if (input.application !== undefined) {
488
488
  labelValue = input.application;
489
489
  if (labelValue.length <= 0) {
@@ -516,7 +516,7 @@ export var serializeAws_restJson1ListAttributeGroupsCommand = function (input, c
516
516
  case 1:
517
517
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
518
518
  headers = {};
519
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups";
519
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups";
520
520
  query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
521
521
  return [2, new __HttpRequest({
522
522
  protocol: protocol,
@@ -539,7 +539,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
539
539
  case 1:
540
540
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
541
541
  headers = {};
542
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
542
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
543
543
  if (input.resourceArn !== undefined) {
544
544
  labelValue = input.resourceArn;
545
545
  if (labelValue.length <= 0) {
@@ -570,7 +570,7 @@ export var serializeAws_restJson1SyncResourceCommand = function (input, context)
570
570
  case 1:
571
571
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
572
572
  headers = {};
573
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sync/{resourceType}/{resource}";
573
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sync/{resourceType}/{resource}";
574
574
  if (input.resourceType !== undefined) {
575
575
  labelValue = input.resourceType;
576
576
  if (labelValue.length <= 0) {
@@ -613,7 +613,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
613
613
  headers = {
614
614
  "content-type": "application/json",
615
615
  };
616
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
616
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
617
617
  if (input.resourceArn !== undefined) {
618
618
  labelValue = input.resourceArn;
619
619
  if (labelValue.length <= 0) {
@@ -645,7 +645,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
645
645
  case 1:
646
646
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
647
647
  headers = {};
648
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
648
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
649
649
  if (input.resourceArn !== undefined) {
650
650
  labelValue = input.resourceArn;
651
651
  if (labelValue.length <= 0) {
@@ -680,7 +680,7 @@ export var serializeAws_restJson1UpdateApplicationCommand = function (input, con
680
680
  headers = {
681
681
  "content-type": "application/json",
682
682
  };
683
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{application}";
683
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{application}";
684
684
  if (input.application !== undefined) {
685
685
  labelValue = input.application;
686
686
  if (labelValue.length <= 0) {
@@ -714,7 +714,7 @@ export var serializeAws_restJson1UpdateAttributeGroupCommand = function (input,
714
714
  headers = {
715
715
  "content-type": "application/json",
716
716
  };
717
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups/{attributeGroup}";
717
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/attribute-groups/{attributeGroup}";
718
718
  if (input.attributeGroup !== undefined) {
719
719
  labelValue = input.attributeGroup;
720
720
  if (labelValue.length <= 0) {
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateAttributeGroupCommandInput, AssociateAttributeGroupCommandOutput } from "./commands/AssociateAttributeGroupCommand";
10
10
  import { AssociateResourceCommandInput, AssociateResourceCommandOutput } from "./commands/AssociateResourceCommand";
11
11
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
@@ -49,7 +49,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
49
49
  * A function that can calculate the length of a request body.
50
50
  * @internal
51
51
  */
52
- bodyLengthChecker?: (body: any) => number | undefined;
52
+ bodyLengthChecker?: __BodyLengthCalculator;
53
53
  /**
54
54
  * A function that converts a stream into an array of bytes.
55
55
  * @internal