@aws-sdk/client-ses 3.296.0 → 3.297.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.
Files changed (81) hide show
  1. package/dist-cjs/protocols/Aws_query.js +95 -394
  2. package/dist-es/protocols/Aws_query.js +95 -394
  3. package/dist-types/SES.d.ts +72 -0
  4. package/dist-types/SESClient.d.ts +24 -4
  5. package/dist-types/commands/CloneReceiptRuleSetCommand.d.ts +16 -0
  6. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +16 -0
  7. package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +16 -0
  8. package/dist-types/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +16 -0
  9. package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateReceiptFilterCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateReceiptRuleCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateReceiptRuleSetCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateTemplateCommand.d.ts +16 -0
  14. package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +16 -0
  15. package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +16 -0
  16. package/dist-types/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +16 -0
  18. package/dist-types/commands/DeleteIdentityCommand.d.ts +16 -0
  19. package/dist-types/commands/DeleteIdentityPolicyCommand.d.ts +16 -0
  20. package/dist-types/commands/DeleteReceiptFilterCommand.d.ts +16 -0
  21. package/dist-types/commands/DeleteReceiptRuleCommand.d.ts +16 -0
  22. package/dist-types/commands/DeleteReceiptRuleSetCommand.d.ts +16 -0
  23. package/dist-types/commands/DeleteTemplateCommand.d.ts +16 -0
  24. package/dist-types/commands/DeleteVerifiedEmailAddressCommand.d.ts +16 -0
  25. package/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +16 -0
  26. package/dist-types/commands/DescribeConfigurationSetCommand.d.ts +16 -0
  27. package/dist-types/commands/DescribeReceiptRuleCommand.d.ts +16 -0
  28. package/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +16 -0
  29. package/dist-types/commands/GetAccountSendingEnabledCommand.d.ts +16 -0
  30. package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +16 -0
  31. package/dist-types/commands/GetIdentityDkimAttributesCommand.d.ts +16 -0
  32. package/dist-types/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +16 -0
  33. package/dist-types/commands/GetIdentityNotificationAttributesCommand.d.ts +16 -0
  34. package/dist-types/commands/GetIdentityPoliciesCommand.d.ts +16 -0
  35. package/dist-types/commands/GetIdentityVerificationAttributesCommand.d.ts +16 -0
  36. package/dist-types/commands/GetSendQuotaCommand.d.ts +16 -0
  37. package/dist-types/commands/GetSendStatisticsCommand.d.ts +16 -0
  38. package/dist-types/commands/GetTemplateCommand.d.ts +16 -0
  39. package/dist-types/commands/ListConfigurationSetsCommand.d.ts +16 -0
  40. package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +16 -0
  41. package/dist-types/commands/ListIdentitiesCommand.d.ts +16 -0
  42. package/dist-types/commands/ListIdentityPoliciesCommand.d.ts +16 -0
  43. package/dist-types/commands/ListReceiptFiltersCommand.d.ts +16 -0
  44. package/dist-types/commands/ListReceiptRuleSetsCommand.d.ts +16 -0
  45. package/dist-types/commands/ListTemplatesCommand.d.ts +16 -0
  46. package/dist-types/commands/ListVerifiedEmailAddressesCommand.d.ts +16 -0
  47. package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +16 -0
  48. package/dist-types/commands/PutIdentityPolicyCommand.d.ts +16 -0
  49. package/dist-types/commands/ReorderReceiptRuleSetCommand.d.ts +16 -0
  50. package/dist-types/commands/SendBounceCommand.d.ts +16 -0
  51. package/dist-types/commands/SendBulkTemplatedEmailCommand.d.ts +16 -0
  52. package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +16 -0
  53. package/dist-types/commands/SendEmailCommand.d.ts +16 -0
  54. package/dist-types/commands/SendRawEmailCommand.d.ts +16 -0
  55. package/dist-types/commands/SendTemplatedEmailCommand.d.ts +16 -0
  56. package/dist-types/commands/SetActiveReceiptRuleSetCommand.d.ts +16 -0
  57. package/dist-types/commands/SetIdentityDkimEnabledCommand.d.ts +16 -0
  58. package/dist-types/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +16 -0
  59. package/dist-types/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +16 -0
  60. package/dist-types/commands/SetIdentityMailFromDomainCommand.d.ts +16 -0
  61. package/dist-types/commands/SetIdentityNotificationTopicCommand.d.ts +16 -0
  62. package/dist-types/commands/SetReceiptRulePositionCommand.d.ts +16 -0
  63. package/dist-types/commands/TestRenderTemplateCommand.d.ts +16 -0
  64. package/dist-types/commands/UpdateAccountSendingEnabledCommand.d.ts +16 -0
  65. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +16 -0
  66. package/dist-types/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +16 -0
  67. package/dist-types/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +16 -0
  68. package/dist-types/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +16 -0
  69. package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +16 -0
  70. package/dist-types/commands/UpdateReceiptRuleCommand.d.ts +16 -0
  71. package/dist-types/commands/UpdateTemplateCommand.d.ts +16 -0
  72. package/dist-types/commands/VerifyDomainDkimCommand.d.ts +16 -0
  73. package/dist-types/commands/VerifyDomainIdentityCommand.d.ts +16 -0
  74. package/dist-types/commands/VerifyEmailAddressCommand.d.ts +16 -0
  75. package/dist-types/commands/VerifyEmailIdentityCommand.d.ts +16 -0
  76. package/dist-types/models/SESServiceException.d.ts +2 -0
  77. package/dist-types/models/models_0.d.ts +277 -0
  78. package/dist-types/pagination/Interfaces.d.ts +3 -0
  79. package/dist-types/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +3 -0
  80. package/dist-types/pagination/ListIdentitiesPaginator.d.ts +3 -0
  81. package/package.json +3 -3
@@ -5236,19 +5236,14 @@ const serializeAws_queryWorkmailAction = (input, context) => {
5236
5236
  return entries;
5237
5237
  };
5238
5238
  const deserializeAws_queryAccountSendingPausedException = (output, context) => {
5239
- const contents = {
5240
- message: undefined,
5241
- };
5239
+ const contents = {};
5242
5240
  if (output["message"] !== undefined) {
5243
5241
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5244
5242
  }
5245
5243
  return contents;
5246
5244
  };
5247
5245
  const deserializeAws_queryAddHeaderAction = (output, context) => {
5248
- const contents = {
5249
- HeaderName: undefined,
5250
- HeaderValue: undefined,
5251
- };
5246
+ const contents = {};
5252
5247
  if (output["HeaderName"] !== undefined) {
5253
5248
  contents.HeaderName = (0, smithy_client_1.expectString)(output["HeaderName"]);
5254
5249
  }
@@ -5265,10 +5260,7 @@ const deserializeAws_queryAddressList = (output, context) => {
5265
5260
  });
5266
5261
  };
5267
5262
  const deserializeAws_queryAlreadyExistsException = (output, context) => {
5268
- const contents = {
5269
- Name: undefined,
5270
- message: undefined,
5271
- };
5263
+ const contents = {};
5272
5264
  if (output["Name"] !== undefined) {
5273
5265
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
5274
5266
  }
@@ -5278,13 +5270,7 @@ const deserializeAws_queryAlreadyExistsException = (output, context) => {
5278
5270
  return contents;
5279
5271
  };
5280
5272
  const deserializeAws_queryBounceAction = (output, context) => {
5281
- const contents = {
5282
- TopicArn: undefined,
5283
- SmtpReplyCode: undefined,
5284
- StatusCode: undefined,
5285
- Message: undefined,
5286
- Sender: undefined,
5287
- };
5273
+ const contents = {};
5288
5274
  if (output["TopicArn"] !== undefined) {
5289
5275
  contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
5290
5276
  }
@@ -5303,11 +5289,7 @@ const deserializeAws_queryBounceAction = (output, context) => {
5303
5289
  return contents;
5304
5290
  };
5305
5291
  const deserializeAws_queryBulkEmailDestinationStatus = (output, context) => {
5306
- const contents = {
5307
- Status: undefined,
5308
- Error: undefined,
5309
- MessageId: undefined,
5310
- };
5292
+ const contents = {};
5311
5293
  if (output["Status"] !== undefined) {
5312
5294
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
5313
5295
  }
@@ -5327,10 +5309,7 @@ const deserializeAws_queryBulkEmailDestinationStatusList = (output, context) =>
5327
5309
  });
5328
5310
  };
5329
5311
  const deserializeAws_queryCannotDeleteException = (output, context) => {
5330
- const contents = {
5331
- Name: undefined,
5332
- message: undefined,
5333
- };
5312
+ const contents = {};
5334
5313
  if (output["Name"] !== undefined) {
5335
5314
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
5336
5315
  }
@@ -5344,9 +5323,7 @@ const deserializeAws_queryCloneReceiptRuleSetResponse = (output, context) => {
5344
5323
  return contents;
5345
5324
  };
5346
5325
  const deserializeAws_queryCloudWatchDestination = (output, context) => {
5347
- const contents = {
5348
- DimensionConfigurations: undefined,
5349
- };
5326
+ const contents = {};
5350
5327
  if (output.DimensionConfigurations === "") {
5351
5328
  contents.DimensionConfigurations = [];
5352
5329
  }
@@ -5357,11 +5334,7 @@ const deserializeAws_queryCloudWatchDestination = (output, context) => {
5357
5334
  return contents;
5358
5335
  };
5359
5336
  const deserializeAws_queryCloudWatchDimensionConfiguration = (output, context) => {
5360
- const contents = {
5361
- DimensionName: undefined,
5362
- DimensionValueSource: undefined,
5363
- DefaultDimensionValue: undefined,
5364
- };
5337
+ const contents = {};
5365
5338
  if (output["DimensionName"] !== undefined) {
5366
5339
  contents.DimensionName = (0, smithy_client_1.expectString)(output["DimensionName"]);
5367
5340
  }
@@ -5381,19 +5354,14 @@ const deserializeAws_queryCloudWatchDimensionConfigurations = (output, context)
5381
5354
  });
5382
5355
  };
5383
5356
  const deserializeAws_queryConfigurationSet = (output, context) => {
5384
- const contents = {
5385
- Name: undefined,
5386
- };
5357
+ const contents = {};
5387
5358
  if (output["Name"] !== undefined) {
5388
5359
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
5389
5360
  }
5390
5361
  return contents;
5391
5362
  };
5392
5363
  const deserializeAws_queryConfigurationSetAlreadyExistsException = (output, context) => {
5393
- const contents = {
5394
- ConfigurationSetName: undefined,
5395
- message: undefined,
5396
- };
5364
+ const contents = {};
5397
5365
  if (output["ConfigurationSetName"] !== undefined) {
5398
5366
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
5399
5367
  }
@@ -5403,10 +5371,7 @@ const deserializeAws_queryConfigurationSetAlreadyExistsException = (output, cont
5403
5371
  return contents;
5404
5372
  };
5405
5373
  const deserializeAws_queryConfigurationSetDoesNotExistException = (output, context) => {
5406
- const contents = {
5407
- ConfigurationSetName: undefined,
5408
- message: undefined,
5409
- };
5374
+ const contents = {};
5410
5375
  if (output["ConfigurationSetName"] !== undefined) {
5411
5376
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
5412
5377
  }
@@ -5423,10 +5388,7 @@ const deserializeAws_queryConfigurationSets = (output, context) => {
5423
5388
  });
5424
5389
  };
5425
5390
  const deserializeAws_queryConfigurationSetSendingPausedException = (output, context) => {
5426
- const contents = {
5427
- ConfigurationSetName: undefined,
5428
- message: undefined,
5429
- };
5391
+ const contents = {};
5430
5392
  if (output["ConfigurationSetName"] !== undefined) {
5431
5393
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
5432
5394
  }
@@ -5464,22 +5426,14 @@ const deserializeAws_queryCreateTemplateResponse = (output, context) => {
5464
5426
  return contents;
5465
5427
  };
5466
5428
  const deserializeAws_queryCustomVerificationEmailInvalidContentException = (output, context) => {
5467
- const contents = {
5468
- message: undefined,
5469
- };
5429
+ const contents = {};
5470
5430
  if (output["message"] !== undefined) {
5471
5431
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5472
5432
  }
5473
5433
  return contents;
5474
5434
  };
5475
5435
  const deserializeAws_queryCustomVerificationEmailTemplate = (output, context) => {
5476
- const contents = {
5477
- TemplateName: undefined,
5478
- FromEmailAddress: undefined,
5479
- TemplateSubject: undefined,
5480
- SuccessRedirectionURL: undefined,
5481
- FailureRedirectionURL: undefined,
5482
- };
5436
+ const contents = {};
5483
5437
  if (output["TemplateName"] !== undefined) {
5484
5438
  contents.TemplateName = (0, smithy_client_1.expectString)(output["TemplateName"]);
5485
5439
  }
@@ -5498,10 +5452,7 @@ const deserializeAws_queryCustomVerificationEmailTemplate = (output, context) =>
5498
5452
  return contents;
5499
5453
  };
5500
5454
  const deserializeAws_queryCustomVerificationEmailTemplateAlreadyExistsException = (output, context) => {
5501
- const contents = {
5502
- CustomVerificationEmailTemplateName: undefined,
5503
- message: undefined,
5504
- };
5455
+ const contents = {};
5505
5456
  if (output["CustomVerificationEmailTemplateName"] !== undefined) {
5506
5457
  contents.CustomVerificationEmailTemplateName = (0, smithy_client_1.expectString)(output["CustomVerificationEmailTemplateName"]);
5507
5458
  }
@@ -5511,10 +5462,7 @@ const deserializeAws_queryCustomVerificationEmailTemplateAlreadyExistsException
5511
5462
  return contents;
5512
5463
  };
5513
5464
  const deserializeAws_queryCustomVerificationEmailTemplateDoesNotExistException = (output, context) => {
5514
- const contents = {
5515
- CustomVerificationEmailTemplateName: undefined,
5516
- message: undefined,
5517
- };
5465
+ const contents = {};
5518
5466
  if (output["CustomVerificationEmailTemplateName"] !== undefined) {
5519
5467
  contents.CustomVerificationEmailTemplateName = (0, smithy_client_1.expectString)(output["CustomVerificationEmailTemplateName"]);
5520
5468
  }
@@ -5567,19 +5515,14 @@ const deserializeAws_queryDeleteTemplateResponse = (output, context) => {
5567
5515
  return contents;
5568
5516
  };
5569
5517
  const deserializeAws_queryDeliveryOptions = (output, context) => {
5570
- const contents = {
5571
- TlsPolicy: undefined,
5572
- };
5518
+ const contents = {};
5573
5519
  if (output["TlsPolicy"] !== undefined) {
5574
5520
  contents.TlsPolicy = (0, smithy_client_1.expectString)(output["TlsPolicy"]);
5575
5521
  }
5576
5522
  return contents;
5577
5523
  };
5578
5524
  const deserializeAws_queryDescribeActiveReceiptRuleSetResponse = (output, context) => {
5579
- const contents = {
5580
- Metadata: undefined,
5581
- Rules: undefined,
5582
- };
5525
+ const contents = {};
5583
5526
  if (output["Metadata"] !== undefined) {
5584
5527
  contents.Metadata = deserializeAws_queryReceiptRuleSetMetadata(output["Metadata"], context);
5585
5528
  }
@@ -5592,13 +5535,7 @@ const deserializeAws_queryDescribeActiveReceiptRuleSetResponse = (output, contex
5592
5535
  return contents;
5593
5536
  };
5594
5537
  const deserializeAws_queryDescribeConfigurationSetResponse = (output, context) => {
5595
- const contents = {
5596
- ConfigurationSet: undefined,
5597
- EventDestinations: undefined,
5598
- TrackingOptions: undefined,
5599
- DeliveryOptions: undefined,
5600
- ReputationOptions: undefined,
5601
- };
5538
+ const contents = {};
5602
5539
  if (output["ConfigurationSet"] !== undefined) {
5603
5540
  contents.ConfigurationSet = deserializeAws_queryConfigurationSet(output["ConfigurationSet"], context);
5604
5541
  }
@@ -5620,19 +5557,14 @@ const deserializeAws_queryDescribeConfigurationSetResponse = (output, context) =
5620
5557
  return contents;
5621
5558
  };
5622
5559
  const deserializeAws_queryDescribeReceiptRuleResponse = (output, context) => {
5623
- const contents = {
5624
- Rule: undefined,
5625
- };
5560
+ const contents = {};
5626
5561
  if (output["Rule"] !== undefined) {
5627
5562
  contents.Rule = deserializeAws_queryReceiptRule(output["Rule"], context);
5628
5563
  }
5629
5564
  return contents;
5630
5565
  };
5631
5566
  const deserializeAws_queryDescribeReceiptRuleSetResponse = (output, context) => {
5632
- const contents = {
5633
- Metadata: undefined,
5634
- Rules: undefined,
5635
- };
5567
+ const contents = {};
5636
5568
  if (output["Metadata"] !== undefined) {
5637
5569
  contents.Metadata = deserializeAws_queryReceiptRuleSetMetadata(output["Metadata"], context);
5638
5570
  }
@@ -5654,14 +5586,7 @@ const deserializeAws_queryDkimAttributes = (output, context) => {
5654
5586
  }, {});
5655
5587
  };
5656
5588
  const deserializeAws_queryEventDestination = (output, context) => {
5657
- const contents = {
5658
- Name: undefined,
5659
- Enabled: undefined,
5660
- MatchingEventTypes: undefined,
5661
- KinesisFirehoseDestination: undefined,
5662
- CloudWatchDestination: undefined,
5663
- SNSDestination: undefined,
5664
- };
5589
+ const contents = {};
5665
5590
  if (output["Name"] !== undefined) {
5666
5591
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
5667
5592
  }
@@ -5686,11 +5611,7 @@ const deserializeAws_queryEventDestination = (output, context) => {
5686
5611
  return contents;
5687
5612
  };
5688
5613
  const deserializeAws_queryEventDestinationAlreadyExistsException = (output, context) => {
5689
- const contents = {
5690
- ConfigurationSetName: undefined,
5691
- EventDestinationName: undefined,
5692
- message: undefined,
5693
- };
5614
+ const contents = {};
5694
5615
  if (output["ConfigurationSetName"] !== undefined) {
5695
5616
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
5696
5617
  }
@@ -5703,11 +5624,7 @@ const deserializeAws_queryEventDestinationAlreadyExistsException = (output, cont
5703
5624
  return contents;
5704
5625
  };
5705
5626
  const deserializeAws_queryEventDestinationDoesNotExistException = (output, context) => {
5706
- const contents = {
5707
- ConfigurationSetName: undefined,
5708
- EventDestinationName: undefined,
5709
- message: undefined,
5710
- };
5627
+ const contents = {};
5711
5628
  if (output["ConfigurationSetName"] !== undefined) {
5712
5629
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
5713
5630
  }
@@ -5734,10 +5651,7 @@ const deserializeAws_queryEventTypes = (output, context) => {
5734
5651
  });
5735
5652
  };
5736
5653
  const deserializeAws_queryFromEmailAddressNotVerifiedException = (output, context) => {
5737
- const contents = {
5738
- FromEmailAddress: undefined,
5739
- message: undefined,
5740
- };
5654
+ const contents = {};
5741
5655
  if (output["FromEmailAddress"] !== undefined) {
5742
5656
  contents.FromEmailAddress = (0, smithy_client_1.expectString)(output["FromEmailAddress"]);
5743
5657
  }
@@ -5747,23 +5661,14 @@ const deserializeAws_queryFromEmailAddressNotVerifiedException = (output, contex
5747
5661
  return contents;
5748
5662
  };
5749
5663
  const deserializeAws_queryGetAccountSendingEnabledResponse = (output, context) => {
5750
- const contents = {
5751
- Enabled: undefined,
5752
- };
5664
+ const contents = {};
5753
5665
  if (output["Enabled"] !== undefined) {
5754
5666
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
5755
5667
  }
5756
5668
  return contents;
5757
5669
  };
5758
5670
  const deserializeAws_queryGetCustomVerificationEmailTemplateResponse = (output, context) => {
5759
- const contents = {
5760
- TemplateName: undefined,
5761
- FromEmailAddress: undefined,
5762
- TemplateSubject: undefined,
5763
- TemplateContent: undefined,
5764
- SuccessRedirectionURL: undefined,
5765
- FailureRedirectionURL: undefined,
5766
- };
5671
+ const contents = {};
5767
5672
  if (output["TemplateName"] !== undefined) {
5768
5673
  contents.TemplateName = (0, smithy_client_1.expectString)(output["TemplateName"]);
5769
5674
  }
@@ -5785,9 +5690,7 @@ const deserializeAws_queryGetCustomVerificationEmailTemplateResponse = (output,
5785
5690
  return contents;
5786
5691
  };
5787
5692
  const deserializeAws_queryGetIdentityDkimAttributesResponse = (output, context) => {
5788
- const contents = {
5789
- DkimAttributes: undefined,
5790
- };
5693
+ const contents = {};
5791
5694
  if (output.DkimAttributes === "") {
5792
5695
  contents.DkimAttributes = {};
5793
5696
  }
@@ -5797,9 +5700,7 @@ const deserializeAws_queryGetIdentityDkimAttributesResponse = (output, context)
5797
5700
  return contents;
5798
5701
  };
5799
5702
  const deserializeAws_queryGetIdentityMailFromDomainAttributesResponse = (output, context) => {
5800
- const contents = {
5801
- MailFromDomainAttributes: undefined,
5802
- };
5703
+ const contents = {};
5803
5704
  if (output.MailFromDomainAttributes === "") {
5804
5705
  contents.MailFromDomainAttributes = {};
5805
5706
  }
@@ -5810,9 +5711,7 @@ const deserializeAws_queryGetIdentityMailFromDomainAttributesResponse = (output,
5810
5711
  return contents;
5811
5712
  };
5812
5713
  const deserializeAws_queryGetIdentityNotificationAttributesResponse = (output, context) => {
5813
- const contents = {
5814
- NotificationAttributes: undefined,
5815
- };
5714
+ const contents = {};
5816
5715
  if (output.NotificationAttributes === "") {
5817
5716
  contents.NotificationAttributes = {};
5818
5717
  }
@@ -5823,9 +5722,7 @@ const deserializeAws_queryGetIdentityNotificationAttributesResponse = (output, c
5823
5722
  return contents;
5824
5723
  };
5825
5724
  const deserializeAws_queryGetIdentityPoliciesResponse = (output, context) => {
5826
- const contents = {
5827
- Policies: undefined,
5828
- };
5725
+ const contents = {};
5829
5726
  if (output.Policies === "") {
5830
5727
  contents.Policies = {};
5831
5728
  }
@@ -5835,9 +5732,7 @@ const deserializeAws_queryGetIdentityPoliciesResponse = (output, context) => {
5835
5732
  return contents;
5836
5733
  };
5837
5734
  const deserializeAws_queryGetIdentityVerificationAttributesResponse = (output, context) => {
5838
- const contents = {
5839
- VerificationAttributes: undefined,
5840
- };
5735
+ const contents = {};
5841
5736
  if (output.VerificationAttributes === "") {
5842
5737
  contents.VerificationAttributes = {};
5843
5738
  }
@@ -5848,11 +5743,7 @@ const deserializeAws_queryGetIdentityVerificationAttributesResponse = (output, c
5848
5743
  return contents;
5849
5744
  };
5850
5745
  const deserializeAws_queryGetSendQuotaResponse = (output, context) => {
5851
- const contents = {
5852
- Max24HourSend: undefined,
5853
- MaxSendRate: undefined,
5854
- SentLast24Hours: undefined,
5855
- };
5746
+ const contents = {};
5856
5747
  if (output["Max24HourSend"] !== undefined) {
5857
5748
  contents.Max24HourSend = (0, smithy_client_1.strictParseFloat)(output["Max24HourSend"]);
5858
5749
  }
@@ -5865,9 +5756,7 @@ const deserializeAws_queryGetSendQuotaResponse = (output, context) => {
5865
5756
  return contents;
5866
5757
  };
5867
5758
  const deserializeAws_queryGetSendStatisticsResponse = (output, context) => {
5868
- const contents = {
5869
- SendDataPoints: undefined,
5870
- };
5759
+ const contents = {};
5871
5760
  if (output.SendDataPoints === "") {
5872
5761
  contents.SendDataPoints = [];
5873
5762
  }
@@ -5877,20 +5766,14 @@ const deserializeAws_queryGetSendStatisticsResponse = (output, context) => {
5877
5766
  return contents;
5878
5767
  };
5879
5768
  const deserializeAws_queryGetTemplateResponse = (output, context) => {
5880
- const contents = {
5881
- Template: undefined,
5882
- };
5769
+ const contents = {};
5883
5770
  if (output["Template"] !== undefined) {
5884
5771
  contents.Template = deserializeAws_queryTemplate(output["Template"], context);
5885
5772
  }
5886
5773
  return contents;
5887
5774
  };
5888
5775
  const deserializeAws_queryIdentityDkimAttributes = (output, context) => {
5889
- const contents = {
5890
- DkimEnabled: undefined,
5891
- DkimVerificationStatus: undefined,
5892
- DkimTokens: undefined,
5893
- };
5776
+ const contents = {};
5894
5777
  if (output["DkimEnabled"] !== undefined) {
5895
5778
  contents.DkimEnabled = (0, smithy_client_1.parseBoolean)(output["DkimEnabled"]);
5896
5779
  }
@@ -5913,11 +5796,7 @@ const deserializeAws_queryIdentityList = (output, context) => {
5913
5796
  });
5914
5797
  };
5915
5798
  const deserializeAws_queryIdentityMailFromDomainAttributes = (output, context) => {
5916
- const contents = {
5917
- MailFromDomain: undefined,
5918
- MailFromDomainStatus: undefined,
5919
- BehaviorOnMXFailure: undefined,
5920
- };
5799
+ const contents = {};
5921
5800
  if (output["MailFromDomain"] !== undefined) {
5922
5801
  contents.MailFromDomain = (0, smithy_client_1.expectString)(output["MailFromDomain"]);
5923
5802
  }
@@ -5930,15 +5809,7 @@ const deserializeAws_queryIdentityMailFromDomainAttributes = (output, context) =
5930
5809
  return contents;
5931
5810
  };
5932
5811
  const deserializeAws_queryIdentityNotificationAttributes = (output, context) => {
5933
- const contents = {
5934
- BounceTopic: undefined,
5935
- ComplaintTopic: undefined,
5936
- DeliveryTopic: undefined,
5937
- ForwardingEnabled: undefined,
5938
- HeadersInBounceNotificationsEnabled: undefined,
5939
- HeadersInComplaintNotificationsEnabled: undefined,
5940
- HeadersInDeliveryNotificationsEnabled: undefined,
5941
- };
5812
+ const contents = {};
5942
5813
  if (output["BounceTopic"] !== undefined) {
5943
5814
  contents.BounceTopic = (0, smithy_client_1.expectString)(output["BounceTopic"]);
5944
5815
  }
@@ -5963,10 +5834,7 @@ const deserializeAws_queryIdentityNotificationAttributes = (output, context) =>
5963
5834
  return contents;
5964
5835
  };
5965
5836
  const deserializeAws_queryIdentityVerificationAttributes = (output, context) => {
5966
- const contents = {
5967
- VerificationStatus: undefined,
5968
- VerificationToken: undefined,
5969
- };
5837
+ const contents = {};
5970
5838
  if (output["VerificationStatus"] !== undefined) {
5971
5839
  contents.VerificationStatus = (0, smithy_client_1.expectString)(output["VerificationStatus"]);
5972
5840
  }
@@ -5976,11 +5844,7 @@ const deserializeAws_queryIdentityVerificationAttributes = (output, context) =>
5976
5844
  return contents;
5977
5845
  };
5978
5846
  const deserializeAws_queryInvalidCloudWatchDestinationException = (output, context) => {
5979
- const contents = {
5980
- ConfigurationSetName: undefined,
5981
- EventDestinationName: undefined,
5982
- message: undefined,
5983
- };
5847
+ const contents = {};
5984
5848
  if (output["ConfigurationSetName"] !== undefined) {
5985
5849
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
5986
5850
  }
@@ -5993,29 +5857,21 @@ const deserializeAws_queryInvalidCloudWatchDestinationException = (output, conte
5993
5857
  return contents;
5994
5858
  };
5995
5859
  const deserializeAws_queryInvalidConfigurationSetException = (output, context) => {
5996
- const contents = {
5997
- message: undefined,
5998
- };
5860
+ const contents = {};
5999
5861
  if (output["message"] !== undefined) {
6000
5862
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6001
5863
  }
6002
5864
  return contents;
6003
5865
  };
6004
5866
  const deserializeAws_queryInvalidDeliveryOptionsException = (output, context) => {
6005
- const contents = {
6006
- message: undefined,
6007
- };
5867
+ const contents = {};
6008
5868
  if (output["message"] !== undefined) {
6009
5869
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6010
5870
  }
6011
5871
  return contents;
6012
5872
  };
6013
5873
  const deserializeAws_queryInvalidFirehoseDestinationException = (output, context) => {
6014
- const contents = {
6015
- ConfigurationSetName: undefined,
6016
- EventDestinationName: undefined,
6017
- message: undefined,
6018
- };
5874
+ const contents = {};
6019
5875
  if (output["ConfigurationSetName"] !== undefined) {
6020
5876
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
6021
5877
  }
@@ -6028,10 +5884,7 @@ const deserializeAws_queryInvalidFirehoseDestinationException = (output, context
6028
5884
  return contents;
6029
5885
  };
6030
5886
  const deserializeAws_queryInvalidLambdaFunctionException = (output, context) => {
6031
- const contents = {
6032
- FunctionArn: undefined,
6033
- message: undefined,
6034
- };
5887
+ const contents = {};
6035
5888
  if (output["FunctionArn"] !== undefined) {
6036
5889
  contents.FunctionArn = (0, smithy_client_1.expectString)(output["FunctionArn"]);
6037
5890
  }
@@ -6041,19 +5894,14 @@ const deserializeAws_queryInvalidLambdaFunctionException = (output, context) =>
6041
5894
  return contents;
6042
5895
  };
6043
5896
  const deserializeAws_queryInvalidPolicyException = (output, context) => {
6044
- const contents = {
6045
- message: undefined,
6046
- };
5897
+ const contents = {};
6047
5898
  if (output["message"] !== undefined) {
6048
5899
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6049
5900
  }
6050
5901
  return contents;
6051
5902
  };
6052
5903
  const deserializeAws_queryInvalidRenderingParameterException = (output, context) => {
6053
- const contents = {
6054
- TemplateName: undefined,
6055
- message: undefined,
6056
- };
5904
+ const contents = {};
6057
5905
  if (output["TemplateName"] !== undefined) {
6058
5906
  contents.TemplateName = (0, smithy_client_1.expectString)(output["TemplateName"]);
6059
5907
  }
@@ -6063,10 +5911,7 @@ const deserializeAws_queryInvalidRenderingParameterException = (output, context)
6063
5911
  return contents;
6064
5912
  };
6065
5913
  const deserializeAws_queryInvalidS3ConfigurationException = (output, context) => {
6066
- const contents = {
6067
- Bucket: undefined,
6068
- message: undefined,
6069
- };
5914
+ const contents = {};
6070
5915
  if (output["Bucket"] !== undefined) {
6071
5916
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
6072
5917
  }
@@ -6076,11 +5921,7 @@ const deserializeAws_queryInvalidS3ConfigurationException = (output, context) =>
6076
5921
  return contents;
6077
5922
  };
6078
5923
  const deserializeAws_queryInvalidSNSDestinationException = (output, context) => {
6079
- const contents = {
6080
- ConfigurationSetName: undefined,
6081
- EventDestinationName: undefined,
6082
- message: undefined,
6083
- };
5924
+ const contents = {};
6084
5925
  if (output["ConfigurationSetName"] !== undefined) {
6085
5926
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
6086
5927
  }
@@ -6093,10 +5934,7 @@ const deserializeAws_queryInvalidSNSDestinationException = (output, context) =>
6093
5934
  return contents;
6094
5935
  };
6095
5936
  const deserializeAws_queryInvalidSnsTopicException = (output, context) => {
6096
- const contents = {
6097
- Topic: undefined,
6098
- message: undefined,
6099
- };
5937
+ const contents = {};
6100
5938
  if (output["Topic"] !== undefined) {
6101
5939
  contents.Topic = (0, smithy_client_1.expectString)(output["Topic"]);
6102
5940
  }
@@ -6106,10 +5944,7 @@ const deserializeAws_queryInvalidSnsTopicException = (output, context) => {
6106
5944
  return contents;
6107
5945
  };
6108
5946
  const deserializeAws_queryInvalidTemplateException = (output, context) => {
6109
- const contents = {
6110
- TemplateName: undefined,
6111
- message: undefined,
6112
- };
5947
+ const contents = {};
6113
5948
  if (output["TemplateName"] !== undefined) {
6114
5949
  contents.TemplateName = (0, smithy_client_1.expectString)(output["TemplateName"]);
6115
5950
  }
@@ -6119,19 +5954,14 @@ const deserializeAws_queryInvalidTemplateException = (output, context) => {
6119
5954
  return contents;
6120
5955
  };
6121
5956
  const deserializeAws_queryInvalidTrackingOptionsException = (output, context) => {
6122
- const contents = {
6123
- message: undefined,
6124
- };
5957
+ const contents = {};
6125
5958
  if (output["message"] !== undefined) {
6126
5959
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6127
5960
  }
6128
5961
  return contents;
6129
5962
  };
6130
5963
  const deserializeAws_queryKinesisFirehoseDestination = (output, context) => {
6131
- const contents = {
6132
- IAMRoleARN: undefined,
6133
- DeliveryStreamARN: undefined,
6134
- };
5964
+ const contents = {};
6135
5965
  if (output["IAMRoleARN"] !== undefined) {
6136
5966
  contents.IAMRoleARN = (0, smithy_client_1.expectString)(output["IAMRoleARN"]);
6137
5967
  }
@@ -6141,11 +5971,7 @@ const deserializeAws_queryKinesisFirehoseDestination = (output, context) => {
6141
5971
  return contents;
6142
5972
  };
6143
5973
  const deserializeAws_queryLambdaAction = (output, context) => {
6144
- const contents = {
6145
- TopicArn: undefined,
6146
- FunctionArn: undefined,
6147
- InvocationType: undefined,
6148
- };
5974
+ const contents = {};
6149
5975
  if (output["TopicArn"] !== undefined) {
6150
5976
  contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
6151
5977
  }
@@ -6158,19 +5984,14 @@ const deserializeAws_queryLambdaAction = (output, context) => {
6158
5984
  return contents;
6159
5985
  };
6160
5986
  const deserializeAws_queryLimitExceededException = (output, context) => {
6161
- const contents = {
6162
- message: undefined,
6163
- };
5987
+ const contents = {};
6164
5988
  if (output["message"] !== undefined) {
6165
5989
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6166
5990
  }
6167
5991
  return contents;
6168
5992
  };
6169
5993
  const deserializeAws_queryListConfigurationSetsResponse = (output, context) => {
6170
- const contents = {
6171
- ConfigurationSets: undefined,
6172
- NextToken: undefined,
6173
- };
5994
+ const contents = {};
6174
5995
  if (output.ConfigurationSets === "") {
6175
5996
  contents.ConfigurationSets = [];
6176
5997
  }
@@ -6183,10 +6004,7 @@ const deserializeAws_queryListConfigurationSetsResponse = (output, context) => {
6183
6004
  return contents;
6184
6005
  };
6185
6006
  const deserializeAws_queryListCustomVerificationEmailTemplatesResponse = (output, context) => {
6186
- const contents = {
6187
- CustomVerificationEmailTemplates: undefined,
6188
- NextToken: undefined,
6189
- };
6007
+ const contents = {};
6190
6008
  if (output.CustomVerificationEmailTemplates === "") {
6191
6009
  contents.CustomVerificationEmailTemplates = [];
6192
6010
  }
@@ -6200,10 +6018,7 @@ const deserializeAws_queryListCustomVerificationEmailTemplatesResponse = (output
6200
6018
  return contents;
6201
6019
  };
6202
6020
  const deserializeAws_queryListIdentitiesResponse = (output, context) => {
6203
- const contents = {
6204
- Identities: undefined,
6205
- NextToken: undefined,
6206
- };
6021
+ const contents = {};
6207
6022
  if (output.Identities === "") {
6208
6023
  contents.Identities = [];
6209
6024
  }
@@ -6216,9 +6031,7 @@ const deserializeAws_queryListIdentitiesResponse = (output, context) => {
6216
6031
  return contents;
6217
6032
  };
6218
6033
  const deserializeAws_queryListIdentityPoliciesResponse = (output, context) => {
6219
- const contents = {
6220
- PolicyNames: undefined,
6221
- };
6034
+ const contents = {};
6222
6035
  if (output.PolicyNames === "") {
6223
6036
  contents.PolicyNames = [];
6224
6037
  }
@@ -6228,9 +6041,7 @@ const deserializeAws_queryListIdentityPoliciesResponse = (output, context) => {
6228
6041
  return contents;
6229
6042
  };
6230
6043
  const deserializeAws_queryListReceiptFiltersResponse = (output, context) => {
6231
- const contents = {
6232
- Filters: undefined,
6233
- };
6044
+ const contents = {};
6234
6045
  if (output.Filters === "") {
6235
6046
  contents.Filters = [];
6236
6047
  }
@@ -6240,10 +6051,7 @@ const deserializeAws_queryListReceiptFiltersResponse = (output, context) => {
6240
6051
  return contents;
6241
6052
  };
6242
6053
  const deserializeAws_queryListReceiptRuleSetsResponse = (output, context) => {
6243
- const contents = {
6244
- RuleSets: undefined,
6245
- NextToken: undefined,
6246
- };
6054
+ const contents = {};
6247
6055
  if (output.RuleSets === "") {
6248
6056
  contents.RuleSets = [];
6249
6057
  }
@@ -6256,10 +6064,7 @@ const deserializeAws_queryListReceiptRuleSetsResponse = (output, context) => {
6256
6064
  return contents;
6257
6065
  };
6258
6066
  const deserializeAws_queryListTemplatesResponse = (output, context) => {
6259
- const contents = {
6260
- TemplatesMetadata: undefined,
6261
- NextToken: undefined,
6262
- };
6067
+ const contents = {};
6263
6068
  if (output.TemplatesMetadata === "") {
6264
6069
  contents.TemplatesMetadata = [];
6265
6070
  }
@@ -6272,9 +6077,7 @@ const deserializeAws_queryListTemplatesResponse = (output, context) => {
6272
6077
  return contents;
6273
6078
  };
6274
6079
  const deserializeAws_queryListVerifiedEmailAddressesResponse = (output, context) => {
6275
- const contents = {
6276
- VerifiedEmailAddresses: undefined,
6277
- };
6080
+ const contents = {};
6278
6081
  if (output.VerifiedEmailAddresses === "") {
6279
6082
  contents.VerifiedEmailAddresses = [];
6280
6083
  }
@@ -6294,28 +6097,21 @@ const deserializeAws_queryMailFromDomainAttributes = (output, context) => {
6294
6097
  }, {});
6295
6098
  };
6296
6099
  const deserializeAws_queryMailFromDomainNotVerifiedException = (output, context) => {
6297
- const contents = {
6298
- message: undefined,
6299
- };
6100
+ const contents = {};
6300
6101
  if (output["message"] !== undefined) {
6301
6102
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6302
6103
  }
6303
6104
  return contents;
6304
6105
  };
6305
6106
  const deserializeAws_queryMessageRejected = (output, context) => {
6306
- const contents = {
6307
- message: undefined,
6308
- };
6107
+ const contents = {};
6309
6108
  if (output["message"] !== undefined) {
6310
6109
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6311
6110
  }
6312
6111
  return contents;
6313
6112
  };
6314
6113
  const deserializeAws_queryMissingRenderingAttributeException = (output, context) => {
6315
- const contents = {
6316
- TemplateName: undefined,
6317
- message: undefined,
6318
- };
6114
+ const contents = {};
6319
6115
  if (output["TemplateName"] !== undefined) {
6320
6116
  contents.TemplateName = (0, smithy_client_1.expectString)(output["TemplateName"]);
6321
6117
  }
@@ -6350,9 +6146,7 @@ const deserializeAws_queryPolicyNameList = (output, context) => {
6350
6146
  });
6351
6147
  };
6352
6148
  const deserializeAws_queryProductionAccessNotGrantedException = (output, context) => {
6353
- const contents = {
6354
- message: undefined,
6355
- };
6149
+ const contents = {};
6356
6150
  if (output["message"] !== undefined) {
6357
6151
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6358
6152
  }
@@ -6367,15 +6161,7 @@ const deserializeAws_queryPutIdentityPolicyResponse = (output, context) => {
6367
6161
  return contents;
6368
6162
  };
6369
6163
  const deserializeAws_queryReceiptAction = (output, context) => {
6370
- const contents = {
6371
- S3Action: undefined,
6372
- BounceAction: undefined,
6373
- WorkmailAction: undefined,
6374
- LambdaAction: undefined,
6375
- StopAction: undefined,
6376
- AddHeaderAction: undefined,
6377
- SNSAction: undefined,
6378
- };
6164
+ const contents = {};
6379
6165
  if (output["S3Action"] !== undefined) {
6380
6166
  contents.S3Action = deserializeAws_queryS3Action(output["S3Action"], context);
6381
6167
  }
@@ -6407,10 +6193,7 @@ const deserializeAws_queryReceiptActionsList = (output, context) => {
6407
6193
  });
6408
6194
  };
6409
6195
  const deserializeAws_queryReceiptFilter = (output, context) => {
6410
- const contents = {
6411
- Name: undefined,
6412
- IpFilter: undefined,
6413
- };
6196
+ const contents = {};
6414
6197
  if (output["Name"] !== undefined) {
6415
6198
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6416
6199
  }
@@ -6427,10 +6210,7 @@ const deserializeAws_queryReceiptFilterList = (output, context) => {
6427
6210
  });
6428
6211
  };
6429
6212
  const deserializeAws_queryReceiptIpFilter = (output, context) => {
6430
- const contents = {
6431
- Policy: undefined,
6432
- Cidr: undefined,
6433
- };
6213
+ const contents = {};
6434
6214
  if (output["Policy"] !== undefined) {
6435
6215
  contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
6436
6216
  }
@@ -6440,14 +6220,7 @@ const deserializeAws_queryReceiptIpFilter = (output, context) => {
6440
6220
  return contents;
6441
6221
  };
6442
6222
  const deserializeAws_queryReceiptRule = (output, context) => {
6443
- const contents = {
6444
- Name: undefined,
6445
- Enabled: undefined,
6446
- TlsPolicy: undefined,
6447
- Recipients: undefined,
6448
- Actions: undefined,
6449
- ScanEnabled: undefined,
6450
- };
6223
+ const contents = {};
6451
6224
  if (output["Name"] !== undefined) {
6452
6225
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6453
6226
  }
@@ -6475,10 +6248,7 @@ const deserializeAws_queryReceiptRule = (output, context) => {
6475
6248
  return contents;
6476
6249
  };
6477
6250
  const deserializeAws_queryReceiptRuleSetMetadata = (output, context) => {
6478
- const contents = {
6479
- Name: undefined,
6480
- CreatedTimestamp: undefined,
6481
- };
6251
+ const contents = {};
6482
6252
  if (output["Name"] !== undefined) {
6483
6253
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6484
6254
  }
@@ -6513,11 +6283,7 @@ const deserializeAws_queryReorderReceiptRuleSetResponse = (output, context) => {
6513
6283
  return contents;
6514
6284
  };
6515
6285
  const deserializeAws_queryReputationOptions = (output, context) => {
6516
- const contents = {
6517
- SendingEnabled: undefined,
6518
- ReputationMetricsEnabled: undefined,
6519
- LastFreshStart: undefined,
6520
- };
6286
+ const contents = {};
6521
6287
  if (output["SendingEnabled"] !== undefined) {
6522
6288
  contents.SendingEnabled = (0, smithy_client_1.parseBoolean)(output["SendingEnabled"]);
6523
6289
  }
@@ -6530,10 +6296,7 @@ const deserializeAws_queryReputationOptions = (output, context) => {
6530
6296
  return contents;
6531
6297
  };
6532
6298
  const deserializeAws_queryRuleDoesNotExistException = (output, context) => {
6533
- const contents = {
6534
- Name: undefined,
6535
- message: undefined,
6536
- };
6299
+ const contents = {};
6537
6300
  if (output["Name"] !== undefined) {
6538
6301
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6539
6302
  }
@@ -6543,10 +6306,7 @@ const deserializeAws_queryRuleDoesNotExistException = (output, context) => {
6543
6306
  return contents;
6544
6307
  };
6545
6308
  const deserializeAws_queryRuleSetDoesNotExistException = (output, context) => {
6546
- const contents = {
6547
- Name: undefined,
6548
- message: undefined,
6549
- };
6309
+ const contents = {};
6550
6310
  if (output["Name"] !== undefined) {
6551
6311
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6552
6312
  }
@@ -6556,12 +6316,7 @@ const deserializeAws_queryRuleSetDoesNotExistException = (output, context) => {
6556
6316
  return contents;
6557
6317
  };
6558
6318
  const deserializeAws_queryS3Action = (output, context) => {
6559
- const contents = {
6560
- TopicArn: undefined,
6561
- BucketName: undefined,
6562
- ObjectKeyPrefix: undefined,
6563
- KmsKeyArn: undefined,
6564
- };
6319
+ const contents = {};
6565
6320
  if (output["TopicArn"] !== undefined) {
6566
6321
  contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
6567
6322
  }
@@ -6577,18 +6332,14 @@ const deserializeAws_queryS3Action = (output, context) => {
6577
6332
  return contents;
6578
6333
  };
6579
6334
  const deserializeAws_querySendBounceResponse = (output, context) => {
6580
- const contents = {
6581
- MessageId: undefined,
6582
- };
6335
+ const contents = {};
6583
6336
  if (output["MessageId"] !== undefined) {
6584
6337
  contents.MessageId = (0, smithy_client_1.expectString)(output["MessageId"]);
6585
6338
  }
6586
6339
  return contents;
6587
6340
  };
6588
6341
  const deserializeAws_querySendBulkTemplatedEmailResponse = (output, context) => {
6589
- const contents = {
6590
- Status: undefined,
6591
- };
6342
+ const contents = {};
6592
6343
  if (output.Status === "") {
6593
6344
  contents.Status = [];
6594
6345
  }
@@ -6598,22 +6349,14 @@ const deserializeAws_querySendBulkTemplatedEmailResponse = (output, context) =>
6598
6349
  return contents;
6599
6350
  };
6600
6351
  const deserializeAws_querySendCustomVerificationEmailResponse = (output, context) => {
6601
- const contents = {
6602
- MessageId: undefined,
6603
- };
6352
+ const contents = {};
6604
6353
  if (output["MessageId"] !== undefined) {
6605
6354
  contents.MessageId = (0, smithy_client_1.expectString)(output["MessageId"]);
6606
6355
  }
6607
6356
  return contents;
6608
6357
  };
6609
6358
  const deserializeAws_querySendDataPoint = (output, context) => {
6610
- const contents = {
6611
- Timestamp: undefined,
6612
- DeliveryAttempts: undefined,
6613
- Bounces: undefined,
6614
- Complaints: undefined,
6615
- Rejects: undefined,
6616
- };
6359
+ const contents = {};
6617
6360
  if (output["Timestamp"] !== undefined) {
6618
6361
  contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Timestamp"]));
6619
6362
  }
@@ -6639,27 +6382,21 @@ const deserializeAws_querySendDataPointList = (output, context) => {
6639
6382
  });
6640
6383
  };
6641
6384
  const deserializeAws_querySendEmailResponse = (output, context) => {
6642
- const contents = {
6643
- MessageId: undefined,
6644
- };
6385
+ const contents = {};
6645
6386
  if (output["MessageId"] !== undefined) {
6646
6387
  contents.MessageId = (0, smithy_client_1.expectString)(output["MessageId"]);
6647
6388
  }
6648
6389
  return contents;
6649
6390
  };
6650
6391
  const deserializeAws_querySendRawEmailResponse = (output, context) => {
6651
- const contents = {
6652
- MessageId: undefined,
6653
- };
6392
+ const contents = {};
6654
6393
  if (output["MessageId"] !== undefined) {
6655
6394
  contents.MessageId = (0, smithy_client_1.expectString)(output["MessageId"]);
6656
6395
  }
6657
6396
  return contents;
6658
6397
  };
6659
6398
  const deserializeAws_querySendTemplatedEmailResponse = (output, context) => {
6660
- const contents = {
6661
- MessageId: undefined,
6662
- };
6399
+ const contents = {};
6663
6400
  if (output["MessageId"] !== undefined) {
6664
6401
  contents.MessageId = (0, smithy_client_1.expectString)(output["MessageId"]);
6665
6402
  }
@@ -6694,10 +6431,7 @@ const deserializeAws_querySetReceiptRulePositionResponse = (output, context) =>
6694
6431
  return contents;
6695
6432
  };
6696
6433
  const deserializeAws_querySNSAction = (output, context) => {
6697
- const contents = {
6698
- TopicArn: undefined,
6699
- Encoding: undefined,
6700
- };
6434
+ const contents = {};
6701
6435
  if (output["TopicArn"] !== undefined) {
6702
6436
  contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
6703
6437
  }
@@ -6707,19 +6441,14 @@ const deserializeAws_querySNSAction = (output, context) => {
6707
6441
  return contents;
6708
6442
  };
6709
6443
  const deserializeAws_querySNSDestination = (output, context) => {
6710
- const contents = {
6711
- TopicARN: undefined,
6712
- };
6444
+ const contents = {};
6713
6445
  if (output["TopicARN"] !== undefined) {
6714
6446
  contents.TopicARN = (0, smithy_client_1.expectString)(output["TopicARN"]);
6715
6447
  }
6716
6448
  return contents;
6717
6449
  };
6718
6450
  const deserializeAws_queryStopAction = (output, context) => {
6719
- const contents = {
6720
- Scope: undefined,
6721
- TopicArn: undefined,
6722
- };
6451
+ const contents = {};
6723
6452
  if (output["Scope"] !== undefined) {
6724
6453
  contents.Scope = (0, smithy_client_1.expectString)(output["Scope"]);
6725
6454
  }
@@ -6729,12 +6458,7 @@ const deserializeAws_queryStopAction = (output, context) => {
6729
6458
  return contents;
6730
6459
  };
6731
6460
  const deserializeAws_queryTemplate = (output, context) => {
6732
- const contents = {
6733
- TemplateName: undefined,
6734
- SubjectPart: undefined,
6735
- TextPart: undefined,
6736
- HtmlPart: undefined,
6737
- };
6461
+ const contents = {};
6738
6462
  if (output["TemplateName"] !== undefined) {
6739
6463
  contents.TemplateName = (0, smithy_client_1.expectString)(output["TemplateName"]);
6740
6464
  }
@@ -6750,10 +6474,7 @@ const deserializeAws_queryTemplate = (output, context) => {
6750
6474
  return contents;
6751
6475
  };
6752
6476
  const deserializeAws_queryTemplateDoesNotExistException = (output, context) => {
6753
- const contents = {
6754
- TemplateName: undefined,
6755
- message: undefined,
6756
- };
6477
+ const contents = {};
6757
6478
  if (output["TemplateName"] !== undefined) {
6758
6479
  contents.TemplateName = (0, smithy_client_1.expectString)(output["TemplateName"]);
6759
6480
  }
@@ -6763,10 +6484,7 @@ const deserializeAws_queryTemplateDoesNotExistException = (output, context) => {
6763
6484
  return contents;
6764
6485
  };
6765
6486
  const deserializeAws_queryTemplateMetadata = (output, context) => {
6766
- const contents = {
6767
- Name: undefined,
6768
- CreatedTimestamp: undefined,
6769
- };
6487
+ const contents = {};
6770
6488
  if (output["Name"] !== undefined) {
6771
6489
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6772
6490
  }
@@ -6783,28 +6501,21 @@ const deserializeAws_queryTemplateMetadataList = (output, context) => {
6783
6501
  });
6784
6502
  };
6785
6503
  const deserializeAws_queryTestRenderTemplateResponse = (output, context) => {
6786
- const contents = {
6787
- RenderedTemplate: undefined,
6788
- };
6504
+ const contents = {};
6789
6505
  if (output["RenderedTemplate"] !== undefined) {
6790
6506
  contents.RenderedTemplate = (0, smithy_client_1.expectString)(output["RenderedTemplate"]);
6791
6507
  }
6792
6508
  return contents;
6793
6509
  };
6794
6510
  const deserializeAws_queryTrackingOptions = (output, context) => {
6795
- const contents = {
6796
- CustomRedirectDomain: undefined,
6797
- };
6511
+ const contents = {};
6798
6512
  if (output["CustomRedirectDomain"] !== undefined) {
6799
6513
  contents.CustomRedirectDomain = (0, smithy_client_1.expectString)(output["CustomRedirectDomain"]);
6800
6514
  }
6801
6515
  return contents;
6802
6516
  };
6803
6517
  const deserializeAws_queryTrackingOptionsAlreadyExistsException = (output, context) => {
6804
- const contents = {
6805
- ConfigurationSetName: undefined,
6806
- message: undefined,
6807
- };
6518
+ const contents = {};
6808
6519
  if (output["ConfigurationSetName"] !== undefined) {
6809
6520
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
6810
6521
  }
@@ -6814,10 +6525,7 @@ const deserializeAws_queryTrackingOptionsAlreadyExistsException = (output, conte
6814
6525
  return contents;
6815
6526
  };
6816
6527
  const deserializeAws_queryTrackingOptionsDoesNotExistException = (output, context) => {
6817
- const contents = {
6818
- ConfigurationSetName: undefined,
6819
- message: undefined,
6820
- };
6528
+ const contents = {};
6821
6529
  if (output["ConfigurationSetName"] !== undefined) {
6822
6530
  contents.ConfigurationSetName = (0, smithy_client_1.expectString)(output["ConfigurationSetName"]);
6823
6531
  }
@@ -6859,9 +6567,7 @@ const deserializeAws_queryVerificationTokenList = (output, context) => {
6859
6567
  });
6860
6568
  };
6861
6569
  const deserializeAws_queryVerifyDomainDkimResponse = (output, context) => {
6862
- const contents = {
6863
- DkimTokens: undefined,
6864
- };
6570
+ const contents = {};
6865
6571
  if (output.DkimTokens === "") {
6866
6572
  contents.DkimTokens = [];
6867
6573
  }
@@ -6871,9 +6577,7 @@ const deserializeAws_queryVerifyDomainDkimResponse = (output, context) => {
6871
6577
  return contents;
6872
6578
  };
6873
6579
  const deserializeAws_queryVerifyDomainIdentityResponse = (output, context) => {
6874
- const contents = {
6875
- VerificationToken: undefined,
6876
- };
6580
+ const contents = {};
6877
6581
  if (output["VerificationToken"] !== undefined) {
6878
6582
  contents.VerificationToken = (0, smithy_client_1.expectString)(output["VerificationToken"]);
6879
6583
  }
@@ -6884,10 +6588,7 @@ const deserializeAws_queryVerifyEmailIdentityResponse = (output, context) => {
6884
6588
  return contents;
6885
6589
  };
6886
6590
  const deserializeAws_queryWorkmailAction = (output, context) => {
6887
- const contents = {
6888
- TopicArn: undefined,
6889
- OrganizationArn: undefined,
6890
- };
6591
+ const contents = {};
6891
6592
  if (output["TopicArn"] !== undefined) {
6892
6593
  contents.TopicArn = (0, smithy_client_1.expectString)(output["TopicArn"]);
6893
6594
  }