@aws-sdk/client-sqs 3.43.0 → 3.47.1
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.
- package/CHANGELOG.md +48 -0
- package/dist-cjs/endpoints.js +1 -16
- package/dist-cjs/models/models_0.js +1 -98
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -16
- package/dist-es/models/models_0.js +0 -64
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/SQSClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -96
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/SQSClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -64
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +41 -48
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,54 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-sqs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
20
|
+
* Support awsQueryError trait ([#3174](https://github.com/aws/aws-sdk-js-v3/issues/3174)) ([351bd3a](https://github.com/aws/aws-sdk-js-v3/commit/351bd3a40ad37be79d823d6a0e4e48304728ea6f))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
37
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
6
54
|
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
55
|
|
|
8
56
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "sqs.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "sqs-fips.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-2": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "sqs.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "sqs-fips.us-east-2.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -47,10 +39,6 @@ const regionHash = {
|
|
|
47
39
|
},
|
|
48
40
|
"us-west-1": {
|
|
49
41
|
variants: [
|
|
50
|
-
{
|
|
51
|
-
hostname: "sqs.us-west-1.amazonaws.com",
|
|
52
|
-
tags: [],
|
|
53
|
-
},
|
|
54
42
|
{
|
|
55
43
|
hostname: "sqs-fips.us-west-1.amazonaws.com",
|
|
56
44
|
tags: ["fips"],
|
|
@@ -59,10 +47,6 @@ const regionHash = {
|
|
|
59
47
|
},
|
|
60
48
|
"us-west-2": {
|
|
61
49
|
variants: [
|
|
62
|
-
{
|
|
63
|
-
hostname: "sqs.us-west-2.amazonaws.com",
|
|
64
|
-
tags: [],
|
|
65
|
-
},
|
|
66
50
|
{
|
|
67
51
|
hostname: "sqs-fips.us-west-2.amazonaws.com",
|
|
68
52
|
tags: ["fips"],
|
|
@@ -81,6 +65,7 @@ const partitionHash = {
|
|
|
81
65
|
"ap-south-1",
|
|
82
66
|
"ap-southeast-1",
|
|
83
67
|
"ap-southeast-2",
|
|
68
|
+
"ap-southeast-3",
|
|
84
69
|
"ca-central-1",
|
|
85
70
|
"eu-central-1",
|
|
86
71
|
"eu-north-1",
|
|
@@ -1,43 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UntagQueueRequest = exports.TagQueueRequest = exports.SetQueueAttributesRequest = exports.SendMessageBatchResult = exports.SendMessageBatchResultEntry = exports.SendMessageBatchRequest = exports.SendMessageBatchRequestEntry = void 0;
|
|
3
|
+
exports.UntagQueueRequest = exports.TagQueueRequest = exports.SetQueueAttributesRequest = exports.SendMessageBatchResult = exports.SendMessageBatchResultEntry = exports.SendMessageBatchRequest = exports.SendMessageBatchRequestEntry = exports.SendMessageResult = exports.SendMessageRequest = exports.MessageSystemAttributeValue = exports.RemovePermissionRequest = exports.ReceiveMessageResult = exports.Message = exports.MessageAttributeValue = exports.ReceiveMessageRequest = exports.PurgeQueueRequest = exports.ListQueueTagsResult = exports.ListQueueTagsRequest = exports.ListQueuesResult = exports.ListQueuesRequest = exports.ListDeadLetterSourceQueuesResult = exports.ListDeadLetterSourceQueuesRequest = exports.GetQueueUrlResult = exports.GetQueueUrlRequest = exports.GetQueueAttributesResult = exports.GetQueueAttributesRequest = exports.DeleteQueueRequest = exports.DeleteMessageBatchResult = exports.DeleteMessageBatchResultEntry = exports.DeleteMessageBatchRequest = exports.DeleteMessageBatchRequestEntry = exports.DeleteMessageRequest = exports.CreateQueueResult = exports.CreateQueueRequest = exports.ChangeMessageVisibilityBatchResult = exports.ChangeMessageVisibilityBatchResultEntry = exports.BatchResultErrorEntry = exports.ChangeMessageVisibilityBatchRequest = exports.ChangeMessageVisibilityBatchRequestEntry = exports.ChangeMessageVisibilityRequest = exports.AddPermissionRequest = void 0;
|
|
5
4
|
var AddPermissionRequest;
|
|
6
5
|
(function (AddPermissionRequest) {
|
|
7
6
|
AddPermissionRequest.filterSensitiveLog = (obj) => ({
|
|
8
7
|
...obj,
|
|
9
8
|
});
|
|
10
9
|
})(AddPermissionRequest = exports.AddPermissionRequest || (exports.AddPermissionRequest = {}));
|
|
11
|
-
var OverLimit;
|
|
12
|
-
(function (OverLimit) {
|
|
13
|
-
OverLimit.filterSensitiveLog = (obj) => ({
|
|
14
|
-
...obj,
|
|
15
|
-
});
|
|
16
|
-
})(OverLimit = exports.OverLimit || (exports.OverLimit = {}));
|
|
17
10
|
var ChangeMessageVisibilityRequest;
|
|
18
11
|
(function (ChangeMessageVisibilityRequest) {
|
|
19
12
|
ChangeMessageVisibilityRequest.filterSensitiveLog = (obj) => ({
|
|
20
13
|
...obj,
|
|
21
14
|
});
|
|
22
15
|
})(ChangeMessageVisibilityRequest = exports.ChangeMessageVisibilityRequest || (exports.ChangeMessageVisibilityRequest = {}));
|
|
23
|
-
var MessageNotInflight;
|
|
24
|
-
(function (MessageNotInflight) {
|
|
25
|
-
MessageNotInflight.filterSensitiveLog = (obj) => ({
|
|
26
|
-
...obj,
|
|
27
|
-
});
|
|
28
|
-
})(MessageNotInflight = exports.MessageNotInflight || (exports.MessageNotInflight = {}));
|
|
29
|
-
var ReceiptHandleIsInvalid;
|
|
30
|
-
(function (ReceiptHandleIsInvalid) {
|
|
31
|
-
ReceiptHandleIsInvalid.filterSensitiveLog = (obj) => ({
|
|
32
|
-
...obj,
|
|
33
|
-
});
|
|
34
|
-
})(ReceiptHandleIsInvalid = exports.ReceiptHandleIsInvalid || (exports.ReceiptHandleIsInvalid = {}));
|
|
35
|
-
var BatchEntryIdsNotDistinct;
|
|
36
|
-
(function (BatchEntryIdsNotDistinct) {
|
|
37
|
-
BatchEntryIdsNotDistinct.filterSensitiveLog = (obj) => ({
|
|
38
|
-
...obj,
|
|
39
|
-
});
|
|
40
|
-
})(BatchEntryIdsNotDistinct = exports.BatchEntryIdsNotDistinct || (exports.BatchEntryIdsNotDistinct = {}));
|
|
41
16
|
var ChangeMessageVisibilityBatchRequestEntry;
|
|
42
17
|
(function (ChangeMessageVisibilityBatchRequestEntry) {
|
|
43
18
|
ChangeMessageVisibilityBatchRequestEntry.filterSensitiveLog = (obj) => ({
|
|
@@ -68,24 +43,6 @@ var ChangeMessageVisibilityBatchResult;
|
|
|
68
43
|
...obj,
|
|
69
44
|
});
|
|
70
45
|
})(ChangeMessageVisibilityBatchResult = exports.ChangeMessageVisibilityBatchResult || (exports.ChangeMessageVisibilityBatchResult = {}));
|
|
71
|
-
var EmptyBatchRequest;
|
|
72
|
-
(function (EmptyBatchRequest) {
|
|
73
|
-
EmptyBatchRequest.filterSensitiveLog = (obj) => ({
|
|
74
|
-
...obj,
|
|
75
|
-
});
|
|
76
|
-
})(EmptyBatchRequest = exports.EmptyBatchRequest || (exports.EmptyBatchRequest = {}));
|
|
77
|
-
var InvalidBatchEntryId;
|
|
78
|
-
(function (InvalidBatchEntryId) {
|
|
79
|
-
InvalidBatchEntryId.filterSensitiveLog = (obj) => ({
|
|
80
|
-
...obj,
|
|
81
|
-
});
|
|
82
|
-
})(InvalidBatchEntryId = exports.InvalidBatchEntryId || (exports.InvalidBatchEntryId = {}));
|
|
83
|
-
var TooManyEntriesInBatchRequest;
|
|
84
|
-
(function (TooManyEntriesInBatchRequest) {
|
|
85
|
-
TooManyEntriesInBatchRequest.filterSensitiveLog = (obj) => ({
|
|
86
|
-
...obj,
|
|
87
|
-
});
|
|
88
|
-
})(TooManyEntriesInBatchRequest = exports.TooManyEntriesInBatchRequest || (exports.TooManyEntriesInBatchRequest = {}));
|
|
89
46
|
var CreateQueueRequest;
|
|
90
47
|
(function (CreateQueueRequest) {
|
|
91
48
|
CreateQueueRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -98,30 +55,12 @@ var CreateQueueResult;
|
|
|
98
55
|
...obj,
|
|
99
56
|
});
|
|
100
57
|
})(CreateQueueResult = exports.CreateQueueResult || (exports.CreateQueueResult = {}));
|
|
101
|
-
var QueueDeletedRecently;
|
|
102
|
-
(function (QueueDeletedRecently) {
|
|
103
|
-
QueueDeletedRecently.filterSensitiveLog = (obj) => ({
|
|
104
|
-
...obj,
|
|
105
|
-
});
|
|
106
|
-
})(QueueDeletedRecently = exports.QueueDeletedRecently || (exports.QueueDeletedRecently = {}));
|
|
107
|
-
var QueueNameExists;
|
|
108
|
-
(function (QueueNameExists) {
|
|
109
|
-
QueueNameExists.filterSensitiveLog = (obj) => ({
|
|
110
|
-
...obj,
|
|
111
|
-
});
|
|
112
|
-
})(QueueNameExists = exports.QueueNameExists || (exports.QueueNameExists = {}));
|
|
113
58
|
var DeleteMessageRequest;
|
|
114
59
|
(function (DeleteMessageRequest) {
|
|
115
60
|
DeleteMessageRequest.filterSensitiveLog = (obj) => ({
|
|
116
61
|
...obj,
|
|
117
62
|
});
|
|
118
63
|
})(DeleteMessageRequest = exports.DeleteMessageRequest || (exports.DeleteMessageRequest = {}));
|
|
119
|
-
var InvalidIdFormat;
|
|
120
|
-
(function (InvalidIdFormat) {
|
|
121
|
-
InvalidIdFormat.filterSensitiveLog = (obj) => ({
|
|
122
|
-
...obj,
|
|
123
|
-
});
|
|
124
|
-
})(InvalidIdFormat = exports.InvalidIdFormat || (exports.InvalidIdFormat = {}));
|
|
125
64
|
var DeleteMessageBatchRequestEntry;
|
|
126
65
|
(function (DeleteMessageBatchRequestEntry) {
|
|
127
66
|
DeleteMessageBatchRequestEntry.filterSensitiveLog = (obj) => ({
|
|
@@ -164,12 +103,6 @@ var GetQueueAttributesResult;
|
|
|
164
103
|
...obj,
|
|
165
104
|
});
|
|
166
105
|
})(GetQueueAttributesResult = exports.GetQueueAttributesResult || (exports.GetQueueAttributesResult = {}));
|
|
167
|
-
var InvalidAttributeName;
|
|
168
|
-
(function (InvalidAttributeName) {
|
|
169
|
-
InvalidAttributeName.filterSensitiveLog = (obj) => ({
|
|
170
|
-
...obj,
|
|
171
|
-
});
|
|
172
|
-
})(InvalidAttributeName = exports.InvalidAttributeName || (exports.InvalidAttributeName = {}));
|
|
173
106
|
var GetQueueUrlRequest;
|
|
174
107
|
(function (GetQueueUrlRequest) {
|
|
175
108
|
GetQueueUrlRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -182,12 +115,6 @@ var GetQueueUrlResult;
|
|
|
182
115
|
...obj,
|
|
183
116
|
});
|
|
184
117
|
})(GetQueueUrlResult = exports.GetQueueUrlResult || (exports.GetQueueUrlResult = {}));
|
|
185
|
-
var QueueDoesNotExist;
|
|
186
|
-
(function (QueueDoesNotExist) {
|
|
187
|
-
QueueDoesNotExist.filterSensitiveLog = (obj) => ({
|
|
188
|
-
...obj,
|
|
189
|
-
});
|
|
190
|
-
})(QueueDoesNotExist = exports.QueueDoesNotExist || (exports.QueueDoesNotExist = {}));
|
|
191
118
|
var ListDeadLetterSourceQueuesRequest;
|
|
192
119
|
(function (ListDeadLetterSourceQueuesRequest) {
|
|
193
120
|
ListDeadLetterSourceQueuesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -224,12 +151,6 @@ var ListQueueTagsResult;
|
|
|
224
151
|
...obj,
|
|
225
152
|
});
|
|
226
153
|
})(ListQueueTagsResult = exports.ListQueueTagsResult || (exports.ListQueueTagsResult = {}));
|
|
227
|
-
var PurgeQueueInProgress;
|
|
228
|
-
(function (PurgeQueueInProgress) {
|
|
229
|
-
PurgeQueueInProgress.filterSensitiveLog = (obj) => ({
|
|
230
|
-
...obj,
|
|
231
|
-
});
|
|
232
|
-
})(PurgeQueueInProgress = exports.PurgeQueueInProgress || (exports.PurgeQueueInProgress = {}));
|
|
233
154
|
var PurgeQueueRequest;
|
|
234
155
|
(function (PurgeQueueRequest) {
|
|
235
156
|
PurgeQueueRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -266,12 +187,6 @@ var RemovePermissionRequest;
|
|
|
266
187
|
...obj,
|
|
267
188
|
});
|
|
268
189
|
})(RemovePermissionRequest = exports.RemovePermissionRequest || (exports.RemovePermissionRequest = {}));
|
|
269
|
-
var InvalidMessageContents;
|
|
270
|
-
(function (InvalidMessageContents) {
|
|
271
|
-
InvalidMessageContents.filterSensitiveLog = (obj) => ({
|
|
272
|
-
...obj,
|
|
273
|
-
});
|
|
274
|
-
})(InvalidMessageContents = exports.InvalidMessageContents || (exports.InvalidMessageContents = {}));
|
|
275
190
|
var MessageSystemAttributeValue;
|
|
276
191
|
(function (MessageSystemAttributeValue) {
|
|
277
192
|
MessageSystemAttributeValue.filterSensitiveLog = (obj) => ({
|
|
@@ -290,18 +205,6 @@ var SendMessageResult;
|
|
|
290
205
|
...obj,
|
|
291
206
|
});
|
|
292
207
|
})(SendMessageResult = exports.SendMessageResult || (exports.SendMessageResult = {}));
|
|
293
|
-
var UnsupportedOperation;
|
|
294
|
-
(function (UnsupportedOperation) {
|
|
295
|
-
UnsupportedOperation.filterSensitiveLog = (obj) => ({
|
|
296
|
-
...obj,
|
|
297
|
-
});
|
|
298
|
-
})(UnsupportedOperation = exports.UnsupportedOperation || (exports.UnsupportedOperation = {}));
|
|
299
|
-
var BatchRequestTooLong;
|
|
300
|
-
(function (BatchRequestTooLong) {
|
|
301
|
-
BatchRequestTooLong.filterSensitiveLog = (obj) => ({
|
|
302
|
-
...obj,
|
|
303
|
-
});
|
|
304
|
-
})(BatchRequestTooLong = exports.BatchRequestTooLong || (exports.BatchRequestTooLong = {}));
|
|
305
208
|
var SendMessageBatchRequestEntry;
|
|
306
209
|
(function (SendMessageBatchRequestEntry) {
|
|
307
210
|
SendMessageBatchRequestEntry.filterSensitiveLog = (obj) => ({
|
|
@@ -14,13 +14,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
14
14
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
15
15
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
16
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
18
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
17
19
|
const getRuntimeConfig = (config) => {
|
|
18
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);
|
|
22
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
19
23
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
20
24
|
return {
|
|
21
25
|
...clientSharedValues,
|
|
22
26
|
...config,
|
|
23
27
|
runtime: "browser",
|
|
28
|
+
defaultsMode,
|
|
24
29
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
25
30
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
26
31
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -29,8 +34,8 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
35
|
md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : md5_js_1.Md5,
|
|
31
36
|
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
32
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(),
|
|
33
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (() =>
|
|
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
|
+
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),
|
|
34
39
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
|
|
35
40
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : fetch_http_handler_1.streamCollector,
|
|
36
41
|
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -32,8 +35,11 @@ const getRuntimeConfig = (config) => {
|
|
|
32
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
36
|
md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : hash_node_1.Hash.bind(null, "md5"),
|
|
34
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),
|
|
35
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(),
|
|
36
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig(
|
|
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({
|
|
40
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
41
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
42
|
+
}),
|
|
37
43
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
|
|
38
44
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
|
|
39
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),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "sqs.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "sqs-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "sqs.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "sqs-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -45,10 +37,6 @@ var regionHash = {
|
|
|
45
37
|
},
|
|
46
38
|
"us-west-1": {
|
|
47
39
|
variants: [
|
|
48
|
-
{
|
|
49
|
-
hostname: "sqs.us-west-1.amazonaws.com",
|
|
50
|
-
tags: [],
|
|
51
|
-
},
|
|
52
40
|
{
|
|
53
41
|
hostname: "sqs-fips.us-west-1.amazonaws.com",
|
|
54
42
|
tags: ["fips"],
|
|
@@ -57,10 +45,6 @@ var regionHash = {
|
|
|
57
45
|
},
|
|
58
46
|
"us-west-2": {
|
|
59
47
|
variants: [
|
|
60
|
-
{
|
|
61
|
-
hostname: "sqs.us-west-2.amazonaws.com",
|
|
62
|
-
tags: [],
|
|
63
|
-
},
|
|
64
48
|
{
|
|
65
49
|
hostname: "sqs-fips.us-west-2.amazonaws.com",
|
|
66
50
|
tags: ["fips"],
|
|
@@ -79,6 +63,7 @@ var partitionHash = {
|
|
|
79
63
|
"ap-south-1",
|
|
80
64
|
"ap-southeast-1",
|
|
81
65
|
"ap-southeast-2",
|
|
66
|
+
"ap-southeast-3",
|
|
82
67
|
"ca-central-1",
|
|
83
68
|
"eu-central-1",
|
|
84
69
|
"eu-north-1",
|
|
@@ -3,26 +3,10 @@ export var AddPermissionRequest;
|
|
|
3
3
|
(function (AddPermissionRequest) {
|
|
4
4
|
AddPermissionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
5
|
})(AddPermissionRequest || (AddPermissionRequest = {}));
|
|
6
|
-
export var OverLimit;
|
|
7
|
-
(function (OverLimit) {
|
|
8
|
-
OverLimit.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
-
})(OverLimit || (OverLimit = {}));
|
|
10
6
|
export var ChangeMessageVisibilityRequest;
|
|
11
7
|
(function (ChangeMessageVisibilityRequest) {
|
|
12
8
|
ChangeMessageVisibilityRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
9
|
})(ChangeMessageVisibilityRequest || (ChangeMessageVisibilityRequest = {}));
|
|
14
|
-
export var MessageNotInflight;
|
|
15
|
-
(function (MessageNotInflight) {
|
|
16
|
-
MessageNotInflight.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
-
})(MessageNotInflight || (MessageNotInflight = {}));
|
|
18
|
-
export var ReceiptHandleIsInvalid;
|
|
19
|
-
(function (ReceiptHandleIsInvalid) {
|
|
20
|
-
ReceiptHandleIsInvalid.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(ReceiptHandleIsInvalid || (ReceiptHandleIsInvalid = {}));
|
|
22
|
-
export var BatchEntryIdsNotDistinct;
|
|
23
|
-
(function (BatchEntryIdsNotDistinct) {
|
|
24
|
-
BatchEntryIdsNotDistinct.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
25
|
-
})(BatchEntryIdsNotDistinct || (BatchEntryIdsNotDistinct = {}));
|
|
26
10
|
export var ChangeMessageVisibilityBatchRequestEntry;
|
|
27
11
|
(function (ChangeMessageVisibilityBatchRequestEntry) {
|
|
28
12
|
ChangeMessageVisibilityBatchRequestEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -43,18 +27,6 @@ export var ChangeMessageVisibilityBatchResult;
|
|
|
43
27
|
(function (ChangeMessageVisibilityBatchResult) {
|
|
44
28
|
ChangeMessageVisibilityBatchResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
29
|
})(ChangeMessageVisibilityBatchResult || (ChangeMessageVisibilityBatchResult = {}));
|
|
46
|
-
export var EmptyBatchRequest;
|
|
47
|
-
(function (EmptyBatchRequest) {
|
|
48
|
-
EmptyBatchRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
-
})(EmptyBatchRequest || (EmptyBatchRequest = {}));
|
|
50
|
-
export var InvalidBatchEntryId;
|
|
51
|
-
(function (InvalidBatchEntryId) {
|
|
52
|
-
InvalidBatchEntryId.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
|
-
})(InvalidBatchEntryId || (InvalidBatchEntryId = {}));
|
|
54
|
-
export var TooManyEntriesInBatchRequest;
|
|
55
|
-
(function (TooManyEntriesInBatchRequest) {
|
|
56
|
-
TooManyEntriesInBatchRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
|
-
})(TooManyEntriesInBatchRequest || (TooManyEntriesInBatchRequest = {}));
|
|
58
30
|
export var CreateQueueRequest;
|
|
59
31
|
(function (CreateQueueRequest) {
|
|
60
32
|
CreateQueueRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -63,22 +35,10 @@ export var CreateQueueResult;
|
|
|
63
35
|
(function (CreateQueueResult) {
|
|
64
36
|
CreateQueueResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
37
|
})(CreateQueueResult || (CreateQueueResult = {}));
|
|
66
|
-
export var QueueDeletedRecently;
|
|
67
|
-
(function (QueueDeletedRecently) {
|
|
68
|
-
QueueDeletedRecently.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
-
})(QueueDeletedRecently || (QueueDeletedRecently = {}));
|
|
70
|
-
export var QueueNameExists;
|
|
71
|
-
(function (QueueNameExists) {
|
|
72
|
-
QueueNameExists.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
|
-
})(QueueNameExists || (QueueNameExists = {}));
|
|
74
38
|
export var DeleteMessageRequest;
|
|
75
39
|
(function (DeleteMessageRequest) {
|
|
76
40
|
DeleteMessageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
41
|
})(DeleteMessageRequest || (DeleteMessageRequest = {}));
|
|
78
|
-
export var InvalidIdFormat;
|
|
79
|
-
(function (InvalidIdFormat) {
|
|
80
|
-
InvalidIdFormat.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
81
|
-
})(InvalidIdFormat || (InvalidIdFormat = {}));
|
|
82
42
|
export var DeleteMessageBatchRequestEntry;
|
|
83
43
|
(function (DeleteMessageBatchRequestEntry) {
|
|
84
44
|
DeleteMessageBatchRequestEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -107,10 +67,6 @@ export var GetQueueAttributesResult;
|
|
|
107
67
|
(function (GetQueueAttributesResult) {
|
|
108
68
|
GetQueueAttributesResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
69
|
})(GetQueueAttributesResult || (GetQueueAttributesResult = {}));
|
|
110
|
-
export var InvalidAttributeName;
|
|
111
|
-
(function (InvalidAttributeName) {
|
|
112
|
-
InvalidAttributeName.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
-
})(InvalidAttributeName || (InvalidAttributeName = {}));
|
|
114
70
|
export var GetQueueUrlRequest;
|
|
115
71
|
(function (GetQueueUrlRequest) {
|
|
116
72
|
GetQueueUrlRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -119,10 +75,6 @@ export var GetQueueUrlResult;
|
|
|
119
75
|
(function (GetQueueUrlResult) {
|
|
120
76
|
GetQueueUrlResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
77
|
})(GetQueueUrlResult || (GetQueueUrlResult = {}));
|
|
122
|
-
export var QueueDoesNotExist;
|
|
123
|
-
(function (QueueDoesNotExist) {
|
|
124
|
-
QueueDoesNotExist.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
-
})(QueueDoesNotExist || (QueueDoesNotExist = {}));
|
|
126
78
|
export var ListDeadLetterSourceQueuesRequest;
|
|
127
79
|
(function (ListDeadLetterSourceQueuesRequest) {
|
|
128
80
|
ListDeadLetterSourceQueuesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -147,10 +99,6 @@ export var ListQueueTagsResult;
|
|
|
147
99
|
(function (ListQueueTagsResult) {
|
|
148
100
|
ListQueueTagsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
101
|
})(ListQueueTagsResult || (ListQueueTagsResult = {}));
|
|
150
|
-
export var PurgeQueueInProgress;
|
|
151
|
-
(function (PurgeQueueInProgress) {
|
|
152
|
-
PurgeQueueInProgress.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
-
})(PurgeQueueInProgress || (PurgeQueueInProgress = {}));
|
|
154
102
|
export var PurgeQueueRequest;
|
|
155
103
|
(function (PurgeQueueRequest) {
|
|
156
104
|
PurgeQueueRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -175,10 +123,6 @@ export var RemovePermissionRequest;
|
|
|
175
123
|
(function (RemovePermissionRequest) {
|
|
176
124
|
RemovePermissionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
125
|
})(RemovePermissionRequest || (RemovePermissionRequest = {}));
|
|
178
|
-
export var InvalidMessageContents;
|
|
179
|
-
(function (InvalidMessageContents) {
|
|
180
|
-
InvalidMessageContents.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
-
})(InvalidMessageContents || (InvalidMessageContents = {}));
|
|
182
126
|
export var MessageSystemAttributeValue;
|
|
183
127
|
(function (MessageSystemAttributeValue) {
|
|
184
128
|
MessageSystemAttributeValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -191,14 +135,6 @@ export var SendMessageResult;
|
|
|
191
135
|
(function (SendMessageResult) {
|
|
192
136
|
SendMessageResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
137
|
})(SendMessageResult || (SendMessageResult = {}));
|
|
194
|
-
export var UnsupportedOperation;
|
|
195
|
-
(function (UnsupportedOperation) {
|
|
196
|
-
UnsupportedOperation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
-
})(UnsupportedOperation || (UnsupportedOperation = {}));
|
|
198
|
-
export var BatchRequestTooLong;
|
|
199
|
-
(function (BatchRequestTooLong) {
|
|
200
|
-
BatchRequestTooLong.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
201
|
-
})(BatchRequestTooLong || (BatchRequestTooLong = {}));
|
|
202
138
|
export var SendMessageBatchRequestEntry;
|
|
203
139
|
(function (SendMessageBatchRequestEntry) {
|
|
204
140
|
SendMessageBatchRequestEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { Md5 } from "@aws-sdk/md5-js";
|
|
8
8
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -11,8 +11,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
11
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
12
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
13
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
14
16
|
export var getRuntimeConfig = function (config) {
|
|
15
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
18
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
19
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
16
20
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
17
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Md5, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new
|
|
21
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Md5, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
22
|
+
switch (_a.label) {
|
|
23
|
+
case 0: return [4, defaultConfigProvider()];
|
|
24
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
25
|
+
}
|
|
26
|
+
}); }); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
|
|
18
27
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Hash.bind(null, "md5"), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Hash.bind(null, "md5"), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
|
|
21
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
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";
|
|
9
9
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
10
10
|
import { ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput } from "./commands/ChangeMessageVisibilityBatchCommand";
|
|
@@ -134,6 +134,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
134
134
|
* @internal
|
|
135
135
|
*/
|
|
136
136
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
137
|
+
/**
|
|
138
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
139
|
+
*/
|
|
140
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
137
141
|
}
|
|
138
142
|
declare type SQSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
139
143
|
/**
|
|
@@ -43,12 +43,6 @@ export interface OverLimit extends __SmithyException, $MetadataBearer {
|
|
|
43
43
|
name: "OverLimit";
|
|
44
44
|
$fault: "client";
|
|
45
45
|
}
|
|
46
|
-
export declare namespace OverLimit {
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
|
-
const filterSensitiveLog: (obj: OverLimit) => any;
|
|
51
|
-
}
|
|
52
46
|
export interface ChangeMessageVisibilityRequest {
|
|
53
47
|
/**
|
|
54
48
|
* <p>The URL of the Amazon SQS queue whose message's visibility is changed.</p>
|
|
@@ -79,12 +73,6 @@ export interface MessageNotInflight extends __SmithyException, $MetadataBearer {
|
|
|
79
73
|
name: "MessageNotInflight";
|
|
80
74
|
$fault: "client";
|
|
81
75
|
}
|
|
82
|
-
export declare namespace MessageNotInflight {
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
const filterSensitiveLog: (obj: MessageNotInflight) => any;
|
|
87
|
-
}
|
|
88
76
|
/**
|
|
89
77
|
* <p>The specified receipt handle isn't valid.</p>
|
|
90
78
|
*/
|
|
@@ -92,12 +80,6 @@ export interface ReceiptHandleIsInvalid extends __SmithyException, $MetadataBear
|
|
|
92
80
|
name: "ReceiptHandleIsInvalid";
|
|
93
81
|
$fault: "client";
|
|
94
82
|
}
|
|
95
|
-
export declare namespace ReceiptHandleIsInvalid {
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
const filterSensitiveLog: (obj: ReceiptHandleIsInvalid) => any;
|
|
100
|
-
}
|
|
101
83
|
/**
|
|
102
84
|
* <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
|
|
103
85
|
*/
|
|
@@ -105,12 +87,6 @@ export interface BatchEntryIdsNotDistinct extends __SmithyException, $MetadataBe
|
|
|
105
87
|
name: "BatchEntryIdsNotDistinct";
|
|
106
88
|
$fault: "client";
|
|
107
89
|
}
|
|
108
|
-
export declare namespace BatchEntryIdsNotDistinct {
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
const filterSensitiveLog: (obj: BatchEntryIdsNotDistinct) => any;
|
|
113
|
-
}
|
|
114
90
|
/**
|
|
115
91
|
* <p>Encloses a receipt handle and an entry id for each message in <code>
|
|
116
92
|
* <a>ChangeMessageVisibilityBatch</a>.</code>
|
|
@@ -251,12 +227,6 @@ export interface EmptyBatchRequest extends __SmithyException, $MetadataBearer {
|
|
|
251
227
|
name: "EmptyBatchRequest";
|
|
252
228
|
$fault: "client";
|
|
253
229
|
}
|
|
254
|
-
export declare namespace EmptyBatchRequest {
|
|
255
|
-
/**
|
|
256
|
-
* @internal
|
|
257
|
-
*/
|
|
258
|
-
const filterSensitiveLog: (obj: EmptyBatchRequest) => any;
|
|
259
|
-
}
|
|
260
230
|
/**
|
|
261
231
|
* <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification.</p>
|
|
262
232
|
*/
|
|
@@ -264,12 +234,6 @@ export interface InvalidBatchEntryId extends __SmithyException, $MetadataBearer
|
|
|
264
234
|
name: "InvalidBatchEntryId";
|
|
265
235
|
$fault: "client";
|
|
266
236
|
}
|
|
267
|
-
export declare namespace InvalidBatchEntryId {
|
|
268
|
-
/**
|
|
269
|
-
* @internal
|
|
270
|
-
*/
|
|
271
|
-
const filterSensitiveLog: (obj: InvalidBatchEntryId) => any;
|
|
272
|
-
}
|
|
273
237
|
/**
|
|
274
238
|
* <p>The batch request contains more entries than permissible.</p>
|
|
275
239
|
*/
|
|
@@ -277,12 +241,6 @@ export interface TooManyEntriesInBatchRequest extends __SmithyException, $Metada
|
|
|
277
241
|
name: "TooManyEntriesInBatchRequest";
|
|
278
242
|
$fault: "client";
|
|
279
243
|
}
|
|
280
|
-
export declare namespace TooManyEntriesInBatchRequest {
|
|
281
|
-
/**
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
284
|
-
const filterSensitiveLog: (obj: TooManyEntriesInBatchRequest) => any;
|
|
285
|
-
}
|
|
286
244
|
export declare type QueueAttributeName = "All" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesDelayed" | "ApproximateNumberOfMessagesNotVisible" | "ContentBasedDeduplication" | "CreatedTimestamp" | "DeduplicationScope" | "DelaySeconds" | "FifoQueue" | "FifoThroughputLimit" | "KmsDataKeyReusePeriodSeconds" | "KmsMasterKeyId" | "LastModifiedTimestamp" | "MaximumMessageSize" | "MessageRetentionPeriod" | "Policy" | "QueueArn" | "ReceiveMessageWaitTimeSeconds" | "RedriveAllowPolicy" | "RedrivePolicy" | "SqsManagedSseEnabled" | "VisibilityTimeout";
|
|
287
245
|
/**
|
|
288
246
|
* <p></p>
|
|
@@ -535,12 +493,6 @@ export interface QueueDeletedRecently extends __SmithyException, $MetadataBearer
|
|
|
535
493
|
name: "QueueDeletedRecently";
|
|
536
494
|
$fault: "client";
|
|
537
495
|
}
|
|
538
|
-
export declare namespace QueueDeletedRecently {
|
|
539
|
-
/**
|
|
540
|
-
* @internal
|
|
541
|
-
*/
|
|
542
|
-
const filterSensitiveLog: (obj: QueueDeletedRecently) => any;
|
|
543
|
-
}
|
|
544
496
|
/**
|
|
545
497
|
* <p>A queue with this name already exists. Amazon SQS returns this error only if the request
|
|
546
498
|
* includes attributes whose values differ from those of the existing queue.</p>
|
|
@@ -549,12 +501,6 @@ export interface QueueNameExists extends __SmithyException, $MetadataBearer {
|
|
|
549
501
|
name: "QueueNameExists";
|
|
550
502
|
$fault: "client";
|
|
551
503
|
}
|
|
552
|
-
export declare namespace QueueNameExists {
|
|
553
|
-
/**
|
|
554
|
-
* @internal
|
|
555
|
-
*/
|
|
556
|
-
const filterSensitiveLog: (obj: QueueNameExists) => any;
|
|
557
|
-
}
|
|
558
504
|
/**
|
|
559
505
|
* <p></p>
|
|
560
506
|
*/
|
|
@@ -582,12 +528,6 @@ export interface InvalidIdFormat extends __SmithyException, $MetadataBearer {
|
|
|
582
528
|
name: "InvalidIdFormat";
|
|
583
529
|
$fault: "client";
|
|
584
530
|
}
|
|
585
|
-
export declare namespace InvalidIdFormat {
|
|
586
|
-
/**
|
|
587
|
-
* @internal
|
|
588
|
-
*/
|
|
589
|
-
const filterSensitiveLog: (obj: InvalidIdFormat) => any;
|
|
590
|
-
}
|
|
591
531
|
/**
|
|
592
532
|
* <p>Encloses a receipt handle and an identifier for it.</p>
|
|
593
533
|
*/
|
|
@@ -904,12 +844,6 @@ export interface InvalidAttributeName extends __SmithyException, $MetadataBearer
|
|
|
904
844
|
name: "InvalidAttributeName";
|
|
905
845
|
$fault: "client";
|
|
906
846
|
}
|
|
907
|
-
export declare namespace InvalidAttributeName {
|
|
908
|
-
/**
|
|
909
|
-
* @internal
|
|
910
|
-
*/
|
|
911
|
-
const filterSensitiveLog: (obj: InvalidAttributeName) => any;
|
|
912
|
-
}
|
|
913
847
|
/**
|
|
914
848
|
* <p></p>
|
|
915
849
|
*/
|
|
@@ -952,12 +886,6 @@ export interface QueueDoesNotExist extends __SmithyException, $MetadataBearer {
|
|
|
952
886
|
name: "QueueDoesNotExist";
|
|
953
887
|
$fault: "client";
|
|
954
888
|
}
|
|
955
|
-
export declare namespace QueueDoesNotExist {
|
|
956
|
-
/**
|
|
957
|
-
* @internal
|
|
958
|
-
*/
|
|
959
|
-
const filterSensitiveLog: (obj: QueueDoesNotExist) => any;
|
|
960
|
-
}
|
|
961
889
|
/**
|
|
962
890
|
* <p></p>
|
|
963
891
|
*/
|
|
@@ -1081,12 +1009,6 @@ export interface PurgeQueueInProgress extends __SmithyException, $MetadataBearer
|
|
|
1081
1009
|
name: "PurgeQueueInProgress";
|
|
1082
1010
|
$fault: "client";
|
|
1083
1011
|
}
|
|
1084
|
-
export declare namespace PurgeQueueInProgress {
|
|
1085
|
-
/**
|
|
1086
|
-
* @internal
|
|
1087
|
-
*/
|
|
1088
|
-
const filterSensitiveLog: (obj: PurgeQueueInProgress) => any;
|
|
1089
|
-
}
|
|
1090
1012
|
/**
|
|
1091
1013
|
* <p></p>
|
|
1092
1014
|
*/
|
|
@@ -1444,12 +1366,6 @@ export interface InvalidMessageContents extends __SmithyException, $MetadataBear
|
|
|
1444
1366
|
name: "InvalidMessageContents";
|
|
1445
1367
|
$fault: "client";
|
|
1446
1368
|
}
|
|
1447
|
-
export declare namespace InvalidMessageContents {
|
|
1448
|
-
/**
|
|
1449
|
-
* @internal
|
|
1450
|
-
*/
|
|
1451
|
-
const filterSensitiveLog: (obj: InvalidMessageContents) => any;
|
|
1452
|
-
}
|
|
1453
1369
|
export declare type MessageSystemAttributeNameForSends = "AWSTraceHeader";
|
|
1454
1370
|
/**
|
|
1455
1371
|
* <p>The user-specified message system attribute value. For string data types, the <code>Value</code> attribute has the same restrictions on the content as the message body. For more information, see <code>
|
|
@@ -1673,12 +1589,6 @@ export interface UnsupportedOperation extends __SmithyException, $MetadataBearer
|
|
|
1673
1589
|
name: "UnsupportedOperation";
|
|
1674
1590
|
$fault: "client";
|
|
1675
1591
|
}
|
|
1676
|
-
export declare namespace UnsupportedOperation {
|
|
1677
|
-
/**
|
|
1678
|
-
* @internal
|
|
1679
|
-
*/
|
|
1680
|
-
const filterSensitiveLog: (obj: UnsupportedOperation) => any;
|
|
1681
|
-
}
|
|
1682
1592
|
/**
|
|
1683
1593
|
* <p>The length of all the messages put together is more than the limit.</p>
|
|
1684
1594
|
*/
|
|
@@ -1686,12 +1596,6 @@ export interface BatchRequestTooLong extends __SmithyException, $MetadataBearer
|
|
|
1686
1596
|
name: "BatchRequestTooLong";
|
|
1687
1597
|
$fault: "client";
|
|
1688
1598
|
}
|
|
1689
|
-
export declare namespace BatchRequestTooLong {
|
|
1690
|
-
/**
|
|
1691
|
-
* @internal
|
|
1692
|
-
*/
|
|
1693
|
-
const filterSensitiveLog: (obj: BatchRequestTooLong) => any;
|
|
1694
|
-
}
|
|
1695
1599
|
/**
|
|
1696
1600
|
* <p>Contains the details of a single Amazon SQS message along with an <code>Id</code>.</p>
|
|
1697
1601
|
*/
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { SQSClientConfig } from "./SQSClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -13,7 +14,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
|
|
3
3
|
import { SQSClientConfig } from "./SQSClient";
|
|
4
4
|
/**
|
|
@@ -6,15 +6,16 @@ import { SQSClientConfig } from "./SQSClient";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
8
8
|
runtime: string;
|
|
9
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
10
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
11
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
12
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
12
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
13
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
14
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
md5: __HashConstructor;
|
|
16
17
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
18
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
18
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
19
20
|
sha256: __HashConstructor;
|
|
20
21
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
28
28
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
29
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
29
30
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
31
|
tls?: boolean | undefined;
|
|
31
32
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
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";
|
|
9
9
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
10
10
|
import { ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput } from "./commands/ChangeMessageVisibilityBatchCommand";
|
|
@@ -73,6 +73,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
73
73
|
md5?: __HashConstructor;
|
|
74
74
|
|
|
75
75
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
76
|
+
|
|
77
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
76
78
|
}
|
|
77
79
|
declare type SQSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
78
80
|
|
|
@@ -19,10 +19,6 @@ export interface OverLimit extends __SmithyException, $MetadataBearer {
|
|
|
19
19
|
name: "OverLimit";
|
|
20
20
|
$fault: "client";
|
|
21
21
|
}
|
|
22
|
-
export declare namespace OverLimit {
|
|
23
|
-
|
|
24
|
-
const filterSensitiveLog: (obj: OverLimit) => any;
|
|
25
|
-
}
|
|
26
22
|
export interface ChangeMessageVisibilityRequest {
|
|
27
23
|
|
|
28
24
|
QueueUrl: string | undefined;
|
|
@@ -40,28 +36,16 @@ export interface MessageNotInflight extends __SmithyException, $MetadataBearer {
|
|
|
40
36
|
name: "MessageNotInflight";
|
|
41
37
|
$fault: "client";
|
|
42
38
|
}
|
|
43
|
-
export declare namespace MessageNotInflight {
|
|
44
|
-
|
|
45
|
-
const filterSensitiveLog: (obj: MessageNotInflight) => any;
|
|
46
|
-
}
|
|
47
39
|
|
|
48
40
|
export interface ReceiptHandleIsInvalid extends __SmithyException, $MetadataBearer {
|
|
49
41
|
name: "ReceiptHandleIsInvalid";
|
|
50
42
|
$fault: "client";
|
|
51
43
|
}
|
|
52
|
-
export declare namespace ReceiptHandleIsInvalid {
|
|
53
|
-
|
|
54
|
-
const filterSensitiveLog: (obj: ReceiptHandleIsInvalid) => any;
|
|
55
|
-
}
|
|
56
44
|
|
|
57
45
|
export interface BatchEntryIdsNotDistinct extends __SmithyException, $MetadataBearer {
|
|
58
46
|
name: "BatchEntryIdsNotDistinct";
|
|
59
47
|
$fault: "client";
|
|
60
48
|
}
|
|
61
|
-
export declare namespace BatchEntryIdsNotDistinct {
|
|
62
|
-
|
|
63
|
-
const filterSensitiveLog: (obj: BatchEntryIdsNotDistinct) => any;
|
|
64
|
-
}
|
|
65
49
|
|
|
66
50
|
export interface ChangeMessageVisibilityBatchRequestEntry {
|
|
67
51
|
|
|
@@ -126,28 +110,16 @@ export interface EmptyBatchRequest extends __SmithyException, $MetadataBearer {
|
|
|
126
110
|
name: "EmptyBatchRequest";
|
|
127
111
|
$fault: "client";
|
|
128
112
|
}
|
|
129
|
-
export declare namespace EmptyBatchRequest {
|
|
130
|
-
|
|
131
|
-
const filterSensitiveLog: (obj: EmptyBatchRequest) => any;
|
|
132
|
-
}
|
|
133
113
|
|
|
134
114
|
export interface InvalidBatchEntryId extends __SmithyException, $MetadataBearer {
|
|
135
115
|
name: "InvalidBatchEntryId";
|
|
136
116
|
$fault: "client";
|
|
137
117
|
}
|
|
138
|
-
export declare namespace InvalidBatchEntryId {
|
|
139
|
-
|
|
140
|
-
const filterSensitiveLog: (obj: InvalidBatchEntryId) => any;
|
|
141
|
-
}
|
|
142
118
|
|
|
143
119
|
export interface TooManyEntriesInBatchRequest extends __SmithyException, $MetadataBearer {
|
|
144
120
|
name: "TooManyEntriesInBatchRequest";
|
|
145
121
|
$fault: "client";
|
|
146
122
|
}
|
|
147
|
-
export declare namespace TooManyEntriesInBatchRequest {
|
|
148
|
-
|
|
149
|
-
const filterSensitiveLog: (obj: TooManyEntriesInBatchRequest) => any;
|
|
150
|
-
}
|
|
151
123
|
export declare type QueueAttributeName = "All" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesDelayed" | "ApproximateNumberOfMessagesNotVisible" | "ContentBasedDeduplication" | "CreatedTimestamp" | "DeduplicationScope" | "DelaySeconds" | "FifoQueue" | "FifoThroughputLimit" | "KmsDataKeyReusePeriodSeconds" | "KmsMasterKeyId" | "LastModifiedTimestamp" | "MaximumMessageSize" | "MessageRetentionPeriod" | "Policy" | "QueueArn" | "ReceiveMessageWaitTimeSeconds" | "RedriveAllowPolicy" | "RedrivePolicy" | "SqsManagedSseEnabled" | "VisibilityTimeout";
|
|
152
124
|
|
|
153
125
|
export interface CreateQueueRequest {
|
|
@@ -180,19 +152,11 @@ export interface QueueDeletedRecently extends __SmithyException, $MetadataBearer
|
|
|
180
152
|
name: "QueueDeletedRecently";
|
|
181
153
|
$fault: "client";
|
|
182
154
|
}
|
|
183
|
-
export declare namespace QueueDeletedRecently {
|
|
184
|
-
|
|
185
|
-
const filterSensitiveLog: (obj: QueueDeletedRecently) => any;
|
|
186
|
-
}
|
|
187
155
|
|
|
188
156
|
export interface QueueNameExists extends __SmithyException, $MetadataBearer {
|
|
189
157
|
name: "QueueNameExists";
|
|
190
158
|
$fault: "client";
|
|
191
159
|
}
|
|
192
|
-
export declare namespace QueueNameExists {
|
|
193
|
-
|
|
194
|
-
const filterSensitiveLog: (obj: QueueNameExists) => any;
|
|
195
|
-
}
|
|
196
160
|
|
|
197
161
|
export interface DeleteMessageRequest {
|
|
198
162
|
|
|
@@ -209,10 +173,6 @@ export interface InvalidIdFormat extends __SmithyException, $MetadataBearer {
|
|
|
209
173
|
name: "InvalidIdFormat";
|
|
210
174
|
$fault: "client";
|
|
211
175
|
}
|
|
212
|
-
export declare namespace InvalidIdFormat {
|
|
213
|
-
|
|
214
|
-
const filterSensitiveLog: (obj: InvalidIdFormat) => any;
|
|
215
|
-
}
|
|
216
176
|
|
|
217
177
|
export interface DeleteMessageBatchRequestEntry {
|
|
218
178
|
|
|
@@ -291,10 +251,6 @@ export interface InvalidAttributeName extends __SmithyException, $MetadataBearer
|
|
|
291
251
|
name: "InvalidAttributeName";
|
|
292
252
|
$fault: "client";
|
|
293
253
|
}
|
|
294
|
-
export declare namespace InvalidAttributeName {
|
|
295
|
-
|
|
296
|
-
const filterSensitiveLog: (obj: InvalidAttributeName) => any;
|
|
297
|
-
}
|
|
298
254
|
|
|
299
255
|
export interface GetQueueUrlRequest {
|
|
300
256
|
|
|
@@ -320,10 +276,6 @@ export interface QueueDoesNotExist extends __SmithyException, $MetadataBearer {
|
|
|
320
276
|
name: "QueueDoesNotExist";
|
|
321
277
|
$fault: "client";
|
|
322
278
|
}
|
|
323
|
-
export declare namespace QueueDoesNotExist {
|
|
324
|
-
|
|
325
|
-
const filterSensitiveLog: (obj: QueueDoesNotExist) => any;
|
|
326
|
-
}
|
|
327
279
|
|
|
328
280
|
export interface ListDeadLetterSourceQueuesRequest {
|
|
329
281
|
|
|
@@ -395,10 +347,6 @@ export interface PurgeQueueInProgress extends __SmithyException, $MetadataBearer
|
|
|
395
347
|
name: "PurgeQueueInProgress";
|
|
396
348
|
$fault: "client";
|
|
397
349
|
}
|
|
398
|
-
export declare namespace PurgeQueueInProgress {
|
|
399
|
-
|
|
400
|
-
const filterSensitiveLog: (obj: PurgeQueueInProgress) => any;
|
|
401
|
-
}
|
|
402
350
|
|
|
403
351
|
export interface PurgeQueueRequest {
|
|
404
352
|
|
|
@@ -497,10 +445,6 @@ export interface InvalidMessageContents extends __SmithyException, $MetadataBear
|
|
|
497
445
|
name: "InvalidMessageContents";
|
|
498
446
|
$fault: "client";
|
|
499
447
|
}
|
|
500
|
-
export declare namespace InvalidMessageContents {
|
|
501
|
-
|
|
502
|
-
const filterSensitiveLog: (obj: InvalidMessageContents) => any;
|
|
503
|
-
}
|
|
504
448
|
export declare type MessageSystemAttributeNameForSends = "AWSTraceHeader";
|
|
505
449
|
|
|
506
450
|
export interface MessageSystemAttributeValue {
|
|
@@ -566,19 +510,11 @@ export interface UnsupportedOperation extends __SmithyException, $MetadataBearer
|
|
|
566
510
|
name: "UnsupportedOperation";
|
|
567
511
|
$fault: "client";
|
|
568
512
|
}
|
|
569
|
-
export declare namespace UnsupportedOperation {
|
|
570
|
-
|
|
571
|
-
const filterSensitiveLog: (obj: UnsupportedOperation) => any;
|
|
572
|
-
}
|
|
573
513
|
|
|
574
514
|
export interface BatchRequestTooLong extends __SmithyException, $MetadataBearer {
|
|
575
515
|
name: "BatchRequestTooLong";
|
|
576
516
|
$fault: "client";
|
|
577
517
|
}
|
|
578
|
-
export declare namespace BatchRequestTooLong {
|
|
579
|
-
|
|
580
|
-
const filterSensitiveLog: (obj: BatchRequestTooLong) => any;
|
|
581
|
-
}
|
|
582
518
|
|
|
583
519
|
export interface SendMessageBatchRequestEntry {
|
|
584
520
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { SQSClientConfig } from "./SQSClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -11,7 +12,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
13
14
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
|
|
3
3
|
import { SQSClientConfig } from "./SQSClient";
|
|
4
4
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
8
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
9
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
10
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
11
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
14
|
md5: __HashConstructor;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: __HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
|
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
26
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
27
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
28
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
29
|
tls?: boolean | undefined;
|
|
29
30
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sqs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.1",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,52 +18,48 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/md5-js": "3.
|
|
31
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-sdk-sqs": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
47
|
-
"@aws-sdk/util-base64-node": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
49
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
52
|
-
"@aws-sdk/util-
|
|
53
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.1",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.1",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.1",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.1",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.1",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.1",
|
|
27
|
+
"@aws-sdk/md5-js": "3.47.1",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.47.1",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.47.1",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.47.1",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.47.1",
|
|
32
|
+
"@aws-sdk/middleware-sdk-sqs": "3.47.1",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.47.1",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.47.1",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.47.1",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.47.1",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.47.1",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.47.1",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.47.1",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.47.1",
|
|
41
|
+
"@aws-sdk/types": "3.47.1",
|
|
42
|
+
"@aws-sdk/url-parser": "3.47.1",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.1",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.1",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.47.1",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.47.1",
|
|
54
53
|
"entities": "2.2.0",
|
|
55
54
|
"fast-xml-parser": "3.19.0",
|
|
56
55
|
"tslib": "^2.3.0"
|
|
57
56
|
},
|
|
58
57
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
-
"@types/node": "^12.7.5"
|
|
61
|
-
"downlevel-dts": "0.7.0",
|
|
62
|
-
"jest": "^26.1.0",
|
|
63
|
-
"rimraf": "^3.0.0",
|
|
64
|
-
"ts-jest": "^26.4.1",
|
|
65
|
-
"typedoc": "^0.19.2",
|
|
66
|
-
"typescript": "~4.3.5"
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
59
|
+
"@types/node": "^12.7.5"
|
|
67
60
|
},
|
|
68
61
|
"engines": {
|
|
69
|
-
"node": ">=
|
|
62
|
+
"node": ">=12.0.0"
|
|
70
63
|
},
|
|
71
64
|
"typesVersions": {
|
|
72
65
|
"<4.0": {
|