@aws-sdk/client-sns 3.46.0 → 3.48.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.
- package/CHANGELOG.md +36 -0
- package/dist-cjs/endpoints.js +0 -16
- package/dist-cjs/models/models_0.js +2 -195
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -16
- package/dist-es/models/models_0.js +0 -128
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/SNSClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -192
- 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/SNSClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -128
- 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 +35 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,42 @@
|
|
|
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.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-sns
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-sns
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-sns
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **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))
|
|
36
|
+
* 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))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
6
42
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
43
|
|
|
8
44
|
|
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: "sns.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "sns-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: "sns.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "sns-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: "sns.us-west-1.amazonaws.com",
|
|
52
|
-
tags: [],
|
|
53
|
-
},
|
|
54
42
|
{
|
|
55
43
|
hostname: "sns-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: "sns.us-west-2.amazonaws.com",
|
|
64
|
-
tags: [],
|
|
65
|
-
},
|
|
66
50
|
{
|
|
67
51
|
hostname: "sns-fips.us-west-2.amazonaws.com",
|
|
68
52
|
tags: ["fips"],
|
|
@@ -1,38 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.VerifySMSSandboxPhoneNumberResult = exports.VerifySMSSandboxPhoneNumberInput = exports.VerificationException = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.UnsubscribeInput = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubscribeResponse = exports.SubscribeInput = exports.SetTopicAttributesInput = exports.SetSubscriptionAttributesInput = exports.SetSMSAttributesResponse = exports.SetSMSAttributesInput = exports.SetPlatformApplicationAttributesInput = exports.SetEndpointAttributesInput = exports.RemovePermissionInput = void 0;
|
|
3
|
+
exports.ListSubscriptionsInput = exports.ListSMSSandboxPhoneNumbersResult = exports.SMSSandboxPhoneNumber = exports.SMSSandboxPhoneNumberVerificationStatus = exports.ListSMSSandboxPhoneNumbersInput = exports.ListPlatformApplicationsResponse = exports.PlatformApplication = exports.ListPlatformApplicationsInput = exports.ListPhoneNumbersOptedOutResponse = exports.ListPhoneNumbersOptedOutInput = exports.ListOriginationNumbersResult = exports.PhoneNumberInformation = exports.RouteType = exports.NumberCapability = exports.ListOriginationNumbersRequest = exports.ListEndpointsByPlatformApplicationResponse = exports.Endpoint = exports.ListEndpointsByPlatformApplicationInput = exports.GetTopicAttributesResponse = exports.GetTopicAttributesInput = exports.GetSubscriptionAttributesResponse = exports.GetSubscriptionAttributesInput = exports.GetSMSSandboxAccountStatusResult = exports.GetSMSSandboxAccountStatusInput = exports.GetSMSAttributesResponse = exports.GetSMSAttributesInput = exports.GetPlatformApplicationAttributesResponse = exports.GetPlatformApplicationAttributesInput = exports.GetEndpointAttributesResponse = exports.GetEndpointAttributesInput = exports.DeleteTopicInput = exports.DeleteSMSSandboxPhoneNumberResult = exports.DeleteSMSSandboxPhoneNumberInput = exports.DeletePlatformApplicationInput = exports.DeleteEndpointInput = exports.CreateTopicResponse = exports.CreateTopicInput = exports.Tag = exports.CreateSMSSandboxPhoneNumberResult = exports.CreateSMSSandboxPhoneNumberInput = exports.LanguageCodeString = exports.CreatePlatformEndpointInput = exports.CreateEndpointResponse = exports.CreatePlatformApplicationResponse = exports.CreatePlatformApplicationInput = exports.ConfirmSubscriptionResponse = exports.ConfirmSubscriptionInput = exports.CheckIfPhoneNumberIsOptedOutResponse = exports.CheckIfPhoneNumberIsOptedOutInput = exports.AddPermissionInput = void 0;
|
|
4
|
+
exports.VerifySMSSandboxPhoneNumberResult = exports.VerifySMSSandboxPhoneNumberInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.UnsubscribeInput = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubscribeResponse = exports.SubscribeInput = exports.SetTopicAttributesInput = exports.SetSubscriptionAttributesInput = exports.SetSMSAttributesResponse = exports.SetSMSAttributesInput = exports.SetPlatformApplicationAttributesInput = exports.SetEndpointAttributesInput = exports.RemovePermissionInput = exports.PublishBatchResponse = exports.PublishBatchResultEntry = exports.BatchResultErrorEntry = exports.PublishBatchInput = exports.PublishBatchRequestEntry = exports.PublishResponse = exports.PublishInput = exports.MessageAttributeValue = exports.OptInPhoneNumberResponse = exports.OptInPhoneNumberInput = exports.ListTopicsResponse = exports.Topic = exports.ListTopicsInput = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSubscriptionsByTopicResponse = exports.ListSubscriptionsByTopicInput = exports.ListSubscriptionsResponse = exports.Subscription = void 0;
|
|
6
5
|
var AddPermissionInput;
|
|
7
6
|
(function (AddPermissionInput) {
|
|
8
7
|
AddPermissionInput.filterSensitiveLog = (obj) => ({
|
|
9
8
|
...obj,
|
|
10
9
|
});
|
|
11
10
|
})(AddPermissionInput = exports.AddPermissionInput || (exports.AddPermissionInput = {}));
|
|
12
|
-
var AuthorizationErrorException;
|
|
13
|
-
(function (AuthorizationErrorException) {
|
|
14
|
-
AuthorizationErrorException.filterSensitiveLog = (obj) => ({
|
|
15
|
-
...obj,
|
|
16
|
-
});
|
|
17
|
-
})(AuthorizationErrorException = exports.AuthorizationErrorException || (exports.AuthorizationErrorException = {}));
|
|
18
|
-
var InternalErrorException;
|
|
19
|
-
(function (InternalErrorException) {
|
|
20
|
-
InternalErrorException.filterSensitiveLog = (obj) => ({
|
|
21
|
-
...obj,
|
|
22
|
-
});
|
|
23
|
-
})(InternalErrorException = exports.InternalErrorException || (exports.InternalErrorException = {}));
|
|
24
|
-
var InvalidParameterException;
|
|
25
|
-
(function (InvalidParameterException) {
|
|
26
|
-
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
27
|
-
...obj,
|
|
28
|
-
});
|
|
29
|
-
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
30
|
-
var NotFoundException;
|
|
31
|
-
(function (NotFoundException) {
|
|
32
|
-
NotFoundException.filterSensitiveLog = (obj) => ({
|
|
33
|
-
...obj,
|
|
34
|
-
});
|
|
35
|
-
})(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
|
|
36
11
|
var CheckIfPhoneNumberIsOptedOutInput;
|
|
37
12
|
(function (CheckIfPhoneNumberIsOptedOutInput) {
|
|
38
13
|
CheckIfPhoneNumberIsOptedOutInput.filterSensitiveLog = (obj) => ({
|
|
@@ -45,12 +20,6 @@ var CheckIfPhoneNumberIsOptedOutResponse;
|
|
|
45
20
|
...obj,
|
|
46
21
|
});
|
|
47
22
|
})(CheckIfPhoneNumberIsOptedOutResponse = exports.CheckIfPhoneNumberIsOptedOutResponse || (exports.CheckIfPhoneNumberIsOptedOutResponse = {}));
|
|
48
|
-
var ThrottledException;
|
|
49
|
-
(function (ThrottledException) {
|
|
50
|
-
ThrottledException.filterSensitiveLog = (obj) => ({
|
|
51
|
-
...obj,
|
|
52
|
-
});
|
|
53
|
-
})(ThrottledException = exports.ThrottledException || (exports.ThrottledException = {}));
|
|
54
23
|
var ConfirmSubscriptionInput;
|
|
55
24
|
(function (ConfirmSubscriptionInput) {
|
|
56
25
|
ConfirmSubscriptionInput.filterSensitiveLog = (obj) => ({
|
|
@@ -63,18 +32,6 @@ var ConfirmSubscriptionResponse;
|
|
|
63
32
|
...obj,
|
|
64
33
|
});
|
|
65
34
|
})(ConfirmSubscriptionResponse = exports.ConfirmSubscriptionResponse || (exports.ConfirmSubscriptionResponse = {}));
|
|
66
|
-
var FilterPolicyLimitExceededException;
|
|
67
|
-
(function (FilterPolicyLimitExceededException) {
|
|
68
|
-
FilterPolicyLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
69
|
-
...obj,
|
|
70
|
-
});
|
|
71
|
-
})(FilterPolicyLimitExceededException = exports.FilterPolicyLimitExceededException || (exports.FilterPolicyLimitExceededException = {}));
|
|
72
|
-
var SubscriptionLimitExceededException;
|
|
73
|
-
(function (SubscriptionLimitExceededException) {
|
|
74
|
-
SubscriptionLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
75
|
-
...obj,
|
|
76
|
-
});
|
|
77
|
-
})(SubscriptionLimitExceededException = exports.SubscriptionLimitExceededException || (exports.SubscriptionLimitExceededException = {}));
|
|
78
35
|
var CreatePlatformApplicationInput;
|
|
79
36
|
(function (CreatePlatformApplicationInput) {
|
|
80
37
|
CreatePlatformApplicationInput.filterSensitiveLog = (obj) => ({
|
|
@@ -127,24 +84,6 @@ var CreateSMSSandboxPhoneNumberResult;
|
|
|
127
84
|
...obj,
|
|
128
85
|
});
|
|
129
86
|
})(CreateSMSSandboxPhoneNumberResult = exports.CreateSMSSandboxPhoneNumberResult || (exports.CreateSMSSandboxPhoneNumberResult = {}));
|
|
130
|
-
var OptedOutException;
|
|
131
|
-
(function (OptedOutException) {
|
|
132
|
-
OptedOutException.filterSensitiveLog = (obj) => ({
|
|
133
|
-
...obj,
|
|
134
|
-
});
|
|
135
|
-
})(OptedOutException = exports.OptedOutException || (exports.OptedOutException = {}));
|
|
136
|
-
var UserErrorException;
|
|
137
|
-
(function (UserErrorException) {
|
|
138
|
-
UserErrorException.filterSensitiveLog = (obj) => ({
|
|
139
|
-
...obj,
|
|
140
|
-
});
|
|
141
|
-
})(UserErrorException = exports.UserErrorException || (exports.UserErrorException = {}));
|
|
142
|
-
var ConcurrentAccessException;
|
|
143
|
-
(function (ConcurrentAccessException) {
|
|
144
|
-
ConcurrentAccessException.filterSensitiveLog = (obj) => ({
|
|
145
|
-
...obj,
|
|
146
|
-
});
|
|
147
|
-
})(ConcurrentAccessException = exports.ConcurrentAccessException || (exports.ConcurrentAccessException = {}));
|
|
148
87
|
var Tag;
|
|
149
88
|
(function (Tag) {
|
|
150
89
|
Tag.filterSensitiveLog = (obj) => ({
|
|
@@ -163,36 +102,6 @@ var CreateTopicResponse;
|
|
|
163
102
|
...obj,
|
|
164
103
|
});
|
|
165
104
|
})(CreateTopicResponse = exports.CreateTopicResponse || (exports.CreateTopicResponse = {}));
|
|
166
|
-
var InvalidSecurityException;
|
|
167
|
-
(function (InvalidSecurityException) {
|
|
168
|
-
InvalidSecurityException.filterSensitiveLog = (obj) => ({
|
|
169
|
-
...obj,
|
|
170
|
-
});
|
|
171
|
-
})(InvalidSecurityException = exports.InvalidSecurityException || (exports.InvalidSecurityException = {}));
|
|
172
|
-
var StaleTagException;
|
|
173
|
-
(function (StaleTagException) {
|
|
174
|
-
StaleTagException.filterSensitiveLog = (obj) => ({
|
|
175
|
-
...obj,
|
|
176
|
-
});
|
|
177
|
-
})(StaleTagException = exports.StaleTagException || (exports.StaleTagException = {}));
|
|
178
|
-
var TagLimitExceededException;
|
|
179
|
-
(function (TagLimitExceededException) {
|
|
180
|
-
TagLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
181
|
-
...obj,
|
|
182
|
-
});
|
|
183
|
-
})(TagLimitExceededException = exports.TagLimitExceededException || (exports.TagLimitExceededException = {}));
|
|
184
|
-
var TagPolicyException;
|
|
185
|
-
(function (TagPolicyException) {
|
|
186
|
-
TagPolicyException.filterSensitiveLog = (obj) => ({
|
|
187
|
-
...obj,
|
|
188
|
-
});
|
|
189
|
-
})(TagPolicyException = exports.TagPolicyException || (exports.TagPolicyException = {}));
|
|
190
|
-
var TopicLimitExceededException;
|
|
191
|
-
(function (TopicLimitExceededException) {
|
|
192
|
-
TopicLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
193
|
-
...obj,
|
|
194
|
-
});
|
|
195
|
-
})(TopicLimitExceededException = exports.TopicLimitExceededException || (exports.TopicLimitExceededException = {}));
|
|
196
105
|
var DeleteEndpointInput;
|
|
197
106
|
(function (DeleteEndpointInput) {
|
|
198
107
|
DeleteEndpointInput.filterSensitiveLog = (obj) => ({
|
|
@@ -217,12 +126,6 @@ var DeleteSMSSandboxPhoneNumberResult;
|
|
|
217
126
|
...obj,
|
|
218
127
|
});
|
|
219
128
|
})(DeleteSMSSandboxPhoneNumberResult = exports.DeleteSMSSandboxPhoneNumberResult || (exports.DeleteSMSSandboxPhoneNumberResult = {}));
|
|
220
|
-
var ResourceNotFoundException;
|
|
221
|
-
(function (ResourceNotFoundException) {
|
|
222
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
});
|
|
225
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
226
129
|
var DeleteTopicInput;
|
|
227
130
|
(function (DeleteTopicInput) {
|
|
228
131
|
DeleteTopicInput.filterSensitiveLog = (obj) => ({
|
|
@@ -349,12 +252,6 @@ var ListOriginationNumbersResult;
|
|
|
349
252
|
...obj,
|
|
350
253
|
});
|
|
351
254
|
})(ListOriginationNumbersResult = exports.ListOriginationNumbersResult || (exports.ListOriginationNumbersResult = {}));
|
|
352
|
-
var ValidationException;
|
|
353
|
-
(function (ValidationException) {
|
|
354
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
});
|
|
357
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
358
255
|
var ListPhoneNumbersOptedOutInput;
|
|
359
256
|
(function (ListPhoneNumbersOptedOutInput) {
|
|
360
257
|
ListPhoneNumbersOptedOutInput.filterSensitiveLog = (obj) => ({
|
|
@@ -480,60 +377,6 @@ var OptInPhoneNumberResponse;
|
|
|
480
377
|
...obj,
|
|
481
378
|
});
|
|
482
379
|
})(OptInPhoneNumberResponse = exports.OptInPhoneNumberResponse || (exports.OptInPhoneNumberResponse = {}));
|
|
483
|
-
var EndpointDisabledException;
|
|
484
|
-
(function (EndpointDisabledException) {
|
|
485
|
-
EndpointDisabledException.filterSensitiveLog = (obj) => ({
|
|
486
|
-
...obj,
|
|
487
|
-
});
|
|
488
|
-
})(EndpointDisabledException = exports.EndpointDisabledException || (exports.EndpointDisabledException = {}));
|
|
489
|
-
var InvalidParameterValueException;
|
|
490
|
-
(function (InvalidParameterValueException) {
|
|
491
|
-
InvalidParameterValueException.filterSensitiveLog = (obj) => ({
|
|
492
|
-
...obj,
|
|
493
|
-
});
|
|
494
|
-
})(InvalidParameterValueException = exports.InvalidParameterValueException || (exports.InvalidParameterValueException = {}));
|
|
495
|
-
var KMSAccessDeniedException;
|
|
496
|
-
(function (KMSAccessDeniedException) {
|
|
497
|
-
KMSAccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
498
|
-
...obj,
|
|
499
|
-
});
|
|
500
|
-
})(KMSAccessDeniedException = exports.KMSAccessDeniedException || (exports.KMSAccessDeniedException = {}));
|
|
501
|
-
var KMSDisabledException;
|
|
502
|
-
(function (KMSDisabledException) {
|
|
503
|
-
KMSDisabledException.filterSensitiveLog = (obj) => ({
|
|
504
|
-
...obj,
|
|
505
|
-
});
|
|
506
|
-
})(KMSDisabledException = exports.KMSDisabledException || (exports.KMSDisabledException = {}));
|
|
507
|
-
var KMSInvalidStateException;
|
|
508
|
-
(function (KMSInvalidStateException) {
|
|
509
|
-
KMSInvalidStateException.filterSensitiveLog = (obj) => ({
|
|
510
|
-
...obj,
|
|
511
|
-
});
|
|
512
|
-
})(KMSInvalidStateException = exports.KMSInvalidStateException || (exports.KMSInvalidStateException = {}));
|
|
513
|
-
var KMSNotFoundException;
|
|
514
|
-
(function (KMSNotFoundException) {
|
|
515
|
-
KMSNotFoundException.filterSensitiveLog = (obj) => ({
|
|
516
|
-
...obj,
|
|
517
|
-
});
|
|
518
|
-
})(KMSNotFoundException = exports.KMSNotFoundException || (exports.KMSNotFoundException = {}));
|
|
519
|
-
var KMSOptInRequired;
|
|
520
|
-
(function (KMSOptInRequired) {
|
|
521
|
-
KMSOptInRequired.filterSensitiveLog = (obj) => ({
|
|
522
|
-
...obj,
|
|
523
|
-
});
|
|
524
|
-
})(KMSOptInRequired = exports.KMSOptInRequired || (exports.KMSOptInRequired = {}));
|
|
525
|
-
var KMSThrottlingException;
|
|
526
|
-
(function (KMSThrottlingException) {
|
|
527
|
-
KMSThrottlingException.filterSensitiveLog = (obj) => ({
|
|
528
|
-
...obj,
|
|
529
|
-
});
|
|
530
|
-
})(KMSThrottlingException = exports.KMSThrottlingException || (exports.KMSThrottlingException = {}));
|
|
531
|
-
var PlatformApplicationDisabledException;
|
|
532
|
-
(function (PlatformApplicationDisabledException) {
|
|
533
|
-
PlatformApplicationDisabledException.filterSensitiveLog = (obj) => ({
|
|
534
|
-
...obj,
|
|
535
|
-
});
|
|
536
|
-
})(PlatformApplicationDisabledException = exports.PlatformApplicationDisabledException || (exports.PlatformApplicationDisabledException = {}));
|
|
537
380
|
var MessageAttributeValue;
|
|
538
381
|
(function (MessageAttributeValue) {
|
|
539
382
|
MessageAttributeValue.filterSensitiveLog = (obj) => ({
|
|
@@ -552,30 +395,6 @@ var PublishResponse;
|
|
|
552
395
|
...obj,
|
|
553
396
|
});
|
|
554
397
|
})(PublishResponse = exports.PublishResponse || (exports.PublishResponse = {}));
|
|
555
|
-
var BatchEntryIdsNotDistinctException;
|
|
556
|
-
(function (BatchEntryIdsNotDistinctException) {
|
|
557
|
-
BatchEntryIdsNotDistinctException.filterSensitiveLog = (obj) => ({
|
|
558
|
-
...obj,
|
|
559
|
-
});
|
|
560
|
-
})(BatchEntryIdsNotDistinctException = exports.BatchEntryIdsNotDistinctException || (exports.BatchEntryIdsNotDistinctException = {}));
|
|
561
|
-
var BatchRequestTooLongException;
|
|
562
|
-
(function (BatchRequestTooLongException) {
|
|
563
|
-
BatchRequestTooLongException.filterSensitiveLog = (obj) => ({
|
|
564
|
-
...obj,
|
|
565
|
-
});
|
|
566
|
-
})(BatchRequestTooLongException = exports.BatchRequestTooLongException || (exports.BatchRequestTooLongException = {}));
|
|
567
|
-
var EmptyBatchRequestException;
|
|
568
|
-
(function (EmptyBatchRequestException) {
|
|
569
|
-
EmptyBatchRequestException.filterSensitiveLog = (obj) => ({
|
|
570
|
-
...obj,
|
|
571
|
-
});
|
|
572
|
-
})(EmptyBatchRequestException = exports.EmptyBatchRequestException || (exports.EmptyBatchRequestException = {}));
|
|
573
|
-
var InvalidBatchEntryIdException;
|
|
574
|
-
(function (InvalidBatchEntryIdException) {
|
|
575
|
-
InvalidBatchEntryIdException.filterSensitiveLog = (obj) => ({
|
|
576
|
-
...obj,
|
|
577
|
-
});
|
|
578
|
-
})(InvalidBatchEntryIdException = exports.InvalidBatchEntryIdException || (exports.InvalidBatchEntryIdException = {}));
|
|
579
398
|
var PublishBatchRequestEntry;
|
|
580
399
|
(function (PublishBatchRequestEntry) {
|
|
581
400
|
PublishBatchRequestEntry.filterSensitiveLog = (obj) => ({
|
|
@@ -606,12 +425,6 @@ var PublishBatchResponse;
|
|
|
606
425
|
...obj,
|
|
607
426
|
});
|
|
608
427
|
})(PublishBatchResponse = exports.PublishBatchResponse || (exports.PublishBatchResponse = {}));
|
|
609
|
-
var TooManyEntriesInBatchRequestException;
|
|
610
|
-
(function (TooManyEntriesInBatchRequestException) {
|
|
611
|
-
TooManyEntriesInBatchRequestException.filterSensitiveLog = (obj) => ({
|
|
612
|
-
...obj,
|
|
613
|
-
});
|
|
614
|
-
})(TooManyEntriesInBatchRequestException = exports.TooManyEntriesInBatchRequestException || (exports.TooManyEntriesInBatchRequestException = {}));
|
|
615
428
|
var RemovePermissionInput;
|
|
616
429
|
(function (RemovePermissionInput) {
|
|
617
430
|
RemovePermissionInput.filterSensitiveLog = (obj) => ({
|
|
@@ -696,12 +509,6 @@ var UntagResourceResponse;
|
|
|
696
509
|
...obj,
|
|
697
510
|
});
|
|
698
511
|
})(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
|
|
699
|
-
var VerificationException;
|
|
700
|
-
(function (VerificationException) {
|
|
701
|
-
VerificationException.filterSensitiveLog = (obj) => ({
|
|
702
|
-
...obj,
|
|
703
|
-
});
|
|
704
|
-
})(VerificationException = exports.VerificationException || (exports.VerificationException = {}));
|
|
705
512
|
var VerifySMSSandboxPhoneNumberInput;
|
|
706
513
|
(function (VerifySMSSandboxPhoneNumberInput) {
|
|
707
514
|
VerifySMSSandboxPhoneNumberInput.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
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
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
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 }),
|
|
30
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),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
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: "sns.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "sns-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: "sns.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "sns-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: "sns.us-west-1.amazonaws.com",
|
|
50
|
-
tags: [],
|
|
51
|
-
},
|
|
52
40
|
{
|
|
53
41
|
hostname: "sns-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: "sns.us-west-2.amazonaws.com",
|
|
62
|
-
tags: [],
|
|
63
|
-
},
|
|
64
48
|
{
|
|
65
49
|
hostname: "sns-fips.us-west-2.amazonaws.com",
|
|
66
50
|
tags: ["fips"],
|