@aws-sdk/client-ses 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 -4
- package/dist-cjs/models/models_0.js +4 -209
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -4
- package/dist-es/models/models_0.js +0 -136
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/SESClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -204
- 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/SESClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -136
- 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 +40 -47
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
export var AccountSendingPausedException;
|
|
3
|
-
(function (AccountSendingPausedException) {
|
|
4
|
-
AccountSendingPausedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
-
})(AccountSendingPausedException || (AccountSendingPausedException = {}));
|
|
6
2
|
export var AddHeaderAction;
|
|
7
3
|
(function (AddHeaderAction) {
|
|
8
4
|
AddHeaderAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
5
|
})(AddHeaderAction || (AddHeaderAction = {}));
|
|
10
|
-
export var AlreadyExistsException;
|
|
11
|
-
(function (AlreadyExistsException) {
|
|
12
|
-
AlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
-
})(AlreadyExistsException || (AlreadyExistsException = {}));
|
|
14
6
|
export var BehaviorOnMXFailure;
|
|
15
7
|
(function (BehaviorOnMXFailure) {
|
|
16
8
|
BehaviorOnMXFailure["RejectMessage"] = "RejectMessage";
|
|
@@ -90,10 +82,6 @@ export var BulkEmailDestinationStatus;
|
|
|
90
82
|
(function (BulkEmailDestinationStatus) {
|
|
91
83
|
BulkEmailDestinationStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
84
|
})(BulkEmailDestinationStatus || (BulkEmailDestinationStatus = {}));
|
|
93
|
-
export var CannotDeleteException;
|
|
94
|
-
(function (CannotDeleteException) {
|
|
95
|
-
CannotDeleteException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
|
-
})(CannotDeleteException || (CannotDeleteException = {}));
|
|
97
85
|
export var CloneReceiptRuleSetRequest;
|
|
98
86
|
(function (CloneReceiptRuleSetRequest) {
|
|
99
87
|
CloneReceiptRuleSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -102,14 +90,6 @@ export var CloneReceiptRuleSetResponse;
|
|
|
102
90
|
(function (CloneReceiptRuleSetResponse) {
|
|
103
91
|
CloneReceiptRuleSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
104
92
|
})(CloneReceiptRuleSetResponse || (CloneReceiptRuleSetResponse = {}));
|
|
105
|
-
export var LimitExceededException;
|
|
106
|
-
(function (LimitExceededException) {
|
|
107
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
108
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
109
|
-
export var RuleSetDoesNotExistException;
|
|
110
|
-
(function (RuleSetDoesNotExistException) {
|
|
111
|
-
RuleSetDoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
112
|
-
})(RuleSetDoesNotExistException || (RuleSetDoesNotExistException = {}));
|
|
113
93
|
export var DimensionValueSource;
|
|
114
94
|
(function (DimensionValueSource) {
|
|
115
95
|
DimensionValueSource["EMAIL_HEADER"] = "emailHeader";
|
|
@@ -128,10 +108,6 @@ export var ConfigurationSet;
|
|
|
128
108
|
(function (ConfigurationSet) {
|
|
129
109
|
ConfigurationSet.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
110
|
})(ConfigurationSet || (ConfigurationSet = {}));
|
|
131
|
-
export var ConfigurationSetAlreadyExistsException;
|
|
132
|
-
(function (ConfigurationSetAlreadyExistsException) {
|
|
133
|
-
ConfigurationSetAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
|
-
})(ConfigurationSetAlreadyExistsException || (ConfigurationSetAlreadyExistsException = {}));
|
|
135
111
|
export var ConfigurationSetAttribute;
|
|
136
112
|
(function (ConfigurationSetAttribute) {
|
|
137
113
|
ConfigurationSetAttribute["DELIVERY_OPTIONS"] = "deliveryOptions";
|
|
@@ -139,14 +115,6 @@ export var ConfigurationSetAttribute;
|
|
|
139
115
|
ConfigurationSetAttribute["REPUTATION_OPTIONS"] = "reputationOptions";
|
|
140
116
|
ConfigurationSetAttribute["TRACKING_OPTIONS"] = "trackingOptions";
|
|
141
117
|
})(ConfigurationSetAttribute || (ConfigurationSetAttribute = {}));
|
|
142
|
-
export var ConfigurationSetDoesNotExistException;
|
|
143
|
-
(function (ConfigurationSetDoesNotExistException) {
|
|
144
|
-
ConfigurationSetDoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
-
})(ConfigurationSetDoesNotExistException || (ConfigurationSetDoesNotExistException = {}));
|
|
146
|
-
export var ConfigurationSetSendingPausedException;
|
|
147
|
-
(function (ConfigurationSetSendingPausedException) {
|
|
148
|
-
ConfigurationSetSendingPausedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
-
})(ConfigurationSetSendingPausedException || (ConfigurationSetSendingPausedException = {}));
|
|
150
118
|
export var CreateConfigurationSetRequest;
|
|
151
119
|
(function (CreateConfigurationSetRequest) {
|
|
152
120
|
CreateConfigurationSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -155,10 +123,6 @@ export var CreateConfigurationSetResponse;
|
|
|
155
123
|
(function (CreateConfigurationSetResponse) {
|
|
156
124
|
CreateConfigurationSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
125
|
})(CreateConfigurationSetResponse || (CreateConfigurationSetResponse = {}));
|
|
158
|
-
export var InvalidConfigurationSetException;
|
|
159
|
-
(function (InvalidConfigurationSetException) {
|
|
160
|
-
InvalidConfigurationSetException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
-
})(InvalidConfigurationSetException || (InvalidConfigurationSetException = {}));
|
|
162
126
|
export var KinesisFirehoseDestination;
|
|
163
127
|
(function (KinesisFirehoseDestination) {
|
|
164
128
|
KinesisFirehoseDestination.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -190,22 +154,6 @@ export var CreateConfigurationSetEventDestinationResponse;
|
|
|
190
154
|
(function (CreateConfigurationSetEventDestinationResponse) {
|
|
191
155
|
CreateConfigurationSetEventDestinationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
156
|
})(CreateConfigurationSetEventDestinationResponse || (CreateConfigurationSetEventDestinationResponse = {}));
|
|
193
|
-
export var EventDestinationAlreadyExistsException;
|
|
194
|
-
(function (EventDestinationAlreadyExistsException) {
|
|
195
|
-
EventDestinationAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
-
})(EventDestinationAlreadyExistsException || (EventDestinationAlreadyExistsException = {}));
|
|
197
|
-
export var InvalidCloudWatchDestinationException;
|
|
198
|
-
(function (InvalidCloudWatchDestinationException) {
|
|
199
|
-
InvalidCloudWatchDestinationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
|
-
})(InvalidCloudWatchDestinationException || (InvalidCloudWatchDestinationException = {}));
|
|
201
|
-
export var InvalidFirehoseDestinationException;
|
|
202
|
-
(function (InvalidFirehoseDestinationException) {
|
|
203
|
-
InvalidFirehoseDestinationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
-
})(InvalidFirehoseDestinationException || (InvalidFirehoseDestinationException = {}));
|
|
205
|
-
export var InvalidSNSDestinationException;
|
|
206
|
-
(function (InvalidSNSDestinationException) {
|
|
207
|
-
InvalidSNSDestinationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
-
})(InvalidSNSDestinationException || (InvalidSNSDestinationException = {}));
|
|
209
157
|
export var TrackingOptions;
|
|
210
158
|
(function (TrackingOptions) {
|
|
211
159
|
TrackingOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -218,30 +166,10 @@ export var CreateConfigurationSetTrackingOptionsResponse;
|
|
|
218
166
|
(function (CreateConfigurationSetTrackingOptionsResponse) {
|
|
219
167
|
CreateConfigurationSetTrackingOptionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
168
|
})(CreateConfigurationSetTrackingOptionsResponse || (CreateConfigurationSetTrackingOptionsResponse = {}));
|
|
221
|
-
export var InvalidTrackingOptionsException;
|
|
222
|
-
(function (InvalidTrackingOptionsException) {
|
|
223
|
-
InvalidTrackingOptionsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
-
})(InvalidTrackingOptionsException || (InvalidTrackingOptionsException = {}));
|
|
225
|
-
export var TrackingOptionsAlreadyExistsException;
|
|
226
|
-
(function (TrackingOptionsAlreadyExistsException) {
|
|
227
|
-
TrackingOptionsAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
-
})(TrackingOptionsAlreadyExistsException || (TrackingOptionsAlreadyExistsException = {}));
|
|
229
169
|
export var CreateCustomVerificationEmailTemplateRequest;
|
|
230
170
|
(function (CreateCustomVerificationEmailTemplateRequest) {
|
|
231
171
|
CreateCustomVerificationEmailTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
172
|
})(CreateCustomVerificationEmailTemplateRequest || (CreateCustomVerificationEmailTemplateRequest = {}));
|
|
233
|
-
export var CustomVerificationEmailInvalidContentException;
|
|
234
|
-
(function (CustomVerificationEmailInvalidContentException) {
|
|
235
|
-
CustomVerificationEmailInvalidContentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
-
})(CustomVerificationEmailInvalidContentException || (CustomVerificationEmailInvalidContentException = {}));
|
|
237
|
-
export var CustomVerificationEmailTemplateAlreadyExistsException;
|
|
238
|
-
(function (CustomVerificationEmailTemplateAlreadyExistsException) {
|
|
239
|
-
CustomVerificationEmailTemplateAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
240
|
-
})(CustomVerificationEmailTemplateAlreadyExistsException || (CustomVerificationEmailTemplateAlreadyExistsException = {}));
|
|
241
|
-
export var FromEmailAddressNotVerifiedException;
|
|
242
|
-
(function (FromEmailAddressNotVerifiedException) {
|
|
243
|
-
FromEmailAddressNotVerifiedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
244
|
-
})(FromEmailAddressNotVerifiedException || (FromEmailAddressNotVerifiedException = {}));
|
|
245
173
|
export var ReceiptFilterPolicy;
|
|
246
174
|
(function (ReceiptFilterPolicy) {
|
|
247
175
|
ReceiptFilterPolicy["Allow"] = "Allow";
|
|
@@ -313,22 +241,6 @@ export var CreateReceiptRuleResponse;
|
|
|
313
241
|
(function (CreateReceiptRuleResponse) {
|
|
314
242
|
CreateReceiptRuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
315
243
|
})(CreateReceiptRuleResponse || (CreateReceiptRuleResponse = {}));
|
|
316
|
-
export var InvalidLambdaFunctionException;
|
|
317
|
-
(function (InvalidLambdaFunctionException) {
|
|
318
|
-
InvalidLambdaFunctionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
319
|
-
})(InvalidLambdaFunctionException || (InvalidLambdaFunctionException = {}));
|
|
320
|
-
export var InvalidS3ConfigurationException;
|
|
321
|
-
(function (InvalidS3ConfigurationException) {
|
|
322
|
-
InvalidS3ConfigurationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
323
|
-
})(InvalidS3ConfigurationException || (InvalidS3ConfigurationException = {}));
|
|
324
|
-
export var InvalidSnsTopicException;
|
|
325
|
-
(function (InvalidSnsTopicException) {
|
|
326
|
-
InvalidSnsTopicException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
327
|
-
})(InvalidSnsTopicException || (InvalidSnsTopicException = {}));
|
|
328
|
-
export var RuleDoesNotExistException;
|
|
329
|
-
(function (RuleDoesNotExistException) {
|
|
330
|
-
RuleDoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
331
|
-
})(RuleDoesNotExistException || (RuleDoesNotExistException = {}));
|
|
332
244
|
export var CreateReceiptRuleSetRequest;
|
|
333
245
|
(function (CreateReceiptRuleSetRequest) {
|
|
334
246
|
CreateReceiptRuleSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -349,10 +261,6 @@ export var CreateTemplateResponse;
|
|
|
349
261
|
(function (CreateTemplateResponse) {
|
|
350
262
|
CreateTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
351
263
|
})(CreateTemplateResponse || (CreateTemplateResponse = {}));
|
|
352
|
-
export var InvalidTemplateException;
|
|
353
|
-
(function (InvalidTemplateException) {
|
|
354
|
-
InvalidTemplateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
355
|
-
})(InvalidTemplateException || (InvalidTemplateException = {}));
|
|
356
264
|
export var CustomMailFromStatus;
|
|
357
265
|
(function (CustomMailFromStatus) {
|
|
358
266
|
CustomMailFromStatus["Failed"] = "Failed";
|
|
@@ -364,10 +272,6 @@ export var CustomVerificationEmailTemplate;
|
|
|
364
272
|
(function (CustomVerificationEmailTemplate) {
|
|
365
273
|
CustomVerificationEmailTemplate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
366
274
|
})(CustomVerificationEmailTemplate || (CustomVerificationEmailTemplate = {}));
|
|
367
|
-
export var CustomVerificationEmailTemplateDoesNotExistException;
|
|
368
|
-
(function (CustomVerificationEmailTemplateDoesNotExistException) {
|
|
369
|
-
CustomVerificationEmailTemplateDoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
370
|
-
})(CustomVerificationEmailTemplateDoesNotExistException || (CustomVerificationEmailTemplateDoesNotExistException = {}));
|
|
371
275
|
export var DeleteConfigurationSetRequest;
|
|
372
276
|
(function (DeleteConfigurationSetRequest) {
|
|
373
277
|
DeleteConfigurationSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -384,10 +288,6 @@ export var DeleteConfigurationSetEventDestinationResponse;
|
|
|
384
288
|
(function (DeleteConfigurationSetEventDestinationResponse) {
|
|
385
289
|
DeleteConfigurationSetEventDestinationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
386
290
|
})(DeleteConfigurationSetEventDestinationResponse || (DeleteConfigurationSetEventDestinationResponse = {}));
|
|
387
|
-
export var EventDestinationDoesNotExistException;
|
|
388
|
-
(function (EventDestinationDoesNotExistException) {
|
|
389
|
-
EventDestinationDoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
390
|
-
})(EventDestinationDoesNotExistException || (EventDestinationDoesNotExistException = {}));
|
|
391
291
|
export var DeleteConfigurationSetTrackingOptionsRequest;
|
|
392
292
|
(function (DeleteConfigurationSetTrackingOptionsRequest) {
|
|
393
293
|
DeleteConfigurationSetTrackingOptionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -396,10 +296,6 @@ export var DeleteConfigurationSetTrackingOptionsResponse;
|
|
|
396
296
|
(function (DeleteConfigurationSetTrackingOptionsResponse) {
|
|
397
297
|
DeleteConfigurationSetTrackingOptionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
398
298
|
})(DeleteConfigurationSetTrackingOptionsResponse || (DeleteConfigurationSetTrackingOptionsResponse = {}));
|
|
399
|
-
export var TrackingOptionsDoesNotExistException;
|
|
400
|
-
(function (TrackingOptionsDoesNotExistException) {
|
|
401
|
-
TrackingOptionsDoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
402
|
-
})(TrackingOptionsDoesNotExistException || (TrackingOptionsDoesNotExistException = {}));
|
|
403
299
|
export var DeleteCustomVerificationEmailTemplateRequest;
|
|
404
300
|
(function (DeleteCustomVerificationEmailTemplateRequest) {
|
|
405
301
|
DeleteCustomVerificationEmailTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -588,22 +484,6 @@ export var GetTemplateResponse;
|
|
|
588
484
|
(function (GetTemplateResponse) {
|
|
589
485
|
GetTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
590
486
|
})(GetTemplateResponse || (GetTemplateResponse = {}));
|
|
591
|
-
export var TemplateDoesNotExistException;
|
|
592
|
-
(function (TemplateDoesNotExistException) {
|
|
593
|
-
TemplateDoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
594
|
-
})(TemplateDoesNotExistException || (TemplateDoesNotExistException = {}));
|
|
595
|
-
export var InvalidDeliveryOptionsException;
|
|
596
|
-
(function (InvalidDeliveryOptionsException) {
|
|
597
|
-
InvalidDeliveryOptionsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
598
|
-
})(InvalidDeliveryOptionsException || (InvalidDeliveryOptionsException = {}));
|
|
599
|
-
export var InvalidPolicyException;
|
|
600
|
-
(function (InvalidPolicyException) {
|
|
601
|
-
InvalidPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
602
|
-
})(InvalidPolicyException || (InvalidPolicyException = {}));
|
|
603
|
-
export var InvalidRenderingParameterException;
|
|
604
|
-
(function (InvalidRenderingParameterException) {
|
|
605
|
-
InvalidRenderingParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
606
|
-
})(InvalidRenderingParameterException || (InvalidRenderingParameterException = {}));
|
|
607
487
|
export var ListConfigurationSetsRequest;
|
|
608
488
|
(function (ListConfigurationSetsRequest) {
|
|
609
489
|
ListConfigurationSetsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -668,10 +548,6 @@ export var ListVerifiedEmailAddressesResponse;
|
|
|
668
548
|
(function (ListVerifiedEmailAddressesResponse) {
|
|
669
549
|
ListVerifiedEmailAddressesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
670
550
|
})(ListVerifiedEmailAddressesResponse || (ListVerifiedEmailAddressesResponse = {}));
|
|
671
|
-
export var MailFromDomainNotVerifiedException;
|
|
672
|
-
(function (MailFromDomainNotVerifiedException) {
|
|
673
|
-
MailFromDomainNotVerifiedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
674
|
-
})(MailFromDomainNotVerifiedException || (MailFromDomainNotVerifiedException = {}));
|
|
675
551
|
export var Message;
|
|
676
552
|
(function (Message) {
|
|
677
553
|
Message.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -680,18 +556,6 @@ export var MessageDsn;
|
|
|
680
556
|
(function (MessageDsn) {
|
|
681
557
|
MessageDsn.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
682
558
|
})(MessageDsn || (MessageDsn = {}));
|
|
683
|
-
export var MessageRejected;
|
|
684
|
-
(function (MessageRejected) {
|
|
685
|
-
MessageRejected.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
686
|
-
})(MessageRejected || (MessageRejected = {}));
|
|
687
|
-
export var MissingRenderingAttributeException;
|
|
688
|
-
(function (MissingRenderingAttributeException) {
|
|
689
|
-
MissingRenderingAttributeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
690
|
-
})(MissingRenderingAttributeException || (MissingRenderingAttributeException = {}));
|
|
691
|
-
export var ProductionAccessNotGrantedException;
|
|
692
|
-
(function (ProductionAccessNotGrantedException) {
|
|
693
|
-
ProductionAccessNotGrantedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
694
|
-
})(ProductionAccessNotGrantedException || (ProductionAccessNotGrantedException = {}));
|
|
695
559
|
export var PutConfigurationSetDeliveryOptionsRequest;
|
|
696
560
|
(function (PutConfigurationSetDeliveryOptionsRequest) {
|
|
697
561
|
PutConfigurationSetDeliveryOptionsRequest.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 { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
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, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
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, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
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;
|
|
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), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : 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), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : 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: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : 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 { CloneReceiptRuleSetCommandInput, CloneReceiptRuleSetCommandOutput } from "./commands/CloneReceiptRuleSetCommand";
|
|
10
10
|
import { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
|
|
@@ -179,6 +179,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
179
179
|
* @internal
|
|
180
180
|
*/
|
|
181
181
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
182
|
+
/**
|
|
183
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
184
|
+
*/
|
|
185
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
182
186
|
}
|
|
183
187
|
declare type SESClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
184
188
|
/**
|