@aws-sdk/client-ses 3.105.0 → 3.107.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 CHANGED
@@ -3,6 +3,17 @@
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.107.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.106.0...v3.107.0) (2022-06-08)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** handle empty xml tags ([#3623](https://github.com/aws/aws-sdk-js-v3/issues/3623)) ([543a0ce](https://github.com/aws/aws-sdk-js-v3/commit/543a0ce13bebc6e8a5f4cc8e1bd4de67692d4034))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
18
 
8
19
 
@@ -5517,7 +5517,8 @@ const deserializeAws_queryCloudWatchDestination = (output, context) => {
5517
5517
  if (output.DimensionConfigurations === "") {
5518
5518
  contents.DimensionConfigurations = [];
5519
5519
  }
5520
- if (output["DimensionConfigurations"] !== undefined && output["DimensionConfigurations"]["member"] !== undefined) {
5520
+ else if (output["DimensionConfigurations"] !== undefined &&
5521
+ output["DimensionConfigurations"]["member"] !== undefined) {
5521
5522
  contents.DimensionConfigurations = deserializeAws_queryCloudWatchDimensionConfigurations((0, smithy_client_1.getArrayIfSingleItem)(output["DimensionConfigurations"]["member"]), context);
5522
5523
  }
5523
5524
  return contents;
@@ -5761,7 +5762,7 @@ const deserializeAws_queryDescribeActiveReceiptRuleSetResponse = (output, contex
5761
5762
  if (output.Rules === "") {
5762
5763
  contents.Rules = [];
5763
5764
  }
5764
- if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
5765
+ else if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
5765
5766
  contents.Rules = deserializeAws_queryReceiptRulesList((0, smithy_client_1.getArrayIfSingleItem)(output["Rules"]["member"]), context);
5766
5767
  }
5767
5768
  return contents;
@@ -5780,7 +5781,7 @@ const deserializeAws_queryDescribeConfigurationSetResponse = (output, context) =
5780
5781
  if (output.EventDestinations === "") {
5781
5782
  contents.EventDestinations = [];
5782
5783
  }
5783
- if (output["EventDestinations"] !== undefined && output["EventDestinations"]["member"] !== undefined) {
5784
+ else if (output["EventDestinations"] !== undefined && output["EventDestinations"]["member"] !== undefined) {
5784
5785
  contents.EventDestinations = deserializeAws_queryEventDestinations((0, smithy_client_1.getArrayIfSingleItem)(output["EventDestinations"]["member"]), context);
5785
5786
  }
5786
5787
  if (output["TrackingOptions"] !== undefined) {
@@ -5814,7 +5815,7 @@ const deserializeAws_queryDescribeReceiptRuleSetResponse = (output, context) =>
5814
5815
  if (output.Rules === "") {
5815
5816
  contents.Rules = [];
5816
5817
  }
5817
- if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
5818
+ else if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
5818
5819
  contents.Rules = deserializeAws_queryReceiptRulesList((0, smithy_client_1.getArrayIfSingleItem)(output["Rules"]["member"]), context);
5819
5820
  }
5820
5821
  return contents;
@@ -5848,7 +5849,7 @@ const deserializeAws_queryEventDestination = (output, context) => {
5848
5849
  if (output.MatchingEventTypes === "") {
5849
5850
  contents.MatchingEventTypes = [];
5850
5851
  }
5851
- if (output["MatchingEventTypes"] !== undefined && output["MatchingEventTypes"]["member"] !== undefined) {
5852
+ else if (output["MatchingEventTypes"] !== undefined && output["MatchingEventTypes"]["member"] !== undefined) {
5852
5853
  contents.MatchingEventTypes = deserializeAws_queryEventTypes((0, smithy_client_1.getArrayIfSingleItem)(output["MatchingEventTypes"]["member"]), context);
5853
5854
  }
5854
5855
  if (output["KinesisFirehoseDestination"] !== undefined) {
@@ -5974,7 +5975,7 @@ const deserializeAws_queryGetIdentityDkimAttributesResponse = (output, context)
5974
5975
  if (output.DkimAttributes === "") {
5975
5976
  contents.DkimAttributes = {};
5976
5977
  }
5977
- if (output["DkimAttributes"] !== undefined && output["DkimAttributes"]["entry"] !== undefined) {
5978
+ else if (output["DkimAttributes"] !== undefined && output["DkimAttributes"]["entry"] !== undefined) {
5978
5979
  contents.DkimAttributes = deserializeAws_queryDkimAttributes((0, smithy_client_1.getArrayIfSingleItem)(output["DkimAttributes"]["entry"]), context);
5979
5980
  }
5980
5981
  return contents;
@@ -5986,7 +5987,8 @@ const deserializeAws_queryGetIdentityMailFromDomainAttributesResponse = (output,
5986
5987
  if (output.MailFromDomainAttributes === "") {
5987
5988
  contents.MailFromDomainAttributes = {};
5988
5989
  }
5989
- if (output["MailFromDomainAttributes"] !== undefined && output["MailFromDomainAttributes"]["entry"] !== undefined) {
5990
+ else if (output["MailFromDomainAttributes"] !== undefined &&
5991
+ output["MailFromDomainAttributes"]["entry"] !== undefined) {
5990
5992
  contents.MailFromDomainAttributes = deserializeAws_queryMailFromDomainAttributes((0, smithy_client_1.getArrayIfSingleItem)(output["MailFromDomainAttributes"]["entry"]), context);
5991
5993
  }
5992
5994
  return contents;
@@ -5998,7 +6000,8 @@ const deserializeAws_queryGetIdentityNotificationAttributesResponse = (output, c
5998
6000
  if (output.NotificationAttributes === "") {
5999
6001
  contents.NotificationAttributes = {};
6000
6002
  }
6001
- if (output["NotificationAttributes"] !== undefined && output["NotificationAttributes"]["entry"] !== undefined) {
6003
+ else if (output["NotificationAttributes"] !== undefined &&
6004
+ output["NotificationAttributes"]["entry"] !== undefined) {
6002
6005
  contents.NotificationAttributes = deserializeAws_queryNotificationAttributes((0, smithy_client_1.getArrayIfSingleItem)(output["NotificationAttributes"]["entry"]), context);
6003
6006
  }
6004
6007
  return contents;
@@ -6010,7 +6013,7 @@ const deserializeAws_queryGetIdentityPoliciesResponse = (output, context) => {
6010
6013
  if (output.Policies === "") {
6011
6014
  contents.Policies = {};
6012
6015
  }
6013
- if (output["Policies"] !== undefined && output["Policies"]["entry"] !== undefined) {
6016
+ else if (output["Policies"] !== undefined && output["Policies"]["entry"] !== undefined) {
6014
6017
  contents.Policies = deserializeAws_queryPolicyMap((0, smithy_client_1.getArrayIfSingleItem)(output["Policies"]["entry"]), context);
6015
6018
  }
6016
6019
  return contents;
@@ -6022,7 +6025,8 @@ const deserializeAws_queryGetIdentityVerificationAttributesResponse = (output, c
6022
6025
  if (output.VerificationAttributes === "") {
6023
6026
  contents.VerificationAttributes = {};
6024
6027
  }
6025
- if (output["VerificationAttributes"] !== undefined && output["VerificationAttributes"]["entry"] !== undefined) {
6028
+ else if (output["VerificationAttributes"] !== undefined &&
6029
+ output["VerificationAttributes"]["entry"] !== undefined) {
6026
6030
  contents.VerificationAttributes = deserializeAws_queryVerificationAttributes((0, smithy_client_1.getArrayIfSingleItem)(output["VerificationAttributes"]["entry"]), context);
6027
6031
  }
6028
6032
  return contents;
@@ -6051,7 +6055,7 @@ const deserializeAws_queryGetSendStatisticsResponse = (output, context) => {
6051
6055
  if (output.SendDataPoints === "") {
6052
6056
  contents.SendDataPoints = [];
6053
6057
  }
6054
- if (output["SendDataPoints"] !== undefined && output["SendDataPoints"]["member"] !== undefined) {
6058
+ else if (output["SendDataPoints"] !== undefined && output["SendDataPoints"]["member"] !== undefined) {
6055
6059
  contents.SendDataPoints = deserializeAws_querySendDataPointList((0, smithy_client_1.getArrayIfSingleItem)(output["SendDataPoints"]["member"]), context);
6056
6060
  }
6057
6061
  return contents;
@@ -6080,7 +6084,7 @@ const deserializeAws_queryIdentityDkimAttributes = (output, context) => {
6080
6084
  if (output.DkimTokens === "") {
6081
6085
  contents.DkimTokens = [];
6082
6086
  }
6083
- if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
6087
+ else if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
6084
6088
  contents.DkimTokens = deserializeAws_queryVerificationTokenList((0, smithy_client_1.getArrayIfSingleItem)(output["DkimTokens"]["member"]), context);
6085
6089
  }
6086
6090
  return contents;
@@ -6357,7 +6361,7 @@ const deserializeAws_queryListConfigurationSetsResponse = (output, context) => {
6357
6361
  if (output.ConfigurationSets === "") {
6358
6362
  contents.ConfigurationSets = [];
6359
6363
  }
6360
- if (output["ConfigurationSets"] !== undefined && output["ConfigurationSets"]["member"] !== undefined) {
6364
+ else if (output["ConfigurationSets"] !== undefined && output["ConfigurationSets"]["member"] !== undefined) {
6361
6365
  contents.ConfigurationSets = deserializeAws_queryConfigurationSets((0, smithy_client_1.getArrayIfSingleItem)(output["ConfigurationSets"]["member"]), context);
6362
6366
  }
6363
6367
  if (output["NextToken"] !== undefined) {
@@ -6373,7 +6377,7 @@ const deserializeAws_queryListCustomVerificationEmailTemplatesResponse = (output
6373
6377
  if (output.CustomVerificationEmailTemplates === "") {
6374
6378
  contents.CustomVerificationEmailTemplates = [];
6375
6379
  }
6376
- if (output["CustomVerificationEmailTemplates"] !== undefined &&
6380
+ else if (output["CustomVerificationEmailTemplates"] !== undefined &&
6377
6381
  output["CustomVerificationEmailTemplates"]["member"] !== undefined) {
6378
6382
  contents.CustomVerificationEmailTemplates = deserializeAws_queryCustomVerificationEmailTemplates((0, smithy_client_1.getArrayIfSingleItem)(output["CustomVerificationEmailTemplates"]["member"]), context);
6379
6383
  }
@@ -6390,7 +6394,7 @@ const deserializeAws_queryListIdentitiesResponse = (output, context) => {
6390
6394
  if (output.Identities === "") {
6391
6395
  contents.Identities = [];
6392
6396
  }
6393
- if (output["Identities"] !== undefined && output["Identities"]["member"] !== undefined) {
6397
+ else if (output["Identities"] !== undefined && output["Identities"]["member"] !== undefined) {
6394
6398
  contents.Identities = deserializeAws_queryIdentityList((0, smithy_client_1.getArrayIfSingleItem)(output["Identities"]["member"]), context);
6395
6399
  }
6396
6400
  if (output["NextToken"] !== undefined) {
@@ -6405,7 +6409,7 @@ const deserializeAws_queryListIdentityPoliciesResponse = (output, context) => {
6405
6409
  if (output.PolicyNames === "") {
6406
6410
  contents.PolicyNames = [];
6407
6411
  }
6408
- if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
6412
+ else if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
6409
6413
  contents.PolicyNames = deserializeAws_queryPolicyNameList((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyNames"]["member"]), context);
6410
6414
  }
6411
6415
  return contents;
@@ -6417,7 +6421,7 @@ const deserializeAws_queryListReceiptFiltersResponse = (output, context) => {
6417
6421
  if (output.Filters === "") {
6418
6422
  contents.Filters = [];
6419
6423
  }
6420
- if (output["Filters"] !== undefined && output["Filters"]["member"] !== undefined) {
6424
+ else if (output["Filters"] !== undefined && output["Filters"]["member"] !== undefined) {
6421
6425
  contents.Filters = deserializeAws_queryReceiptFilterList((0, smithy_client_1.getArrayIfSingleItem)(output["Filters"]["member"]), context);
6422
6426
  }
6423
6427
  return contents;
@@ -6430,7 +6434,7 @@ const deserializeAws_queryListReceiptRuleSetsResponse = (output, context) => {
6430
6434
  if (output.RuleSets === "") {
6431
6435
  contents.RuleSets = [];
6432
6436
  }
6433
- if (output["RuleSets"] !== undefined && output["RuleSets"]["member"] !== undefined) {
6437
+ else if (output["RuleSets"] !== undefined && output["RuleSets"]["member"] !== undefined) {
6434
6438
  contents.RuleSets = deserializeAws_queryReceiptRuleSetsLists((0, smithy_client_1.getArrayIfSingleItem)(output["RuleSets"]["member"]), context);
6435
6439
  }
6436
6440
  if (output["NextToken"] !== undefined) {
@@ -6446,7 +6450,7 @@ const deserializeAws_queryListTemplatesResponse = (output, context) => {
6446
6450
  if (output.TemplatesMetadata === "") {
6447
6451
  contents.TemplatesMetadata = [];
6448
6452
  }
6449
- if (output["TemplatesMetadata"] !== undefined && output["TemplatesMetadata"]["member"] !== undefined) {
6453
+ else if (output["TemplatesMetadata"] !== undefined && output["TemplatesMetadata"]["member"] !== undefined) {
6450
6454
  contents.TemplatesMetadata = deserializeAws_queryTemplateMetadataList((0, smithy_client_1.getArrayIfSingleItem)(output["TemplatesMetadata"]["member"]), context);
6451
6455
  }
6452
6456
  if (output["NextToken"] !== undefined) {
@@ -6461,7 +6465,8 @@ const deserializeAws_queryListVerifiedEmailAddressesResponse = (output, context)
6461
6465
  if (output.VerifiedEmailAddresses === "") {
6462
6466
  contents.VerifiedEmailAddresses = [];
6463
6467
  }
6464
- if (output["VerifiedEmailAddresses"] !== undefined && output["VerifiedEmailAddresses"]["member"] !== undefined) {
6468
+ else if (output["VerifiedEmailAddresses"] !== undefined &&
6469
+ output["VerifiedEmailAddresses"]["member"] !== undefined) {
6465
6470
  contents.VerifiedEmailAddresses = deserializeAws_queryAddressList((0, smithy_client_1.getArrayIfSingleItem)(output["VerifiedEmailAddresses"]["member"]), context);
6466
6471
  }
6467
6472
  return contents;
@@ -6657,13 +6662,13 @@ const deserializeAws_queryReceiptRule = (output, context) => {
6657
6662
  if (output.Recipients === "") {
6658
6663
  contents.Recipients = [];
6659
6664
  }
6660
- if (output["Recipients"] !== undefined && output["Recipients"]["member"] !== undefined) {
6665
+ else if (output["Recipients"] !== undefined && output["Recipients"]["member"] !== undefined) {
6661
6666
  contents.Recipients = deserializeAws_queryRecipientsList((0, smithy_client_1.getArrayIfSingleItem)(output["Recipients"]["member"]), context);
6662
6667
  }
6663
6668
  if (output.Actions === "") {
6664
6669
  contents.Actions = [];
6665
6670
  }
6666
- if (output["Actions"] !== undefined && output["Actions"]["member"] !== undefined) {
6671
+ else if (output["Actions"] !== undefined && output["Actions"]["member"] !== undefined) {
6667
6672
  contents.Actions = deserializeAws_queryReceiptActionsList((0, smithy_client_1.getArrayIfSingleItem)(output["Actions"]["member"]), context);
6668
6673
  }
6669
6674
  if (output["ScanEnabled"] !== undefined) {
@@ -6798,7 +6803,7 @@ const deserializeAws_querySendBulkTemplatedEmailResponse = (output, context) =>
6798
6803
  if (output.Status === "") {
6799
6804
  contents.Status = [];
6800
6805
  }
6801
- if (output["Status"] !== undefined && output["Status"]["member"] !== undefined) {
6806
+ else if (output["Status"] !== undefined && output["Status"]["member"] !== undefined) {
6802
6807
  contents.Status = deserializeAws_queryBulkEmailDestinationStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["Status"]["member"]), context);
6803
6808
  }
6804
6809
  return contents;
@@ -7082,7 +7087,7 @@ const deserializeAws_queryVerifyDomainDkimResponse = (output, context) => {
7082
7087
  if (output.DkimTokens === "") {
7083
7088
  contents.DkimTokens = [];
7084
7089
  }
7085
- if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
7090
+ else if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
7086
7091
  contents.DkimTokens = deserializeAws_queryVerificationTokenList((0, smithy_client_1.getArrayIfSingleItem)(output["DkimTokens"]["member"]), context);
7087
7092
  }
7088
7093
  return contents;
@@ -6549,7 +6549,8 @@ var deserializeAws_queryCloudWatchDestination = function (output, context) {
6549
6549
  if (output.DimensionConfigurations === "") {
6550
6550
  contents.DimensionConfigurations = [];
6551
6551
  }
6552
- if (output["DimensionConfigurations"] !== undefined && output["DimensionConfigurations"]["member"] !== undefined) {
6552
+ else if (output["DimensionConfigurations"] !== undefined &&
6553
+ output["DimensionConfigurations"]["member"] !== undefined) {
6553
6554
  contents.DimensionConfigurations = deserializeAws_queryCloudWatchDimensionConfigurations(__getArrayIfSingleItem(output["DimensionConfigurations"]["member"]), context);
6554
6555
  }
6555
6556
  return contents;
@@ -6793,7 +6794,7 @@ var deserializeAws_queryDescribeActiveReceiptRuleSetResponse = function (output,
6793
6794
  if (output.Rules === "") {
6794
6795
  contents.Rules = [];
6795
6796
  }
6796
- if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
6797
+ else if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
6797
6798
  contents.Rules = deserializeAws_queryReceiptRulesList(__getArrayIfSingleItem(output["Rules"]["member"]), context);
6798
6799
  }
6799
6800
  return contents;
@@ -6812,7 +6813,7 @@ var deserializeAws_queryDescribeConfigurationSetResponse = function (output, con
6812
6813
  if (output.EventDestinations === "") {
6813
6814
  contents.EventDestinations = [];
6814
6815
  }
6815
- if (output["EventDestinations"] !== undefined && output["EventDestinations"]["member"] !== undefined) {
6816
+ else if (output["EventDestinations"] !== undefined && output["EventDestinations"]["member"] !== undefined) {
6816
6817
  contents.EventDestinations = deserializeAws_queryEventDestinations(__getArrayIfSingleItem(output["EventDestinations"]["member"]), context);
6817
6818
  }
6818
6819
  if (output["TrackingOptions"] !== undefined) {
@@ -6846,7 +6847,7 @@ var deserializeAws_queryDescribeReceiptRuleSetResponse = function (output, conte
6846
6847
  if (output.Rules === "") {
6847
6848
  contents.Rules = [];
6848
6849
  }
6849
- if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
6850
+ else if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
6850
6851
  contents.Rules = deserializeAws_queryReceiptRulesList(__getArrayIfSingleItem(output["Rules"]["member"]), context);
6851
6852
  }
6852
6853
  return contents;
@@ -6878,7 +6879,7 @@ var deserializeAws_queryEventDestination = function (output, context) {
6878
6879
  if (output.MatchingEventTypes === "") {
6879
6880
  contents.MatchingEventTypes = [];
6880
6881
  }
6881
- if (output["MatchingEventTypes"] !== undefined && output["MatchingEventTypes"]["member"] !== undefined) {
6882
+ else if (output["MatchingEventTypes"] !== undefined && output["MatchingEventTypes"]["member"] !== undefined) {
6882
6883
  contents.MatchingEventTypes = deserializeAws_queryEventTypes(__getArrayIfSingleItem(output["MatchingEventTypes"]["member"]), context);
6883
6884
  }
6884
6885
  if (output["KinesisFirehoseDestination"] !== undefined) {
@@ -7004,7 +7005,7 @@ var deserializeAws_queryGetIdentityDkimAttributesResponse = function (output, co
7004
7005
  if (output.DkimAttributes === "") {
7005
7006
  contents.DkimAttributes = {};
7006
7007
  }
7007
- if (output["DkimAttributes"] !== undefined && output["DkimAttributes"]["entry"] !== undefined) {
7008
+ else if (output["DkimAttributes"] !== undefined && output["DkimAttributes"]["entry"] !== undefined) {
7008
7009
  contents.DkimAttributes = deserializeAws_queryDkimAttributes(__getArrayIfSingleItem(output["DkimAttributes"]["entry"]), context);
7009
7010
  }
7010
7011
  return contents;
@@ -7016,7 +7017,8 @@ var deserializeAws_queryGetIdentityMailFromDomainAttributesResponse = function (
7016
7017
  if (output.MailFromDomainAttributes === "") {
7017
7018
  contents.MailFromDomainAttributes = {};
7018
7019
  }
7019
- if (output["MailFromDomainAttributes"] !== undefined && output["MailFromDomainAttributes"]["entry"] !== undefined) {
7020
+ else if (output["MailFromDomainAttributes"] !== undefined &&
7021
+ output["MailFromDomainAttributes"]["entry"] !== undefined) {
7020
7022
  contents.MailFromDomainAttributes = deserializeAws_queryMailFromDomainAttributes(__getArrayIfSingleItem(output["MailFromDomainAttributes"]["entry"]), context);
7021
7023
  }
7022
7024
  return contents;
@@ -7028,7 +7030,8 @@ var deserializeAws_queryGetIdentityNotificationAttributesResponse = function (ou
7028
7030
  if (output.NotificationAttributes === "") {
7029
7031
  contents.NotificationAttributes = {};
7030
7032
  }
7031
- if (output["NotificationAttributes"] !== undefined && output["NotificationAttributes"]["entry"] !== undefined) {
7033
+ else if (output["NotificationAttributes"] !== undefined &&
7034
+ output["NotificationAttributes"]["entry"] !== undefined) {
7032
7035
  contents.NotificationAttributes = deserializeAws_queryNotificationAttributes(__getArrayIfSingleItem(output["NotificationAttributes"]["entry"]), context);
7033
7036
  }
7034
7037
  return contents;
@@ -7040,7 +7043,7 @@ var deserializeAws_queryGetIdentityPoliciesResponse = function (output, context)
7040
7043
  if (output.Policies === "") {
7041
7044
  contents.Policies = {};
7042
7045
  }
7043
- if (output["Policies"] !== undefined && output["Policies"]["entry"] !== undefined) {
7046
+ else if (output["Policies"] !== undefined && output["Policies"]["entry"] !== undefined) {
7044
7047
  contents.Policies = deserializeAws_queryPolicyMap(__getArrayIfSingleItem(output["Policies"]["entry"]), context);
7045
7048
  }
7046
7049
  return contents;
@@ -7052,7 +7055,8 @@ var deserializeAws_queryGetIdentityVerificationAttributesResponse = function (ou
7052
7055
  if (output.VerificationAttributes === "") {
7053
7056
  contents.VerificationAttributes = {};
7054
7057
  }
7055
- if (output["VerificationAttributes"] !== undefined && output["VerificationAttributes"]["entry"] !== undefined) {
7058
+ else if (output["VerificationAttributes"] !== undefined &&
7059
+ output["VerificationAttributes"]["entry"] !== undefined) {
7056
7060
  contents.VerificationAttributes = deserializeAws_queryVerificationAttributes(__getArrayIfSingleItem(output["VerificationAttributes"]["entry"]), context);
7057
7061
  }
7058
7062
  return contents;
@@ -7081,7 +7085,7 @@ var deserializeAws_queryGetSendStatisticsResponse = function (output, context) {
7081
7085
  if (output.SendDataPoints === "") {
7082
7086
  contents.SendDataPoints = [];
7083
7087
  }
7084
- if (output["SendDataPoints"] !== undefined && output["SendDataPoints"]["member"] !== undefined) {
7088
+ else if (output["SendDataPoints"] !== undefined && output["SendDataPoints"]["member"] !== undefined) {
7085
7089
  contents.SendDataPoints = deserializeAws_querySendDataPointList(__getArrayIfSingleItem(output["SendDataPoints"]["member"]), context);
7086
7090
  }
7087
7091
  return contents;
@@ -7110,7 +7114,7 @@ var deserializeAws_queryIdentityDkimAttributes = function (output, context) {
7110
7114
  if (output.DkimTokens === "") {
7111
7115
  contents.DkimTokens = [];
7112
7116
  }
7113
- if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
7117
+ else if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
7114
7118
  contents.DkimTokens = deserializeAws_queryVerificationTokenList(__getArrayIfSingleItem(output["DkimTokens"]["member"]), context);
7115
7119
  }
7116
7120
  return contents;
@@ -7387,7 +7391,7 @@ var deserializeAws_queryListConfigurationSetsResponse = function (output, contex
7387
7391
  if (output.ConfigurationSets === "") {
7388
7392
  contents.ConfigurationSets = [];
7389
7393
  }
7390
- if (output["ConfigurationSets"] !== undefined && output["ConfigurationSets"]["member"] !== undefined) {
7394
+ else if (output["ConfigurationSets"] !== undefined && output["ConfigurationSets"]["member"] !== undefined) {
7391
7395
  contents.ConfigurationSets = deserializeAws_queryConfigurationSets(__getArrayIfSingleItem(output["ConfigurationSets"]["member"]), context);
7392
7396
  }
7393
7397
  if (output["NextToken"] !== undefined) {
@@ -7403,7 +7407,7 @@ var deserializeAws_queryListCustomVerificationEmailTemplatesResponse = function
7403
7407
  if (output.CustomVerificationEmailTemplates === "") {
7404
7408
  contents.CustomVerificationEmailTemplates = [];
7405
7409
  }
7406
- if (output["CustomVerificationEmailTemplates"] !== undefined &&
7410
+ else if (output["CustomVerificationEmailTemplates"] !== undefined &&
7407
7411
  output["CustomVerificationEmailTemplates"]["member"] !== undefined) {
7408
7412
  contents.CustomVerificationEmailTemplates = deserializeAws_queryCustomVerificationEmailTemplates(__getArrayIfSingleItem(output["CustomVerificationEmailTemplates"]["member"]), context);
7409
7413
  }
@@ -7420,7 +7424,7 @@ var deserializeAws_queryListIdentitiesResponse = function (output, context) {
7420
7424
  if (output.Identities === "") {
7421
7425
  contents.Identities = [];
7422
7426
  }
7423
- if (output["Identities"] !== undefined && output["Identities"]["member"] !== undefined) {
7427
+ else if (output["Identities"] !== undefined && output["Identities"]["member"] !== undefined) {
7424
7428
  contents.Identities = deserializeAws_queryIdentityList(__getArrayIfSingleItem(output["Identities"]["member"]), context);
7425
7429
  }
7426
7430
  if (output["NextToken"] !== undefined) {
@@ -7435,7 +7439,7 @@ var deserializeAws_queryListIdentityPoliciesResponse = function (output, context
7435
7439
  if (output.PolicyNames === "") {
7436
7440
  contents.PolicyNames = [];
7437
7441
  }
7438
- if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
7442
+ else if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
7439
7443
  contents.PolicyNames = deserializeAws_queryPolicyNameList(__getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
7440
7444
  }
7441
7445
  return contents;
@@ -7447,7 +7451,7 @@ var deserializeAws_queryListReceiptFiltersResponse = function (output, context)
7447
7451
  if (output.Filters === "") {
7448
7452
  contents.Filters = [];
7449
7453
  }
7450
- if (output["Filters"] !== undefined && output["Filters"]["member"] !== undefined) {
7454
+ else if (output["Filters"] !== undefined && output["Filters"]["member"] !== undefined) {
7451
7455
  contents.Filters = deserializeAws_queryReceiptFilterList(__getArrayIfSingleItem(output["Filters"]["member"]), context);
7452
7456
  }
7453
7457
  return contents;
@@ -7460,7 +7464,7 @@ var deserializeAws_queryListReceiptRuleSetsResponse = function (output, context)
7460
7464
  if (output.RuleSets === "") {
7461
7465
  contents.RuleSets = [];
7462
7466
  }
7463
- if (output["RuleSets"] !== undefined && output["RuleSets"]["member"] !== undefined) {
7467
+ else if (output["RuleSets"] !== undefined && output["RuleSets"]["member"] !== undefined) {
7464
7468
  contents.RuleSets = deserializeAws_queryReceiptRuleSetsLists(__getArrayIfSingleItem(output["RuleSets"]["member"]), context);
7465
7469
  }
7466
7470
  if (output["NextToken"] !== undefined) {
@@ -7476,7 +7480,7 @@ var deserializeAws_queryListTemplatesResponse = function (output, context) {
7476
7480
  if (output.TemplatesMetadata === "") {
7477
7481
  contents.TemplatesMetadata = [];
7478
7482
  }
7479
- if (output["TemplatesMetadata"] !== undefined && output["TemplatesMetadata"]["member"] !== undefined) {
7483
+ else if (output["TemplatesMetadata"] !== undefined && output["TemplatesMetadata"]["member"] !== undefined) {
7480
7484
  contents.TemplatesMetadata = deserializeAws_queryTemplateMetadataList(__getArrayIfSingleItem(output["TemplatesMetadata"]["member"]), context);
7481
7485
  }
7482
7486
  if (output["NextToken"] !== undefined) {
@@ -7491,7 +7495,8 @@ var deserializeAws_queryListVerifiedEmailAddressesResponse = function (output, c
7491
7495
  if (output.VerifiedEmailAddresses === "") {
7492
7496
  contents.VerifiedEmailAddresses = [];
7493
7497
  }
7494
- if (output["VerifiedEmailAddresses"] !== undefined && output["VerifiedEmailAddresses"]["member"] !== undefined) {
7498
+ else if (output["VerifiedEmailAddresses"] !== undefined &&
7499
+ output["VerifiedEmailAddresses"]["member"] !== undefined) {
7495
7500
  contents.VerifiedEmailAddresses = deserializeAws_queryAddressList(__getArrayIfSingleItem(output["VerifiedEmailAddresses"]["member"]), context);
7496
7501
  }
7497
7502
  return contents;
@@ -7681,13 +7686,13 @@ var deserializeAws_queryReceiptRule = function (output, context) {
7681
7686
  if (output.Recipients === "") {
7682
7687
  contents.Recipients = [];
7683
7688
  }
7684
- if (output["Recipients"] !== undefined && output["Recipients"]["member"] !== undefined) {
7689
+ else if (output["Recipients"] !== undefined && output["Recipients"]["member"] !== undefined) {
7685
7690
  contents.Recipients = deserializeAws_queryRecipientsList(__getArrayIfSingleItem(output["Recipients"]["member"]), context);
7686
7691
  }
7687
7692
  if (output.Actions === "") {
7688
7693
  contents.Actions = [];
7689
7694
  }
7690
- if (output["Actions"] !== undefined && output["Actions"]["member"] !== undefined) {
7695
+ else if (output["Actions"] !== undefined && output["Actions"]["member"] !== undefined) {
7691
7696
  contents.Actions = deserializeAws_queryReceiptActionsList(__getArrayIfSingleItem(output["Actions"]["member"]), context);
7692
7697
  }
7693
7698
  if (output["ScanEnabled"] !== undefined) {
@@ -7822,7 +7827,7 @@ var deserializeAws_querySendBulkTemplatedEmailResponse = function (output, conte
7822
7827
  if (output.Status === "") {
7823
7828
  contents.Status = [];
7824
7829
  }
7825
- if (output["Status"] !== undefined && output["Status"]["member"] !== undefined) {
7830
+ else if (output["Status"] !== undefined && output["Status"]["member"] !== undefined) {
7826
7831
  contents.Status = deserializeAws_queryBulkEmailDestinationStatusList(__getArrayIfSingleItem(output["Status"]["member"]), context);
7827
7832
  }
7828
7833
  return contents;
@@ -8104,7 +8109,7 @@ var deserializeAws_queryVerifyDomainDkimResponse = function (output, context) {
8104
8109
  if (output.DkimTokens === "") {
8105
8110
  contents.DkimTokens = [];
8106
8111
  }
8107
- if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
8112
+ else if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
8108
8113
  contents.DkimTokens = deserializeAws_queryVerificationTokenList(__getArrayIfSingleItem(output["DkimTokens"]["member"]), context);
8109
8114
  }
8110
8115
  return contents;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ses",
3
3
  "description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
4
- "version": "3.105.0",
4
+ "version": "3.107.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",