@aws-sdk/client-ses 3.201.0 → 3.204.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/dist-cjs/protocols/Aws_query.js +81 -0
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/protocols/Aws_query.js +81 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +6 -5
- package/CHANGELOG.md +0 -3218
|
@@ -3730,6 +3730,9 @@ const serializeAws_queryBulkEmailDestination = (input, context) => {
|
|
|
3730
3730
|
}
|
|
3731
3731
|
if (input.ReplacementTags != null) {
|
|
3732
3732
|
const memberEntries = serializeAws_queryMessageTagList(input.ReplacementTags, context);
|
|
3733
|
+
if (input.ReplacementTags?.length === 0) {
|
|
3734
|
+
entries.ReplacementTags = [];
|
|
3735
|
+
}
|
|
3733
3736
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3734
3737
|
const loc = `ReplacementTags.${key}`;
|
|
3735
3738
|
entries[loc] = value;
|
|
@@ -3769,6 +3772,9 @@ const serializeAws_queryCloudWatchDestination = (input, context) => {
|
|
|
3769
3772
|
const entries = {};
|
|
3770
3773
|
if (input.DimensionConfigurations != null) {
|
|
3771
3774
|
const memberEntries = serializeAws_queryCloudWatchDimensionConfigurations(input.DimensionConfigurations, context);
|
|
3775
|
+
if (input.DimensionConfigurations?.length === 0) {
|
|
3776
|
+
entries.DimensionConfigurations = [];
|
|
3777
|
+
}
|
|
3772
3778
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3773
3779
|
const loc = `DimensionConfigurations.${key}`;
|
|
3774
3780
|
entries[loc] = value;
|
|
@@ -4044,6 +4050,9 @@ const serializeAws_queryDescribeConfigurationSetRequest = (input, context) => {
|
|
|
4044
4050
|
}
|
|
4045
4051
|
if (input.ConfigurationSetAttributeNames != null) {
|
|
4046
4052
|
const memberEntries = serializeAws_queryConfigurationSetAttributeList(input.ConfigurationSetAttributeNames, context);
|
|
4053
|
+
if (input.ConfigurationSetAttributeNames?.length === 0) {
|
|
4054
|
+
entries.ConfigurationSetAttributeNames = [];
|
|
4055
|
+
}
|
|
4047
4056
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4048
4057
|
const loc = `ConfigurationSetAttributeNames.${key}`;
|
|
4049
4058
|
entries[loc] = value;
|
|
@@ -4072,6 +4081,9 @@ const serializeAws_queryDestination = (input, context) => {
|
|
|
4072
4081
|
const entries = {};
|
|
4073
4082
|
if (input.ToAddresses != null) {
|
|
4074
4083
|
const memberEntries = serializeAws_queryAddressList(input.ToAddresses, context);
|
|
4084
|
+
if (input.ToAddresses?.length === 0) {
|
|
4085
|
+
entries.ToAddresses = [];
|
|
4086
|
+
}
|
|
4075
4087
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4076
4088
|
const loc = `ToAddresses.${key}`;
|
|
4077
4089
|
entries[loc] = value;
|
|
@@ -4079,6 +4091,9 @@ const serializeAws_queryDestination = (input, context) => {
|
|
|
4079
4091
|
}
|
|
4080
4092
|
if (input.CcAddresses != null) {
|
|
4081
4093
|
const memberEntries = serializeAws_queryAddressList(input.CcAddresses, context);
|
|
4094
|
+
if (input.CcAddresses?.length === 0) {
|
|
4095
|
+
entries.CcAddresses = [];
|
|
4096
|
+
}
|
|
4082
4097
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4083
4098
|
const loc = `CcAddresses.${key}`;
|
|
4084
4099
|
entries[loc] = value;
|
|
@@ -4086,6 +4101,9 @@ const serializeAws_queryDestination = (input, context) => {
|
|
|
4086
4101
|
}
|
|
4087
4102
|
if (input.BccAddresses != null) {
|
|
4088
4103
|
const memberEntries = serializeAws_queryAddressList(input.BccAddresses, context);
|
|
4104
|
+
if (input.BccAddresses?.length === 0) {
|
|
4105
|
+
entries.BccAddresses = [];
|
|
4106
|
+
}
|
|
4089
4107
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4090
4108
|
const loc = `BccAddresses.${key}`;
|
|
4091
4109
|
entries[loc] = value;
|
|
@@ -4103,6 +4121,9 @@ const serializeAws_queryEventDestination = (input, context) => {
|
|
|
4103
4121
|
}
|
|
4104
4122
|
if (input.MatchingEventTypes != null) {
|
|
4105
4123
|
const memberEntries = serializeAws_queryEventTypes(input.MatchingEventTypes, context);
|
|
4124
|
+
if (input.MatchingEventTypes?.length === 0) {
|
|
4125
|
+
entries.MatchingEventTypes = [];
|
|
4126
|
+
}
|
|
4106
4127
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4107
4128
|
const loc = `MatchingEventTypes.${key}`;
|
|
4108
4129
|
entries[loc] = value;
|
|
@@ -4179,6 +4200,9 @@ const serializeAws_queryGetIdentityDkimAttributesRequest = (input, context) => {
|
|
|
4179
4200
|
const entries = {};
|
|
4180
4201
|
if (input.Identities != null) {
|
|
4181
4202
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4203
|
+
if (input.Identities?.length === 0) {
|
|
4204
|
+
entries.Identities = [];
|
|
4205
|
+
}
|
|
4182
4206
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4183
4207
|
const loc = `Identities.${key}`;
|
|
4184
4208
|
entries[loc] = value;
|
|
@@ -4190,6 +4214,9 @@ const serializeAws_queryGetIdentityMailFromDomainAttributesRequest = (input, con
|
|
|
4190
4214
|
const entries = {};
|
|
4191
4215
|
if (input.Identities != null) {
|
|
4192
4216
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4217
|
+
if (input.Identities?.length === 0) {
|
|
4218
|
+
entries.Identities = [];
|
|
4219
|
+
}
|
|
4193
4220
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4194
4221
|
const loc = `Identities.${key}`;
|
|
4195
4222
|
entries[loc] = value;
|
|
@@ -4201,6 +4228,9 @@ const serializeAws_queryGetIdentityNotificationAttributesRequest = (input, conte
|
|
|
4201
4228
|
const entries = {};
|
|
4202
4229
|
if (input.Identities != null) {
|
|
4203
4230
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4231
|
+
if (input.Identities?.length === 0) {
|
|
4232
|
+
entries.Identities = [];
|
|
4233
|
+
}
|
|
4204
4234
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4205
4235
|
const loc = `Identities.${key}`;
|
|
4206
4236
|
entries[loc] = value;
|
|
@@ -4215,6 +4245,9 @@ const serializeAws_queryGetIdentityPoliciesRequest = (input, context) => {
|
|
|
4215
4245
|
}
|
|
4216
4246
|
if (input.PolicyNames != null) {
|
|
4217
4247
|
const memberEntries = serializeAws_queryPolicyNameList(input.PolicyNames, context);
|
|
4248
|
+
if (input.PolicyNames?.length === 0) {
|
|
4249
|
+
entries.PolicyNames = [];
|
|
4250
|
+
}
|
|
4218
4251
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4219
4252
|
const loc = `PolicyNames.${key}`;
|
|
4220
4253
|
entries[loc] = value;
|
|
@@ -4226,6 +4259,9 @@ const serializeAws_queryGetIdentityVerificationAttributesRequest = (input, conte
|
|
|
4226
4259
|
const entries = {};
|
|
4227
4260
|
if (input.Identities != null) {
|
|
4228
4261
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4262
|
+
if (input.Identities?.length === 0) {
|
|
4263
|
+
entries.Identities = [];
|
|
4264
|
+
}
|
|
4229
4265
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4230
4266
|
const loc = `Identities.${key}`;
|
|
4231
4267
|
entries[loc] = value;
|
|
@@ -4364,6 +4400,9 @@ const serializeAws_queryMessageDsn = (input, context) => {
|
|
|
4364
4400
|
}
|
|
4365
4401
|
if (input.ExtensionFields != null) {
|
|
4366
4402
|
const memberEntries = serializeAws_queryExtensionFieldList(input.ExtensionFields, context);
|
|
4403
|
+
if (input.ExtensionFields?.length === 0) {
|
|
4404
|
+
entries.ExtensionFields = [];
|
|
4405
|
+
}
|
|
4367
4406
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4368
4407
|
const loc = `ExtensionFields.${key}`;
|
|
4369
4408
|
entries[loc] = value;
|
|
@@ -4547,6 +4586,9 @@ const serializeAws_queryReceiptRule = (input, context) => {
|
|
|
4547
4586
|
}
|
|
4548
4587
|
if (input.Recipients != null) {
|
|
4549
4588
|
const memberEntries = serializeAws_queryRecipientsList(input.Recipients, context);
|
|
4589
|
+
if (input.Recipients?.length === 0) {
|
|
4590
|
+
entries.Recipients = [];
|
|
4591
|
+
}
|
|
4550
4592
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4551
4593
|
const loc = `Recipients.${key}`;
|
|
4552
4594
|
entries[loc] = value;
|
|
@@ -4554,6 +4596,9 @@ const serializeAws_queryReceiptRule = (input, context) => {
|
|
|
4554
4596
|
}
|
|
4555
4597
|
if (input.Actions != null) {
|
|
4556
4598
|
const memberEntries = serializeAws_queryReceiptActionsList(input.Actions, context);
|
|
4599
|
+
if (input.Actions?.length === 0) {
|
|
4600
|
+
entries.Actions = [];
|
|
4601
|
+
}
|
|
4557
4602
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4558
4603
|
const loc = `Actions.${key}`;
|
|
4559
4604
|
entries[loc] = value;
|
|
@@ -4598,6 +4643,9 @@ const serializeAws_queryRecipientDsnFields = (input, context) => {
|
|
|
4598
4643
|
}
|
|
4599
4644
|
if (input.ExtensionFields != null) {
|
|
4600
4645
|
const memberEntries = serializeAws_queryExtensionFieldList(input.ExtensionFields, context);
|
|
4646
|
+
if (input.ExtensionFields?.length === 0) {
|
|
4647
|
+
entries.ExtensionFields = [];
|
|
4648
|
+
}
|
|
4601
4649
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4602
4650
|
const loc = `ExtensionFields.${key}`;
|
|
4603
4651
|
entries[loc] = value;
|
|
@@ -4624,6 +4672,9 @@ const serializeAws_queryReorderReceiptRuleSetRequest = (input, context) => {
|
|
|
4624
4672
|
}
|
|
4625
4673
|
if (input.RuleNames != null) {
|
|
4626
4674
|
const memberEntries = serializeAws_queryReceiptRuleNamesList(input.RuleNames, context);
|
|
4675
|
+
if (input.RuleNames?.length === 0) {
|
|
4676
|
+
entries.RuleNames = [];
|
|
4677
|
+
}
|
|
4627
4678
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4628
4679
|
const loc = `RuleNames.${key}`;
|
|
4629
4680
|
entries[loc] = value;
|
|
@@ -4667,6 +4718,9 @@ const serializeAws_querySendBounceRequest = (input, context) => {
|
|
|
4667
4718
|
}
|
|
4668
4719
|
if (input.BouncedRecipientInfoList != null) {
|
|
4669
4720
|
const memberEntries = serializeAws_queryBouncedRecipientInfoList(input.BouncedRecipientInfoList, context);
|
|
4721
|
+
if (input.BouncedRecipientInfoList?.length === 0) {
|
|
4722
|
+
entries.BouncedRecipientInfoList = [];
|
|
4723
|
+
}
|
|
4670
4724
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4671
4725
|
const loc = `BouncedRecipientInfoList.${key}`;
|
|
4672
4726
|
entries[loc] = value;
|
|
@@ -4687,6 +4741,9 @@ const serializeAws_querySendBulkTemplatedEmailRequest = (input, context) => {
|
|
|
4687
4741
|
}
|
|
4688
4742
|
if (input.ReplyToAddresses != null) {
|
|
4689
4743
|
const memberEntries = serializeAws_queryAddressList(input.ReplyToAddresses, context);
|
|
4744
|
+
if (input.ReplyToAddresses?.length === 0) {
|
|
4745
|
+
entries.ReplyToAddresses = [];
|
|
4746
|
+
}
|
|
4690
4747
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4691
4748
|
const loc = `ReplyToAddresses.${key}`;
|
|
4692
4749
|
entries[loc] = value;
|
|
@@ -4703,6 +4760,9 @@ const serializeAws_querySendBulkTemplatedEmailRequest = (input, context) => {
|
|
|
4703
4760
|
}
|
|
4704
4761
|
if (input.DefaultTags != null) {
|
|
4705
4762
|
const memberEntries = serializeAws_queryMessageTagList(input.DefaultTags, context);
|
|
4763
|
+
if (input.DefaultTags?.length === 0) {
|
|
4764
|
+
entries.DefaultTags = [];
|
|
4765
|
+
}
|
|
4706
4766
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4707
4767
|
const loc = `DefaultTags.${key}`;
|
|
4708
4768
|
entries[loc] = value;
|
|
@@ -4719,6 +4779,9 @@ const serializeAws_querySendBulkTemplatedEmailRequest = (input, context) => {
|
|
|
4719
4779
|
}
|
|
4720
4780
|
if (input.Destinations != null) {
|
|
4721
4781
|
const memberEntries = serializeAws_queryBulkEmailDestinationList(input.Destinations, context);
|
|
4782
|
+
if (input.Destinations?.length === 0) {
|
|
4783
|
+
entries.Destinations = [];
|
|
4784
|
+
}
|
|
4722
4785
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4723
4786
|
const loc = `Destinations.${key}`;
|
|
4724
4787
|
entries[loc] = value;
|
|
@@ -4760,6 +4823,9 @@ const serializeAws_querySendEmailRequest = (input, context) => {
|
|
|
4760
4823
|
}
|
|
4761
4824
|
if (input.ReplyToAddresses != null) {
|
|
4762
4825
|
const memberEntries = serializeAws_queryAddressList(input.ReplyToAddresses, context);
|
|
4826
|
+
if (input.ReplyToAddresses?.length === 0) {
|
|
4827
|
+
entries.ReplyToAddresses = [];
|
|
4828
|
+
}
|
|
4763
4829
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4764
4830
|
const loc = `ReplyToAddresses.${key}`;
|
|
4765
4831
|
entries[loc] = value;
|
|
@@ -4776,6 +4842,9 @@ const serializeAws_querySendEmailRequest = (input, context) => {
|
|
|
4776
4842
|
}
|
|
4777
4843
|
if (input.Tags != null) {
|
|
4778
4844
|
const memberEntries = serializeAws_queryMessageTagList(input.Tags, context);
|
|
4845
|
+
if (input.Tags?.length === 0) {
|
|
4846
|
+
entries.Tags = [];
|
|
4847
|
+
}
|
|
4779
4848
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4780
4849
|
const loc = `Tags.${key}`;
|
|
4781
4850
|
entries[loc] = value;
|
|
@@ -4793,6 +4862,9 @@ const serializeAws_querySendRawEmailRequest = (input, context) => {
|
|
|
4793
4862
|
}
|
|
4794
4863
|
if (input.Destinations != null) {
|
|
4795
4864
|
const memberEntries = serializeAws_queryAddressList(input.Destinations, context);
|
|
4865
|
+
if (input.Destinations?.length === 0) {
|
|
4866
|
+
entries.Destinations = [];
|
|
4867
|
+
}
|
|
4796
4868
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4797
4869
|
const loc = `Destinations.${key}`;
|
|
4798
4870
|
entries[loc] = value;
|
|
@@ -4816,6 +4888,9 @@ const serializeAws_querySendRawEmailRequest = (input, context) => {
|
|
|
4816
4888
|
}
|
|
4817
4889
|
if (input.Tags != null) {
|
|
4818
4890
|
const memberEntries = serializeAws_queryMessageTagList(input.Tags, context);
|
|
4891
|
+
if (input.Tags?.length === 0) {
|
|
4892
|
+
entries.Tags = [];
|
|
4893
|
+
}
|
|
4819
4894
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4820
4895
|
const loc = `Tags.${key}`;
|
|
4821
4896
|
entries[loc] = value;
|
|
@@ -4840,6 +4915,9 @@ const serializeAws_querySendTemplatedEmailRequest = (input, context) => {
|
|
|
4840
4915
|
}
|
|
4841
4916
|
if (input.ReplyToAddresses != null) {
|
|
4842
4917
|
const memberEntries = serializeAws_queryAddressList(input.ReplyToAddresses, context);
|
|
4918
|
+
if (input.ReplyToAddresses?.length === 0) {
|
|
4919
|
+
entries.ReplyToAddresses = [];
|
|
4920
|
+
}
|
|
4843
4921
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4844
4922
|
const loc = `ReplyToAddresses.${key}`;
|
|
4845
4923
|
entries[loc] = value;
|
|
@@ -4856,6 +4934,9 @@ const serializeAws_querySendTemplatedEmailRequest = (input, context) => {
|
|
|
4856
4934
|
}
|
|
4857
4935
|
if (input.Tags != null) {
|
|
4858
4936
|
const memberEntries = serializeAws_queryMessageTagList(input.Tags, context);
|
|
4937
|
+
if (input.Tags?.length === 0) {
|
|
4938
|
+
entries.Tags = [];
|
|
4939
|
+
}
|
|
4859
4940
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4860
4941
|
const loc = `Tags.${key}`;
|
|
4861
4942
|
entries[loc] = value;
|
|
@@ -8,7 +8,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
8
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
-
const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
12
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
@@ -24,8 +23,6 @@ const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "browser",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -10,7 +10,6 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
-
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
14
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
15
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
@@ -28,8 +27,6 @@ const getRuntimeConfig = (config) => {
|
|
|
28
27
|
...config,
|
|
29
28
|
runtime: "node",
|
|
30
29
|
defaultsMode,
|
|
31
|
-
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
-
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
30
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
31
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
32
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
5
6
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
7
|
const getRuntimeConfig = (config) => ({
|
|
7
8
|
apiVersion: "2010-12-01",
|
|
9
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
10
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
8
11
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
12
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
13
|
logger: config?.logger ?? {},
|
|
@@ -3583,6 +3583,9 @@ const serializeAws_queryBulkEmailDestination = (input, context) => {
|
|
|
3583
3583
|
}
|
|
3584
3584
|
if (input.ReplacementTags != null) {
|
|
3585
3585
|
const memberEntries = serializeAws_queryMessageTagList(input.ReplacementTags, context);
|
|
3586
|
+
if (input.ReplacementTags?.length === 0) {
|
|
3587
|
+
entries.ReplacementTags = [];
|
|
3588
|
+
}
|
|
3586
3589
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3587
3590
|
const loc = `ReplacementTags.${key}`;
|
|
3588
3591
|
entries[loc] = value;
|
|
@@ -3622,6 +3625,9 @@ const serializeAws_queryCloudWatchDestination = (input, context) => {
|
|
|
3622
3625
|
const entries = {};
|
|
3623
3626
|
if (input.DimensionConfigurations != null) {
|
|
3624
3627
|
const memberEntries = serializeAws_queryCloudWatchDimensionConfigurations(input.DimensionConfigurations, context);
|
|
3628
|
+
if (input.DimensionConfigurations?.length === 0) {
|
|
3629
|
+
entries.DimensionConfigurations = [];
|
|
3630
|
+
}
|
|
3625
3631
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3626
3632
|
const loc = `DimensionConfigurations.${key}`;
|
|
3627
3633
|
entries[loc] = value;
|
|
@@ -3897,6 +3903,9 @@ const serializeAws_queryDescribeConfigurationSetRequest = (input, context) => {
|
|
|
3897
3903
|
}
|
|
3898
3904
|
if (input.ConfigurationSetAttributeNames != null) {
|
|
3899
3905
|
const memberEntries = serializeAws_queryConfigurationSetAttributeList(input.ConfigurationSetAttributeNames, context);
|
|
3906
|
+
if (input.ConfigurationSetAttributeNames?.length === 0) {
|
|
3907
|
+
entries.ConfigurationSetAttributeNames = [];
|
|
3908
|
+
}
|
|
3900
3909
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3901
3910
|
const loc = `ConfigurationSetAttributeNames.${key}`;
|
|
3902
3911
|
entries[loc] = value;
|
|
@@ -3925,6 +3934,9 @@ const serializeAws_queryDestination = (input, context) => {
|
|
|
3925
3934
|
const entries = {};
|
|
3926
3935
|
if (input.ToAddresses != null) {
|
|
3927
3936
|
const memberEntries = serializeAws_queryAddressList(input.ToAddresses, context);
|
|
3937
|
+
if (input.ToAddresses?.length === 0) {
|
|
3938
|
+
entries.ToAddresses = [];
|
|
3939
|
+
}
|
|
3928
3940
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3929
3941
|
const loc = `ToAddresses.${key}`;
|
|
3930
3942
|
entries[loc] = value;
|
|
@@ -3932,6 +3944,9 @@ const serializeAws_queryDestination = (input, context) => {
|
|
|
3932
3944
|
}
|
|
3933
3945
|
if (input.CcAddresses != null) {
|
|
3934
3946
|
const memberEntries = serializeAws_queryAddressList(input.CcAddresses, context);
|
|
3947
|
+
if (input.CcAddresses?.length === 0) {
|
|
3948
|
+
entries.CcAddresses = [];
|
|
3949
|
+
}
|
|
3935
3950
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3936
3951
|
const loc = `CcAddresses.${key}`;
|
|
3937
3952
|
entries[loc] = value;
|
|
@@ -3939,6 +3954,9 @@ const serializeAws_queryDestination = (input, context) => {
|
|
|
3939
3954
|
}
|
|
3940
3955
|
if (input.BccAddresses != null) {
|
|
3941
3956
|
const memberEntries = serializeAws_queryAddressList(input.BccAddresses, context);
|
|
3957
|
+
if (input.BccAddresses?.length === 0) {
|
|
3958
|
+
entries.BccAddresses = [];
|
|
3959
|
+
}
|
|
3942
3960
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3943
3961
|
const loc = `BccAddresses.${key}`;
|
|
3944
3962
|
entries[loc] = value;
|
|
@@ -3956,6 +3974,9 @@ const serializeAws_queryEventDestination = (input, context) => {
|
|
|
3956
3974
|
}
|
|
3957
3975
|
if (input.MatchingEventTypes != null) {
|
|
3958
3976
|
const memberEntries = serializeAws_queryEventTypes(input.MatchingEventTypes, context);
|
|
3977
|
+
if (input.MatchingEventTypes?.length === 0) {
|
|
3978
|
+
entries.MatchingEventTypes = [];
|
|
3979
|
+
}
|
|
3959
3980
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3960
3981
|
const loc = `MatchingEventTypes.${key}`;
|
|
3961
3982
|
entries[loc] = value;
|
|
@@ -4032,6 +4053,9 @@ const serializeAws_queryGetIdentityDkimAttributesRequest = (input, context) => {
|
|
|
4032
4053
|
const entries = {};
|
|
4033
4054
|
if (input.Identities != null) {
|
|
4034
4055
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4056
|
+
if (input.Identities?.length === 0) {
|
|
4057
|
+
entries.Identities = [];
|
|
4058
|
+
}
|
|
4035
4059
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4036
4060
|
const loc = `Identities.${key}`;
|
|
4037
4061
|
entries[loc] = value;
|
|
@@ -4043,6 +4067,9 @@ const serializeAws_queryGetIdentityMailFromDomainAttributesRequest = (input, con
|
|
|
4043
4067
|
const entries = {};
|
|
4044
4068
|
if (input.Identities != null) {
|
|
4045
4069
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4070
|
+
if (input.Identities?.length === 0) {
|
|
4071
|
+
entries.Identities = [];
|
|
4072
|
+
}
|
|
4046
4073
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4047
4074
|
const loc = `Identities.${key}`;
|
|
4048
4075
|
entries[loc] = value;
|
|
@@ -4054,6 +4081,9 @@ const serializeAws_queryGetIdentityNotificationAttributesRequest = (input, conte
|
|
|
4054
4081
|
const entries = {};
|
|
4055
4082
|
if (input.Identities != null) {
|
|
4056
4083
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4084
|
+
if (input.Identities?.length === 0) {
|
|
4085
|
+
entries.Identities = [];
|
|
4086
|
+
}
|
|
4057
4087
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4058
4088
|
const loc = `Identities.${key}`;
|
|
4059
4089
|
entries[loc] = value;
|
|
@@ -4068,6 +4098,9 @@ const serializeAws_queryGetIdentityPoliciesRequest = (input, context) => {
|
|
|
4068
4098
|
}
|
|
4069
4099
|
if (input.PolicyNames != null) {
|
|
4070
4100
|
const memberEntries = serializeAws_queryPolicyNameList(input.PolicyNames, context);
|
|
4101
|
+
if (input.PolicyNames?.length === 0) {
|
|
4102
|
+
entries.PolicyNames = [];
|
|
4103
|
+
}
|
|
4071
4104
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4072
4105
|
const loc = `PolicyNames.${key}`;
|
|
4073
4106
|
entries[loc] = value;
|
|
@@ -4079,6 +4112,9 @@ const serializeAws_queryGetIdentityVerificationAttributesRequest = (input, conte
|
|
|
4079
4112
|
const entries = {};
|
|
4080
4113
|
if (input.Identities != null) {
|
|
4081
4114
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4115
|
+
if (input.Identities?.length === 0) {
|
|
4116
|
+
entries.Identities = [];
|
|
4117
|
+
}
|
|
4082
4118
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4083
4119
|
const loc = `Identities.${key}`;
|
|
4084
4120
|
entries[loc] = value;
|
|
@@ -4217,6 +4253,9 @@ const serializeAws_queryMessageDsn = (input, context) => {
|
|
|
4217
4253
|
}
|
|
4218
4254
|
if (input.ExtensionFields != null) {
|
|
4219
4255
|
const memberEntries = serializeAws_queryExtensionFieldList(input.ExtensionFields, context);
|
|
4256
|
+
if (input.ExtensionFields?.length === 0) {
|
|
4257
|
+
entries.ExtensionFields = [];
|
|
4258
|
+
}
|
|
4220
4259
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4221
4260
|
const loc = `ExtensionFields.${key}`;
|
|
4222
4261
|
entries[loc] = value;
|
|
@@ -4400,6 +4439,9 @@ const serializeAws_queryReceiptRule = (input, context) => {
|
|
|
4400
4439
|
}
|
|
4401
4440
|
if (input.Recipients != null) {
|
|
4402
4441
|
const memberEntries = serializeAws_queryRecipientsList(input.Recipients, context);
|
|
4442
|
+
if (input.Recipients?.length === 0) {
|
|
4443
|
+
entries.Recipients = [];
|
|
4444
|
+
}
|
|
4403
4445
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4404
4446
|
const loc = `Recipients.${key}`;
|
|
4405
4447
|
entries[loc] = value;
|
|
@@ -4407,6 +4449,9 @@ const serializeAws_queryReceiptRule = (input, context) => {
|
|
|
4407
4449
|
}
|
|
4408
4450
|
if (input.Actions != null) {
|
|
4409
4451
|
const memberEntries = serializeAws_queryReceiptActionsList(input.Actions, context);
|
|
4452
|
+
if (input.Actions?.length === 0) {
|
|
4453
|
+
entries.Actions = [];
|
|
4454
|
+
}
|
|
4410
4455
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4411
4456
|
const loc = `Actions.${key}`;
|
|
4412
4457
|
entries[loc] = value;
|
|
@@ -4451,6 +4496,9 @@ const serializeAws_queryRecipientDsnFields = (input, context) => {
|
|
|
4451
4496
|
}
|
|
4452
4497
|
if (input.ExtensionFields != null) {
|
|
4453
4498
|
const memberEntries = serializeAws_queryExtensionFieldList(input.ExtensionFields, context);
|
|
4499
|
+
if (input.ExtensionFields?.length === 0) {
|
|
4500
|
+
entries.ExtensionFields = [];
|
|
4501
|
+
}
|
|
4454
4502
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4455
4503
|
const loc = `ExtensionFields.${key}`;
|
|
4456
4504
|
entries[loc] = value;
|
|
@@ -4477,6 +4525,9 @@ const serializeAws_queryReorderReceiptRuleSetRequest = (input, context) => {
|
|
|
4477
4525
|
}
|
|
4478
4526
|
if (input.RuleNames != null) {
|
|
4479
4527
|
const memberEntries = serializeAws_queryReceiptRuleNamesList(input.RuleNames, context);
|
|
4528
|
+
if (input.RuleNames?.length === 0) {
|
|
4529
|
+
entries.RuleNames = [];
|
|
4530
|
+
}
|
|
4480
4531
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4481
4532
|
const loc = `RuleNames.${key}`;
|
|
4482
4533
|
entries[loc] = value;
|
|
@@ -4520,6 +4571,9 @@ const serializeAws_querySendBounceRequest = (input, context) => {
|
|
|
4520
4571
|
}
|
|
4521
4572
|
if (input.BouncedRecipientInfoList != null) {
|
|
4522
4573
|
const memberEntries = serializeAws_queryBouncedRecipientInfoList(input.BouncedRecipientInfoList, context);
|
|
4574
|
+
if (input.BouncedRecipientInfoList?.length === 0) {
|
|
4575
|
+
entries.BouncedRecipientInfoList = [];
|
|
4576
|
+
}
|
|
4523
4577
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4524
4578
|
const loc = `BouncedRecipientInfoList.${key}`;
|
|
4525
4579
|
entries[loc] = value;
|
|
@@ -4540,6 +4594,9 @@ const serializeAws_querySendBulkTemplatedEmailRequest = (input, context) => {
|
|
|
4540
4594
|
}
|
|
4541
4595
|
if (input.ReplyToAddresses != null) {
|
|
4542
4596
|
const memberEntries = serializeAws_queryAddressList(input.ReplyToAddresses, context);
|
|
4597
|
+
if (input.ReplyToAddresses?.length === 0) {
|
|
4598
|
+
entries.ReplyToAddresses = [];
|
|
4599
|
+
}
|
|
4543
4600
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4544
4601
|
const loc = `ReplyToAddresses.${key}`;
|
|
4545
4602
|
entries[loc] = value;
|
|
@@ -4556,6 +4613,9 @@ const serializeAws_querySendBulkTemplatedEmailRequest = (input, context) => {
|
|
|
4556
4613
|
}
|
|
4557
4614
|
if (input.DefaultTags != null) {
|
|
4558
4615
|
const memberEntries = serializeAws_queryMessageTagList(input.DefaultTags, context);
|
|
4616
|
+
if (input.DefaultTags?.length === 0) {
|
|
4617
|
+
entries.DefaultTags = [];
|
|
4618
|
+
}
|
|
4559
4619
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4560
4620
|
const loc = `DefaultTags.${key}`;
|
|
4561
4621
|
entries[loc] = value;
|
|
@@ -4572,6 +4632,9 @@ const serializeAws_querySendBulkTemplatedEmailRequest = (input, context) => {
|
|
|
4572
4632
|
}
|
|
4573
4633
|
if (input.Destinations != null) {
|
|
4574
4634
|
const memberEntries = serializeAws_queryBulkEmailDestinationList(input.Destinations, context);
|
|
4635
|
+
if (input.Destinations?.length === 0) {
|
|
4636
|
+
entries.Destinations = [];
|
|
4637
|
+
}
|
|
4575
4638
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4576
4639
|
const loc = `Destinations.${key}`;
|
|
4577
4640
|
entries[loc] = value;
|
|
@@ -4613,6 +4676,9 @@ const serializeAws_querySendEmailRequest = (input, context) => {
|
|
|
4613
4676
|
}
|
|
4614
4677
|
if (input.ReplyToAddresses != null) {
|
|
4615
4678
|
const memberEntries = serializeAws_queryAddressList(input.ReplyToAddresses, context);
|
|
4679
|
+
if (input.ReplyToAddresses?.length === 0) {
|
|
4680
|
+
entries.ReplyToAddresses = [];
|
|
4681
|
+
}
|
|
4616
4682
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4617
4683
|
const loc = `ReplyToAddresses.${key}`;
|
|
4618
4684
|
entries[loc] = value;
|
|
@@ -4629,6 +4695,9 @@ const serializeAws_querySendEmailRequest = (input, context) => {
|
|
|
4629
4695
|
}
|
|
4630
4696
|
if (input.Tags != null) {
|
|
4631
4697
|
const memberEntries = serializeAws_queryMessageTagList(input.Tags, context);
|
|
4698
|
+
if (input.Tags?.length === 0) {
|
|
4699
|
+
entries.Tags = [];
|
|
4700
|
+
}
|
|
4632
4701
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4633
4702
|
const loc = `Tags.${key}`;
|
|
4634
4703
|
entries[loc] = value;
|
|
@@ -4646,6 +4715,9 @@ const serializeAws_querySendRawEmailRequest = (input, context) => {
|
|
|
4646
4715
|
}
|
|
4647
4716
|
if (input.Destinations != null) {
|
|
4648
4717
|
const memberEntries = serializeAws_queryAddressList(input.Destinations, context);
|
|
4718
|
+
if (input.Destinations?.length === 0) {
|
|
4719
|
+
entries.Destinations = [];
|
|
4720
|
+
}
|
|
4649
4721
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4650
4722
|
const loc = `Destinations.${key}`;
|
|
4651
4723
|
entries[loc] = value;
|
|
@@ -4669,6 +4741,9 @@ const serializeAws_querySendRawEmailRequest = (input, context) => {
|
|
|
4669
4741
|
}
|
|
4670
4742
|
if (input.Tags != null) {
|
|
4671
4743
|
const memberEntries = serializeAws_queryMessageTagList(input.Tags, context);
|
|
4744
|
+
if (input.Tags?.length === 0) {
|
|
4745
|
+
entries.Tags = [];
|
|
4746
|
+
}
|
|
4672
4747
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4673
4748
|
const loc = `Tags.${key}`;
|
|
4674
4749
|
entries[loc] = value;
|
|
@@ -4693,6 +4768,9 @@ const serializeAws_querySendTemplatedEmailRequest = (input, context) => {
|
|
|
4693
4768
|
}
|
|
4694
4769
|
if (input.ReplyToAddresses != null) {
|
|
4695
4770
|
const memberEntries = serializeAws_queryAddressList(input.ReplyToAddresses, context);
|
|
4771
|
+
if (input.ReplyToAddresses?.length === 0) {
|
|
4772
|
+
entries.ReplyToAddresses = [];
|
|
4773
|
+
}
|
|
4696
4774
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4697
4775
|
const loc = `ReplyToAddresses.${key}`;
|
|
4698
4776
|
entries[loc] = value;
|
|
@@ -4709,6 +4787,9 @@ const serializeAws_querySendTemplatedEmailRequest = (input, context) => {
|
|
|
4709
4787
|
}
|
|
4710
4788
|
if (input.Tags != null) {
|
|
4711
4789
|
const memberEntries = serializeAws_queryMessageTagList(input.Tags, context);
|
|
4790
|
+
if (input.Tags?.length === 0) {
|
|
4791
|
+
entries.Tags = [];
|
|
4792
|
+
}
|
|
4712
4793
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4713
4794
|
const loc = `Tags.${key}`;
|
|
4714
4795
|
entries[loc] = value;
|
|
@@ -4,7 +4,6 @@ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-
|
|
|
4
4
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
8
7
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
9
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
@@ -20,8 +19,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
19
|
...config,
|
|
21
20
|
runtime: "browser",
|
|
22
21
|
defaultsMode,
|
|
23
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
22
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
23
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
24
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
6
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
7
7
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
10
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
11
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
@@ -24,8 +23,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "node",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
2
3
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
4
|
export const getRuntimeConfig = (config) => ({
|
|
4
5
|
apiVersion: "2010-12-01",
|
|
6
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
7
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
5
8
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
9
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
7
10
|
logger: config?.logger ?? {},
|
|
@@ -6,8 +6,6 @@ import { SESClientConfig } from "./SESClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
23
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
22
|
apiVersion: string;
|
|
25
23
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -6,8 +6,6 @@ import { SESClientConfig } from "./SESClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
23
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
22
|
apiVersion: string;
|
|
25
23
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -5,6 +5,8 @@ import { SESClientConfig } from "./SESClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
10
|
disableHostPrefix: boolean;
|
|
9
11
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
10
12
|
logger?: __Logger | undefined;
|