@aws-sdk/client-sesv2 3.353.0 → 3.357.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.
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutDedicatedIpPoolScalingAttributesCommand = void 0;
3
+ exports.PutDedicatedIpPoolScalingAttributesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class PutDedicatedIpPoolScalingAttributesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1964,7 +1964,7 @@ const de_CreateConfigurationSetCommand = async (output, context) => {
1964
1964
  const contents = (0, smithy_client_1.map)({
1965
1965
  $metadata: deserializeMetadata(output),
1966
1966
  });
1967
- await collectBody(output.body, context);
1967
+ await (0, smithy_client_1.collectBody)(output.body, context);
1968
1968
  return contents;
1969
1969
  };
1970
1970
  exports.de_CreateConfigurationSetCommand = de_CreateConfigurationSetCommand;
@@ -2009,7 +2009,7 @@ const de_CreateConfigurationSetEventDestinationCommand = async (output, context)
2009
2009
  const contents = (0, smithy_client_1.map)({
2010
2010
  $metadata: deserializeMetadata(output),
2011
2011
  });
2012
- await collectBody(output.body, context);
2012
+ await (0, smithy_client_1.collectBody)(output.body, context);
2013
2013
  return contents;
2014
2014
  };
2015
2015
  exports.de_CreateConfigurationSetEventDestinationCommand = de_CreateConfigurationSetEventDestinationCommand;
@@ -2051,7 +2051,7 @@ const de_CreateContactCommand = async (output, context) => {
2051
2051
  const contents = (0, smithy_client_1.map)({
2052
2052
  $metadata: deserializeMetadata(output),
2053
2053
  });
2054
- await collectBody(output.body, context);
2054
+ await (0, smithy_client_1.collectBody)(output.body, context);
2055
2055
  return contents;
2056
2056
  };
2057
2057
  exports.de_CreateContactCommand = de_CreateContactCommand;
@@ -2090,7 +2090,7 @@ const de_CreateContactListCommand = async (output, context) => {
2090
2090
  const contents = (0, smithy_client_1.map)({
2091
2091
  $metadata: deserializeMetadata(output),
2092
2092
  });
2093
- await collectBody(output.body, context);
2093
+ await (0, smithy_client_1.collectBody)(output.body, context);
2094
2094
  return contents;
2095
2095
  };
2096
2096
  exports.de_CreateContactListCommand = de_CreateContactListCommand;
@@ -2129,7 +2129,7 @@ const de_CreateCustomVerificationEmailTemplateCommand = async (output, context)
2129
2129
  const contents = (0, smithy_client_1.map)({
2130
2130
  $metadata: deserializeMetadata(output),
2131
2131
  });
2132
- await collectBody(output.body, context);
2132
+ await (0, smithy_client_1.collectBody)(output.body, context);
2133
2133
  return contents;
2134
2134
  };
2135
2135
  exports.de_CreateCustomVerificationEmailTemplateCommand = de_CreateCustomVerificationEmailTemplateCommand;
@@ -2171,7 +2171,7 @@ const de_CreateDedicatedIpPoolCommand = async (output, context) => {
2171
2171
  const contents = (0, smithy_client_1.map)({
2172
2172
  $metadata: deserializeMetadata(output),
2173
2173
  });
2174
- await collectBody(output.body, context);
2174
+ await (0, smithy_client_1.collectBody)(output.body, context);
2175
2175
  return contents;
2176
2176
  };
2177
2177
  exports.de_CreateDedicatedIpPoolCommand = de_CreateDedicatedIpPoolCommand;
@@ -2323,7 +2323,7 @@ const de_CreateEmailIdentityPolicyCommand = async (output, context) => {
2323
2323
  const contents = (0, smithy_client_1.map)({
2324
2324
  $metadata: deserializeMetadata(output),
2325
2325
  });
2326
- await collectBody(output.body, context);
2326
+ await (0, smithy_client_1.collectBody)(output.body, context);
2327
2327
  return contents;
2328
2328
  };
2329
2329
  exports.de_CreateEmailIdentityPolicyCommand = de_CreateEmailIdentityPolicyCommand;
@@ -2365,7 +2365,7 @@ const de_CreateEmailTemplateCommand = async (output, context) => {
2365
2365
  const contents = (0, smithy_client_1.map)({
2366
2366
  $metadata: deserializeMetadata(output),
2367
2367
  });
2368
- await collectBody(output.body, context);
2368
+ await (0, smithy_client_1.collectBody)(output.body, context);
2369
2369
  return contents;
2370
2370
  };
2371
2371
  exports.de_CreateEmailTemplateCommand = de_CreateEmailTemplateCommand;
@@ -2444,7 +2444,7 @@ const de_DeleteConfigurationSetCommand = async (output, context) => {
2444
2444
  const contents = (0, smithy_client_1.map)({
2445
2445
  $metadata: deserializeMetadata(output),
2446
2446
  });
2447
- await collectBody(output.body, context);
2447
+ await (0, smithy_client_1.collectBody)(output.body, context);
2448
2448
  return contents;
2449
2449
  };
2450
2450
  exports.de_DeleteConfigurationSetCommand = de_DeleteConfigurationSetCommand;
@@ -2483,7 +2483,7 @@ const de_DeleteConfigurationSetEventDestinationCommand = async (output, context)
2483
2483
  const contents = (0, smithy_client_1.map)({
2484
2484
  $metadata: deserializeMetadata(output),
2485
2485
  });
2486
- await collectBody(output.body, context);
2486
+ await (0, smithy_client_1.collectBody)(output.body, context);
2487
2487
  return contents;
2488
2488
  };
2489
2489
  exports.de_DeleteConfigurationSetEventDestinationCommand = de_DeleteConfigurationSetEventDestinationCommand;
@@ -2519,7 +2519,7 @@ const de_DeleteContactCommand = async (output, context) => {
2519
2519
  const contents = (0, smithy_client_1.map)({
2520
2520
  $metadata: deserializeMetadata(output),
2521
2521
  });
2522
- await collectBody(output.body, context);
2522
+ await (0, smithy_client_1.collectBody)(output.body, context);
2523
2523
  return contents;
2524
2524
  };
2525
2525
  exports.de_DeleteContactCommand = de_DeleteContactCommand;
@@ -2555,7 +2555,7 @@ const de_DeleteContactListCommand = async (output, context) => {
2555
2555
  const contents = (0, smithy_client_1.map)({
2556
2556
  $metadata: deserializeMetadata(output),
2557
2557
  });
2558
- await collectBody(output.body, context);
2558
+ await (0, smithy_client_1.collectBody)(output.body, context);
2559
2559
  return contents;
2560
2560
  };
2561
2561
  exports.de_DeleteContactListCommand = de_DeleteContactListCommand;
@@ -2594,7 +2594,7 @@ const de_DeleteCustomVerificationEmailTemplateCommand = async (output, context)
2594
2594
  const contents = (0, smithy_client_1.map)({
2595
2595
  $metadata: deserializeMetadata(output),
2596
2596
  });
2597
- await collectBody(output.body, context);
2597
+ await (0, smithy_client_1.collectBody)(output.body, context);
2598
2598
  return contents;
2599
2599
  };
2600
2600
  exports.de_DeleteCustomVerificationEmailTemplateCommand = de_DeleteCustomVerificationEmailTemplateCommand;
@@ -2630,7 +2630,7 @@ const de_DeleteDedicatedIpPoolCommand = async (output, context) => {
2630
2630
  const contents = (0, smithy_client_1.map)({
2631
2631
  $metadata: deserializeMetadata(output),
2632
2632
  });
2633
- await collectBody(output.body, context);
2633
+ await (0, smithy_client_1.collectBody)(output.body, context);
2634
2634
  return contents;
2635
2635
  };
2636
2636
  exports.de_DeleteDedicatedIpPoolCommand = de_DeleteDedicatedIpPoolCommand;
@@ -2669,7 +2669,7 @@ const de_DeleteEmailIdentityCommand = async (output, context) => {
2669
2669
  const contents = (0, smithy_client_1.map)({
2670
2670
  $metadata: deserializeMetadata(output),
2671
2671
  });
2672
- await collectBody(output.body, context);
2672
+ await (0, smithy_client_1.collectBody)(output.body, context);
2673
2673
  return contents;
2674
2674
  };
2675
2675
  exports.de_DeleteEmailIdentityCommand = de_DeleteEmailIdentityCommand;
@@ -2708,7 +2708,7 @@ const de_DeleteEmailIdentityPolicyCommand = async (output, context) => {
2708
2708
  const contents = (0, smithy_client_1.map)({
2709
2709
  $metadata: deserializeMetadata(output),
2710
2710
  });
2711
- await collectBody(output.body, context);
2711
+ await (0, smithy_client_1.collectBody)(output.body, context);
2712
2712
  return contents;
2713
2713
  };
2714
2714
  exports.de_DeleteEmailIdentityPolicyCommand = de_DeleteEmailIdentityPolicyCommand;
@@ -2744,7 +2744,7 @@ const de_DeleteEmailTemplateCommand = async (output, context) => {
2744
2744
  const contents = (0, smithy_client_1.map)({
2745
2745
  $metadata: deserializeMetadata(output),
2746
2746
  });
2747
- await collectBody(output.body, context);
2747
+ await (0, smithy_client_1.collectBody)(output.body, context);
2748
2748
  return contents;
2749
2749
  };
2750
2750
  exports.de_DeleteEmailTemplateCommand = de_DeleteEmailTemplateCommand;
@@ -2780,7 +2780,7 @@ const de_DeleteSuppressedDestinationCommand = async (output, context) => {
2780
2780
  const contents = (0, smithy_client_1.map)({
2781
2781
  $metadata: deserializeMetadata(output),
2782
2782
  });
2783
- await collectBody(output.body, context);
2783
+ await (0, smithy_client_1.collectBody)(output.body, context);
2784
2784
  return contents;
2785
2785
  };
2786
2786
  exports.de_DeleteSuppressedDestinationCommand = de_DeleteSuppressedDestinationCommand;
@@ -4142,7 +4142,7 @@ const de_PutAccountDedicatedIpWarmupAttributesCommand = async (output, context)
4142
4142
  const contents = (0, smithy_client_1.map)({
4143
4143
  $metadata: deserializeMetadata(output),
4144
4144
  });
4145
- await collectBody(output.body, context);
4145
+ await (0, smithy_client_1.collectBody)(output.body, context);
4146
4146
  return contents;
4147
4147
  };
4148
4148
  exports.de_PutAccountDedicatedIpWarmupAttributesCommand = de_PutAccountDedicatedIpWarmupAttributesCommand;
@@ -4175,7 +4175,7 @@ const de_PutAccountDetailsCommand = async (output, context) => {
4175
4175
  const contents = (0, smithy_client_1.map)({
4176
4176
  $metadata: deserializeMetadata(output),
4177
4177
  });
4178
- await collectBody(output.body, context);
4178
+ await (0, smithy_client_1.collectBody)(output.body, context);
4179
4179
  return contents;
4180
4180
  };
4181
4181
  exports.de_PutAccountDetailsCommand = de_PutAccountDetailsCommand;
@@ -4211,7 +4211,7 @@ const de_PutAccountSendingAttributesCommand = async (output, context) => {
4211
4211
  const contents = (0, smithy_client_1.map)({
4212
4212
  $metadata: deserializeMetadata(output),
4213
4213
  });
4214
- await collectBody(output.body, context);
4214
+ await (0, smithy_client_1.collectBody)(output.body, context);
4215
4215
  return contents;
4216
4216
  };
4217
4217
  exports.de_PutAccountSendingAttributesCommand = de_PutAccountSendingAttributesCommand;
@@ -4244,7 +4244,7 @@ const de_PutAccountSuppressionAttributesCommand = async (output, context) => {
4244
4244
  const contents = (0, smithy_client_1.map)({
4245
4245
  $metadata: deserializeMetadata(output),
4246
4246
  });
4247
- await collectBody(output.body, context);
4247
+ await (0, smithy_client_1.collectBody)(output.body, context);
4248
4248
  return contents;
4249
4249
  };
4250
4250
  exports.de_PutAccountSuppressionAttributesCommand = de_PutAccountSuppressionAttributesCommand;
@@ -4277,7 +4277,7 @@ const de_PutAccountVdmAttributesCommand = async (output, context) => {
4277
4277
  const contents = (0, smithy_client_1.map)({
4278
4278
  $metadata: deserializeMetadata(output),
4279
4279
  });
4280
- await collectBody(output.body, context);
4280
+ await (0, smithy_client_1.collectBody)(output.body, context);
4281
4281
  return contents;
4282
4282
  };
4283
4283
  exports.de_PutAccountVdmAttributesCommand = de_PutAccountVdmAttributesCommand;
@@ -4310,7 +4310,7 @@ const de_PutConfigurationSetDeliveryOptionsCommand = async (output, context) =>
4310
4310
  const contents = (0, smithy_client_1.map)({
4311
4311
  $metadata: deserializeMetadata(output),
4312
4312
  });
4313
- await collectBody(output.body, context);
4313
+ await (0, smithy_client_1.collectBody)(output.body, context);
4314
4314
  return contents;
4315
4315
  };
4316
4316
  exports.de_PutConfigurationSetDeliveryOptionsCommand = de_PutConfigurationSetDeliveryOptionsCommand;
@@ -4346,7 +4346,7 @@ const de_PutConfigurationSetReputationOptionsCommand = async (output, context) =
4346
4346
  const contents = (0, smithy_client_1.map)({
4347
4347
  $metadata: deserializeMetadata(output),
4348
4348
  });
4349
- await collectBody(output.body, context);
4349
+ await (0, smithy_client_1.collectBody)(output.body, context);
4350
4350
  return contents;
4351
4351
  };
4352
4352
  exports.de_PutConfigurationSetReputationOptionsCommand = de_PutConfigurationSetReputationOptionsCommand;
@@ -4382,7 +4382,7 @@ const de_PutConfigurationSetSendingOptionsCommand = async (output, context) => {
4382
4382
  const contents = (0, smithy_client_1.map)({
4383
4383
  $metadata: deserializeMetadata(output),
4384
4384
  });
4385
- await collectBody(output.body, context);
4385
+ await (0, smithy_client_1.collectBody)(output.body, context);
4386
4386
  return contents;
4387
4387
  };
4388
4388
  exports.de_PutConfigurationSetSendingOptionsCommand = de_PutConfigurationSetSendingOptionsCommand;
@@ -4418,7 +4418,7 @@ const de_PutConfigurationSetSuppressionOptionsCommand = async (output, context)
4418
4418
  const contents = (0, smithy_client_1.map)({
4419
4419
  $metadata: deserializeMetadata(output),
4420
4420
  });
4421
- await collectBody(output.body, context);
4421
+ await (0, smithy_client_1.collectBody)(output.body, context);
4422
4422
  return contents;
4423
4423
  };
4424
4424
  exports.de_PutConfigurationSetSuppressionOptionsCommand = de_PutConfigurationSetSuppressionOptionsCommand;
@@ -4454,7 +4454,7 @@ const de_PutConfigurationSetTrackingOptionsCommand = async (output, context) =>
4454
4454
  const contents = (0, smithy_client_1.map)({
4455
4455
  $metadata: deserializeMetadata(output),
4456
4456
  });
4457
- await collectBody(output.body, context);
4457
+ await (0, smithy_client_1.collectBody)(output.body, context);
4458
4458
  return contents;
4459
4459
  };
4460
4460
  exports.de_PutConfigurationSetTrackingOptionsCommand = de_PutConfigurationSetTrackingOptionsCommand;
@@ -4490,7 +4490,7 @@ const de_PutConfigurationSetVdmOptionsCommand = async (output, context) => {
4490
4490
  const contents = (0, smithy_client_1.map)({
4491
4491
  $metadata: deserializeMetadata(output),
4492
4492
  });
4493
- await collectBody(output.body, context);
4493
+ await (0, smithy_client_1.collectBody)(output.body, context);
4494
4494
  return contents;
4495
4495
  };
4496
4496
  exports.de_PutConfigurationSetVdmOptionsCommand = de_PutConfigurationSetVdmOptionsCommand;
@@ -4526,7 +4526,7 @@ const de_PutDedicatedIpInPoolCommand = async (output, context) => {
4526
4526
  const contents = (0, smithy_client_1.map)({
4527
4527
  $metadata: deserializeMetadata(output),
4528
4528
  });
4529
- await collectBody(output.body, context);
4529
+ await (0, smithy_client_1.collectBody)(output.body, context);
4530
4530
  return contents;
4531
4531
  };
4532
4532
  exports.de_PutDedicatedIpInPoolCommand = de_PutDedicatedIpInPoolCommand;
@@ -4562,7 +4562,7 @@ const de_PutDedicatedIpPoolScalingAttributesCommand = async (output, context) =>
4562
4562
  const contents = (0, smithy_client_1.map)({
4563
4563
  $metadata: deserializeMetadata(output),
4564
4564
  });
4565
- await collectBody(output.body, context);
4565
+ await (0, smithy_client_1.collectBody)(output.body, context);
4566
4566
  return contents;
4567
4567
  };
4568
4568
  exports.de_PutDedicatedIpPoolScalingAttributesCommand = de_PutDedicatedIpPoolScalingAttributesCommand;
@@ -4601,7 +4601,7 @@ const de_PutDedicatedIpWarmupAttributesCommand = async (output, context) => {
4601
4601
  const contents = (0, smithy_client_1.map)({
4602
4602
  $metadata: deserializeMetadata(output),
4603
4603
  });
4604
- await collectBody(output.body, context);
4604
+ await (0, smithy_client_1.collectBody)(output.body, context);
4605
4605
  return contents;
4606
4606
  };
4607
4607
  exports.de_PutDedicatedIpWarmupAttributesCommand = de_PutDedicatedIpWarmupAttributesCommand;
@@ -4637,7 +4637,7 @@ const de_PutDeliverabilityDashboardOptionCommand = async (output, context) => {
4637
4637
  const contents = (0, smithy_client_1.map)({
4638
4638
  $metadata: deserializeMetadata(output),
4639
4639
  });
4640
- await collectBody(output.body, context);
4640
+ await (0, smithy_client_1.collectBody)(output.body, context);
4641
4641
  return contents;
4642
4642
  };
4643
4643
  exports.de_PutDeliverabilityDashboardOptionCommand = de_PutDeliverabilityDashboardOptionCommand;
@@ -4679,7 +4679,7 @@ const de_PutEmailIdentityConfigurationSetAttributesCommand = async (output, cont
4679
4679
  const contents = (0, smithy_client_1.map)({
4680
4680
  $metadata: deserializeMetadata(output),
4681
4681
  });
4682
- await collectBody(output.body, context);
4682
+ await (0, smithy_client_1.collectBody)(output.body, context);
4683
4683
  return contents;
4684
4684
  };
4685
4685
  exports.de_PutEmailIdentityConfigurationSetAttributesCommand = de_PutEmailIdentityConfigurationSetAttributesCommand;
@@ -4715,7 +4715,7 @@ const de_PutEmailIdentityDkimAttributesCommand = async (output, context) => {
4715
4715
  const contents = (0, smithy_client_1.map)({
4716
4716
  $metadata: deserializeMetadata(output),
4717
4717
  });
4718
- await collectBody(output.body, context);
4718
+ await (0, smithy_client_1.collectBody)(output.body, context);
4719
4719
  return contents;
4720
4720
  };
4721
4721
  exports.de_PutEmailIdentityDkimAttributesCommand = de_PutEmailIdentityDkimAttributesCommand;
@@ -4792,7 +4792,7 @@ const de_PutEmailIdentityFeedbackAttributesCommand = async (output, context) =>
4792
4792
  const contents = (0, smithy_client_1.map)({
4793
4793
  $metadata: deserializeMetadata(output),
4794
4794
  });
4795
- await collectBody(output.body, context);
4795
+ await (0, smithy_client_1.collectBody)(output.body, context);
4796
4796
  return contents;
4797
4797
  };
4798
4798
  exports.de_PutEmailIdentityFeedbackAttributesCommand = de_PutEmailIdentityFeedbackAttributesCommand;
@@ -4828,7 +4828,7 @@ const de_PutEmailIdentityMailFromAttributesCommand = async (output, context) =>
4828
4828
  const contents = (0, smithy_client_1.map)({
4829
4829
  $metadata: deserializeMetadata(output),
4830
4830
  });
4831
- await collectBody(output.body, context);
4831
+ await (0, smithy_client_1.collectBody)(output.body, context);
4832
4832
  return contents;
4833
4833
  };
4834
4834
  exports.de_PutEmailIdentityMailFromAttributesCommand = de_PutEmailIdentityMailFromAttributesCommand;
@@ -4864,7 +4864,7 @@ const de_PutSuppressedDestinationCommand = async (output, context) => {
4864
4864
  const contents = (0, smithy_client_1.map)({
4865
4865
  $metadata: deserializeMetadata(output),
4866
4866
  });
4867
- await collectBody(output.body, context);
4867
+ await (0, smithy_client_1.collectBody)(output.body, context);
4868
4868
  return contents;
4869
4869
  };
4870
4870
  exports.de_PutSuppressedDestinationCommand = de_PutSuppressedDestinationCommand;
@@ -5059,7 +5059,7 @@ const de_TagResourceCommand = async (output, context) => {
5059
5059
  const contents = (0, smithy_client_1.map)({
5060
5060
  $metadata: deserializeMetadata(output),
5061
5061
  });
5062
- await collectBody(output.body, context);
5062
+ await (0, smithy_client_1.collectBody)(output.body, context);
5063
5063
  return contents;
5064
5064
  };
5065
5065
  exports.de_TagResourceCommand = de_TagResourceCommand;
@@ -5138,7 +5138,7 @@ const de_UntagResourceCommand = async (output, context) => {
5138
5138
  const contents = (0, smithy_client_1.map)({
5139
5139
  $metadata: deserializeMetadata(output),
5140
5140
  });
5141
- await collectBody(output.body, context);
5141
+ await (0, smithy_client_1.collectBody)(output.body, context);
5142
5142
  return contents;
5143
5143
  };
5144
5144
  exports.de_UntagResourceCommand = de_UntagResourceCommand;
@@ -5177,7 +5177,7 @@ const de_UpdateConfigurationSetEventDestinationCommand = async (output, context)
5177
5177
  const contents = (0, smithy_client_1.map)({
5178
5178
  $metadata: deserializeMetadata(output),
5179
5179
  });
5180
- await collectBody(output.body, context);
5180
+ await (0, smithy_client_1.collectBody)(output.body, context);
5181
5181
  return contents;
5182
5182
  };
5183
5183
  exports.de_UpdateConfigurationSetEventDestinationCommand = de_UpdateConfigurationSetEventDestinationCommand;
@@ -5213,7 +5213,7 @@ const de_UpdateContactCommand = async (output, context) => {
5213
5213
  const contents = (0, smithy_client_1.map)({
5214
5214
  $metadata: deserializeMetadata(output),
5215
5215
  });
5216
- await collectBody(output.body, context);
5216
+ await (0, smithy_client_1.collectBody)(output.body, context);
5217
5217
  return contents;
5218
5218
  };
5219
5219
  exports.de_UpdateContactCommand = de_UpdateContactCommand;
@@ -5252,7 +5252,7 @@ const de_UpdateContactListCommand = async (output, context) => {
5252
5252
  const contents = (0, smithy_client_1.map)({
5253
5253
  $metadata: deserializeMetadata(output),
5254
5254
  });
5255
- await collectBody(output.body, context);
5255
+ await (0, smithy_client_1.collectBody)(output.body, context);
5256
5256
  return contents;
5257
5257
  };
5258
5258
  exports.de_UpdateContactListCommand = de_UpdateContactListCommand;
@@ -5291,7 +5291,7 @@ const de_UpdateCustomVerificationEmailTemplateCommand = async (output, context)
5291
5291
  const contents = (0, smithy_client_1.map)({
5292
5292
  $metadata: deserializeMetadata(output),
5293
5293
  });
5294
- await collectBody(output.body, context);
5294
+ await (0, smithy_client_1.collectBody)(output.body, context);
5295
5295
  return contents;
5296
5296
  };
5297
5297
  exports.de_UpdateCustomVerificationEmailTemplateCommand = de_UpdateCustomVerificationEmailTemplateCommand;
@@ -5327,7 +5327,7 @@ const de_UpdateEmailIdentityPolicyCommand = async (output, context) => {
5327
5327
  const contents = (0, smithy_client_1.map)({
5328
5328
  $metadata: deserializeMetadata(output),
5329
5329
  });
5330
- await collectBody(output.body, context);
5330
+ await (0, smithy_client_1.collectBody)(output.body, context);
5331
5331
  return contents;
5332
5332
  };
5333
5333
  exports.de_UpdateEmailIdentityPolicyCommand = de_UpdateEmailIdentityPolicyCommand;
@@ -5363,7 +5363,7 @@ const de_UpdateEmailTemplateCommand = async (output, context) => {
5363
5363
  const contents = (0, smithy_client_1.map)({
5364
5364
  $metadata: deserializeMetadata(output),
5365
5365
  });
5366
- await collectBody(output.body, context);
5366
+ await (0, smithy_client_1.collectBody)(output.body, context);
5367
5367
  return contents;
5368
5368
  };
5369
5369
  exports.de_UpdateEmailTemplateCommand = de_UpdateEmailTemplateCommand;
@@ -5914,13 +5914,7 @@ const deserializeMetadata = (output) => ({
5914
5914
  extendedRequestId: output.headers["x-amz-id-2"],
5915
5915
  cfId: output.headers["x-amz-cf-id"],
5916
5916
  });
5917
- const collectBody = (streamBody = new Uint8Array(), context) => {
5918
- if (streamBody instanceof Uint8Array) {
5919
- return Promise.resolve(streamBody);
5920
- }
5921
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
5922
- };
5923
- const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
5917
+ const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
5924
5918
  const isSerializableHeaderValue = (value) => value !== undefined &&
5925
5919
  value !== null &&
5926
5920
  value !== "" &&
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_PutDedicatedIpPoolScalingAttributesCommand, se_PutDedicatedIpPoolScalingAttributesCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class PutDedicatedIpPoolScalingAttributesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -1,4 +1,4 @@
1
- import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
1
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { AccountSuspendedException, AlreadyExistsException, BadRequestException, ConcurrentModificationException, ConflictException, InternalServiceErrorException, InvalidNextTokenException, LimitExceededException, MailFromDomainNotVerifiedException, MessageRejected, NotFoundException, SendingPausedException, TooManyRequestsException, } from "../models/models_0";
4
4
  import { SESv2ServiceException as __BaseException } from "../models/SESv2ServiceException";
@@ -5734,12 +5734,6 @@ const deserializeMetadata = (output) => ({
5734
5734
  extendedRequestId: output.headers["x-amz-id-2"],
5735
5735
  cfId: output.headers["x-amz-cf-id"],
5736
5736
  });
5737
- const collectBody = (streamBody = new Uint8Array(), context) => {
5738
- if (streamBody instanceof Uint8Array) {
5739
- return Promise.resolve(streamBody);
5740
- }
5741
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
5742
- };
5743
5737
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
5744
5738
  const isSerializableHeaderValue = (value) => value !== undefined &&
5745
5739
  value !== null &&
@@ -160,7 +160,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
160
160
  */
161
161
  runtime?: string;
162
162
  /**
163
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
163
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
164
164
  * trait of an operation.
165
165
  */
166
166
  disableHostPrefix?: boolean;
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { PutDedicatedIpPoolScalingAttributesRequest, PutDedicatedIpPoolScalingAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SESv2ClientResolvedConfig,
17
17
  } from "../SESv2Client";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface PutDedicatedIpPoolScalingAttributesCommandInput
19
20
  extends PutDedicatedIpPoolScalingAttributesRequest {}
20
21
  export interface PutDedicatedIpPoolScalingAttributesCommandOutput
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sesv2",
3
3
  "description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
4
- "version": "3.353.0",
4
+ "version": "3.357.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",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.353.0",
25
- "@aws-sdk/config-resolver": "3.353.0",
26
- "@aws-sdk/credential-provider-node": "3.353.0",
27
- "@aws-sdk/fetch-http-handler": "3.353.0",
28
- "@aws-sdk/hash-node": "3.347.0",
29
- "@aws-sdk/invalid-dependency": "3.347.0",
30
- "@aws-sdk/middleware-content-length": "3.347.0",
31
- "@aws-sdk/middleware-endpoint": "3.347.0",
32
- "@aws-sdk/middleware-host-header": "3.347.0",
33
- "@aws-sdk/middleware-logger": "3.347.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.347.0",
35
- "@aws-sdk/middleware-retry": "3.353.0",
36
- "@aws-sdk/middleware-serde": "3.347.0",
37
- "@aws-sdk/middleware-signing": "3.353.0",
38
- "@aws-sdk/middleware-stack": "3.347.0",
39
- "@aws-sdk/middleware-user-agent": "3.352.0",
40
- "@aws-sdk/node-config-provider": "3.353.0",
41
- "@aws-sdk/node-http-handler": "3.350.0",
42
- "@aws-sdk/smithy-client": "3.347.0",
43
- "@aws-sdk/types": "3.347.0",
44
- "@aws-sdk/url-parser": "3.347.0",
24
+ "@aws-sdk/client-sts": "3.357.0",
25
+ "@aws-sdk/config-resolver": "3.357.0",
26
+ "@aws-sdk/credential-provider-node": "3.357.0",
27
+ "@aws-sdk/fetch-http-handler": "3.357.0",
28
+ "@aws-sdk/hash-node": "3.357.0",
29
+ "@aws-sdk/invalid-dependency": "3.357.0",
30
+ "@aws-sdk/middleware-content-length": "3.357.0",
31
+ "@aws-sdk/middleware-endpoint": "3.357.0",
32
+ "@aws-sdk/middleware-host-header": "3.357.0",
33
+ "@aws-sdk/middleware-logger": "3.357.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.357.0",
35
+ "@aws-sdk/middleware-retry": "3.357.0",
36
+ "@aws-sdk/middleware-serde": "3.357.0",
37
+ "@aws-sdk/middleware-signing": "3.357.0",
38
+ "@aws-sdk/middleware-stack": "3.357.0",
39
+ "@aws-sdk/middleware-user-agent": "3.357.0",
40
+ "@aws-sdk/node-config-provider": "3.357.0",
41
+ "@aws-sdk/node-http-handler": "3.357.0",
42
+ "@aws-sdk/smithy-client": "3.357.0",
43
+ "@aws-sdk/types": "3.357.0",
44
+ "@aws-sdk/url-parser": "3.357.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.353.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.353.0",
50
- "@aws-sdk/util-endpoints": "3.352.0",
51
- "@aws-sdk/util-retry": "3.347.0",
52
- "@aws-sdk/util-user-agent-browser": "3.347.0",
53
- "@aws-sdk/util-user-agent-node": "3.353.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.357.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.357.0",
50
+ "@aws-sdk/util-endpoints": "3.357.0",
51
+ "@aws-sdk/util-retry": "3.357.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.357.0",
53
+ "@aws-sdk/util-user-agent-node": "3.357.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",