@aws-sdk/client-sesv2 3.750.0 → 3.753.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 (27) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +46 -0
  3. package/dist-es/SESv2.js +2 -0
  4. package/dist-es/commands/PutConfigurationSetArchivingOptionsCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/protocols/Aws_restJson1.js +26 -0
  7. package/dist-types/SESv2.d.ts +7 -0
  8. package/dist-types/SESv2Client.d.ts +3 -2
  9. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +3 -0
  10. package/dist-types/commands/GetConfigurationSetCommand.d.ts +3 -0
  11. package/dist-types/commands/PutConfigurationSetArchivingOptionsCommand.d.ts +93 -0
  12. package/dist-types/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +2 -1
  13. package/dist-types/commands/PutConfigurationSetVdmOptionsCommand.d.ts +1 -1
  14. package/dist-types/commands/index.d.ts +1 -0
  15. package/dist-types/models/models_0.d.ts +50 -32
  16. package/dist-types/models/models_1.d.ts +31 -1
  17. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  18. package/dist-types/ts3.4/SESv2.d.ts +23 -0
  19. package/dist-types/ts3.4/SESv2Client.d.ts +6 -0
  20. package/dist-types/ts3.4/commands/PutConfigurationSetArchivingOptionsCommand.d.ts +51 -0
  21. package/dist-types/ts3.4/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +2 -4
  22. package/dist-types/ts3.4/commands/PutConfigurationSetVdmOptionsCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  24. package/dist-types/ts3.4/models/models_0.d.ts +10 -6
  25. package/dist-types/ts3.4/models/models_1.d.ts +7 -0
  26. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  27. package/package.json +1 -1
package/README.md CHANGED
@@ -753,6 +753,14 @@ PutAccountVdmAttributes
753
753
 
754
754
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/PutAccountVdmAttributesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/PutAccountVdmAttributesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/PutAccountVdmAttributesCommandOutput/)
755
755
 
756
+ </details>
757
+ <details>
758
+ <summary>
759
+ PutConfigurationSetArchivingOptions
760
+ </summary>
761
+
762
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sesv2/command/PutConfigurationSetArchivingOptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/PutConfigurationSetArchivingOptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sesv2/Interface/PutConfigurationSetArchivingOptionsCommandOutput/)
763
+
756
764
  </details>
757
765
  <details>
758
766
  <summary>
package/dist-cjs/index.js CHANGED
@@ -140,6 +140,7 @@ __export(src_exports, {
140
140
  PutAccountSendingAttributesCommand: () => PutAccountSendingAttributesCommand,
141
141
  PutAccountSuppressionAttributesCommand: () => PutAccountSuppressionAttributesCommand,
142
142
  PutAccountVdmAttributesCommand: () => PutAccountVdmAttributesCommand,
143
+ PutConfigurationSetArchivingOptionsCommand: () => PutConfigurationSetArchivingOptionsCommand,
143
144
  PutConfigurationSetDeliveryOptionsCommand: () => PutConfigurationSetDeliveryOptionsCommand,
144
145
  PutConfigurationSetReputationOptionsCommand: () => PutConfigurationSetReputationOptionsCommand,
145
146
  PutConfigurationSetSendingOptionsCommand: () => PutConfigurationSetSendingOptionsCommand,
@@ -967,6 +968,7 @@ var se_CreateConfigurationSetCommand = /* @__PURE__ */ __name(async (input, cont
967
968
  let body;
968
969
  body = JSON.stringify(
969
970
  (0, import_smithy_client.take)(input, {
971
+ ArchivingOptions: (_) => (0, import_smithy_client._json)(_),
970
972
  ConfigurationSetName: [],
971
973
  DeliveryOptions: (_) => (0, import_smithy_client._json)(_),
972
974
  ReputationOptions: (_) => se_ReputationOptions(_, context),
@@ -1785,6 +1787,22 @@ var se_PutAccountVdmAttributesCommand = /* @__PURE__ */ __name(async (input, con
1785
1787
  b.m("PUT").h(headers).b(body);
1786
1788
  return b.build();
1787
1789
  }, "se_PutAccountVdmAttributesCommand");
1790
+ var se_PutConfigurationSetArchivingOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1791
+ const b = (0, import_core.requestBuilder)(input, context);
1792
+ const headers = {
1793
+ "content-type": "application/json"
1794
+ };
1795
+ b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/archiving-options");
1796
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
1797
+ let body;
1798
+ body = JSON.stringify(
1799
+ (0, import_smithy_client.take)(input, {
1800
+ ArchiveArn: []
1801
+ })
1802
+ );
1803
+ b.m("PUT").h(headers).b(body);
1804
+ return b.build();
1805
+ }, "se_PutConfigurationSetArchivingOptionsCommand");
1788
1806
  var se_PutConfigurationSetDeliveryOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1789
1807
  const b = (0, import_core.requestBuilder)(input, context);
1790
1808
  const headers = {
@@ -2599,6 +2617,7 @@ var de_GetConfigurationSetCommand = /* @__PURE__ */ __name(async (output, contex
2599
2617
  });
2600
2618
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2601
2619
  const doc = (0, import_smithy_client.take)(data, {
2620
+ ArchivingOptions: import_smithy_client._json,
2602
2621
  ConfigurationSetName: import_smithy_client.expectString,
2603
2622
  DeliveryOptions: import_smithy_client._json,
2604
2623
  ReputationOptions: (_) => de_ReputationOptions(_, context),
@@ -3213,6 +3232,16 @@ var de_PutAccountVdmAttributesCommand = /* @__PURE__ */ __name(async (output, co
3213
3232
  await (0, import_smithy_client.collectBody)(output.body, context);
3214
3233
  return contents;
3215
3234
  }, "de_PutAccountVdmAttributesCommand");
3235
+ var de_PutConfigurationSetArchivingOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
3236
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3237
+ return de_CommandError(output, context);
3238
+ }
3239
+ const contents = (0, import_smithy_client.map)({
3240
+ $metadata: deserializeMetadata(output)
3241
+ });
3242
+ await (0, import_smithy_client.collectBody)(output.body, context);
3243
+ return contents;
3244
+ }, "de_PutConfigurationSetArchivingOptionsCommand");
3216
3245
  var de_PutConfigurationSetDeliveryOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
3217
3246
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3218
3247
  return de_CommandError(output, context);
@@ -5198,6 +5227,21 @@ var PutAccountVdmAttributesCommand = class extends import_smithy_client.Command.
5198
5227
  }
5199
5228
  };
5200
5229
 
5230
+ // src/commands/PutConfigurationSetArchivingOptionsCommand.ts
5231
+
5232
+
5233
+
5234
+ var PutConfigurationSetArchivingOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5235
+ return [
5236
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5237
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5238
+ ];
5239
+ }).s("SimpleEmailService_v2", "PutConfigurationSetArchivingOptions", {}).n("SESv2Client", "PutConfigurationSetArchivingOptionsCommand").f(void 0, void 0).ser(se_PutConfigurationSetArchivingOptionsCommand).de(de_PutConfigurationSetArchivingOptionsCommand).build() {
5240
+ static {
5241
+ __name(this, "PutConfigurationSetArchivingOptionsCommand");
5242
+ }
5243
+ };
5244
+
5201
5245
  // src/commands/PutConfigurationSetDeliveryOptionsCommand.ts
5202
5246
 
5203
5247
 
@@ -5702,6 +5746,7 @@ var commands = {
5702
5746
  PutAccountSendingAttributesCommand,
5703
5747
  PutAccountSuppressionAttributesCommand,
5704
5748
  PutAccountVdmAttributesCommand,
5749
+ PutConfigurationSetArchivingOptionsCommand,
5705
5750
  PutConfigurationSetDeliveryOptionsCommand,
5706
5751
  PutConfigurationSetReputationOptionsCommand,
5707
5752
  PutConfigurationSetSendingOptionsCommand,
@@ -5873,6 +5918,7 @@ var paginateListSuppressedDestinations = (0, import_core.createPaginator)(SESv2C
5873
5918
  PutAccountSendingAttributesCommand,
5874
5919
  PutAccountSuppressionAttributesCommand,
5875
5920
  PutAccountVdmAttributesCommand,
5921
+ PutConfigurationSetArchivingOptionsCommand,
5876
5922
  PutConfigurationSetDeliveryOptionsCommand,
5877
5923
  PutConfigurationSetReputationOptionsCommand,
5878
5924
  PutConfigurationSetSendingOptionsCommand,
package/dist-es/SESv2.js CHANGED
@@ -67,6 +67,7 @@ import { PutAccountDetailsCommand, } from "./commands/PutAccountDetailsCommand";
67
67
  import { PutAccountSendingAttributesCommand, } from "./commands/PutAccountSendingAttributesCommand";
68
68
  import { PutAccountSuppressionAttributesCommand, } from "./commands/PutAccountSuppressionAttributesCommand";
69
69
  import { PutAccountVdmAttributesCommand, } from "./commands/PutAccountVdmAttributesCommand";
70
+ import { PutConfigurationSetArchivingOptionsCommand, } from "./commands/PutConfigurationSetArchivingOptionsCommand";
70
71
  import { PutConfigurationSetDeliveryOptionsCommand, } from "./commands/PutConfigurationSetDeliveryOptionsCommand";
71
72
  import { PutConfigurationSetReputationOptionsCommand, } from "./commands/PutConfigurationSetReputationOptionsCommand";
72
73
  import { PutConfigurationSetSendingOptionsCommand, } from "./commands/PutConfigurationSetSendingOptionsCommand";
@@ -165,6 +166,7 @@ const commands = {
165
166
  PutAccountSendingAttributesCommand,
166
167
  PutAccountSuppressionAttributesCommand,
167
168
  PutAccountVdmAttributesCommand,
169
+ PutConfigurationSetArchivingOptionsCommand,
168
170
  PutConfigurationSetDeliveryOptionsCommand,
169
171
  PutConfigurationSetReputationOptionsCommand,
170
172
  PutConfigurationSetSendingOptionsCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_PutConfigurationSetArchivingOptionsCommand, se_PutConfigurationSetArchivingOptionsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PutConfigurationSetArchivingOptionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SimpleEmailService_v2", "PutConfigurationSetArchivingOptions", {})
17
+ .n("SESv2Client", "PutConfigurationSetArchivingOptionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_PutConfigurationSetArchivingOptionsCommand)
20
+ .de(de_PutConfigurationSetArchivingOptionsCommand)
21
+ .build() {
22
+ }
@@ -66,6 +66,7 @@ export * from "./PutAccountDetailsCommand";
66
66
  export * from "./PutAccountSendingAttributesCommand";
67
67
  export * from "./PutAccountSuppressionAttributesCommand";
68
68
  export * from "./PutAccountVdmAttributesCommand";
69
+ export * from "./PutConfigurationSetArchivingOptionsCommand";
69
70
  export * from "./PutConfigurationSetDeliveryOptionsCommand";
70
71
  export * from "./PutConfigurationSetReputationOptionsCommand";
71
72
  export * from "./PutConfigurationSetSendingOptionsCommand";
@@ -33,6 +33,7 @@ export const se_CreateConfigurationSetCommand = async (input, context) => {
33
33
  b.bp("/v2/email/configuration-sets");
34
34
  let body;
35
35
  body = JSON.stringify(take(input, {
36
+ ArchivingOptions: (_) => _json(_),
36
37
  ConfigurationSetName: [],
37
38
  DeliveryOptions: (_) => _json(_),
38
39
  ReputationOptions: (_) => se_ReputationOptions(_, context),
@@ -808,6 +809,20 @@ export const se_PutAccountVdmAttributesCommand = async (input, context) => {
808
809
  b.m("PUT").h(headers).b(body);
809
810
  return b.build();
810
811
  };
812
+ export const se_PutConfigurationSetArchivingOptionsCommand = async (input, context) => {
813
+ const b = rb(input, context);
814
+ const headers = {
815
+ "content-type": "application/json",
816
+ };
817
+ b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/archiving-options");
818
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
819
+ let body;
820
+ body = JSON.stringify(take(input, {
821
+ ArchiveArn: [],
822
+ }));
823
+ b.m("PUT").h(headers).b(body);
824
+ return b.build();
825
+ };
811
826
  export const se_PutConfigurationSetDeliveryOptionsCommand = async (input, context) => {
812
827
  const b = rb(input, context);
813
828
  const headers = {
@@ -1568,6 +1583,7 @@ export const de_GetConfigurationSetCommand = async (output, context) => {
1568
1583
  });
1569
1584
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1570
1585
  const doc = take(data, {
1586
+ ArchivingOptions: _json,
1571
1587
  ConfigurationSetName: __expectString,
1572
1588
  DeliveryOptions: _json,
1573
1589
  ReputationOptions: (_) => de_ReputationOptions(_, context),
@@ -2182,6 +2198,16 @@ export const de_PutAccountVdmAttributesCommand = async (output, context) => {
2182
2198
  await collectBody(output.body, context);
2183
2199
  return contents;
2184
2200
  };
2201
+ export const de_PutConfigurationSetArchivingOptionsCommand = async (output, context) => {
2202
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2203
+ return de_CommandError(output, context);
2204
+ }
2205
+ const contents = map({
2206
+ $metadata: deserializeMetadata(output),
2207
+ });
2208
+ await collectBody(output.body, context);
2209
+ return contents;
2210
+ };
2185
2211
  export const de_PutConfigurationSetDeliveryOptionsCommand = async (output, context) => {
2186
2212
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2187
2213
  return de_CommandError(output, context);
@@ -67,6 +67,7 @@ import { PutAccountDetailsCommandInput, PutAccountDetailsCommandOutput } from ".
67
67
  import { PutAccountSendingAttributesCommandInput, PutAccountSendingAttributesCommandOutput } from "./commands/PutAccountSendingAttributesCommand";
68
68
  import { PutAccountSuppressionAttributesCommandInput, PutAccountSuppressionAttributesCommandOutput } from "./commands/PutAccountSuppressionAttributesCommand";
69
69
  import { PutAccountVdmAttributesCommandInput, PutAccountVdmAttributesCommandOutput } from "./commands/PutAccountVdmAttributesCommand";
70
+ import { PutConfigurationSetArchivingOptionsCommandInput, PutConfigurationSetArchivingOptionsCommandOutput } from "./commands/PutConfigurationSetArchivingOptionsCommand";
70
71
  import { PutConfigurationSetDeliveryOptionsCommandInput, PutConfigurationSetDeliveryOptionsCommandOutput } from "./commands/PutConfigurationSetDeliveryOptionsCommand";
71
72
  import { PutConfigurationSetReputationOptionsCommandInput, PutConfigurationSetReputationOptionsCommandOutput } from "./commands/PutConfigurationSetReputationOptionsCommand";
72
73
  import { PutConfigurationSetSendingOptionsCommandInput, PutConfigurationSetSendingOptionsCommandOutput } from "./commands/PutConfigurationSetSendingOptionsCommand";
@@ -523,6 +524,12 @@ export interface SESv2 {
523
524
  putAccountVdmAttributes(args: PutAccountVdmAttributesCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountVdmAttributesCommandOutput>;
524
525
  putAccountVdmAttributes(args: PutAccountVdmAttributesCommandInput, cb: (err: any, data?: PutAccountVdmAttributesCommandOutput) => void): void;
525
526
  putAccountVdmAttributes(args: PutAccountVdmAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountVdmAttributesCommandOutput) => void): void;
527
+ /**
528
+ * @see {@link PutConfigurationSetArchivingOptionsCommand}
529
+ */
530
+ putConfigurationSetArchivingOptions(args: PutConfigurationSetArchivingOptionsCommandInput, options?: __HttpHandlerOptions): Promise<PutConfigurationSetArchivingOptionsCommandOutput>;
531
+ putConfigurationSetArchivingOptions(args: PutConfigurationSetArchivingOptionsCommandInput, cb: (err: any, data?: PutConfigurationSetArchivingOptionsCommandOutput) => void): void;
532
+ putConfigurationSetArchivingOptions(args: PutConfigurationSetArchivingOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutConfigurationSetArchivingOptionsCommandOutput) => void): void;
526
533
  /**
527
534
  * @see {@link PutConfigurationSetDeliveryOptionsCommand}
528
535
  */
@@ -75,6 +75,7 @@ import { PutAccountDetailsCommandInput, PutAccountDetailsCommandOutput } from ".
75
75
  import { PutAccountSendingAttributesCommandInput, PutAccountSendingAttributesCommandOutput } from "./commands/PutAccountSendingAttributesCommand";
76
76
  import { PutAccountSuppressionAttributesCommandInput, PutAccountSuppressionAttributesCommandOutput } from "./commands/PutAccountSuppressionAttributesCommand";
77
77
  import { PutAccountVdmAttributesCommandInput, PutAccountVdmAttributesCommandOutput } from "./commands/PutAccountVdmAttributesCommand";
78
+ import { PutConfigurationSetArchivingOptionsCommandInput, PutConfigurationSetArchivingOptionsCommandOutput } from "./commands/PutConfigurationSetArchivingOptionsCommand";
78
79
  import { PutConfigurationSetDeliveryOptionsCommandInput, PutConfigurationSetDeliveryOptionsCommandOutput } from "./commands/PutConfigurationSetDeliveryOptionsCommand";
79
80
  import { PutConfigurationSetReputationOptionsCommandInput, PutConfigurationSetReputationOptionsCommandOutput } from "./commands/PutConfigurationSetReputationOptionsCommand";
80
81
  import { PutConfigurationSetSendingOptionsCommandInput, PutConfigurationSetSendingOptionsCommandOutput } from "./commands/PutConfigurationSetSendingOptionsCommand";
@@ -109,11 +110,11 @@ export { __Client };
109
110
  /**
110
111
  * @public
111
112
  */
112
- export type ServiceInputTypes = BatchGetMetricDataCommandInput | CancelExportJobCommandInput | CreateConfigurationSetCommandInput | CreateConfigurationSetEventDestinationCommandInput | CreateContactCommandInput | CreateContactListCommandInput | CreateCustomVerificationEmailTemplateCommandInput | CreateDedicatedIpPoolCommandInput | CreateDeliverabilityTestReportCommandInput | CreateEmailIdentityCommandInput | CreateEmailIdentityPolicyCommandInput | CreateEmailTemplateCommandInput | CreateExportJobCommandInput | CreateImportJobCommandInput | CreateMultiRegionEndpointCommandInput | DeleteConfigurationSetCommandInput | DeleteConfigurationSetEventDestinationCommandInput | DeleteContactCommandInput | DeleteContactListCommandInput | DeleteCustomVerificationEmailTemplateCommandInput | DeleteDedicatedIpPoolCommandInput | DeleteEmailIdentityCommandInput | DeleteEmailIdentityPolicyCommandInput | DeleteEmailTemplateCommandInput | DeleteMultiRegionEndpointCommandInput | DeleteSuppressedDestinationCommandInput | GetAccountCommandInput | GetBlacklistReportsCommandInput | GetConfigurationSetCommandInput | GetConfigurationSetEventDestinationsCommandInput | GetContactCommandInput | GetContactListCommandInput | GetCustomVerificationEmailTemplateCommandInput | GetDedicatedIpCommandInput | GetDedicatedIpPoolCommandInput | GetDedicatedIpsCommandInput | GetDeliverabilityDashboardOptionsCommandInput | GetDeliverabilityTestReportCommandInput | GetDomainDeliverabilityCampaignCommandInput | GetDomainStatisticsReportCommandInput | GetEmailIdentityCommandInput | GetEmailIdentityPoliciesCommandInput | GetEmailTemplateCommandInput | GetExportJobCommandInput | GetImportJobCommandInput | GetMessageInsightsCommandInput | GetMultiRegionEndpointCommandInput | GetSuppressedDestinationCommandInput | ListConfigurationSetsCommandInput | ListContactListsCommandInput | ListContactsCommandInput | ListCustomVerificationEmailTemplatesCommandInput | ListDedicatedIpPoolsCommandInput | ListDeliverabilityTestReportsCommandInput | ListDomainDeliverabilityCampaignsCommandInput | ListEmailIdentitiesCommandInput | ListEmailTemplatesCommandInput | ListExportJobsCommandInput | ListImportJobsCommandInput | ListMultiRegionEndpointsCommandInput | ListRecommendationsCommandInput | ListSuppressedDestinationsCommandInput | ListTagsForResourceCommandInput | PutAccountDedicatedIpWarmupAttributesCommandInput | PutAccountDetailsCommandInput | PutAccountSendingAttributesCommandInput | PutAccountSuppressionAttributesCommandInput | PutAccountVdmAttributesCommandInput | PutConfigurationSetDeliveryOptionsCommandInput | PutConfigurationSetReputationOptionsCommandInput | PutConfigurationSetSendingOptionsCommandInput | PutConfigurationSetSuppressionOptionsCommandInput | PutConfigurationSetTrackingOptionsCommandInput | PutConfigurationSetVdmOptionsCommandInput | PutDedicatedIpInPoolCommandInput | PutDedicatedIpPoolScalingAttributesCommandInput | PutDedicatedIpWarmupAttributesCommandInput | PutDeliverabilityDashboardOptionCommandInput | PutEmailIdentityConfigurationSetAttributesCommandInput | PutEmailIdentityDkimAttributesCommandInput | PutEmailIdentityDkimSigningAttributesCommandInput | PutEmailIdentityFeedbackAttributesCommandInput | PutEmailIdentityMailFromAttributesCommandInput | PutSuppressedDestinationCommandInput | SendBulkEmailCommandInput | SendCustomVerificationEmailCommandInput | SendEmailCommandInput | TagResourceCommandInput | TestRenderEmailTemplateCommandInput | UntagResourceCommandInput | UpdateConfigurationSetEventDestinationCommandInput | UpdateContactCommandInput | UpdateContactListCommandInput | UpdateCustomVerificationEmailTemplateCommandInput | UpdateEmailIdentityPolicyCommandInput | UpdateEmailTemplateCommandInput;
113
+ export type ServiceInputTypes = BatchGetMetricDataCommandInput | CancelExportJobCommandInput | CreateConfigurationSetCommandInput | CreateConfigurationSetEventDestinationCommandInput | CreateContactCommandInput | CreateContactListCommandInput | CreateCustomVerificationEmailTemplateCommandInput | CreateDedicatedIpPoolCommandInput | CreateDeliverabilityTestReportCommandInput | CreateEmailIdentityCommandInput | CreateEmailIdentityPolicyCommandInput | CreateEmailTemplateCommandInput | CreateExportJobCommandInput | CreateImportJobCommandInput | CreateMultiRegionEndpointCommandInput | DeleteConfigurationSetCommandInput | DeleteConfigurationSetEventDestinationCommandInput | DeleteContactCommandInput | DeleteContactListCommandInput | DeleteCustomVerificationEmailTemplateCommandInput | DeleteDedicatedIpPoolCommandInput | DeleteEmailIdentityCommandInput | DeleteEmailIdentityPolicyCommandInput | DeleteEmailTemplateCommandInput | DeleteMultiRegionEndpointCommandInput | DeleteSuppressedDestinationCommandInput | GetAccountCommandInput | GetBlacklistReportsCommandInput | GetConfigurationSetCommandInput | GetConfigurationSetEventDestinationsCommandInput | GetContactCommandInput | GetContactListCommandInput | GetCustomVerificationEmailTemplateCommandInput | GetDedicatedIpCommandInput | GetDedicatedIpPoolCommandInput | GetDedicatedIpsCommandInput | GetDeliverabilityDashboardOptionsCommandInput | GetDeliverabilityTestReportCommandInput | GetDomainDeliverabilityCampaignCommandInput | GetDomainStatisticsReportCommandInput | GetEmailIdentityCommandInput | GetEmailIdentityPoliciesCommandInput | GetEmailTemplateCommandInput | GetExportJobCommandInput | GetImportJobCommandInput | GetMessageInsightsCommandInput | GetMultiRegionEndpointCommandInput | GetSuppressedDestinationCommandInput | ListConfigurationSetsCommandInput | ListContactListsCommandInput | ListContactsCommandInput | ListCustomVerificationEmailTemplatesCommandInput | ListDedicatedIpPoolsCommandInput | ListDeliverabilityTestReportsCommandInput | ListDomainDeliverabilityCampaignsCommandInput | ListEmailIdentitiesCommandInput | ListEmailTemplatesCommandInput | ListExportJobsCommandInput | ListImportJobsCommandInput | ListMultiRegionEndpointsCommandInput | ListRecommendationsCommandInput | ListSuppressedDestinationsCommandInput | ListTagsForResourceCommandInput | PutAccountDedicatedIpWarmupAttributesCommandInput | PutAccountDetailsCommandInput | PutAccountSendingAttributesCommandInput | PutAccountSuppressionAttributesCommandInput | PutAccountVdmAttributesCommandInput | PutConfigurationSetArchivingOptionsCommandInput | PutConfigurationSetDeliveryOptionsCommandInput | PutConfigurationSetReputationOptionsCommandInput | PutConfigurationSetSendingOptionsCommandInput | PutConfigurationSetSuppressionOptionsCommandInput | PutConfigurationSetTrackingOptionsCommandInput | PutConfigurationSetVdmOptionsCommandInput | PutDedicatedIpInPoolCommandInput | PutDedicatedIpPoolScalingAttributesCommandInput | PutDedicatedIpWarmupAttributesCommandInput | PutDeliverabilityDashboardOptionCommandInput | PutEmailIdentityConfigurationSetAttributesCommandInput | PutEmailIdentityDkimAttributesCommandInput | PutEmailIdentityDkimSigningAttributesCommandInput | PutEmailIdentityFeedbackAttributesCommandInput | PutEmailIdentityMailFromAttributesCommandInput | PutSuppressedDestinationCommandInput | SendBulkEmailCommandInput | SendCustomVerificationEmailCommandInput | SendEmailCommandInput | TagResourceCommandInput | TestRenderEmailTemplateCommandInput | UntagResourceCommandInput | UpdateConfigurationSetEventDestinationCommandInput | UpdateContactCommandInput | UpdateContactListCommandInput | UpdateCustomVerificationEmailTemplateCommandInput | UpdateEmailIdentityPolicyCommandInput | UpdateEmailTemplateCommandInput;
113
114
  /**
114
115
  * @public
115
116
  */
116
- export type ServiceOutputTypes = BatchGetMetricDataCommandOutput | CancelExportJobCommandOutput | CreateConfigurationSetCommandOutput | CreateConfigurationSetEventDestinationCommandOutput | CreateContactCommandOutput | CreateContactListCommandOutput | CreateCustomVerificationEmailTemplateCommandOutput | CreateDedicatedIpPoolCommandOutput | CreateDeliverabilityTestReportCommandOutput | CreateEmailIdentityCommandOutput | CreateEmailIdentityPolicyCommandOutput | CreateEmailTemplateCommandOutput | CreateExportJobCommandOutput | CreateImportJobCommandOutput | CreateMultiRegionEndpointCommandOutput | DeleteConfigurationSetCommandOutput | DeleteConfigurationSetEventDestinationCommandOutput | DeleteContactCommandOutput | DeleteContactListCommandOutput | DeleteCustomVerificationEmailTemplateCommandOutput | DeleteDedicatedIpPoolCommandOutput | DeleteEmailIdentityCommandOutput | DeleteEmailIdentityPolicyCommandOutput | DeleteEmailTemplateCommandOutput | DeleteMultiRegionEndpointCommandOutput | DeleteSuppressedDestinationCommandOutput | GetAccountCommandOutput | GetBlacklistReportsCommandOutput | GetConfigurationSetCommandOutput | GetConfigurationSetEventDestinationsCommandOutput | GetContactCommandOutput | GetContactListCommandOutput | GetCustomVerificationEmailTemplateCommandOutput | GetDedicatedIpCommandOutput | GetDedicatedIpPoolCommandOutput | GetDedicatedIpsCommandOutput | GetDeliverabilityDashboardOptionsCommandOutput | GetDeliverabilityTestReportCommandOutput | GetDomainDeliverabilityCampaignCommandOutput | GetDomainStatisticsReportCommandOutput | GetEmailIdentityCommandOutput | GetEmailIdentityPoliciesCommandOutput | GetEmailTemplateCommandOutput | GetExportJobCommandOutput | GetImportJobCommandOutput | GetMessageInsightsCommandOutput | GetMultiRegionEndpointCommandOutput | GetSuppressedDestinationCommandOutput | ListConfigurationSetsCommandOutput | ListContactListsCommandOutput | ListContactsCommandOutput | ListCustomVerificationEmailTemplatesCommandOutput | ListDedicatedIpPoolsCommandOutput | ListDeliverabilityTestReportsCommandOutput | ListDomainDeliverabilityCampaignsCommandOutput | ListEmailIdentitiesCommandOutput | ListEmailTemplatesCommandOutput | ListExportJobsCommandOutput | ListImportJobsCommandOutput | ListMultiRegionEndpointsCommandOutput | ListRecommendationsCommandOutput | ListSuppressedDestinationsCommandOutput | ListTagsForResourceCommandOutput | PutAccountDedicatedIpWarmupAttributesCommandOutput | PutAccountDetailsCommandOutput | PutAccountSendingAttributesCommandOutput | PutAccountSuppressionAttributesCommandOutput | PutAccountVdmAttributesCommandOutput | PutConfigurationSetDeliveryOptionsCommandOutput | PutConfigurationSetReputationOptionsCommandOutput | PutConfigurationSetSendingOptionsCommandOutput | PutConfigurationSetSuppressionOptionsCommandOutput | PutConfigurationSetTrackingOptionsCommandOutput | PutConfigurationSetVdmOptionsCommandOutput | PutDedicatedIpInPoolCommandOutput | PutDedicatedIpPoolScalingAttributesCommandOutput | PutDedicatedIpWarmupAttributesCommandOutput | PutDeliverabilityDashboardOptionCommandOutput | PutEmailIdentityConfigurationSetAttributesCommandOutput | PutEmailIdentityDkimAttributesCommandOutput | PutEmailIdentityDkimSigningAttributesCommandOutput | PutEmailIdentityFeedbackAttributesCommandOutput | PutEmailIdentityMailFromAttributesCommandOutput | PutSuppressedDestinationCommandOutput | SendBulkEmailCommandOutput | SendCustomVerificationEmailCommandOutput | SendEmailCommandOutput | TagResourceCommandOutput | TestRenderEmailTemplateCommandOutput | UntagResourceCommandOutput | UpdateConfigurationSetEventDestinationCommandOutput | UpdateContactCommandOutput | UpdateContactListCommandOutput | UpdateCustomVerificationEmailTemplateCommandOutput | UpdateEmailIdentityPolicyCommandOutput | UpdateEmailTemplateCommandOutput;
117
+ export type ServiceOutputTypes = BatchGetMetricDataCommandOutput | CancelExportJobCommandOutput | CreateConfigurationSetCommandOutput | CreateConfigurationSetEventDestinationCommandOutput | CreateContactCommandOutput | CreateContactListCommandOutput | CreateCustomVerificationEmailTemplateCommandOutput | CreateDedicatedIpPoolCommandOutput | CreateDeliverabilityTestReportCommandOutput | CreateEmailIdentityCommandOutput | CreateEmailIdentityPolicyCommandOutput | CreateEmailTemplateCommandOutput | CreateExportJobCommandOutput | CreateImportJobCommandOutput | CreateMultiRegionEndpointCommandOutput | DeleteConfigurationSetCommandOutput | DeleteConfigurationSetEventDestinationCommandOutput | DeleteContactCommandOutput | DeleteContactListCommandOutput | DeleteCustomVerificationEmailTemplateCommandOutput | DeleteDedicatedIpPoolCommandOutput | DeleteEmailIdentityCommandOutput | DeleteEmailIdentityPolicyCommandOutput | DeleteEmailTemplateCommandOutput | DeleteMultiRegionEndpointCommandOutput | DeleteSuppressedDestinationCommandOutput | GetAccountCommandOutput | GetBlacklistReportsCommandOutput | GetConfigurationSetCommandOutput | GetConfigurationSetEventDestinationsCommandOutput | GetContactCommandOutput | GetContactListCommandOutput | GetCustomVerificationEmailTemplateCommandOutput | GetDedicatedIpCommandOutput | GetDedicatedIpPoolCommandOutput | GetDedicatedIpsCommandOutput | GetDeliverabilityDashboardOptionsCommandOutput | GetDeliverabilityTestReportCommandOutput | GetDomainDeliverabilityCampaignCommandOutput | GetDomainStatisticsReportCommandOutput | GetEmailIdentityCommandOutput | GetEmailIdentityPoliciesCommandOutput | GetEmailTemplateCommandOutput | GetExportJobCommandOutput | GetImportJobCommandOutput | GetMessageInsightsCommandOutput | GetMultiRegionEndpointCommandOutput | GetSuppressedDestinationCommandOutput | ListConfigurationSetsCommandOutput | ListContactListsCommandOutput | ListContactsCommandOutput | ListCustomVerificationEmailTemplatesCommandOutput | ListDedicatedIpPoolsCommandOutput | ListDeliverabilityTestReportsCommandOutput | ListDomainDeliverabilityCampaignsCommandOutput | ListEmailIdentitiesCommandOutput | ListEmailTemplatesCommandOutput | ListExportJobsCommandOutput | ListImportJobsCommandOutput | ListMultiRegionEndpointsCommandOutput | ListRecommendationsCommandOutput | ListSuppressedDestinationsCommandOutput | ListTagsForResourceCommandOutput | PutAccountDedicatedIpWarmupAttributesCommandOutput | PutAccountDetailsCommandOutput | PutAccountSendingAttributesCommandOutput | PutAccountSuppressionAttributesCommandOutput | PutAccountVdmAttributesCommandOutput | PutConfigurationSetArchivingOptionsCommandOutput | PutConfigurationSetDeliveryOptionsCommandOutput | PutConfigurationSetReputationOptionsCommandOutput | PutConfigurationSetSendingOptionsCommandOutput | PutConfigurationSetSuppressionOptionsCommandOutput | PutConfigurationSetTrackingOptionsCommandOutput | PutConfigurationSetVdmOptionsCommandOutput | PutDedicatedIpInPoolCommandOutput | PutDedicatedIpPoolScalingAttributesCommandOutput | PutDedicatedIpWarmupAttributesCommandOutput | PutDeliverabilityDashboardOptionCommandOutput | PutEmailIdentityConfigurationSetAttributesCommandOutput | PutEmailIdentityDkimAttributesCommandOutput | PutEmailIdentityDkimSigningAttributesCommandOutput | PutEmailIdentityFeedbackAttributesCommandOutput | PutEmailIdentityMailFromAttributesCommandOutput | PutSuppressedDestinationCommandOutput | SendBulkEmailCommandOutput | SendCustomVerificationEmailCommandOutput | SendEmailCommandOutput | TagResourceCommandOutput | TestRenderEmailTemplateCommandOutput | UntagResourceCommandOutput | UpdateConfigurationSetEventDestinationCommandOutput | UpdateContactCommandOutput | UpdateContactListCommandOutput | UpdateCustomVerificationEmailTemplateCommandOutput | UpdateEmailIdentityPolicyCommandOutput | UpdateEmailTemplateCommandOutput;
117
118
  /**
118
119
  * @public
119
120
  */
@@ -75,6 +75,9 @@ declare const CreateConfigurationSetCommand_base: {
75
75
  * OptimizedSharedDelivery: "ENABLED" || "DISABLED",
76
76
  * },
77
77
  * },
78
+ * ArchivingOptions: { // ArchivingOptions
79
+ * ArchiveArn: "STRING_VALUE",
80
+ * },
78
81
  * };
79
82
  * const command = new CreateConfigurationSetCommand(input);
80
83
  * const response = await client.send(command);
@@ -83,6 +83,9 @@ declare const GetConfigurationSetCommand_base: {
83
83
  * // OptimizedSharedDelivery: "ENABLED" || "DISABLED",
84
84
  * // },
85
85
  * // },
86
+ * // ArchivingOptions: { // ArchivingOptions
87
+ * // ArchiveArn: "STRING_VALUE",
88
+ * // },
86
89
  * // };
87
90
  *
88
91
  * ```
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutConfigurationSetArchivingOptionsRequest, PutConfigurationSetArchivingOptionsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutConfigurationSetArchivingOptionsCommand}.
14
+ */
15
+ export interface PutConfigurationSetArchivingOptionsCommandInput extends PutConfigurationSetArchivingOptionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutConfigurationSetArchivingOptionsCommand}.
21
+ */
22
+ export interface PutConfigurationSetArchivingOptionsCommandOutput extends PutConfigurationSetArchivingOptionsResponse, __MetadataBearer {
23
+ }
24
+ declare const PutConfigurationSetArchivingOptionsCommand_base: {
25
+ new (input: PutConfigurationSetArchivingOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<PutConfigurationSetArchivingOptionsCommandInput, PutConfigurationSetArchivingOptionsCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutConfigurationSetArchivingOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<PutConfigurationSetArchivingOptionsCommandInput, PutConfigurationSetArchivingOptionsCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associate the configuration set with a MailManager archive. When you send email using the
31
+ * <code>SendEmail</code> or <code>SendBulkEmail</code> operations the message as it will be given
32
+ * to the receiving SMTP server will be archived, along with the recipient information.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SESv2Client, PutConfigurationSetArchivingOptionsCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
37
+ * // const { SESv2Client, PutConfigurationSetArchivingOptionsCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
38
+ * const client = new SESv2Client(config);
39
+ * const input = { // PutConfigurationSetArchivingOptionsRequest
40
+ * ConfigurationSetName: "STRING_VALUE", // required
41
+ * ArchiveArn: "STRING_VALUE",
42
+ * };
43
+ * const command = new PutConfigurationSetArchivingOptionsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param PutConfigurationSetArchivingOptionsCommandInput - {@link PutConfigurationSetArchivingOptionsCommandInput}
50
+ * @returns {@link PutConfigurationSetArchivingOptionsCommandOutput}
51
+ * @see {@link PutConfigurationSetArchivingOptionsCommandInput} for command's `input` shape.
52
+ * @see {@link PutConfigurationSetArchivingOptionsCommandOutput} for command's `response` shape.
53
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
54
+ *
55
+ * @throws {@link BadRequestException} (client fault)
56
+ * <p>The input you provided is invalid.</p>
57
+ *
58
+ * @throws {@link NotFoundException} (client fault)
59
+ * <p>The resource you attempted to access doesn't exist.</p>
60
+ *
61
+ * @throws {@link TooManyRequestsException} (client fault)
62
+ * <p>Too many requests have been made to the operation.</p>
63
+ *
64
+ * @throws {@link SESv2ServiceException}
65
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
66
+ *
67
+ * @public
68
+ * @example Used to associate an MailManager archive with a ConfigurationSet.
69
+ * ```javascript
70
+ * // This example associates an archive arn with a configuration set.
71
+ * const input = {
72
+ * "ArchiveArn": "arn:aws:ses:us-west-2:123456789012:mailmanager-archive/a-abcdefghijklmnopqrstuvwxyz",
73
+ * "ConfigurationSetName": "sample-configuration-name"
74
+ * };
75
+ * const command = new PutConfigurationSetArchivingOptionsCommand(input);
76
+ * await client.send(command);
77
+ * // example id: put-configuration-set-archiving-options-example-1737363685
78
+ * ```
79
+ *
80
+ */
81
+ export declare class PutConfigurationSetArchivingOptionsCommand extends PutConfigurationSetArchivingOptionsCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: PutConfigurationSetArchivingOptionsRequest;
86
+ output: {};
87
+ };
88
+ sdk: {
89
+ input: PutConfigurationSetArchivingOptionsCommandInput;
90
+ output: PutConfigurationSetArchivingOptionsCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutConfigurationSetTrackingOptionsRequest, PutConfigurationSetTrackingOptionsResponse } from "../models/models_0";
3
+ import { PutConfigurationSetTrackingOptionsRequest } from "../models/models_0";
4
+ import { PutConfigurationSetTrackingOptionsResponse } from "../models/models_1";
4
5
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
6
  /**
6
7
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutConfigurationSetVdmOptionsRequest, PutConfigurationSetVdmOptionsResponse } from "../models/models_0";
3
+ import { PutConfigurationSetVdmOptionsRequest, PutConfigurationSetVdmOptionsResponse } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
5
  /**
6
6
  * @public
@@ -66,6 +66,7 @@ export * from "./PutAccountDetailsCommand";
66
66
  export * from "./PutAccountSendingAttributesCommand";
67
67
  export * from "./PutAccountSuppressionAttributesCommand";
68
68
  export * from "./PutAccountVdmAttributesCommand";
69
+ export * from "./PutConfigurationSetArchivingOptionsCommand";
69
70
  export * from "./PutConfigurationSetDeliveryOptionsCommand";
70
71
  export * from "./PutConfigurationSetReputationOptionsCommand";
71
72
  export * from "./PutConfigurationSetSendingOptionsCommand";
@@ -156,6 +156,18 @@ export declare class AlreadyExistsException extends __BaseException {
156
156
  */
157
157
  constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
158
158
  }
159
+ /**
160
+ * <p>Used to associate a configuration set with a MailManager archive.</p>
161
+ * @public
162
+ */
163
+ export interface ArchivingOptions {
164
+ /**
165
+ * <p>The Amazon Resource Name (ARN) of the MailManager archive where the Amazon SES API v2 will archive sent
166
+ * emails.</p>
167
+ * @public
168
+ */
169
+ ArchiveArn?: string | undefined;
170
+ }
159
171
  /**
160
172
  * <p>The input you provided is invalid.</p>
161
173
  * @public
@@ -1528,6 +1540,12 @@ export interface CreateConfigurationSetRequest {
1528
1540
  * @public
1529
1541
  */
1530
1542
  VdmOptions?: VdmOptions | undefined;
1543
+ /**
1544
+ * <p>An object that defines the MailManager archiving options for emails that you send
1545
+ * using the configuration set.</p>
1546
+ * @public
1547
+ */
1548
+ ArchivingOptions?: ArchivingOptions | undefined;
1531
1549
  }
1532
1550
  /**
1533
1551
  * <p>An HTTP 200 response if the request succeeds, or an error message if the request
@@ -4576,6 +4594,12 @@ export interface GetConfigurationSetResponse {
4576
4594
  * @public
4577
4595
  */
4578
4596
  VdmOptions?: VdmOptions | undefined;
4597
+ /**
4598
+ * <p>An object that defines the MailManager archive where sent emails are archived that you send
4599
+ * using the configuration set.</p>
4600
+ * @public
4601
+ */
4602
+ ArchivingOptions?: ArchivingOptions | undefined;
4579
4603
  }
4580
4604
  /**
4581
4605
  * <p>A request to obtain information about the event destinations for a configuration
@@ -5293,7 +5317,7 @@ export interface VerificationInfo {
5293
5317
  * <li>
5294
5318
  * <p>
5295
5319
  * <code>REPLICATION_PRIMARY_INVALID_REGION</code> – The verification failed due to an invalid
5296
- * primary region specified. Ensure you provide a valid AWS region where Amazon SES is available and different
5320
+ * primary region specified. Ensure you provide a valid Amazon Web Services region where Amazon SES is available and different
5297
5321
  * from the replica region.
5298
5322
  * </p>
5299
5323
  * </li>
@@ -6672,7 +6696,7 @@ export interface Recommendation {
6672
6696
  ResourceArn?: string | undefined;
6673
6697
  /**
6674
6698
  * <p>The recommendation type, with values like <code>DKIM</code>,
6675
- * <code>SPF</code>, <code>DMARC</code> or <code>BIMI</code>.</p>
6699
+ * <code>SPF</code>, <code>DMARC</code>, <code>BIMI</code>, or <code>COMPLAINT</code>.</p>
6676
6700
  * @public
6677
6701
  */
6678
6702
  Type?: RecommendationType | undefined;
@@ -6977,6 +7001,30 @@ export interface PutAccountVdmAttributesRequest {
6977
7001
  */
6978
7002
  export interface PutAccountVdmAttributesResponse {
6979
7003
  }
7004
+ /**
7005
+ * <p>A request to associate a configuration set with a MailManager archive.</p>
7006
+ * @public
7007
+ */
7008
+ export interface PutConfigurationSetArchivingOptionsRequest {
7009
+ /**
7010
+ * <p>The name of the configuration set to associate with a MailManager archive.</p>
7011
+ * @public
7012
+ */
7013
+ ConfigurationSetName: string | undefined;
7014
+ /**
7015
+ * <p>The Amazon Resource Name (ARN) of the MailManager archive that the Amazon SES API v2 sends email
7016
+ * to.</p>
7017
+ * @public
7018
+ */
7019
+ ArchiveArn?: string | undefined;
7020
+ }
7021
+ /**
7022
+ * <p>An HTTP 200 response if the request succeeds, or an error message if the request
7023
+ * fails.</p>
7024
+ * @public
7025
+ */
7026
+ export interface PutConfigurationSetArchivingOptionsResponse {
7027
+ }
6980
7028
  /**
6981
7029
  * <p>A request to associate a configuration set with a dedicated IP pool.</p>
6982
7030
  * @public
@@ -7134,36 +7182,6 @@ export interface PutConfigurationSetTrackingOptionsRequest {
7134
7182
  */
7135
7183
  HttpsPolicy?: HttpsPolicy | undefined;
7136
7184
  }
7137
- /**
7138
- * <p>An HTTP 200 response if the request succeeds, or an error message if the request
7139
- * fails.</p>
7140
- * @public
7141
- */
7142
- export interface PutConfigurationSetTrackingOptionsResponse {
7143
- }
7144
- /**
7145
- * <p>A request to add specific VDM settings to a configuration set.</p>
7146
- * @public
7147
- */
7148
- export interface PutConfigurationSetVdmOptionsRequest {
7149
- /**
7150
- * <p>The name of the configuration set.</p>
7151
- * @public
7152
- */
7153
- ConfigurationSetName: string | undefined;
7154
- /**
7155
- * <p>The VDM options to apply to the configuration set.</p>
7156
- * @public
7157
- */
7158
- VdmOptions?: VdmOptions | undefined;
7159
- }
7160
- /**
7161
- * <p>An HTTP 200 response if the request succeeds, or an error message if the request
7162
- * fails.</p>
7163
- * @public
7164
- */
7165
- export interface PutConfigurationSetVdmOptionsResponse {
7166
- }
7167
7185
  /**
7168
7186
  * @internal
7169
7187
  */
@@ -1,4 +1,34 @@
1
- import { BehaviorOnMxFailure, BulkEmailContent, BulkEmailEntry, BulkEmailEntryResult, Destination, DkimSigningAttributes, DkimSigningAttributesOrigin, DkimStatus, DomainDeliverabilityTrackingOption, EmailContent, EmailTemplateContent, EventDestinationDefinition, ListManagementOptions, MessageTag, ScalingMode, SuppressionListReason, Tag, Topic, TopicPreference } from "./models_0";
1
+ import { BehaviorOnMxFailure, BulkEmailContent, BulkEmailEntry, BulkEmailEntryResult, Destination, DkimSigningAttributes, DkimSigningAttributesOrigin, DkimStatus, DomainDeliverabilityTrackingOption, EmailContent, EmailTemplateContent, EventDestinationDefinition, ListManagementOptions, MessageTag, ScalingMode, SuppressionListReason, Tag, Topic, TopicPreference, VdmOptions } from "./models_0";
2
+ /**
3
+ * <p>An HTTP 200 response if the request succeeds, or an error message if the request
4
+ * fails.</p>
5
+ * @public
6
+ */
7
+ export interface PutConfigurationSetTrackingOptionsResponse {
8
+ }
9
+ /**
10
+ * <p>A request to add specific VDM settings to a configuration set.</p>
11
+ * @public
12
+ */
13
+ export interface PutConfigurationSetVdmOptionsRequest {
14
+ /**
15
+ * <p>The name of the configuration set.</p>
16
+ * @public
17
+ */
18
+ ConfigurationSetName: string | undefined;
19
+ /**
20
+ * <p>The VDM options to apply to the configuration set.</p>
21
+ * @public
22
+ */
23
+ VdmOptions?: VdmOptions | undefined;
24
+ }
25
+ /**
26
+ * <p>An HTTP 200 response if the request succeeds, or an error message if the request
27
+ * fails.</p>
28
+ * @public
29
+ */
30
+ export interface PutConfigurationSetVdmOptionsResponse {
31
+ }
2
32
  /**
3
33
  * <p>A request to move a dedicated IP address to a dedicated IP pool.</p>
4
34
  * @public
@@ -68,6 +68,7 @@ import { PutAccountDetailsCommandInput, PutAccountDetailsCommandOutput } from ".
68
68
  import { PutAccountSendingAttributesCommandInput, PutAccountSendingAttributesCommandOutput } from "../commands/PutAccountSendingAttributesCommand";
69
69
  import { PutAccountSuppressionAttributesCommandInput, PutAccountSuppressionAttributesCommandOutput } from "../commands/PutAccountSuppressionAttributesCommand";
70
70
  import { PutAccountVdmAttributesCommandInput, PutAccountVdmAttributesCommandOutput } from "../commands/PutAccountVdmAttributesCommand";
71
+ import { PutConfigurationSetArchivingOptionsCommandInput, PutConfigurationSetArchivingOptionsCommandOutput } from "../commands/PutConfigurationSetArchivingOptionsCommand";
71
72
  import { PutConfigurationSetDeliveryOptionsCommandInput, PutConfigurationSetDeliveryOptionsCommandOutput } from "../commands/PutConfigurationSetDeliveryOptionsCommand";
72
73
  import { PutConfigurationSetReputationOptionsCommandInput, PutConfigurationSetReputationOptionsCommandOutput } from "../commands/PutConfigurationSetReputationOptionsCommand";
73
74
  import { PutConfigurationSetSendingOptionsCommandInput, PutConfigurationSetSendingOptionsCommandOutput } from "../commands/PutConfigurationSetSendingOptionsCommand";
@@ -368,6 +369,10 @@ export declare const se_PutAccountSuppressionAttributesCommand: (input: PutAccou
368
369
  * serializeAws_restJson1PutAccountVdmAttributesCommand
369
370
  */
370
371
  export declare const se_PutAccountVdmAttributesCommand: (input: PutAccountVdmAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
372
+ /**
373
+ * serializeAws_restJson1PutConfigurationSetArchivingOptionsCommand
374
+ */
375
+ export declare const se_PutConfigurationSetArchivingOptionsCommand: (input: PutConfigurationSetArchivingOptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
371
376
  /**
372
377
  * serializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand
373
378
  */
@@ -752,6 +757,10 @@ export declare const de_PutAccountSuppressionAttributesCommand: (output: __HttpR
752
757
  * deserializeAws_restJson1PutAccountVdmAttributesCommand
753
758
  */
754
759
  export declare const de_PutAccountVdmAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAccountVdmAttributesCommandOutput>;
760
+ /**
761
+ * deserializeAws_restJson1PutConfigurationSetArchivingOptionsCommand
762
+ */
763
+ export declare const de_PutConfigurationSetArchivingOptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutConfigurationSetArchivingOptionsCommandOutput>;
755
764
  /**
756
765
  * deserializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand
757
766
  */
@@ -271,6 +271,10 @@ import {
271
271
  PutAccountVdmAttributesCommandInput,
272
272
  PutAccountVdmAttributesCommandOutput,
273
273
  } from "./commands/PutAccountVdmAttributesCommand";
274
+ import {
275
+ PutConfigurationSetArchivingOptionsCommandInput,
276
+ PutConfigurationSetArchivingOptionsCommandOutput,
277
+ } from "./commands/PutConfigurationSetArchivingOptionsCommand";
274
278
  import {
275
279
  PutConfigurationSetDeliveryOptionsCommandInput,
276
280
  PutConfigurationSetDeliveryOptionsCommandOutput,
@@ -1347,6 +1351,25 @@ export interface SESv2 {
1347
1351
  options: __HttpHandlerOptions,
1348
1352
  cb: (err: any, data?: PutAccountVdmAttributesCommandOutput) => void
1349
1353
  ): void;
1354
+ putConfigurationSetArchivingOptions(
1355
+ args: PutConfigurationSetArchivingOptionsCommandInput,
1356
+ options?: __HttpHandlerOptions
1357
+ ): Promise<PutConfigurationSetArchivingOptionsCommandOutput>;
1358
+ putConfigurationSetArchivingOptions(
1359
+ args: PutConfigurationSetArchivingOptionsCommandInput,
1360
+ cb: (
1361
+ err: any,
1362
+ data?: PutConfigurationSetArchivingOptionsCommandOutput
1363
+ ) => void
1364
+ ): void;
1365
+ putConfigurationSetArchivingOptions(
1366
+ args: PutConfigurationSetArchivingOptionsCommandInput,
1367
+ options: __HttpHandlerOptions,
1368
+ cb: (
1369
+ err: any,
1370
+ data?: PutConfigurationSetArchivingOptionsCommandOutput
1371
+ ) => void
1372
+ ): void;
1350
1373
  putConfigurationSetDeliveryOptions(
1351
1374
  args: PutConfigurationSetDeliveryOptionsCommandInput,
1352
1375
  options?: __HttpHandlerOptions
@@ -317,6 +317,10 @@ import {
317
317
  PutAccountVdmAttributesCommandInput,
318
318
  PutAccountVdmAttributesCommandOutput,
319
319
  } from "./commands/PutAccountVdmAttributesCommand";
320
+ import {
321
+ PutConfigurationSetArchivingOptionsCommandInput,
322
+ PutConfigurationSetArchivingOptionsCommandOutput,
323
+ } from "./commands/PutConfigurationSetArchivingOptionsCommand";
320
324
  import {
321
325
  PutConfigurationSetDeliveryOptionsCommandInput,
322
326
  PutConfigurationSetDeliveryOptionsCommandOutput,
@@ -505,6 +509,7 @@ export type ServiceInputTypes =
505
509
  | PutAccountSendingAttributesCommandInput
506
510
  | PutAccountSuppressionAttributesCommandInput
507
511
  | PutAccountVdmAttributesCommandInput
512
+ | PutConfigurationSetArchivingOptionsCommandInput
508
513
  | PutConfigurationSetDeliveryOptionsCommandInput
509
514
  | PutConfigurationSetReputationOptionsCommandInput
510
515
  | PutConfigurationSetSendingOptionsCommandInput
@@ -602,6 +607,7 @@ export type ServiceOutputTypes =
602
607
  | PutAccountSendingAttributesCommandOutput
603
608
  | PutAccountSuppressionAttributesCommandOutput
604
609
  | PutAccountVdmAttributesCommandOutput
610
+ | PutConfigurationSetArchivingOptionsCommandOutput
605
611
  | PutConfigurationSetDeliveryOptionsCommandOutput
606
612
  | PutConfigurationSetReputationOptionsCommandOutput
607
613
  | PutConfigurationSetSendingOptionsCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ PutConfigurationSetArchivingOptionsRequest,
5
+ PutConfigurationSetArchivingOptionsResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SESv2ClientResolvedConfig,
11
+ } from "../SESv2Client";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface PutConfigurationSetArchivingOptionsCommandInput
15
+ extends PutConfigurationSetArchivingOptionsRequest {}
16
+ export interface PutConfigurationSetArchivingOptionsCommandOutput
17
+ extends PutConfigurationSetArchivingOptionsResponse,
18
+ __MetadataBearer {}
19
+ declare const PutConfigurationSetArchivingOptionsCommand_base: {
20
+ new (
21
+ input: PutConfigurationSetArchivingOptionsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ PutConfigurationSetArchivingOptionsCommandInput,
24
+ PutConfigurationSetArchivingOptionsCommandOutput,
25
+ SESv2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: PutConfigurationSetArchivingOptionsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ PutConfigurationSetArchivingOptionsCommandInput,
33
+ PutConfigurationSetArchivingOptionsCommandOutput,
34
+ SESv2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class PutConfigurationSetArchivingOptionsCommand extends PutConfigurationSetArchivingOptionsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: PutConfigurationSetArchivingOptionsRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: PutConfigurationSetArchivingOptionsCommandInput;
48
+ output: PutConfigurationSetArchivingOptionsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- PutConfigurationSetTrackingOptionsRequest,
5
- PutConfigurationSetTrackingOptionsResponse,
6
- } from "../models/models_0";
3
+ import { PutConfigurationSetTrackingOptionsRequest } from "../models/models_0";
4
+ import { PutConfigurationSetTrackingOptionsResponse } from "../models/models_1";
7
5
  import {
8
6
  ServiceInputTypes,
9
7
  ServiceOutputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  PutConfigurationSetVdmOptionsRequest,
5
5
  PutConfigurationSetVdmOptionsResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  ServiceInputTypes,
9
9
  ServiceOutputTypes,
@@ -66,6 +66,7 @@ export * from "./PutAccountDetailsCommand";
66
66
  export * from "./PutAccountSendingAttributesCommand";
67
67
  export * from "./PutAccountSuppressionAttributesCommand";
68
68
  export * from "./PutAccountVdmAttributesCommand";
69
+ export * from "./PutConfigurationSetArchivingOptionsCommand";
69
70
  export * from "./PutConfigurationSetDeliveryOptionsCommand";
70
71
  export * from "./PutConfigurationSetReputationOptionsCommand";
71
72
  export * from "./PutConfigurationSetSendingOptionsCommand";
@@ -44,6 +44,9 @@ export declare class AlreadyExistsException extends __BaseException {
44
44
  opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
45
45
  );
46
46
  }
47
+ export interface ArchivingOptions {
48
+ ArchiveArn?: string | undefined;
49
+ }
47
50
  export declare class BadRequestException extends __BaseException {
48
51
  readonly name: "BadRequestException";
49
52
  readonly $fault: "client";
@@ -352,6 +355,7 @@ export interface CreateConfigurationSetRequest {
352
355
  Tags?: Tag[] | undefined;
353
356
  SuppressionOptions?: SuppressionOptions | undefined;
354
357
  VdmOptions?: VdmOptions | undefined;
358
+ ArchivingOptions?: ArchivingOptions | undefined;
355
359
  }
356
360
  export interface CreateConfigurationSetResponse {}
357
361
  export declare class LimitExceededException extends __BaseException {
@@ -927,6 +931,7 @@ export interface GetConfigurationSetResponse {
927
931
  Tags?: Tag[] | undefined;
928
932
  SuppressionOptions?: SuppressionOptions | undefined;
929
933
  VdmOptions?: VdmOptions | undefined;
934
+ ArchivingOptions?: ArchivingOptions | undefined;
930
935
  }
931
936
  export interface GetConfigurationSetEventDestinationsRequest {
932
937
  ConfigurationSetName: string | undefined;
@@ -1432,6 +1437,11 @@ export interface PutAccountVdmAttributesRequest {
1432
1437
  VdmAttributes: VdmAttributes | undefined;
1433
1438
  }
1434
1439
  export interface PutAccountVdmAttributesResponse {}
1440
+ export interface PutConfigurationSetArchivingOptionsRequest {
1441
+ ConfigurationSetName: string | undefined;
1442
+ ArchiveArn?: string | undefined;
1443
+ }
1444
+ export interface PutConfigurationSetArchivingOptionsResponse {}
1435
1445
  export interface PutConfigurationSetDeliveryOptionsRequest {
1436
1446
  ConfigurationSetName: string | undefined;
1437
1447
  TlsPolicy?: TlsPolicy | undefined;
@@ -1459,12 +1469,6 @@ export interface PutConfigurationSetTrackingOptionsRequest {
1459
1469
  CustomRedirectDomain?: string | undefined;
1460
1470
  HttpsPolicy?: HttpsPolicy | undefined;
1461
1471
  }
1462
- export interface PutConfigurationSetTrackingOptionsResponse {}
1463
- export interface PutConfigurationSetVdmOptionsRequest {
1464
- ConfigurationSetName: string | undefined;
1465
- VdmOptions?: VdmOptions | undefined;
1466
- }
1467
- export interface PutConfigurationSetVdmOptionsResponse {}
1468
1472
  export declare const AccountDetailsFilterSensitiveLog: (
1469
1473
  obj: AccountDetails
1470
1474
  ) => any;
@@ -18,7 +18,14 @@ import {
18
18
  Tag,
19
19
  Topic,
20
20
  TopicPreference,
21
+ VdmOptions,
21
22
  } from "./models_0";
23
+ export interface PutConfigurationSetTrackingOptionsResponse {}
24
+ export interface PutConfigurationSetVdmOptionsRequest {
25
+ ConfigurationSetName: string | undefined;
26
+ VdmOptions?: VdmOptions | undefined;
27
+ }
28
+ export interface PutConfigurationSetVdmOptionsResponse {}
22
29
  export interface PutDedicatedIpInPoolRequest {
23
30
  Ip: string | undefined;
24
31
  DestinationPoolName: string | undefined;
@@ -275,6 +275,10 @@ import {
275
275
  PutAccountVdmAttributesCommandInput,
276
276
  PutAccountVdmAttributesCommandOutput,
277
277
  } from "../commands/PutAccountVdmAttributesCommand";
278
+ import {
279
+ PutConfigurationSetArchivingOptionsCommandInput,
280
+ PutConfigurationSetArchivingOptionsCommandOutput,
281
+ } from "../commands/PutConfigurationSetArchivingOptionsCommand";
278
282
  import {
279
283
  PutConfigurationSetDeliveryOptionsCommandInput,
280
284
  PutConfigurationSetDeliveryOptionsCommandOutput,
@@ -659,6 +663,10 @@ export declare const se_PutAccountVdmAttributesCommand: (
659
663
  input: PutAccountVdmAttributesCommandInput,
660
664
  context: __SerdeContext
661
665
  ) => Promise<__HttpRequest>;
666
+ export declare const se_PutConfigurationSetArchivingOptionsCommand: (
667
+ input: PutConfigurationSetArchivingOptionsCommandInput,
668
+ context: __SerdeContext
669
+ ) => Promise<__HttpRequest>;
662
670
  export declare const se_PutConfigurationSetDeliveryOptionsCommand: (
663
671
  input: PutConfigurationSetDeliveryOptionsCommandInput,
664
672
  context: __SerdeContext
@@ -1043,6 +1051,10 @@ export declare const de_PutAccountVdmAttributesCommand: (
1043
1051
  output: __HttpResponse,
1044
1052
  context: __SerdeContext
1045
1053
  ) => Promise<PutAccountVdmAttributesCommandOutput>;
1054
+ export declare const de_PutConfigurationSetArchivingOptionsCommand: (
1055
+ output: __HttpResponse,
1056
+ context: __SerdeContext
1057
+ ) => Promise<PutConfigurationSetArchivingOptionsCommandOutput>;
1046
1058
  export declare const de_PutConfigurationSetDeliveryOptionsCommand: (
1047
1059
  output: __HttpResponse,
1048
1060
  context: __SerdeContext
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.750.0",
4
+ "version": "3.753.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sesv2",