@aws-sdk/client-sqs 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 (34) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/SQSClient.js +13 -13
  3. package/dist-cjs/commands/AddPermissionCommand.js +3 -3
  4. package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +3 -3
  5. package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +3 -3
  6. package/dist-cjs/commands/CreateQueueCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteMessageBatchCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteMessageCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
  10. package/dist-cjs/commands/GetQueueAttributesCommand.js +3 -3
  11. package/dist-cjs/commands/GetQueueUrlCommand.js +3 -3
  12. package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +3 -3
  13. package/dist-cjs/commands/ListQueueTagsCommand.js +3 -3
  14. package/dist-cjs/commands/ListQueuesCommand.js +3 -3
  15. package/dist-cjs/commands/PurgeQueueCommand.js +3 -3
  16. package/dist-cjs/commands/ReceiveMessageCommand.js +4 -4
  17. package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
  18. package/dist-cjs/commands/SendMessageBatchCommand.js +4 -4
  19. package/dist-cjs/commands/SendMessageCommand.js +4 -4
  20. package/dist-cjs/commands/SetQueueAttributesCommand.js +3 -3
  21. package/dist-cjs/commands/TagQueueCommand.js +3 -3
  22. package/dist-cjs/commands/UntagQueueCommand.js +3 -3
  23. package/dist-cjs/endpoints.js +1 -1
  24. package/dist-cjs/protocols/Aws_query.js +88 -88
  25. package/dist-cjs/runtimeConfig.browser.js +4 -4
  26. package/dist-cjs/runtimeConfig.js +9 -9
  27. package/dist-cjs/runtimeConfig.native.js +1 -1
  28. package/dist-es/SQS.js +20 -20
  29. package/dist-es/pagination/ListDeadLetterSourceQueuesPaginator.js +4 -4
  30. package/dist-es/pagination/ListQueuesPaginator.js +4 -4
  31. package/dist-es/protocols/Aws_query.js +39 -39
  32. package/dist-types/runtimeConfig.native.d.ts +2 -2
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  34. package/package.json +36 -36
@@ -18,9 +18,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
18
18
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
19
19
  const getRuntimeConfig = (config) => {
20
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
21
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
22
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
23
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
24
24
  return {
25
25
  ...clientSharedValues,
26
26
  ...config,
@@ -30,10 +30,10 @@ const getRuntimeConfig = (config) => {
30
30
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
31
31
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
32
32
  credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
33
- 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 }),
33
+ 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 }),
34
34
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
35
35
  md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : md5_js_1.Md5,
36
- region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
36
+ region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
37
37
  requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
38
38
  retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
39
39
  sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : 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, _r;
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,20 +30,20 @@ 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),
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
36
  md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : hash_node_1.Hash.bind(null, "md5"),
37
- region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
+ region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
38
38
  requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
39
- retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig({
39
+ retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (0, node_config_provider_1.loadConfig)({
40
40
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
41
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
42
42
  }),
43
43
  sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
44
44
  streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
45
- useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
- useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
45
+ useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
+ useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
47
  utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.fromUtf8,
48
48
  utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : util_utf8_node_1.toUtf8,
49
49
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,
package/dist-es/SQS.js CHANGED
@@ -32,7 +32,7 @@ var SQS = (function (_super) {
32
32
  }
33
33
  else if (typeof cb === "function") {
34
34
  if (typeof optionsOrCb !== "object")
35
- throw new Error("Expect http options but get " + typeof optionsOrCb);
35
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
36
36
  this.send(command, optionsOrCb || {}, cb);
37
37
  }
38
38
  else {
@@ -46,7 +46,7 @@ var SQS = (function (_super) {
46
46
  }
47
47
  else if (typeof cb === "function") {
48
48
  if (typeof optionsOrCb !== "object")
49
- throw new Error("Expect http options but get " + typeof optionsOrCb);
49
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
50
50
  this.send(command, optionsOrCb || {}, cb);
51
51
  }
52
52
  else {
@@ -60,7 +60,7 @@ var SQS = (function (_super) {
60
60
  }
61
61
  else if (typeof cb === "function") {
62
62
  if (typeof optionsOrCb !== "object")
63
- throw new Error("Expect http options but get " + typeof optionsOrCb);
63
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
64
64
  this.send(command, optionsOrCb || {}, cb);
65
65
  }
66
66
  else {
@@ -74,7 +74,7 @@ var SQS = (function (_super) {
74
74
  }
75
75
  else if (typeof cb === "function") {
76
76
  if (typeof optionsOrCb !== "object")
77
- throw new Error("Expect http options but get " + typeof optionsOrCb);
77
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
78
78
  this.send(command, optionsOrCb || {}, cb);
79
79
  }
80
80
  else {
@@ -88,7 +88,7 @@ var SQS = (function (_super) {
88
88
  }
89
89
  else if (typeof cb === "function") {
90
90
  if (typeof optionsOrCb !== "object")
91
- throw new Error("Expect http options but get " + typeof optionsOrCb);
91
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
92
92
  this.send(command, optionsOrCb || {}, cb);
93
93
  }
94
94
  else {
@@ -102,7 +102,7 @@ var SQS = (function (_super) {
102
102
  }
103
103
  else if (typeof cb === "function") {
104
104
  if (typeof optionsOrCb !== "object")
105
- throw new Error("Expect http options but get " + typeof optionsOrCb);
105
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
106
106
  this.send(command, optionsOrCb || {}, cb);
107
107
  }
108
108
  else {
@@ -116,7 +116,7 @@ var SQS = (function (_super) {
116
116
  }
117
117
  else if (typeof cb === "function") {
118
118
  if (typeof optionsOrCb !== "object")
119
- throw new Error("Expect http options but get " + typeof optionsOrCb);
119
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
120
120
  this.send(command, optionsOrCb || {}, cb);
121
121
  }
122
122
  else {
@@ -130,7 +130,7 @@ var SQS = (function (_super) {
130
130
  }
131
131
  else if (typeof cb === "function") {
132
132
  if (typeof optionsOrCb !== "object")
133
- throw new Error("Expect http options but get " + typeof optionsOrCb);
133
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
134
134
  this.send(command, optionsOrCb || {}, cb);
135
135
  }
136
136
  else {
@@ -144,7 +144,7 @@ var SQS = (function (_super) {
144
144
  }
145
145
  else if (typeof cb === "function") {
146
146
  if (typeof optionsOrCb !== "object")
147
- throw new Error("Expect http options but get " + typeof optionsOrCb);
147
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
148
148
  this.send(command, optionsOrCb || {}, cb);
149
149
  }
150
150
  else {
@@ -158,7 +158,7 @@ var SQS = (function (_super) {
158
158
  }
159
159
  else if (typeof cb === "function") {
160
160
  if (typeof optionsOrCb !== "object")
161
- throw new Error("Expect http options but get " + typeof optionsOrCb);
161
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
162
162
  this.send(command, optionsOrCb || {}, cb);
163
163
  }
164
164
  else {
@@ -172,7 +172,7 @@ var SQS = (function (_super) {
172
172
  }
173
173
  else if (typeof cb === "function") {
174
174
  if (typeof optionsOrCb !== "object")
175
- throw new Error("Expect http options but get " + typeof optionsOrCb);
175
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
176
176
  this.send(command, optionsOrCb || {}, cb);
177
177
  }
178
178
  else {
@@ -186,7 +186,7 @@ var SQS = (function (_super) {
186
186
  }
187
187
  else if (typeof cb === "function") {
188
188
  if (typeof optionsOrCb !== "object")
189
- throw new Error("Expect http options but get " + typeof optionsOrCb);
189
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
190
190
  this.send(command, optionsOrCb || {}, cb);
191
191
  }
192
192
  else {
@@ -200,7 +200,7 @@ var SQS = (function (_super) {
200
200
  }
201
201
  else if (typeof cb === "function") {
202
202
  if (typeof optionsOrCb !== "object")
203
- throw new Error("Expect http options but get " + typeof optionsOrCb);
203
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
204
204
  this.send(command, optionsOrCb || {}, cb);
205
205
  }
206
206
  else {
@@ -214,7 +214,7 @@ var SQS = (function (_super) {
214
214
  }
215
215
  else if (typeof cb === "function") {
216
216
  if (typeof optionsOrCb !== "object")
217
- throw new Error("Expect http options but get " + typeof optionsOrCb);
217
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
218
218
  this.send(command, optionsOrCb || {}, cb);
219
219
  }
220
220
  else {
@@ -228,7 +228,7 @@ var SQS = (function (_super) {
228
228
  }
229
229
  else if (typeof cb === "function") {
230
230
  if (typeof optionsOrCb !== "object")
231
- throw new Error("Expect http options but get " + typeof optionsOrCb);
231
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
232
232
  this.send(command, optionsOrCb || {}, cb);
233
233
  }
234
234
  else {
@@ -242,7 +242,7 @@ var SQS = (function (_super) {
242
242
  }
243
243
  else if (typeof cb === "function") {
244
244
  if (typeof optionsOrCb !== "object")
245
- throw new Error("Expect http options but get " + typeof optionsOrCb);
245
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
246
246
  this.send(command, optionsOrCb || {}, cb);
247
247
  }
248
248
  else {
@@ -256,7 +256,7 @@ var SQS = (function (_super) {
256
256
  }
257
257
  else if (typeof cb === "function") {
258
258
  if (typeof optionsOrCb !== "object")
259
- throw new Error("Expect http options but get " + typeof optionsOrCb);
259
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
260
260
  this.send(command, optionsOrCb || {}, cb);
261
261
  }
262
262
  else {
@@ -270,7 +270,7 @@ var SQS = (function (_super) {
270
270
  }
271
271
  else if (typeof cb === "function") {
272
272
  if (typeof optionsOrCb !== "object")
273
- throw new Error("Expect http options but get " + typeof optionsOrCb);
273
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
274
274
  this.send(command, optionsOrCb || {}, cb);
275
275
  }
276
276
  else {
@@ -284,7 +284,7 @@ var SQS = (function (_super) {
284
284
  }
285
285
  else if (typeof cb === "function") {
286
286
  if (typeof optionsOrCb !== "object")
287
- throw new Error("Expect http options but get " + typeof optionsOrCb);
287
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
288
288
  this.send(command, optionsOrCb || {}, cb);
289
289
  }
290
290
  else {
@@ -298,7 +298,7 @@ var SQS = (function (_super) {
298
298
  }
299
299
  else if (typeof cb === "function") {
300
300
  if (typeof optionsOrCb !== "object")
301
- throw new Error("Expect http options but get " + typeof optionsOrCb);
301
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
302
302
  this.send(command, optionsOrCb || {}, cb);
303
303
  }
304
304
  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 ListDeadLetterSourceQueuesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListDeadLetterSourceQueuesCommand(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.listDeadLetterSourceQueues.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listDeadLetterSourceQueues.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 paginateListDeadLetterSourceQueues(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof SQS)) 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 SQSClient)) 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 ListQueuesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListQueuesCommand(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.listQueues.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listQueues.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 paginateListQueues(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof SQS)) 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 SQSClient)) 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];
@@ -1393,7 +1393,7 @@ var serializeAws_queryActionNameList = function (input, context) {
1393
1393
  if (entry === null) {
1394
1394
  continue;
1395
1395
  }
1396
- entries["member." + counter] = entry;
1396
+ entries["member.".concat(counter)] = entry;
1397
1397
  counter++;
1398
1398
  }
1399
1399
  }
@@ -1418,7 +1418,7 @@ var serializeAws_queryAddPermissionRequest = function (input, context) {
1418
1418
  var memberEntries = serializeAws_queryAWSAccountIdList(input.AWSAccountIds, context);
1419
1419
  Object.entries(memberEntries).forEach(function (_a) {
1420
1420
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1421
- var loc = "AWSAccountId." + key.substring(key.indexOf(".") + 1);
1421
+ var loc = "AWSAccountId.".concat(key.substring(key.indexOf(".") + 1));
1422
1422
  entries[loc] = value;
1423
1423
  });
1424
1424
  }
@@ -1426,7 +1426,7 @@ var serializeAws_queryAddPermissionRequest = function (input, context) {
1426
1426
  var memberEntries = serializeAws_queryActionNameList(input.Actions, context);
1427
1427
  Object.entries(memberEntries).forEach(function (_a) {
1428
1428
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1429
- var loc = "ActionName." + key.substring(key.indexOf(".") + 1);
1429
+ var loc = "ActionName.".concat(key.substring(key.indexOf(".") + 1));
1430
1430
  entries[loc] = value;
1431
1431
  });
1432
1432
  }
@@ -1442,7 +1442,7 @@ var serializeAws_queryAttributeNameList = function (input, context) {
1442
1442
  if (entry === null) {
1443
1443
  continue;
1444
1444
  }
1445
- entries["member." + counter] = entry;
1445
+ entries["member.".concat(counter)] = entry;
1446
1446
  counter++;
1447
1447
  }
1448
1448
  }
@@ -1465,7 +1465,7 @@ var serializeAws_queryAWSAccountIdList = function (input, context) {
1465
1465
  if (entry === null) {
1466
1466
  continue;
1467
1467
  }
1468
- entries["member." + counter] = entry;
1468
+ entries["member.".concat(counter)] = entry;
1469
1469
  counter++;
1470
1470
  }
1471
1471
  }
@@ -1488,7 +1488,7 @@ var serializeAws_queryBinaryList = function (input, context) {
1488
1488
  if (entry === null) {
1489
1489
  continue;
1490
1490
  }
1491
- entries["BinaryListValue." + counter] = context.base64Encoder(entry);
1491
+ entries["BinaryListValue.".concat(counter)] = context.base64Encoder(entry);
1492
1492
  counter++;
1493
1493
  }
1494
1494
  }
@@ -1510,7 +1510,7 @@ var serializeAws_queryChangeMessageVisibilityBatchRequest = function (input, con
1510
1510
  var memberEntries = serializeAws_queryChangeMessageVisibilityBatchRequestEntryList(input.Entries, context);
1511
1511
  Object.entries(memberEntries).forEach(function (_a) {
1512
1512
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1513
- var loc = "ChangeMessageVisibilityBatchRequestEntry." + key.substring(key.indexOf(".") + 1);
1513
+ var loc = "ChangeMessageVisibilityBatchRequestEntry.".concat(key.substring(key.indexOf(".") + 1));
1514
1514
  entries[loc] = value;
1515
1515
  });
1516
1516
  }
@@ -1542,7 +1542,7 @@ var serializeAws_queryChangeMessageVisibilityBatchRequestEntryList = function (i
1542
1542
  var memberEntries = serializeAws_queryChangeMessageVisibilityBatchRequestEntry(entry, context);
1543
1543
  Object.entries(memberEntries).forEach(function (_a) {
1544
1544
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1545
- entries["member." + counter + "." + key] = value;
1545
+ entries["member.".concat(counter, ".").concat(key)] = value;
1546
1546
  });
1547
1547
  counter++;
1548
1548
  }
@@ -1578,7 +1578,7 @@ var serializeAws_queryCreateQueueRequest = function (input, context) {
1578
1578
  var memberEntries = serializeAws_queryTagMap(input.tags, context);
1579
1579
  Object.entries(memberEntries).forEach(function (_a) {
1580
1580
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1581
- var loc = "Tag." + key.substring(key.indexOf(".") + 1);
1581
+ var loc = "Tag.".concat(key.substring(key.indexOf(".") + 1));
1582
1582
  entries[loc] = value;
1583
1583
  });
1584
1584
  }
@@ -1586,7 +1586,7 @@ var serializeAws_queryCreateQueueRequest = function (input, context) {
1586
1586
  var memberEntries = serializeAws_queryQueueAttributeMap(input.Attributes, context);
1587
1587
  Object.entries(memberEntries).forEach(function (_a) {
1588
1588
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1589
- var loc = "Attribute." + key.substring(key.indexOf(".") + 1);
1589
+ var loc = "Attribute.".concat(key.substring(key.indexOf(".") + 1));
1590
1590
  entries[loc] = value;
1591
1591
  });
1592
1592
  }
@@ -1601,7 +1601,7 @@ var serializeAws_queryDeleteMessageBatchRequest = function (input, context) {
1601
1601
  var memberEntries = serializeAws_queryDeleteMessageBatchRequestEntryList(input.Entries, context);
1602
1602
  Object.entries(memberEntries).forEach(function (_a) {
1603
1603
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1604
- var loc = "DeleteMessageBatchRequestEntry." + key.substring(key.indexOf(".") + 1);
1604
+ var loc = "DeleteMessageBatchRequestEntry.".concat(key.substring(key.indexOf(".") + 1));
1605
1605
  entries[loc] = value;
1606
1606
  });
1607
1607
  }
@@ -1630,7 +1630,7 @@ var serializeAws_queryDeleteMessageBatchRequestEntryList = function (input, cont
1630
1630
  var memberEntries = serializeAws_queryDeleteMessageBatchRequestEntry(entry, context);
1631
1631
  Object.entries(memberEntries).forEach(function (_a) {
1632
1632
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1633
- entries["member." + counter + "." + key] = value;
1633
+ entries["member.".concat(counter, ".").concat(key)] = value;
1634
1634
  });
1635
1635
  counter++;
1636
1636
  }
@@ -1670,7 +1670,7 @@ var serializeAws_queryGetQueueAttributesRequest = function (input, context) {
1670
1670
  var memberEntries = serializeAws_queryAttributeNameList(input.AttributeNames, context);
1671
1671
  Object.entries(memberEntries).forEach(function (_a) {
1672
1672
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1673
- var loc = "AttributeName." + key.substring(key.indexOf(".") + 1);
1673
+ var loc = "AttributeName.".concat(key.substring(key.indexOf(".") + 1));
1674
1674
  entries[loc] = value;
1675
1675
  });
1676
1676
  }
@@ -1729,7 +1729,7 @@ var serializeAws_queryMessageAttributeNameList = function (input, context) {
1729
1729
  if (entry === null) {
1730
1730
  continue;
1731
1731
  }
1732
- entries["member." + counter] = entry;
1732
+ entries["member.".concat(counter)] = entry;
1733
1733
  counter++;
1734
1734
  }
1735
1735
  }
@@ -1754,7 +1754,7 @@ var serializeAws_queryMessageAttributeValue = function (input, context) {
1754
1754
  var memberEntries = serializeAws_queryStringList(input.StringListValues, context);
1755
1755
  Object.entries(memberEntries).forEach(function (_a) {
1756
1756
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1757
- var loc = "StringListValue." + key.substring(key.indexOf(".") + 1);
1757
+ var loc = "StringListValue.".concat(key.substring(key.indexOf(".") + 1));
1758
1758
  entries[loc] = value;
1759
1759
  });
1760
1760
  }
@@ -1762,7 +1762,7 @@ var serializeAws_queryMessageAttributeValue = function (input, context) {
1762
1762
  var memberEntries = serializeAws_queryBinaryList(input.BinaryListValues, context);
1763
1763
  Object.entries(memberEntries).forEach(function (_a) {
1764
1764
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1765
- var loc = "BinaryListValue." + key.substring(key.indexOf(".") + 1);
1765
+ var loc = "BinaryListValue.".concat(key.substring(key.indexOf(".") + 1));
1766
1766
  entries[loc] = value;
1767
1767
  });
1768
1768
  }
@@ -1777,11 +1777,11 @@ var serializeAws_queryMessageBodyAttributeMap = function (input, context) {
1777
1777
  Object.keys(input)
1778
1778
  .filter(function (key) { return input[key] != null; })
1779
1779
  .forEach(function (key) {
1780
- entries["entry." + counter + ".Name"] = key;
1780
+ entries["entry.".concat(counter, ".Name")] = key;
1781
1781
  var memberEntries = serializeAws_queryMessageAttributeValue(input[key], context);
1782
1782
  Object.entries(memberEntries).forEach(function (_a) {
1783
1783
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1784
- entries["entry." + counter + ".Value." + key] = value;
1784
+ entries["entry.".concat(counter, ".Value.").concat(key)] = value;
1785
1785
  });
1786
1786
  counter++;
1787
1787
  });
@@ -1793,11 +1793,11 @@ var serializeAws_queryMessageBodySystemAttributeMap = function (input, context)
1793
1793
  Object.keys(input)
1794
1794
  .filter(function (key) { return input[key] != null; })
1795
1795
  .forEach(function (key) {
1796
- entries["entry." + counter + ".Name"] = key;
1796
+ entries["entry.".concat(counter, ".Name")] = key;
1797
1797
  var memberEntries = serializeAws_queryMessageSystemAttributeValue(input[key], context);
1798
1798
  Object.entries(memberEntries).forEach(function (_a) {
1799
1799
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1800
- entries["entry." + counter + ".Value." + key] = value;
1800
+ entries["entry.".concat(counter, ".Value.").concat(key)] = value;
1801
1801
  });
1802
1802
  counter++;
1803
1803
  });
@@ -1815,7 +1815,7 @@ var serializeAws_queryMessageSystemAttributeValue = function (input, context) {
1815
1815
  var memberEntries = serializeAws_queryStringList(input.StringListValues, context);
1816
1816
  Object.entries(memberEntries).forEach(function (_a) {
1817
1817
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1818
- var loc = "StringListValue." + key.substring(key.indexOf(".") + 1);
1818
+ var loc = "StringListValue.".concat(key.substring(key.indexOf(".") + 1));
1819
1819
  entries[loc] = value;
1820
1820
  });
1821
1821
  }
@@ -1823,7 +1823,7 @@ var serializeAws_queryMessageSystemAttributeValue = function (input, context) {
1823
1823
  var memberEntries = serializeAws_queryBinaryList(input.BinaryListValues, context);
1824
1824
  Object.entries(memberEntries).forEach(function (_a) {
1825
1825
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1826
- var loc = "BinaryListValue." + key.substring(key.indexOf(".") + 1);
1826
+ var loc = "BinaryListValue.".concat(key.substring(key.indexOf(".") + 1));
1827
1827
  entries[loc] = value;
1828
1828
  });
1829
1829
  }
@@ -1845,8 +1845,8 @@ var serializeAws_queryQueueAttributeMap = function (input, context) {
1845
1845
  Object.keys(input)
1846
1846
  .filter(function (key) { return input[key] != null; })
1847
1847
  .forEach(function (key) {
1848
- entries["entry." + counter + ".Name"] = key;
1849
- entries["entry." + counter + ".Value"] = input[key];
1848
+ entries["entry.".concat(counter, ".Name")] = key;
1849
+ entries["entry.".concat(counter, ".Value")] = input[key];
1850
1850
  counter++;
1851
1851
  });
1852
1852
  return entries;
@@ -1860,7 +1860,7 @@ var serializeAws_queryReceiveMessageRequest = function (input, context) {
1860
1860
  var memberEntries = serializeAws_queryAttributeNameList(input.AttributeNames, context);
1861
1861
  Object.entries(memberEntries).forEach(function (_a) {
1862
1862
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1863
- var loc = "AttributeName." + key.substring(key.indexOf(".") + 1);
1863
+ var loc = "AttributeName.".concat(key.substring(key.indexOf(".") + 1));
1864
1864
  entries[loc] = value;
1865
1865
  });
1866
1866
  }
@@ -1868,7 +1868,7 @@ var serializeAws_queryReceiveMessageRequest = function (input, context) {
1868
1868
  var memberEntries = serializeAws_queryMessageAttributeNameList(input.MessageAttributeNames, context);
1869
1869
  Object.entries(memberEntries).forEach(function (_a) {
1870
1870
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1871
- var loc = "MessageAttributeName." + key.substring(key.indexOf(".") + 1);
1871
+ var loc = "MessageAttributeName.".concat(key.substring(key.indexOf(".") + 1));
1872
1872
  entries[loc] = value;
1873
1873
  });
1874
1874
  }
@@ -1905,7 +1905,7 @@ var serializeAws_querySendMessageBatchRequest = function (input, context) {
1905
1905
  var memberEntries = serializeAws_querySendMessageBatchRequestEntryList(input.Entries, context);
1906
1906
  Object.entries(memberEntries).forEach(function (_a) {
1907
1907
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1908
- var loc = "SendMessageBatchRequestEntry." + key.substring(key.indexOf(".") + 1);
1908
+ var loc = "SendMessageBatchRequestEntry.".concat(key.substring(key.indexOf(".") + 1));
1909
1909
  entries[loc] = value;
1910
1910
  });
1911
1911
  }
@@ -1926,7 +1926,7 @@ var serializeAws_querySendMessageBatchRequestEntry = function (input, context) {
1926
1926
  var memberEntries = serializeAws_queryMessageBodyAttributeMap(input.MessageAttributes, context);
1927
1927
  Object.entries(memberEntries).forEach(function (_a) {
1928
1928
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1929
- var loc = "MessageAttribute." + key.substring(key.indexOf(".") + 1);
1929
+ var loc = "MessageAttribute.".concat(key.substring(key.indexOf(".") + 1));
1930
1930
  entries[loc] = value;
1931
1931
  });
1932
1932
  }
@@ -1934,7 +1934,7 @@ var serializeAws_querySendMessageBatchRequestEntry = function (input, context) {
1934
1934
  var memberEntries = serializeAws_queryMessageBodySystemAttributeMap(input.MessageSystemAttributes, context);
1935
1935
  Object.entries(memberEntries).forEach(function (_a) {
1936
1936
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1937
- var loc = "MessageSystemAttribute." + key.substring(key.indexOf(".") + 1);
1937
+ var loc = "MessageSystemAttribute.".concat(key.substring(key.indexOf(".") + 1));
1938
1938
  entries[loc] = value;
1939
1939
  });
1940
1940
  }
@@ -1959,7 +1959,7 @@ var serializeAws_querySendMessageBatchRequestEntryList = function (input, contex
1959
1959
  var memberEntries = serializeAws_querySendMessageBatchRequestEntry(entry, context);
1960
1960
  Object.entries(memberEntries).forEach(function (_a) {
1961
1961
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1962
- entries["member." + counter + "." + key] = value;
1962
+ entries["member.".concat(counter, ".").concat(key)] = value;
1963
1963
  });
1964
1964
  counter++;
1965
1965
  }
@@ -1988,7 +1988,7 @@ var serializeAws_querySendMessageRequest = function (input, context) {
1988
1988
  var memberEntries = serializeAws_queryMessageBodyAttributeMap(input.MessageAttributes, context);
1989
1989
  Object.entries(memberEntries).forEach(function (_a) {
1990
1990
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1991
- var loc = "MessageAttribute." + key.substring(key.indexOf(".") + 1);
1991
+ var loc = "MessageAttribute.".concat(key.substring(key.indexOf(".") + 1));
1992
1992
  entries[loc] = value;
1993
1993
  });
1994
1994
  }
@@ -1996,7 +1996,7 @@ var serializeAws_querySendMessageRequest = function (input, context) {
1996
1996
  var memberEntries = serializeAws_queryMessageBodySystemAttributeMap(input.MessageSystemAttributes, context);
1997
1997
  Object.entries(memberEntries).forEach(function (_a) {
1998
1998
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1999
- var loc = "MessageSystemAttribute." + key.substring(key.indexOf(".") + 1);
1999
+ var loc = "MessageSystemAttribute.".concat(key.substring(key.indexOf(".") + 1));
2000
2000
  entries[loc] = value;
2001
2001
  });
2002
2002
  }
@@ -2017,7 +2017,7 @@ var serializeAws_querySetQueueAttributesRequest = function (input, context) {
2017
2017
  var memberEntries = serializeAws_queryQueueAttributeMap(input.Attributes, context);
2018
2018
  Object.entries(memberEntries).forEach(function (_a) {
2019
2019
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
2020
- var loc = "Attribute." + key.substring(key.indexOf(".") + 1);
2020
+ var loc = "Attribute.".concat(key.substring(key.indexOf(".") + 1));
2021
2021
  entries[loc] = value;
2022
2022
  });
2023
2023
  }
@@ -2033,7 +2033,7 @@ var serializeAws_queryStringList = function (input, context) {
2033
2033
  if (entry === null) {
2034
2034
  continue;
2035
2035
  }
2036
- entries["StringListValue." + counter] = entry;
2036
+ entries["StringListValue.".concat(counter)] = entry;
2037
2037
  counter++;
2038
2038
  }
2039
2039
  }
@@ -2056,7 +2056,7 @@ var serializeAws_queryTagKeyList = function (input, context) {
2056
2056
  if (entry === null) {
2057
2057
  continue;
2058
2058
  }
2059
- entries["member." + counter] = entry;
2059
+ entries["member.".concat(counter)] = entry;
2060
2060
  counter++;
2061
2061
  }
2062
2062
  }
@@ -2075,8 +2075,8 @@ var serializeAws_queryTagMap = function (input, context) {
2075
2075
  Object.keys(input)
2076
2076
  .filter(function (key) { return input[key] != null; })
2077
2077
  .forEach(function (key) {
2078
- entries["entry." + counter + ".Key"] = key;
2079
- entries["entry." + counter + ".Value"] = input[key];
2078
+ entries["entry.".concat(counter, ".Key")] = key;
2079
+ entries["entry.".concat(counter, ".Value")] = input[key];
2080
2080
  counter++;
2081
2081
  });
2082
2082
  return entries;
@@ -2090,7 +2090,7 @@ var serializeAws_queryTagQueueRequest = function (input, context) {
2090
2090
  var memberEntries = serializeAws_queryTagMap(input.Tags, context);
2091
2091
  Object.entries(memberEntries).forEach(function (_a) {
2092
2092
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
2093
- var loc = "Tag." + key.substring(key.indexOf(".") + 1);
2093
+ var loc = "Tag.".concat(key.substring(key.indexOf(".") + 1));
2094
2094
  entries[loc] = value;
2095
2095
  });
2096
2096
  }
@@ -2105,7 +2105,7 @@ var serializeAws_queryUntagQueueRequest = function (input, context) {
2105
2105
  var memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
2106
2106
  Object.entries(memberEntries).forEach(function (_a) {
2107
2107
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
2108
- var loc = "TagKey." + key.substring(key.indexOf(".") + 1);
2108
+ var loc = "TagKey.".concat(key.substring(key.indexOf(".") + 1));
2109
2109
  entries[loc] = value;
2110
2110
  });
2111
2111
  }