From a2036c4f57400126767ab217c7b08bdf97963a10 Mon Sep 17 00:00:00 2001
From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
Date: Mon, 6 Jan 2020 11:06:35 -0800
Subject: [PATCH] feat: add client-pinpoint-email (#643)
---
clients/client-pinpoint-email/.gitignore | 14 +
clients/client-pinpoint-email/.npmignore | 4 +
clients/client-pinpoint-email/LICENSE | 201 +
.../client-pinpoint-email/PinpointEmail.ts | 2127 ++++++
.../PinpointEmailClient.ts | 390 ++
clients/client-pinpoint-email/README.md | 6 +
.../commands/CreateConfigurationSetCommand.ts | 93 +
...ConfigurationSetEventDestinationCommand.ts | 95 +
.../commands/CreateDedicatedIpPoolCommand.ts | 90 +
.../CreateDeliverabilityTestReportCommand.ts | 93 +
.../commands/CreateEmailIdentityCommand.ts | 90 +
.../commands/DeleteConfigurationSetCommand.ts | 93 +
...ConfigurationSetEventDestinationCommand.ts | 95 +
.../commands/DeleteDedicatedIpPoolCommand.ts | 90 +
.../commands/DeleteEmailIdentityCommand.ts | 90 +
.../commands/GetAccountCommand.ts | 81 +
.../commands/GetBlacklistReportsCommand.ts | 90 +
.../commands/GetConfigurationSetCommand.ts | 90 +
...onfigurationSetEventDestinationsCommand.ts | 95 +
.../commands/GetDedicatedIpCommand.ts | 81 +
.../commands/GetDedicatedIpsCommand.ts | 84 +
...etDeliverabilityDashboardOptionsCommand.ts | 93 +
.../GetDeliverabilityTestReportCommand.ts | 93 +
.../GetDomainDeliverabilityCampaignCommand.ts | 93 +
.../GetDomainStatisticsReportCommand.ts | 93 +
.../commands/GetEmailIdentityCommand.ts | 84 +
.../commands/ListConfigurationSetsCommand.ts | 90 +
.../commands/ListDedicatedIpPoolsCommand.ts | 90 +
.../ListDeliverabilityTestReportsCommand.ts | 93 +
...istDomainDeliverabilityCampaignsCommand.ts | 93 +
.../commands/ListEmailIdentitiesCommand.ts | 90 +
.../commands/ListTagsForResourceCommand.ts | 90 +
...countDedicatedIpWarmupAttributesCommand.ts | 95 +
.../PutAccountSendingAttributesCommand.ts | 93 +
...tConfigurationSetDeliveryOptionsCommand.ts | 93 +
...onfigurationSetReputationOptionsCommand.ts | 95 +
...utConfigurationSetSendingOptionsCommand.ts | 93 +
...tConfigurationSetTrackingOptionsCommand.ts | 93 +
.../commands/PutDedicatedIpInPoolCommand.ts | 90 +
.../PutDedicatedIpWarmupAttributesCommand.ts | 93 +
...PutDeliverabilityDashboardOptionCommand.ts | 93 +
.../PutEmailIdentityDkimAttributesCommand.ts | 93 +
...tEmailIdentityFeedbackAttributesCommand.ts | 93 +
...tEmailIdentityMailFromAttributesCommand.ts | 93 +
.../commands/SendEmailCommand.ts | 81 +
.../commands/TagResourceCommand.ts | 81 +
.../commands/UntagResourceCommand.ts | 81 +
...ConfigurationSetEventDestinationCommand.ts | 95 +
clients/client-pinpoint-email/endpoints.ts | 78 +
clients/client-pinpoint-email/index.ts | 44 +
clients/client-pinpoint-email/models/index.ts | 4415 ++++++++++++
clients/client-pinpoint-email/package.json | 75 +
.../protocols/Aws_restJson1_1.ts | 6036 +++++++++++++++++
.../runtimeConfig.browser.ts | 30 +
.../runtimeConfig.shared.ts | 7 +
.../client-pinpoint-email/runtimeConfig.ts | 31 +
.../client-pinpoint-email/tsconfig.es.json | 19 +
clients/client-pinpoint-email/tsconfig.json | 27 +
58 files changed, 17311 insertions(+)
create mode 100644 clients/client-pinpoint-email/.gitignore
create mode 100644 clients/client-pinpoint-email/.npmignore
create mode 100644 clients/client-pinpoint-email/LICENSE
create mode 100644 clients/client-pinpoint-email/PinpointEmail.ts
create mode 100644 clients/client-pinpoint-email/PinpointEmailClient.ts
create mode 100644 clients/client-pinpoint-email/README.md
create mode 100644 clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetAccountCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/SendEmailCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/TagResourceCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/UntagResourceCommand.ts
create mode 100644 clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts
create mode 100644 clients/client-pinpoint-email/endpoints.ts
create mode 100644 clients/client-pinpoint-email/index.ts
create mode 100644 clients/client-pinpoint-email/models/index.ts
create mode 100644 clients/client-pinpoint-email/package.json
create mode 100644 clients/client-pinpoint-email/protocols/Aws_restJson1_1.ts
create mode 100644 clients/client-pinpoint-email/runtimeConfig.browser.ts
create mode 100644 clients/client-pinpoint-email/runtimeConfig.shared.ts
create mode 100644 clients/client-pinpoint-email/runtimeConfig.ts
create mode 100644 clients/client-pinpoint-email/tsconfig.es.json
create mode 100644 clients/client-pinpoint-email/tsconfig.json
diff --git a/clients/client-pinpoint-email/.gitignore b/clients/client-pinpoint-email/.gitignore
new file mode 100644
index 000000000000..b41c05b597c4
--- /dev/null
+++ b/clients/client-pinpoint-email/.gitignore
@@ -0,0 +1,14 @@
+/node_modules/
+/build/
+/coverage/
+/docs/
+/types/
+/dist/
+*.tsbuildinfo
+*.tgz
+*.log
+package-lock.json
+
+*.d.ts
+*.js
+*.js.map
diff --git a/clients/client-pinpoint-email/.npmignore b/clients/client-pinpoint-email/.npmignore
new file mode 100644
index 000000000000..b7ff81137c4a
--- /dev/null
+++ b/clients/client-pinpoint-email/.npmignore
@@ -0,0 +1,4 @@
+/coverage/
+/docs/
+tsconfig.test.json
+*.tsbuildinfo
diff --git a/clients/client-pinpoint-email/LICENSE b/clients/client-pinpoint-email/LICENSE
new file mode 100644
index 000000000000..b7d2463d8cc0
--- /dev/null
+++ b/clients/client-pinpoint-email/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/clients/client-pinpoint-email/PinpointEmail.ts b/clients/client-pinpoint-email/PinpointEmail.ts
new file mode 100644
index 000000000000..6734253afb91
--- /dev/null
+++ b/clients/client-pinpoint-email/PinpointEmail.ts
@@ -0,0 +1,2127 @@
+import { PinpointEmailClient } from "./PinpointEmailClient";
+import {
+ CreateConfigurationSetCommand,
+ CreateConfigurationSetCommandInput,
+ CreateConfigurationSetCommandOutput
+} from "./commands/CreateConfigurationSetCommand";
+import {
+ CreateConfigurationSetEventDestinationCommand,
+ CreateConfigurationSetEventDestinationCommandInput,
+ CreateConfigurationSetEventDestinationCommandOutput
+} from "./commands/CreateConfigurationSetEventDestinationCommand";
+import {
+ CreateDedicatedIpPoolCommand,
+ CreateDedicatedIpPoolCommandInput,
+ CreateDedicatedIpPoolCommandOutput
+} from "./commands/CreateDedicatedIpPoolCommand";
+import {
+ CreateDeliverabilityTestReportCommand,
+ CreateDeliverabilityTestReportCommandInput,
+ CreateDeliverabilityTestReportCommandOutput
+} from "./commands/CreateDeliverabilityTestReportCommand";
+import {
+ CreateEmailIdentityCommand,
+ CreateEmailIdentityCommandInput,
+ CreateEmailIdentityCommandOutput
+} from "./commands/CreateEmailIdentityCommand";
+import {
+ DeleteConfigurationSetCommand,
+ DeleteConfigurationSetCommandInput,
+ DeleteConfigurationSetCommandOutput
+} from "./commands/DeleteConfigurationSetCommand";
+import {
+ DeleteConfigurationSetEventDestinationCommand,
+ DeleteConfigurationSetEventDestinationCommandInput,
+ DeleteConfigurationSetEventDestinationCommandOutput
+} from "./commands/DeleteConfigurationSetEventDestinationCommand";
+import {
+ DeleteDedicatedIpPoolCommand,
+ DeleteDedicatedIpPoolCommandInput,
+ DeleteDedicatedIpPoolCommandOutput
+} from "./commands/DeleteDedicatedIpPoolCommand";
+import {
+ DeleteEmailIdentityCommand,
+ DeleteEmailIdentityCommandInput,
+ DeleteEmailIdentityCommandOutput
+} from "./commands/DeleteEmailIdentityCommand";
+import {
+ GetAccountCommand,
+ GetAccountCommandInput,
+ GetAccountCommandOutput
+} from "./commands/GetAccountCommand";
+import {
+ GetBlacklistReportsCommand,
+ GetBlacklistReportsCommandInput,
+ GetBlacklistReportsCommandOutput
+} from "./commands/GetBlacklistReportsCommand";
+import {
+ GetConfigurationSetCommand,
+ GetConfigurationSetCommandInput,
+ GetConfigurationSetCommandOutput
+} from "./commands/GetConfigurationSetCommand";
+import {
+ GetConfigurationSetEventDestinationsCommand,
+ GetConfigurationSetEventDestinationsCommandInput,
+ GetConfigurationSetEventDestinationsCommandOutput
+} from "./commands/GetConfigurationSetEventDestinationsCommand";
+import {
+ GetDedicatedIpCommand,
+ GetDedicatedIpCommandInput,
+ GetDedicatedIpCommandOutput
+} from "./commands/GetDedicatedIpCommand";
+import {
+ GetDedicatedIpsCommand,
+ GetDedicatedIpsCommandInput,
+ GetDedicatedIpsCommandOutput
+} from "./commands/GetDedicatedIpsCommand";
+import {
+ GetDeliverabilityDashboardOptionsCommand,
+ GetDeliverabilityDashboardOptionsCommandInput,
+ GetDeliverabilityDashboardOptionsCommandOutput
+} from "./commands/GetDeliverabilityDashboardOptionsCommand";
+import {
+ GetDeliverabilityTestReportCommand,
+ GetDeliverabilityTestReportCommandInput,
+ GetDeliverabilityTestReportCommandOutput
+} from "./commands/GetDeliverabilityTestReportCommand";
+import {
+ GetDomainDeliverabilityCampaignCommand,
+ GetDomainDeliverabilityCampaignCommandInput,
+ GetDomainDeliverabilityCampaignCommandOutput
+} from "./commands/GetDomainDeliverabilityCampaignCommand";
+import {
+ GetDomainStatisticsReportCommand,
+ GetDomainStatisticsReportCommandInput,
+ GetDomainStatisticsReportCommandOutput
+} from "./commands/GetDomainStatisticsReportCommand";
+import {
+ GetEmailIdentityCommand,
+ GetEmailIdentityCommandInput,
+ GetEmailIdentityCommandOutput
+} from "./commands/GetEmailIdentityCommand";
+import {
+ ListConfigurationSetsCommand,
+ ListConfigurationSetsCommandInput,
+ ListConfigurationSetsCommandOutput
+} from "./commands/ListConfigurationSetsCommand";
+import {
+ ListDedicatedIpPoolsCommand,
+ ListDedicatedIpPoolsCommandInput,
+ ListDedicatedIpPoolsCommandOutput
+} from "./commands/ListDedicatedIpPoolsCommand";
+import {
+ ListDeliverabilityTestReportsCommand,
+ ListDeliverabilityTestReportsCommandInput,
+ ListDeliverabilityTestReportsCommandOutput
+} from "./commands/ListDeliverabilityTestReportsCommand";
+import {
+ ListDomainDeliverabilityCampaignsCommand,
+ ListDomainDeliverabilityCampaignsCommandInput,
+ ListDomainDeliverabilityCampaignsCommandOutput
+} from "./commands/ListDomainDeliverabilityCampaignsCommand";
+import {
+ ListEmailIdentitiesCommand,
+ ListEmailIdentitiesCommandInput,
+ ListEmailIdentitiesCommandOutput
+} from "./commands/ListEmailIdentitiesCommand";
+import {
+ ListTagsForResourceCommand,
+ ListTagsForResourceCommandInput,
+ ListTagsForResourceCommandOutput
+} from "./commands/ListTagsForResourceCommand";
+import {
+ PutAccountDedicatedIpWarmupAttributesCommand,
+ PutAccountDedicatedIpWarmupAttributesCommandInput,
+ PutAccountDedicatedIpWarmupAttributesCommandOutput
+} from "./commands/PutAccountDedicatedIpWarmupAttributesCommand";
+import {
+ PutAccountSendingAttributesCommand,
+ PutAccountSendingAttributesCommandInput,
+ PutAccountSendingAttributesCommandOutput
+} from "./commands/PutAccountSendingAttributesCommand";
+import {
+ PutConfigurationSetDeliveryOptionsCommand,
+ PutConfigurationSetDeliveryOptionsCommandInput,
+ PutConfigurationSetDeliveryOptionsCommandOutput
+} from "./commands/PutConfigurationSetDeliveryOptionsCommand";
+import {
+ PutConfigurationSetReputationOptionsCommand,
+ PutConfigurationSetReputationOptionsCommandInput,
+ PutConfigurationSetReputationOptionsCommandOutput
+} from "./commands/PutConfigurationSetReputationOptionsCommand";
+import {
+ PutConfigurationSetSendingOptionsCommand,
+ PutConfigurationSetSendingOptionsCommandInput,
+ PutConfigurationSetSendingOptionsCommandOutput
+} from "./commands/PutConfigurationSetSendingOptionsCommand";
+import {
+ PutConfigurationSetTrackingOptionsCommand,
+ PutConfigurationSetTrackingOptionsCommandInput,
+ PutConfigurationSetTrackingOptionsCommandOutput
+} from "./commands/PutConfigurationSetTrackingOptionsCommand";
+import {
+ PutDedicatedIpInPoolCommand,
+ PutDedicatedIpInPoolCommandInput,
+ PutDedicatedIpInPoolCommandOutput
+} from "./commands/PutDedicatedIpInPoolCommand";
+import {
+ PutDedicatedIpWarmupAttributesCommand,
+ PutDedicatedIpWarmupAttributesCommandInput,
+ PutDedicatedIpWarmupAttributesCommandOutput
+} from "./commands/PutDedicatedIpWarmupAttributesCommand";
+import {
+ PutDeliverabilityDashboardOptionCommand,
+ PutDeliverabilityDashboardOptionCommandInput,
+ PutDeliverabilityDashboardOptionCommandOutput
+} from "./commands/PutDeliverabilityDashboardOptionCommand";
+import {
+ PutEmailIdentityDkimAttributesCommand,
+ PutEmailIdentityDkimAttributesCommandInput,
+ PutEmailIdentityDkimAttributesCommandOutput
+} from "./commands/PutEmailIdentityDkimAttributesCommand";
+import {
+ PutEmailIdentityFeedbackAttributesCommand,
+ PutEmailIdentityFeedbackAttributesCommandInput,
+ PutEmailIdentityFeedbackAttributesCommandOutput
+} from "./commands/PutEmailIdentityFeedbackAttributesCommand";
+import {
+ PutEmailIdentityMailFromAttributesCommand,
+ PutEmailIdentityMailFromAttributesCommandInput,
+ PutEmailIdentityMailFromAttributesCommandOutput
+} from "./commands/PutEmailIdentityMailFromAttributesCommand";
+import {
+ SendEmailCommand,
+ SendEmailCommandInput,
+ SendEmailCommandOutput
+} from "./commands/SendEmailCommand";
+import {
+ TagResourceCommand,
+ TagResourceCommandInput,
+ TagResourceCommandOutput
+} from "./commands/TagResourceCommand";
+import {
+ UntagResourceCommand,
+ UntagResourceCommandInput,
+ UntagResourceCommandOutput
+} from "./commands/UntagResourceCommand";
+import {
+ UpdateConfigurationSetEventDestinationCommand,
+ UpdateConfigurationSetEventDestinationCommandInput,
+ UpdateConfigurationSetEventDestinationCommandOutput
+} from "./commands/UpdateConfigurationSetEventDestinationCommand";
+import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
+
+/**
+ *
+ * Amazon Pinpoint Email Service
+ *
Welcome to the Amazon Pinpoint Email API Reference. This guide provides
+ * information about the Amazon Pinpoint Email API (version 1.0), including supported
+ * operations, data types, parameters, and schemas.
+ *
+ * Amazon Pinpoint is an AWS service that you
+ * can use to engage with your customers across multiple messaging channels. You can use
+ * Amazon Pinpoint to send email, SMS text messages, voice messages, and push notifications. The
+ * Amazon Pinpoint Email API provides programmatic access to options that are unique to the
+ * email channel and supplement the options provided by the Amazon Pinpoint API.
+ * If you're new to Amazon Pinpoint, you might find it helpful to also review the Amazon
+ * Pinpoint Developer Guide. The Amazon Pinpoint Developer
+ * Guide provides tutorials, code samples, and procedures that demonstrate
+ * how to use Amazon Pinpoint features programmatically and how to integrate Amazon Pinpoint functionality into
+ * mobile apps and other types of applications. The guide also provides information about
+ * key topics such as Amazon Pinpoint integration with other AWS services and the limits that apply
+ * to using the service.
+ * The Amazon Pinpoint Email API is available in several AWS Regions and it provides an endpoint
+ * for each of these Regions. For a list of all the Regions and endpoints where the API is
+ * currently available, see AWS Service Endpoints in
+ * the Amazon Web Services General Reference. To learn more about AWS Regions, see
+ * Managing AWS
+ * Regions in the Amazon Web Services General Reference.
+ * In each Region, AWS maintains multiple Availability Zones. These Availability Zones
+ * are physically isolated from each other, but are united by private, low-latency,
+ * high-throughput, and highly redundant network connections. These Availability Zones
+ * enable us to provide very high levels of availability and redundancy, while also
+ * minimizing latency. To learn more about the number of Availability Zones that are
+ * available in each Region, see AWS Global Infrastructure.
+ *
+ */
+export class PinpointEmail extends PinpointEmailClient {
+ /**
+ *
+ * Create an event destination. In Amazon Pinpoint, events include message
+ * sends, deliveries, opens, clicks, bounces, and complaints. Event
+ * destinations are places that you can send information about these events
+ * to. For example, you can send event data to Amazon SNS to receive notifications when you
+ * receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term
+ * storage.
+ * A single configuration set can include more than one event destination.
+ *
+ */
+ public createConfigurationSetEventDestination(
+ args: CreateConfigurationSetEventDestinationCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createConfigurationSetEventDestination(
+ args: CreateConfigurationSetEventDestinationCommandInput,
+ cb: (
+ err: any,
+ data?: CreateConfigurationSetEventDestinationCommandOutput
+ ) => void
+ ): void;
+ public createConfigurationSetEventDestination(
+ args: CreateConfigurationSetEventDestinationCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: CreateConfigurationSetEventDestinationCommandOutput
+ ) => void
+ ): void;
+ public createConfigurationSetEventDestination(
+ args: CreateConfigurationSetEventDestinationCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: CreateConfigurationSetEventDestinationCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: CreateConfigurationSetEventDestinationCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new CreateConfigurationSetEventDestinationCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ */
+ public putDedicatedIpWarmupAttributes(
+ args: PutDedicatedIpWarmupAttributesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putDedicatedIpWarmupAttributes(
+ args: PutDedicatedIpWarmupAttributesCommandInput,
+ cb: (err: any, data?: PutDedicatedIpWarmupAttributesCommandOutput) => void
+ ): void;
+ public putDedicatedIpWarmupAttributes(
+ args: PutDedicatedIpWarmupAttributesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: PutDedicatedIpWarmupAttributesCommandOutput) => void
+ ): void;
+ public putDedicatedIpWarmupAttributes(
+ args: PutDedicatedIpWarmupAttributesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutDedicatedIpWarmupAttributesCommandOutput
+ ) => void),
+ cb?: (err: any, data?: PutDedicatedIpWarmupAttributesCommandOutput) => void
+ ): Promise | void {
+ const command = new PutDedicatedIpWarmupAttributesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Enable or disable the ability of your account to send email.
+ *
+ */
+ public putAccountSendingAttributes(
+ args: PutAccountSendingAttributesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putAccountSendingAttributes(
+ args: PutAccountSendingAttributesCommandInput,
+ cb: (err: any, data?: PutAccountSendingAttributesCommandOutput) => void
+ ): void;
+ public putAccountSendingAttributes(
+ args: PutAccountSendingAttributesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: PutAccountSendingAttributesCommandOutput) => void
+ ): void;
+ public putAccountSendingAttributes(
+ args: PutAccountSendingAttributesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: PutAccountSendingAttributesCommandOutput) => void),
+ cb?: (err: any, data?: PutAccountSendingAttributesCommandOutput) => void
+ ): Promise | void {
+ const command = new PutAccountSendingAttributesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Deletes an email identity that you previously verified for use with Amazon Pinpoint. An identity
+ * can be either an email address or a domain name.
+ *
+ */
+ public deleteEmailIdentity(
+ args: DeleteEmailIdentityCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteEmailIdentity(
+ args: DeleteEmailIdentityCommandInput,
+ cb: (err: any, data?: DeleteEmailIdentityCommandOutput) => void
+ ): void;
+ public deleteEmailIdentity(
+ args: DeleteEmailIdentityCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteEmailIdentityCommandOutput) => void
+ ): void;
+ public deleteEmailIdentity(
+ args: DeleteEmailIdentityCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteEmailIdentityCommandOutput) => void),
+ cb?: (err: any, data?: DeleteEmailIdentityCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteEmailIdentityCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools
+ * to create groups of dedicated IP addresses for sending specific types of email.
+ *
+ */
+ public putConfigurationSetDeliveryOptions(
+ args: PutConfigurationSetDeliveryOptionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putConfigurationSetDeliveryOptions(
+ args: PutConfigurationSetDeliveryOptionsCommandInput,
+ cb: (
+ err: any,
+ data?: PutConfigurationSetDeliveryOptionsCommandOutput
+ ) => void
+ ): void;
+ public putConfigurationSetDeliveryOptions(
+ args: PutConfigurationSetDeliveryOptionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: PutConfigurationSetDeliveryOptionsCommandOutput
+ ) => void
+ ): void;
+ public putConfigurationSetDeliveryOptions(
+ args: PutConfigurationSetDeliveryOptionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutConfigurationSetDeliveryOptionsCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: PutConfigurationSetDeliveryOptionsCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new PutConfigurationSetDeliveryOptionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Delete an event destination.
+ * In Amazon Pinpoint, events include message sends, deliveries, opens,
+ * clicks, bounces, and complaints. Event destinations are places that
+ * you can send information about these events to. For example, you can send event data to
+ * Amazon SNS to receive notifications when you receive bounces or complaints, or you can use
+ * Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
+ *
+ */
+ public deleteConfigurationSetEventDestination(
+ args: DeleteConfigurationSetEventDestinationCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteConfigurationSetEventDestination(
+ args: DeleteConfigurationSetEventDestinationCommandInput,
+ cb: (
+ err: any,
+ data?: DeleteConfigurationSetEventDestinationCommandOutput
+ ) => void
+ ): void;
+ public deleteConfigurationSetEventDestination(
+ args: DeleteConfigurationSetEventDestinationCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: DeleteConfigurationSetEventDestinationCommandOutput
+ ) => void
+ ): void;
+ public deleteConfigurationSetEventDestination(
+ args: DeleteConfigurationSetEventDestinationCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: DeleteConfigurationSetEventDestinationCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: DeleteConfigurationSetEventDestinationCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new DeleteConfigurationSetEventDestinationCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Create a new predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled
+ * by various email providers around the world. When you perform a predictive inbox placement test, you provide a
+ * sample message that contains the content that you plan to send to your customers. Amazon Pinpoint
+ * then sends that message to special email addresses spread across several major email
+ * providers. After about 24 hours, the test is complete, and you can use the
+ * GetDeliverabilityTestReport
operation to view the results of the
+ * test.
+ *
+ */
+ public createDeliverabilityTestReport(
+ args: CreateDeliverabilityTestReportCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createDeliverabilityTestReport(
+ args: CreateDeliverabilityTestReportCommandInput,
+ cb: (err: any, data?: CreateDeliverabilityTestReportCommandOutput) => void
+ ): void;
+ public createDeliverabilityTestReport(
+ args: CreateDeliverabilityTestReportCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateDeliverabilityTestReportCommandOutput) => void
+ ): void;
+ public createDeliverabilityTestReport(
+ args: CreateDeliverabilityTestReportCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: CreateDeliverabilityTestReportCommandOutput
+ ) => void),
+ cb?: (err: any, data?: CreateDeliverabilityTestReportCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateDeliverabilityTestReportCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses. For
+ * predictive inbox placement tests that are complete, you can use the GetDeliverabilityTestReport
+ * operation to view the results.
+ *
+ */
+ public listDeliverabilityTestReports(
+ args: ListDeliverabilityTestReportsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listDeliverabilityTestReports(
+ args: ListDeliverabilityTestReportsCommandInput,
+ cb: (err: any, data?: ListDeliverabilityTestReportsCommandOutput) => void
+ ): void;
+ public listDeliverabilityTestReports(
+ args: ListDeliverabilityTestReportsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListDeliverabilityTestReportsCommandOutput) => void
+ ): void;
+ public listDeliverabilityTestReports(
+ args: ListDeliverabilityTestReportsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListDeliverabilityTestReportsCommandOutput) => void),
+ cb?: (err: any, data?: ListDeliverabilityTestReportsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListDeliverabilityTestReportsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Verifies an email identity for use with Amazon Pinpoint. In Amazon Pinpoint, an identity is an email
+ * address or domain that you use when you send email. Before you can use an identity to
+ * send email with Amazon Pinpoint, you first have to verify it. By verifying an address, you
+ * demonstrate that you're the owner of the address, and that you've given Amazon Pinpoint permission
+ * to send email from the address.
+ * When you verify an email address, Amazon Pinpoint sends an email to the address. Your email
+ * address is verified as soon as you follow the link in the verification email.
+ *
+ *
+ * When you verify a domain, this operation provides a set of DKIM tokens, which you can
+ * convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your
+ * domain. Your domain is verified when Amazon Pinpoint detects these records in the DNS
+ * configuration for your domain. It usually takes around 72 hours to complete the domain
+ * verification process.
+ *
+ */
+ public createEmailIdentity(
+ args: CreateEmailIdentityCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createEmailIdentity(
+ args: CreateEmailIdentityCommandInput,
+ cb: (err: any, data?: CreateEmailIdentityCommandOutput) => void
+ ): void;
+ public createEmailIdentity(
+ args: CreateEmailIdentityCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateEmailIdentityCommandOutput) => void
+ ): void;
+ public createEmailIdentity(
+ args: CreateEmailIdentityCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateEmailIdentityCommandOutput) => void),
+ cb?: (err: any, data?: CreateEmailIdentityCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateEmailIdentityCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Move a dedicated IP address to an existing dedicated IP pool.
+ *
+ * The dedicated IP address that you specify must already exist, and must be
+ * associated with your Amazon Pinpoint account.
+ *
+ *
+ * The dedicated IP pool you specify must already exist. You can create a new pool by
+ * using the CreateDedicatedIpPool
operation.
+ *
+ *
+ *
+ */
+ public putDedicatedIpInPool(
+ args: PutDedicatedIpInPoolCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putDedicatedIpInPool(
+ args: PutDedicatedIpInPoolCommandInput,
+ cb: (err: any, data?: PutDedicatedIpInPoolCommandOutput) => void
+ ): void;
+ public putDedicatedIpInPool(
+ args: PutDedicatedIpInPoolCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: PutDedicatedIpInPoolCommandOutput) => void
+ ): void;
+ public putDedicatedIpInPool(
+ args: PutDedicatedIpInPoolCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: PutDedicatedIpInPoolCommandOutput) => void),
+ cb?: (err: any, data?: PutDedicatedIpInPoolCommandOutput) => void
+ ): Promise | void {
+ const command = new PutDedicatedIpInPoolCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Create a configuration set. Configuration sets are groups of
+ * rules that you can apply to the emails you send using Amazon Pinpoint. You apply a configuration
+ * set to an email by including a reference to the configuration set in the headers of the
+ * email. When you apply a configuration set to an email, all of the rules in that
+ * configuration set are applied to the email.
+ *
+ */
+ public createConfigurationSet(
+ args: CreateConfigurationSetCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createConfigurationSet(
+ args: CreateConfigurationSetCommandInput,
+ cb: (err: any, data?: CreateConfigurationSetCommandOutput) => void
+ ): void;
+ public createConfigurationSet(
+ args: CreateConfigurationSetCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateConfigurationSetCommandOutput) => void
+ ): void;
+ public createConfigurationSet(
+ args: CreateConfigurationSetCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateConfigurationSetCommandOutput) => void),
+ cb?: (err: any, data?: CreateConfigurationSetCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateConfigurationSetCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Add one or more tags (keys and values) to a specified resource. A
+ * tag is a label that you optionally define and associate with a
+ * resource in Amazon Pinpoint. Tags can help you categorize and manage resources in different ways,
+ * such as by purpose, owner, environment, or other criteria. A resource can have as many
+ * as 50 tags.
+ * Each tag consists of a required tag key and an
+ * associated tag value, both of which you define. A tag key is a
+ * general label that acts as a category for more specific tag values. A tag value acts as
+ * a descriptor within a tag key.
+ *
+ */
+ public tagResource(
+ args: TagResourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public tagResource(
+ args: TagResourceCommandInput,
+ cb: (err: any, data?: TagResourceCommandOutput) => void
+ ): void;
+ public tagResource(
+ args: TagResourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: TagResourceCommandOutput) => void
+ ): void;
+ public tagResource(
+ args: TagResourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: TagResourceCommandOutput) => void),
+ cb?: (err: any, data?: TagResourceCommandOutput) => void
+ ): Promise | void {
+ const command = new TagResourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Retrieve information about the status of the Deliverability dashboard for your Amazon Pinpoint account.
+ * When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and
+ * other metrics for the domains that you use to send email using Amazon Pinpoint. You also gain the
+ * ability to perform predictive inbox placement tests.
+ * When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition
+ * to any other fees that you accrue by using Amazon Pinpoint. For more information about the
+ * features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
+ *
+ */
+ public getDeliverabilityDashboardOptions(
+ args: GetDeliverabilityDashboardOptionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getDeliverabilityDashboardOptions(
+ args: GetDeliverabilityDashboardOptionsCommandInput,
+ cb: (
+ err: any,
+ data?: GetDeliverabilityDashboardOptionsCommandOutput
+ ) => void
+ ): void;
+ public getDeliverabilityDashboardOptions(
+ args: GetDeliverabilityDashboardOptionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: GetDeliverabilityDashboardOptionsCommandOutput
+ ) => void
+ ): void;
+ public getDeliverabilityDashboardOptions(
+ args: GetDeliverabilityDashboardOptionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: GetDeliverabilityDashboardOptionsCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: GetDeliverabilityDashboardOptionsCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new GetDeliverabilityDashboardOptionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Used to enable or disable DKIM authentication for an email identity.
+ *
+ */
+ public putEmailIdentityDkimAttributes(
+ args: PutEmailIdentityDkimAttributesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putEmailIdentityDkimAttributes(
+ args: PutEmailIdentityDkimAttributesCommandInput,
+ cb: (err: any, data?: PutEmailIdentityDkimAttributesCommandOutput) => void
+ ): void;
+ public putEmailIdentityDkimAttributes(
+ args: PutEmailIdentityDkimAttributesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: PutEmailIdentityDkimAttributesCommandOutput) => void
+ ): void;
+ public putEmailIdentityDkimAttributes(
+ args: PutEmailIdentityDkimAttributesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutEmailIdentityDkimAttributesCommandOutput
+ ) => void),
+ cb?: (err: any, data?: PutEmailIdentityDkimAttributesCommandOutput) => void
+ ): Promise | void {
+ const command = new PutEmailIdentityDkimAttributesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * List all of the configuration sets associated with your Amazon Pinpoint account in the current
+ * region.
+ * In Amazon Pinpoint, configuration sets are groups of rules that you can
+ * apply to the emails you send. You apply a configuration set to an email by including a
+ * reference to the configuration set in the headers of the email. When you apply a
+ * configuration set to an email, all of the rules in that configuration set are applied to
+ * the email.
+ *
+ */
+ public listConfigurationSets(
+ args: ListConfigurationSetsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listConfigurationSets(
+ args: ListConfigurationSetsCommandInput,
+ cb: (err: any, data?: ListConfigurationSetsCommandOutput) => void
+ ): void;
+ public listConfigurationSets(
+ args: ListConfigurationSetsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListConfigurationSetsCommandOutput) => void
+ ): void;
+ public listConfigurationSets(
+ args: ListConfigurationSetsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListConfigurationSetsCommandOutput) => void),
+ cb?: (err: any, data?: ListConfigurationSetsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListConfigurationSetsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Provides information about a specific identity associated with your Amazon Pinpoint account,
+ * including the identity's verification status, its DKIM authentication status, and its
+ * custom Mail-From settings.
+ *
+ */
+ public getEmailIdentity(
+ args: GetEmailIdentityCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getEmailIdentity(
+ args: GetEmailIdentityCommandInput,
+ cb: (err: any, data?: GetEmailIdentityCommandOutput) => void
+ ): void;
+ public getEmailIdentity(
+ args: GetEmailIdentityCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetEmailIdentityCommandOutput) => void
+ ): void;
+ public getEmailIdentity(
+ args: GetEmailIdentityCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetEmailIdentityCommandOutput) => void),
+ cb?: (err: any, data?: GetEmailIdentityCommandOutput) => void
+ ): Promise | void {
+ const command = new GetEmailIdentityCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * List all of the dedicated IP pools that exist in your Amazon Pinpoint account in the current
+ * AWS Region.
+ *
+ */
+ public listDedicatedIpPools(
+ args: ListDedicatedIpPoolsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listDedicatedIpPools(
+ args: ListDedicatedIpPoolsCommandInput,
+ cb: (err: any, data?: ListDedicatedIpPoolsCommandOutput) => void
+ ): void;
+ public listDedicatedIpPools(
+ args: ListDedicatedIpPoolsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListDedicatedIpPoolsCommandOutput) => void
+ ): void;
+ public listDedicatedIpPools(
+ args: ListDedicatedIpPoolsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListDedicatedIpPoolsCommandOutput) => void),
+ cb?: (err: any, data?: ListDedicatedIpPoolsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListDedicatedIpPoolsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Enable or disable email sending for messages that use a particular configuration set
+ * in a specific AWS Region.
+ *
+ */
+ public putConfigurationSetSendingOptions(
+ args: PutConfigurationSetSendingOptionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putConfigurationSetSendingOptions(
+ args: PutConfigurationSetSendingOptionsCommandInput,
+ cb: (
+ err: any,
+ data?: PutConfigurationSetSendingOptionsCommandOutput
+ ) => void
+ ): void;
+ public putConfigurationSetSendingOptions(
+ args: PutConfigurationSetSendingOptionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: PutConfigurationSetSendingOptionsCommandOutput
+ ) => void
+ ): void;
+ public putConfigurationSetSendingOptions(
+ args: PutConfigurationSetSendingOptionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutConfigurationSetSendingOptionsCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: PutConfigurationSetSendingOptionsCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new PutConfigurationSetSendingOptionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Obtain information about the email-sending status and capabilities of your Amazon Pinpoint
+ * account in the current AWS Region.
+ *
+ */
+ public getAccount(
+ args: GetAccountCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getAccount(
+ args: GetAccountCommandInput,
+ cb: (err: any, data?: GetAccountCommandOutput) => void
+ ): void;
+ public getAccount(
+ args: GetAccountCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetAccountCommandOutput) => void
+ ): void;
+ public getAccount(
+ args: GetAccountCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetAccountCommandOutput) => void),
+ cb?: (err: any, data?: GetAccountCommandOutput) => void
+ ): Promise | void {
+ const command = new GetAccountCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Enable or disable the automatic warm-up feature for dedicated IP addresses.
+ *
+ */
+ public putAccountDedicatedIpWarmupAttributes(
+ args: PutAccountDedicatedIpWarmupAttributesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putAccountDedicatedIpWarmupAttributes(
+ args: PutAccountDedicatedIpWarmupAttributesCommandInput,
+ cb: (
+ err: any,
+ data?: PutAccountDedicatedIpWarmupAttributesCommandOutput
+ ) => void
+ ): void;
+ public putAccountDedicatedIpWarmupAttributes(
+ args: PutAccountDedicatedIpWarmupAttributesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: PutAccountDedicatedIpWarmupAttributesCommandOutput
+ ) => void
+ ): void;
+ public putAccountDedicatedIpWarmupAttributes(
+ args: PutAccountDedicatedIpWarmupAttributesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutAccountDedicatedIpWarmupAttributesCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: PutAccountDedicatedIpWarmupAttributesCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new PutAccountDedicatedIpWarmupAttributesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Enable or disable the Deliverability dashboard for your Amazon Pinpoint account. When you enable the
+ * Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for
+ * the domains that you use to send email using Amazon Pinpoint. You also gain the ability to perform
+ * predictive inbox placement tests.
+ * When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition
+ * to any other fees that you accrue by using Amazon Pinpoint. For more information about the
+ * features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
+ *
+ */
+ public putDeliverabilityDashboardOption(
+ args: PutDeliverabilityDashboardOptionCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putDeliverabilityDashboardOption(
+ args: PutDeliverabilityDashboardOptionCommandInput,
+ cb: (err: any, data?: PutDeliverabilityDashboardOptionCommandOutput) => void
+ ): void;
+ public putDeliverabilityDashboardOption(
+ args: PutDeliverabilityDashboardOptionCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: PutDeliverabilityDashboardOptionCommandOutput) => void
+ ): void;
+ public putDeliverabilityDashboardOption(
+ args: PutDeliverabilityDashboardOptionCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutDeliverabilityDashboardOptionCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: PutDeliverabilityDashboardOptionCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new PutDeliverabilityDashboardOptionCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Retrieve all the deliverability data for a specific campaign. This data is available
+ * for a campaign only if the campaign sent email by using a domain that the
+ * Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
+ * operation).
+ *
+ */
+ public getDomainDeliverabilityCampaign(
+ args: GetDomainDeliverabilityCampaignCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getDomainDeliverabilityCampaign(
+ args: GetDomainDeliverabilityCampaignCommandInput,
+ cb: (err: any, data?: GetDomainDeliverabilityCampaignCommandOutput) => void
+ ): void;
+ public getDomainDeliverabilityCampaign(
+ args: GetDomainDeliverabilityCampaignCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetDomainDeliverabilityCampaignCommandOutput) => void
+ ): void;
+ public getDomainDeliverabilityCampaign(
+ args: GetDomainDeliverabilityCampaignCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: GetDomainDeliverabilityCampaignCommandOutput
+ ) => void),
+ cb?: (err: any, data?: GetDomainDeliverabilityCampaignCommandOutput) => void
+ ): Promise | void {
+ const command = new GetDomainDeliverabilityCampaignCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Delete an existing configuration set.
+ * In Amazon Pinpoint, configuration sets are groups of rules that you can
+ * apply to the emails you send. You apply a configuration set to an email by including a
+ * reference to the configuration set in the headers of the email. When you apply a
+ * configuration set to an email, all of the rules in that configuration set are applied to
+ * the email.
+ *
+ */
+ public deleteConfigurationSet(
+ args: DeleteConfigurationSetCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteConfigurationSet(
+ args: DeleteConfigurationSetCommandInput,
+ cb: (err: any, data?: DeleteConfigurationSetCommandOutput) => void
+ ): void;
+ public deleteConfigurationSet(
+ args: DeleteConfigurationSetCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteConfigurationSetCommandOutput) => void
+ ): void;
+ public deleteConfigurationSet(
+ args: DeleteConfigurationSetCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteConfigurationSetCommandOutput) => void),
+ cb?: (err: any, data?: DeleteConfigurationSetCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteConfigurationSetCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Sends an email message. You can use the Amazon Pinpoint Email API to send two types of
+ * messages:
+ *
+ * -
+ *
+ * Simple – A standard email message. When
+ * you create this type of message, you specify the sender, the recipient, and the
+ * message body, and Amazon Pinpoint assembles the message for you.
+ *
+ * -
+ *
+ * Raw – A raw, MIME-formatted email
+ * message. When you send this type of email, you have to specify all of the
+ * message headers, as well as the message body. You can use this message type to
+ * send messages that contain attachments. The message that you specify has to be a
+ * valid MIME message.
+ *
+ *
+ *
+ */
+ public sendEmail(
+ args: SendEmailCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public sendEmail(
+ args: SendEmailCommandInput,
+ cb: (err: any, data?: SendEmailCommandOutput) => void
+ ): void;
+ public sendEmail(
+ args: SendEmailCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: SendEmailCommandOutput) => void
+ ): void;
+ public sendEmail(
+ args: SendEmailCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: SendEmailCommandOutput) => void),
+ cb?: (err: any, data?: SendEmailCommandOutput) => void
+ ): Promise | void {
+ const command = new SendEmailCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Specify a custom domain to use for open and click tracking elements in email that you
+ * send using Amazon Pinpoint.
+ *
+ *
+ */
+ public putConfigurationSetTrackingOptions(
+ args: PutConfigurationSetTrackingOptionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putConfigurationSetTrackingOptions(
+ args: PutConfigurationSetTrackingOptionsCommandInput,
+ cb: (
+ err: any,
+ data?: PutConfigurationSetTrackingOptionsCommandOutput
+ ) => void
+ ): void;
+ public putConfigurationSetTrackingOptions(
+ args: PutConfigurationSetTrackingOptionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: PutConfigurationSetTrackingOptionsCommandOutput
+ ) => void
+ ): void;
+ public putConfigurationSetTrackingOptions(
+ args: PutConfigurationSetTrackingOptionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutConfigurationSetTrackingOptionsCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: PutConfigurationSetTrackingOptionsCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new PutConfigurationSetTrackingOptionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Delete a dedicated IP pool.
+ *
+ */
+ public deleteDedicatedIpPool(
+ args: DeleteDedicatedIpPoolCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteDedicatedIpPool(
+ args: DeleteDedicatedIpPoolCommandInput,
+ cb: (err: any, data?: DeleteDedicatedIpPoolCommandOutput) => void
+ ): void;
+ public deleteDedicatedIpPool(
+ args: DeleteDedicatedIpPoolCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteDedicatedIpPoolCommandOutput) => void
+ ): void;
+ public deleteDedicatedIpPool(
+ args: DeleteDedicatedIpPoolCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteDedicatedIpPoolCommandOutput) => void),
+ cb?: (err: any, data?: DeleteDedicatedIpPoolCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteDedicatedIpPoolCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Used to enable or disable the custom Mail-From domain configuration for an email
+ * identity.
+ *
+ */
+ public putEmailIdentityMailFromAttributes(
+ args: PutEmailIdentityMailFromAttributesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putEmailIdentityMailFromAttributes(
+ args: PutEmailIdentityMailFromAttributesCommandInput,
+ cb: (
+ err: any,
+ data?: PutEmailIdentityMailFromAttributesCommandOutput
+ ) => void
+ ): void;
+ public putEmailIdentityMailFromAttributes(
+ args: PutEmailIdentityMailFromAttributesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: PutEmailIdentityMailFromAttributesCommandOutput
+ ) => void
+ ): void;
+ public putEmailIdentityMailFromAttributes(
+ args: PutEmailIdentityMailFromAttributesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutEmailIdentityMailFromAttributesCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: PutEmailIdentityMailFromAttributesCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new PutEmailIdentityMailFromAttributesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Retrieve the results of a predictive inbox placement test.
+ *
+ */
+ public getDeliverabilityTestReport(
+ args: GetDeliverabilityTestReportCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getDeliverabilityTestReport(
+ args: GetDeliverabilityTestReportCommandInput,
+ cb: (err: any, data?: GetDeliverabilityTestReportCommandOutput) => void
+ ): void;
+ public getDeliverabilityTestReport(
+ args: GetDeliverabilityTestReportCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetDeliverabilityTestReportCommandOutput) => void
+ ): void;
+ public getDeliverabilityTestReport(
+ args: GetDeliverabilityTestReportCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetDeliverabilityTestReportCommandOutput) => void),
+ cb?: (err: any, data?: GetDeliverabilityTestReportCommandOutput) => void
+ ): Promise | void {
+ const command = new GetDeliverabilityTestReportCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * List the dedicated IP addresses that are associated with your Amazon Pinpoint
+ * account.
+ *
+ */
+ public getDedicatedIps(
+ args: GetDedicatedIpsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getDedicatedIps(
+ args: GetDedicatedIpsCommandInput,
+ cb: (err: any, data?: GetDedicatedIpsCommandOutput) => void
+ ): void;
+ public getDedicatedIps(
+ args: GetDedicatedIpsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetDedicatedIpsCommandOutput) => void
+ ): void;
+ public getDedicatedIps(
+ args: GetDedicatedIpsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetDedicatedIpsCommandOutput) => void),
+ cb?: (err: any, data?: GetDedicatedIpsCommandOutput) => void
+ ): Promise | void {
+ const command = new GetDedicatedIpsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Remove one or more tags (keys and values) from a specified resource.
+ *
+ */
+ public untagResource(
+ args: UntagResourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public untagResource(
+ args: UntagResourceCommandInput,
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
+ ): void;
+ public untagResource(
+ args: UntagResourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
+ ): void;
+ public untagResource(
+ args: UntagResourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UntagResourceCommandOutput) => void),
+ cb?: (err: any, data?: UntagResourceCommandOutput) => void
+ ): Promise | void {
+ const command = new UntagResourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Retrieve a list of the tags (keys and values) that are associated with a specified
+ * resource. A tag is a label that you optionally define and associate
+ * with a resource in Amazon Pinpoint. Each tag consists of a required tag
+ * key and an optional associated tag value. A tag key
+ * is a general label that acts as a category for more specific tag values. A tag value
+ * acts as a descriptor within a tag key.
+ *
+ */
+ public listTagsForResource(
+ args: ListTagsForResourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listTagsForResource(
+ args: ListTagsForResourceCommandInput,
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
+ ): void;
+ public listTagsForResource(
+ args: ListTagsForResourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
+ ): void;
+ public listTagsForResource(
+ args: ListTagsForResourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
+ cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
+ ): Promise | void {
+ const command = new ListTagsForResourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Enable or disable collection of reputation metrics for emails that you send using a
+ * particular configuration set in a specific AWS Region.
+ *
+ */
+ public putConfigurationSetReputationOptions(
+ args: PutConfigurationSetReputationOptionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putConfigurationSetReputationOptions(
+ args: PutConfigurationSetReputationOptionsCommandInput,
+ cb: (
+ err: any,
+ data?: PutConfigurationSetReputationOptionsCommandOutput
+ ) => void
+ ): void;
+ public putConfigurationSetReputationOptions(
+ args: PutConfigurationSetReputationOptionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: PutConfigurationSetReputationOptionsCommandOutput
+ ) => void
+ ): void;
+ public putConfigurationSetReputationOptions(
+ args: PutConfigurationSetReputationOptionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutConfigurationSetReputationOptionsCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: PutConfigurationSetReputationOptionsCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new PutConfigurationSetReputationOptionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Get information about an existing configuration set, including the dedicated IP pool
+ * that it's associated with, whether or not it's enabled for sending email, and
+ * more.
+ * In Amazon Pinpoint, configuration sets are groups of rules that you can
+ * apply to the emails you send. You apply a configuration set to an email by including a
+ * reference to the configuration set in the headers of the email. When you apply a
+ * configuration set to an email, all of the rules in that configuration set are applied to
+ * the email.
+ *
+ */
+ public getConfigurationSet(
+ args: GetConfigurationSetCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getConfigurationSet(
+ args: GetConfigurationSetCommandInput,
+ cb: (err: any, data?: GetConfigurationSetCommandOutput) => void
+ ): void;
+ public getConfigurationSet(
+ args: GetConfigurationSetCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetConfigurationSetCommandOutput) => void
+ ): void;
+ public getConfigurationSet(
+ args: GetConfigurationSetCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetConfigurationSetCommandOutput) => void),
+ cb?: (err: any, data?: GetConfigurationSetCommandOutput) => void
+ ): Promise | void {
+ const command = new GetConfigurationSetCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Returns a list of all of the email identities that are associated with your Amazon Pinpoint
+ * account. An identity can be either an email address or a domain. This operation returns
+ * identities that are verified as well as those that aren't.
+ *
+ */
+ public listEmailIdentities(
+ args: ListEmailIdentitiesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listEmailIdentities(
+ args: ListEmailIdentitiesCommandInput,
+ cb: (err: any, data?: ListEmailIdentitiesCommandOutput) => void
+ ): void;
+ public listEmailIdentities(
+ args: ListEmailIdentitiesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListEmailIdentitiesCommandOutput) => void
+ ): void;
+ public listEmailIdentities(
+ args: ListEmailIdentitiesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListEmailIdentitiesCommandOutput) => void),
+ cb?: (err: any, data?: ListEmailIdentitiesCommandOutput) => void
+ ): Promise | void {
+ const command = new ListEmailIdentitiesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Create a new pool of dedicated IP addresses. A pool can include one or more dedicated
+ * IP addresses that are associated with your Amazon Pinpoint account. You can associate a pool with
+ * a configuration set. When you send an email that uses that configuration set, Amazon Pinpoint
+ * sends it using only the IP addresses in the associated pool.
+ *
+ */
+ public createDedicatedIpPool(
+ args: CreateDedicatedIpPoolCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createDedicatedIpPool(
+ args: CreateDedicatedIpPoolCommandInput,
+ cb: (err: any, data?: CreateDedicatedIpPoolCommandOutput) => void
+ ): void;
+ public createDedicatedIpPool(
+ args: CreateDedicatedIpPoolCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateDedicatedIpPoolCommandOutput) => void
+ ): void;
+ public createDedicatedIpPool(
+ args: CreateDedicatedIpPoolCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateDedicatedIpPoolCommandOutput) => void),
+ cb?: (err: any, data?: CreateDedicatedIpPoolCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateDedicatedIpPoolCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Retrieve inbox placement and engagement rates for the domains that you use to send
+ * email.
+ *
+ */
+ public getDomainStatisticsReport(
+ args: GetDomainStatisticsReportCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getDomainStatisticsReport(
+ args: GetDomainStatisticsReportCommandInput,
+ cb: (err: any, data?: GetDomainStatisticsReportCommandOutput) => void
+ ): void;
+ public getDomainStatisticsReport(
+ args: GetDomainStatisticsReportCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetDomainStatisticsReportCommandOutput) => void
+ ): void;
+ public getDomainStatisticsReport(
+ args: GetDomainStatisticsReportCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetDomainStatisticsReportCommandOutput) => void),
+ cb?: (err: any, data?: GetDomainStatisticsReportCommandOutput) => void
+ ): Promise | void {
+ const command = new GetDomainStatisticsReportCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Update the configuration of an event destination for a configuration set.
+ * In Amazon Pinpoint, events include message sends, deliveries, opens,
+ * clicks, bounces, and complaints. Event destinations are places that
+ * you can send information about these events to. For example, you can send event data to
+ * Amazon SNS to receive notifications when you receive bounces or complaints, or you can use
+ * Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
+ *
+ */
+ public updateConfigurationSetEventDestination(
+ args: UpdateConfigurationSetEventDestinationCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateConfigurationSetEventDestination(
+ args: UpdateConfigurationSetEventDestinationCommandInput,
+ cb: (
+ err: any,
+ data?: UpdateConfigurationSetEventDestinationCommandOutput
+ ) => void
+ ): void;
+ public updateConfigurationSetEventDestination(
+ args: UpdateConfigurationSetEventDestinationCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: UpdateConfigurationSetEventDestinationCommandOutput
+ ) => void
+ ): void;
+ public updateConfigurationSetEventDestination(
+ args: UpdateConfigurationSetEventDestinationCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: UpdateConfigurationSetEventDestinationCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: UpdateConfigurationSetEventDestinationCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new UpdateConfigurationSetEventDestinationCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Used to enable or disable feedback forwarding for an identity. This setting determines
+ * what happens when an identity is used to send an email that results in a bounce or
+ * complaint event.
+ * When you enable feedback forwarding, Amazon Pinpoint sends you email notifications when bounce
+ * or complaint events occur. Amazon Pinpoint sends this notification to the address that you
+ * specified in the Return-Path header of the original email.
+ * When you disable feedback forwarding, Amazon Pinpoint sends notifications through other
+ * mechanisms, such as by notifying an Amazon SNS topic. You're required to have a method of
+ * tracking bounces and complaints. If you haven't set up another mechanism for receiving
+ * bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events
+ * occur (even if this setting is disabled).
+ *
+ */
+ public putEmailIdentityFeedbackAttributes(
+ args: PutEmailIdentityFeedbackAttributesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public putEmailIdentityFeedbackAttributes(
+ args: PutEmailIdentityFeedbackAttributesCommandInput,
+ cb: (
+ err: any,
+ data?: PutEmailIdentityFeedbackAttributesCommandOutput
+ ) => void
+ ): void;
+ public putEmailIdentityFeedbackAttributes(
+ args: PutEmailIdentityFeedbackAttributesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: PutEmailIdentityFeedbackAttributesCommandOutput
+ ) => void
+ ): void;
+ public putEmailIdentityFeedbackAttributes(
+ args: PutEmailIdentityFeedbackAttributesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: PutEmailIdentityFeedbackAttributesCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: PutEmailIdentityFeedbackAttributesCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new PutEmailIdentityFeedbackAttributesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Retrieve a list of event destinations that are associated with a configuration
+ * set.
+ * In Amazon Pinpoint, events include message sends, deliveries, opens,
+ * clicks, bounces, and complaints. Event destinations are places that
+ * you can send information about these events to. For example, you can send event data to
+ * Amazon SNS to receive notifications when you receive bounces or complaints, or you can use
+ * Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
+ *
+ */
+ public getConfigurationSetEventDestinations(
+ args: GetConfigurationSetEventDestinationsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getConfigurationSetEventDestinations(
+ args: GetConfigurationSetEventDestinationsCommandInput,
+ cb: (
+ err: any,
+ data?: GetConfigurationSetEventDestinationsCommandOutput
+ ) => void
+ ): void;
+ public getConfigurationSetEventDestinations(
+ args: GetConfigurationSetEventDestinationsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: GetConfigurationSetEventDestinationsCommandOutput
+ ) => void
+ ): void;
+ public getConfigurationSetEventDestinations(
+ args: GetConfigurationSetEventDestinationsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: GetConfigurationSetEventDestinationsCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: GetConfigurationSetEventDestinationsCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new GetConfigurationSetEventDestinationsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Get information about a dedicated IP address, including the name of the dedicated IP
+ * pool that it's associated with, as well information about the automatic warm-up process
+ * for the address.
+ *
+ */
+ public getDedicatedIp(
+ args: GetDedicatedIpCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getDedicatedIp(
+ args: GetDedicatedIpCommandInput,
+ cb: (err: any, data?: GetDedicatedIpCommandOutput) => void
+ ): void;
+ public getDedicatedIp(
+ args: GetDedicatedIpCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetDedicatedIpCommandOutput) => void
+ ): void;
+ public getDedicatedIp(
+ args: GetDedicatedIpCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetDedicatedIpCommandOutput) => void),
+ cb?: (err: any, data?: GetDedicatedIpCommandOutput) => void
+ ): Promise | void {
+ const command = new GetDedicatedIpCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Retrieve deliverability data for all the campaigns that used a specific domain to send
+ * email during a specified time range. This data is available for a domain only if you
+ * enabled the Deliverability dashboard (PutDeliverabilityDashboardOption
operation)
+ * for the domain.
+ *
+ */
+ public listDomainDeliverabilityCampaigns(
+ args: ListDomainDeliverabilityCampaignsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listDomainDeliverabilityCampaigns(
+ args: ListDomainDeliverabilityCampaignsCommandInput,
+ cb: (
+ err: any,
+ data?: ListDomainDeliverabilityCampaignsCommandOutput
+ ) => void
+ ): void;
+ public listDomainDeliverabilityCampaigns(
+ args: ListDomainDeliverabilityCampaignsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (
+ err: any,
+ data?: ListDomainDeliverabilityCampaignsCommandOutput
+ ) => void
+ ): void;
+ public listDomainDeliverabilityCampaigns(
+ args: ListDomainDeliverabilityCampaignsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: ListDomainDeliverabilityCampaignsCommandOutput
+ ) => void),
+ cb?: (
+ err: any,
+ data?: ListDomainDeliverabilityCampaignsCommandOutput
+ ) => void
+ ): Promise | void {
+ const command = new ListDomainDeliverabilityCampaignsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Retrieve a list of the blacklists that your dedicated IP addresses appear on.
+ *
+ */
+ public getBlacklistReports(
+ args: GetBlacklistReportsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getBlacklistReports(
+ args: GetBlacklistReportsCommandInput,
+ cb: (err: any, data?: GetBlacklistReportsCommandOutput) => void
+ ): void;
+ public getBlacklistReports(
+ args: GetBlacklistReportsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetBlacklistReportsCommandOutput) => void
+ ): void;
+ public getBlacklistReports(
+ args: GetBlacklistReportsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetBlacklistReportsCommandOutput) => void),
+ cb?: (err: any, data?: GetBlacklistReportsCommandOutput) => void
+ ): Promise | void {
+ const command = new GetBlacklistReportsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+}
diff --git a/clients/client-pinpoint-email/PinpointEmailClient.ts b/clients/client-pinpoint-email/PinpointEmailClient.ts
new file mode 100644
index 000000000000..83a2c30fc16c
--- /dev/null
+++ b/clients/client-pinpoint-email/PinpointEmailClient.ts
@@ -0,0 +1,390 @@
+import {
+ CreateConfigurationSetEventDestinationRequest,
+ CreateConfigurationSetEventDestinationResponse,
+ CreateConfigurationSetRequest,
+ CreateConfigurationSetResponse,
+ CreateDedicatedIpPoolRequest,
+ CreateDedicatedIpPoolResponse,
+ CreateDeliverabilityTestReportRequest,
+ CreateDeliverabilityTestReportResponse,
+ CreateEmailIdentityRequest,
+ CreateEmailIdentityResponse,
+ DeleteConfigurationSetEventDestinationRequest,
+ DeleteConfigurationSetEventDestinationResponse,
+ DeleteConfigurationSetRequest,
+ DeleteConfigurationSetResponse,
+ DeleteDedicatedIpPoolRequest,
+ DeleteDedicatedIpPoolResponse,
+ DeleteEmailIdentityRequest,
+ DeleteEmailIdentityResponse,
+ GetAccountRequest,
+ GetAccountResponse,
+ GetBlacklistReportsRequest,
+ GetBlacklistReportsResponse,
+ GetConfigurationSetEventDestinationsRequest,
+ GetConfigurationSetEventDestinationsResponse,
+ GetConfigurationSetRequest,
+ GetConfigurationSetResponse,
+ GetDedicatedIpRequest,
+ GetDedicatedIpResponse,
+ GetDedicatedIpsRequest,
+ GetDedicatedIpsResponse,
+ GetDeliverabilityDashboardOptionsRequest,
+ GetDeliverabilityDashboardOptionsResponse,
+ GetDeliverabilityTestReportRequest,
+ GetDeliverabilityTestReportResponse,
+ GetDomainDeliverabilityCampaignRequest,
+ GetDomainDeliverabilityCampaignResponse,
+ GetDomainStatisticsReportRequest,
+ GetDomainStatisticsReportResponse,
+ GetEmailIdentityRequest,
+ GetEmailIdentityResponse,
+ ListConfigurationSetsRequest,
+ ListConfigurationSetsResponse,
+ ListDedicatedIpPoolsRequest,
+ ListDedicatedIpPoolsResponse,
+ ListDeliverabilityTestReportsRequest,
+ ListDeliverabilityTestReportsResponse,
+ ListDomainDeliverabilityCampaignsRequest,
+ ListDomainDeliverabilityCampaignsResponse,
+ ListEmailIdentitiesRequest,
+ ListEmailIdentitiesResponse,
+ ListTagsForResourceRequest,
+ ListTagsForResourceResponse,
+ PutAccountDedicatedIpWarmupAttributesRequest,
+ PutAccountDedicatedIpWarmupAttributesResponse,
+ PutAccountSendingAttributesRequest,
+ PutAccountSendingAttributesResponse,
+ PutConfigurationSetDeliveryOptionsRequest,
+ PutConfigurationSetDeliveryOptionsResponse,
+ PutConfigurationSetReputationOptionsRequest,
+ PutConfigurationSetReputationOptionsResponse,
+ PutConfigurationSetSendingOptionsRequest,
+ PutConfigurationSetSendingOptionsResponse,
+ PutConfigurationSetTrackingOptionsRequest,
+ PutConfigurationSetTrackingOptionsResponse,
+ PutDedicatedIpInPoolRequest,
+ PutDedicatedIpInPoolResponse,
+ PutDedicatedIpWarmupAttributesRequest,
+ PutDedicatedIpWarmupAttributesResponse,
+ PutDeliverabilityDashboardOptionRequest,
+ PutDeliverabilityDashboardOptionResponse,
+ PutEmailIdentityDkimAttributesRequest,
+ PutEmailIdentityDkimAttributesResponse,
+ PutEmailIdentityFeedbackAttributesRequest,
+ PutEmailIdentityFeedbackAttributesResponse,
+ PutEmailIdentityMailFromAttributesRequest,
+ PutEmailIdentityMailFromAttributesResponse,
+ SendEmailRequest,
+ SendEmailResponse,
+ TagResourceRequest,
+ TagResourceResponse,
+ UntagResourceRequest,
+ UntagResourceResponse,
+ UpdateConfigurationSetEventDestinationRequest,
+ UpdateConfigurationSetEventDestinationResponse
+} from "./models/index";
+import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig";
+import {
+ EndpointsInputConfig,
+ EndpointsResolvedConfig,
+ RegionInputConfig,
+ RegionResolvedConfig,
+ resolveEndpointsConfig,
+ resolveRegionConfig
+} from "@aws-sdk/config-resolver";
+import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
+import {
+ HostHeaderInputConfig,
+ HostHeaderResolvedConfig,
+ getHostHeaderPlugin,
+ resolveHostHeaderConfig
+} from "@aws-sdk/middleware-host-header";
+import {
+ RetryInputConfig,
+ RetryResolvedConfig,
+ getRetryPlugin,
+ resolveRetryConfig
+} from "@aws-sdk/middleware-retry";
+import {
+ AwsAuthInputConfig,
+ AwsAuthResolvedConfig,
+ getAwsAuthPlugin,
+ resolveAwsAuthConfig
+} from "@aws-sdk/middleware-signing";
+import {
+ UserAgentInputConfig,
+ UserAgentResolvedConfig,
+ getUserAgentPlugin,
+ resolveUserAgentConfig
+} from "@aws-sdk/middleware-user-agent";
+import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
+import {
+ Client as __Client,
+ SmithyConfiguration as __SmithyConfiguration,
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration
+} from "@aws-sdk/smithy-client";
+import {
+ RegionInfoProvider,
+ Credentials as __Credentials,
+ Decoder as __Decoder,
+ Encoder as __Encoder,
+ HashConstructor as __HashConstructor,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ Provider as __Provider,
+ StreamCollector as __StreamCollector,
+ UrlParser as __UrlParser
+} from "@aws-sdk/types";
+
+export type ServiceInputTypes =
+ | CreateConfigurationSetEventDestinationRequest
+ | CreateConfigurationSetRequest
+ | CreateDedicatedIpPoolRequest
+ | CreateDeliverabilityTestReportRequest
+ | CreateEmailIdentityRequest
+ | DeleteConfigurationSetEventDestinationRequest
+ | DeleteConfigurationSetRequest
+ | DeleteDedicatedIpPoolRequest
+ | DeleteEmailIdentityRequest
+ | GetAccountRequest
+ | GetBlacklistReportsRequest
+ | GetConfigurationSetEventDestinationsRequest
+ | GetConfigurationSetRequest
+ | GetDedicatedIpRequest
+ | GetDedicatedIpsRequest
+ | GetDeliverabilityDashboardOptionsRequest
+ | GetDeliverabilityTestReportRequest
+ | GetDomainDeliverabilityCampaignRequest
+ | GetDomainStatisticsReportRequest
+ | GetEmailIdentityRequest
+ | ListConfigurationSetsRequest
+ | ListDedicatedIpPoolsRequest
+ | ListDeliverabilityTestReportsRequest
+ | ListDomainDeliverabilityCampaignsRequest
+ | ListEmailIdentitiesRequest
+ | ListTagsForResourceRequest
+ | PutAccountDedicatedIpWarmupAttributesRequest
+ | PutAccountSendingAttributesRequest
+ | PutConfigurationSetDeliveryOptionsRequest
+ | PutConfigurationSetReputationOptionsRequest
+ | PutConfigurationSetSendingOptionsRequest
+ | PutConfigurationSetTrackingOptionsRequest
+ | PutDedicatedIpInPoolRequest
+ | PutDedicatedIpWarmupAttributesRequest
+ | PutDeliverabilityDashboardOptionRequest
+ | PutEmailIdentityDkimAttributesRequest
+ | PutEmailIdentityFeedbackAttributesRequest
+ | PutEmailIdentityMailFromAttributesRequest
+ | SendEmailRequest
+ | TagResourceRequest
+ | UntagResourceRequest
+ | UpdateConfigurationSetEventDestinationRequest;
+
+export type ServiceOutputTypes =
+ | CreateConfigurationSetEventDestinationResponse
+ | CreateConfigurationSetResponse
+ | CreateDedicatedIpPoolResponse
+ | CreateDeliverabilityTestReportResponse
+ | CreateEmailIdentityResponse
+ | DeleteConfigurationSetEventDestinationResponse
+ | DeleteConfigurationSetResponse
+ | DeleteDedicatedIpPoolResponse
+ | DeleteEmailIdentityResponse
+ | GetAccountResponse
+ | GetBlacklistReportsResponse
+ | GetConfigurationSetEventDestinationsResponse
+ | GetConfigurationSetResponse
+ | GetDedicatedIpResponse
+ | GetDedicatedIpsResponse
+ | GetDeliverabilityDashboardOptionsResponse
+ | GetDeliverabilityTestReportResponse
+ | GetDomainDeliverabilityCampaignResponse
+ | GetDomainStatisticsReportResponse
+ | GetEmailIdentityResponse
+ | ListConfigurationSetsResponse
+ | ListDedicatedIpPoolsResponse
+ | ListDeliverabilityTestReportsResponse
+ | ListDomainDeliverabilityCampaignsResponse
+ | ListEmailIdentitiesResponse
+ | ListTagsForResourceResponse
+ | PutAccountDedicatedIpWarmupAttributesResponse
+ | PutAccountSendingAttributesResponse
+ | PutConfigurationSetDeliveryOptionsResponse
+ | PutConfigurationSetReputationOptionsResponse
+ | PutConfigurationSetSendingOptionsResponse
+ | PutConfigurationSetTrackingOptionsResponse
+ | PutDedicatedIpInPoolResponse
+ | PutDedicatedIpWarmupAttributesResponse
+ | PutDeliverabilityDashboardOptionResponse
+ | PutEmailIdentityDkimAttributesResponse
+ | PutEmailIdentityFeedbackAttributesResponse
+ | PutEmailIdentityMailFromAttributesResponse
+ | SendEmailResponse
+ | TagResourceResponse
+ | UntagResourceResponse
+ | UpdateConfigurationSetEventDestinationResponse;
+
+export interface ClientDefaults
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
+ /**
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
+ */
+ requestHandler?: __HttpHandler;
+
+ /**
+ * A constructor for a class implementing the @aws-sdk/types.Hash interface
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
+ */
+ sha256?: __HashConstructor;
+
+ /**
+ * The function that will be used to convert strings into HTTP endpoints.
+ */
+ urlParser?: __UrlParser;
+
+ /**
+ * A function that can calculate the length of a request body.
+ */
+ bodyLengthChecker?: (body: any) => number | undefined;
+
+ /**
+ * A function that converts a stream into an array of bytes.
+ */
+ streamCollector?: __StreamCollector;
+
+ /**
+ * The function that will be used to convert a base64-encoded string to a byte array
+ */
+ base64Decoder?: __Decoder;
+
+ /**
+ * The function that will be used to convert binary data to a base64-encoded string
+ */
+ base64Encoder?: __Encoder;
+
+ /**
+ * The function that will be used to convert a UTF8-encoded string to a byte array
+ */
+ utf8Decoder?: __Decoder;
+
+ /**
+ * The function that will be used to convert binary data to a UTF-8 encoded string
+ */
+ utf8Encoder?: __Encoder;
+
+ /**
+ * The string that will be used to populate default value in 'User-Agent' header
+ */
+ defaultUserAgent?: string;
+
+ /**
+ * The runtime environment
+ */
+ runtime?: string;
+
+ /**
+ * The service name with which to sign requests.
+ */
+ signingName?: string;
+
+ /**
+ * Default credentials provider; Not available in browser runtime
+ */
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
+
+ /**
+ * Provider function that return promise of a region string
+ */
+ regionDefaultProvider?: (input: any) => __Provider;
+
+ /**
+ * Fetch related hostname, signing name or signing region with given region.
+ */
+ regionInfoProvider?: RegionInfoProvider;
+}
+
+export type PinpointEmailClientConfig = Partial<
+ __SmithyConfiguration<__HttpHandlerOptions>
+> &
+ ClientDefaults &
+ RegionInputConfig &
+ EndpointsInputConfig &
+ AwsAuthInputConfig &
+ RetryInputConfig &
+ UserAgentInputConfig &
+ HostHeaderInputConfig;
+
+export type PinpointEmailClientResolvedConfig = __SmithyResolvedConfiguration<
+ __HttpHandlerOptions
+> &
+ Required &
+ RegionResolvedConfig &
+ EndpointsResolvedConfig &
+ AwsAuthResolvedConfig &
+ RetryResolvedConfig &
+ UserAgentResolvedConfig &
+ HostHeaderResolvedConfig;
+
+/**
+ *
+ * Amazon Pinpoint Email Service
+ * Welcome to the Amazon Pinpoint Email API Reference. This guide provides
+ * information about the Amazon Pinpoint Email API (version 1.0), including supported
+ * operations, data types, parameters, and schemas.
+ *
+ * Amazon Pinpoint is an AWS service that you
+ * can use to engage with your customers across multiple messaging channels. You can use
+ * Amazon Pinpoint to send email, SMS text messages, voice messages, and push notifications. The
+ * Amazon Pinpoint Email API provides programmatic access to options that are unique to the
+ * email channel and supplement the options provided by the Amazon Pinpoint API.
+ * If you're new to Amazon Pinpoint, you might find it helpful to also review the Amazon
+ * Pinpoint Developer Guide. The Amazon Pinpoint Developer
+ * Guide provides tutorials, code samples, and procedures that demonstrate
+ * how to use Amazon Pinpoint features programmatically and how to integrate Amazon Pinpoint functionality into
+ * mobile apps and other types of applications. The guide also provides information about
+ * key topics such as Amazon Pinpoint integration with other AWS services and the limits that apply
+ * to using the service.
+ * The Amazon Pinpoint Email API is available in several AWS Regions and it provides an endpoint
+ * for each of these Regions. For a list of all the Regions and endpoints where the API is
+ * currently available, see AWS Service Endpoints in
+ * the Amazon Web Services General Reference. To learn more about AWS Regions, see
+ * Managing AWS
+ * Regions in the Amazon Web Services General Reference.
+ * In each Region, AWS maintains multiple Availability Zones. These Availability Zones
+ * are physically isolated from each other, but are united by private, low-latency,
+ * high-throughput, and highly redundant network connections. These Availability Zones
+ * enable us to provide very high levels of availability and redundancy, while also
+ * minimizing latency. To learn more about the number of Availability Zones that are
+ * available in each Region, see AWS Global Infrastructure.
+ *
+ */
+export class PinpointEmailClient extends __Client<
+ __HttpHandlerOptions,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+ PinpointEmailClientResolvedConfig
+> {
+ readonly config: PinpointEmailClientResolvedConfig;
+
+ constructor(configuration: PinpointEmailClientConfig) {
+ let _config_0 = {
+ ...__ClientDefaultValues,
+ ...configuration
+ };
+ let _config_1 = resolveRegionConfig(_config_0);
+ let _config_2 = resolveEndpointsConfig(_config_1);
+ let _config_3 = resolveAwsAuthConfig(_config_2);
+ let _config_4 = resolveRetryConfig(_config_3);
+ let _config_5 = resolveUserAgentConfig(_config_4);
+ let _config_6 = resolveHostHeaderConfig(_config_5);
+ super(_config_6);
+ this.config = _config_6;
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
+ this.middlewareStack.use(getRetryPlugin(this.config));
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
+ }
+
+ destroy(): void {}
+}
diff --git a/clients/client-pinpoint-email/README.md b/clients/client-pinpoint-email/README.md
new file mode 100644
index 000000000000..84760f537533
--- /dev/null
+++ b/clients/client-pinpoint-email/README.md
@@ -0,0 +1,6 @@
+@aws-sdk/client-pinpoint-email
+
+[](https://www.npmjs.com/package/@aws-sdk/client-pinpoint-email)
+[](https://www.npmjs.com/package/@aws-sdk/client-pinpoint-email)
+
+For SDK usage, please step to [SDK reademe](https://github.com/aws/aws-sdk-js-v3).
diff --git a/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts b/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts
new file mode 100644
index 000000000000..8b260a1aeb43
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ CreateConfigurationSetRequest,
+ CreateConfigurationSetResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateConfigurationSetCommand,
+ serializeAws_restJson1_1CreateConfigurationSetCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateConfigurationSetCommandInput = CreateConfigurationSetRequest;
+export type CreateConfigurationSetCommandOutput = CreateConfigurationSetResponse;
+
+export class CreateConfigurationSetCommand extends $Command<
+ CreateConfigurationSetCommandInput,
+ CreateConfigurationSetCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateConfigurationSetCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ CreateConfigurationSetCommandInput,
+ CreateConfigurationSetCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateConfigurationSetCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateConfigurationSetCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateConfigurationSetCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts
new file mode 100644
index 000000000000..9bed63a36fae
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts
@@ -0,0 +1,95 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ CreateConfigurationSetEventDestinationRequest,
+ CreateConfigurationSetEventDestinationResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand,
+ serializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateConfigurationSetEventDestinationCommandInput = CreateConfigurationSetEventDestinationRequest;
+export type CreateConfigurationSetEventDestinationCommandOutput = CreateConfigurationSetEventDestinationResponse;
+
+export class CreateConfigurationSetEventDestinationCommand extends $Command<
+ CreateConfigurationSetEventDestinationCommandInput,
+ CreateConfigurationSetEventDestinationCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(
+ readonly input: CreateConfigurationSetEventDestinationCommandInput
+ ) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ CreateConfigurationSetEventDestinationCommandInput,
+ CreateConfigurationSetEventDestinationCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateConfigurationSetEventDestinationCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts b/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts
new file mode 100644
index 000000000000..bb497c429c57
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ CreateDedicatedIpPoolRequest,
+ CreateDedicatedIpPoolResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateDedicatedIpPoolCommand,
+ serializeAws_restJson1_1CreateDedicatedIpPoolCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateDedicatedIpPoolCommandInput = CreateDedicatedIpPoolRequest;
+export type CreateDedicatedIpPoolCommandOutput = CreateDedicatedIpPoolResponse;
+
+export class CreateDedicatedIpPoolCommand extends $Command<
+ CreateDedicatedIpPoolCommandInput,
+ CreateDedicatedIpPoolCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateDedicatedIpPoolCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ CreateDedicatedIpPoolCommandInput,
+ CreateDedicatedIpPoolCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateDedicatedIpPoolCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateDedicatedIpPoolCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateDedicatedIpPoolCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts b/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts
new file mode 100644
index 000000000000..8b508dcc1056
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ CreateDeliverabilityTestReportRequest,
+ CreateDeliverabilityTestReportResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateDeliverabilityTestReportCommand,
+ serializeAws_restJson1_1CreateDeliverabilityTestReportCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateDeliverabilityTestReportCommandInput = CreateDeliverabilityTestReportRequest;
+export type CreateDeliverabilityTestReportCommandOutput = CreateDeliverabilityTestReportResponse;
+
+export class CreateDeliverabilityTestReportCommand extends $Command<
+ CreateDeliverabilityTestReportCommandInput,
+ CreateDeliverabilityTestReportCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateDeliverabilityTestReportCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ CreateDeliverabilityTestReportCommandInput,
+ CreateDeliverabilityTestReportCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateDeliverabilityTestReportCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateDeliverabilityTestReportCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateDeliverabilityTestReportCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts b/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts
new file mode 100644
index 000000000000..60e1ccd2b243
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ CreateEmailIdentityRequest,
+ CreateEmailIdentityResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateEmailIdentityCommand,
+ serializeAws_restJson1_1CreateEmailIdentityCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateEmailIdentityCommandInput = CreateEmailIdentityRequest;
+export type CreateEmailIdentityCommandOutput = CreateEmailIdentityResponse;
+
+export class CreateEmailIdentityCommand extends $Command<
+ CreateEmailIdentityCommandInput,
+ CreateEmailIdentityCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateEmailIdentityCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ CreateEmailIdentityCommandInput,
+ CreateEmailIdentityCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateEmailIdentityCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateEmailIdentityCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateEmailIdentityCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts b/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts
new file mode 100644
index 000000000000..fc748ccc7008
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ DeleteConfigurationSetRequest,
+ DeleteConfigurationSetResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteConfigurationSetCommand,
+ serializeAws_restJson1_1DeleteConfigurationSetCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteConfigurationSetCommandInput = DeleteConfigurationSetRequest;
+export type DeleteConfigurationSetCommandOutput = DeleteConfigurationSetResponse;
+
+export class DeleteConfigurationSetCommand extends $Command<
+ DeleteConfigurationSetCommandInput,
+ DeleteConfigurationSetCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteConfigurationSetCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DeleteConfigurationSetCommandInput,
+ DeleteConfigurationSetCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteConfigurationSetCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteConfigurationSetCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteConfigurationSetCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts
new file mode 100644
index 000000000000..04dff1e0db45
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts
@@ -0,0 +1,95 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ DeleteConfigurationSetEventDestinationRequest,
+ DeleteConfigurationSetEventDestinationResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand,
+ serializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteConfigurationSetEventDestinationCommandInput = DeleteConfigurationSetEventDestinationRequest;
+export type DeleteConfigurationSetEventDestinationCommandOutput = DeleteConfigurationSetEventDestinationResponse;
+
+export class DeleteConfigurationSetEventDestinationCommand extends $Command<
+ DeleteConfigurationSetEventDestinationCommandInput,
+ DeleteConfigurationSetEventDestinationCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(
+ readonly input: DeleteConfigurationSetEventDestinationCommandInput
+ ) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DeleteConfigurationSetEventDestinationCommandInput,
+ DeleteConfigurationSetEventDestinationCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteConfigurationSetEventDestinationCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts b/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts
new file mode 100644
index 000000000000..c62497215a8f
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ DeleteDedicatedIpPoolRequest,
+ DeleteDedicatedIpPoolResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteDedicatedIpPoolCommand,
+ serializeAws_restJson1_1DeleteDedicatedIpPoolCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteDedicatedIpPoolCommandInput = DeleteDedicatedIpPoolRequest;
+export type DeleteDedicatedIpPoolCommandOutput = DeleteDedicatedIpPoolResponse;
+
+export class DeleteDedicatedIpPoolCommand extends $Command<
+ DeleteDedicatedIpPoolCommandInput,
+ DeleteDedicatedIpPoolCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteDedicatedIpPoolCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DeleteDedicatedIpPoolCommandInput,
+ DeleteDedicatedIpPoolCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteDedicatedIpPoolCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteDedicatedIpPoolCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteDedicatedIpPoolCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts b/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts
new file mode 100644
index 000000000000..18fd4edbf4dc
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ DeleteEmailIdentityRequest,
+ DeleteEmailIdentityResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteEmailIdentityCommand,
+ serializeAws_restJson1_1DeleteEmailIdentityCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteEmailIdentityCommandInput = DeleteEmailIdentityRequest;
+export type DeleteEmailIdentityCommandOutput = DeleteEmailIdentityResponse;
+
+export class DeleteEmailIdentityCommand extends $Command<
+ DeleteEmailIdentityCommandInput,
+ DeleteEmailIdentityCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteEmailIdentityCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DeleteEmailIdentityCommandInput,
+ DeleteEmailIdentityCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteEmailIdentityCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteEmailIdentityCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteEmailIdentityCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetAccountCommand.ts b/clients/client-pinpoint-email/commands/GetAccountCommand.ts
new file mode 100644
index 000000000000..1799ccbff384
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetAccountCommand.ts
@@ -0,0 +1,81 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import { GetAccountRequest, GetAccountResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1GetAccountCommand,
+ serializeAws_restJson1_1GetAccountCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetAccountCommandInput = GetAccountRequest;
+export type GetAccountCommandOutput = GetAccountResponse;
+
+export class GetAccountCommand extends $Command<
+ GetAccountCommandInput,
+ GetAccountCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetAccountCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetAccountCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetAccountCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetAccountCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts b/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts
new file mode 100644
index 000000000000..9c1b1e76822d
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ GetBlacklistReportsRequest,
+ GetBlacklistReportsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetBlacklistReportsCommand,
+ serializeAws_restJson1_1GetBlacklistReportsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetBlacklistReportsCommandInput = GetBlacklistReportsRequest;
+export type GetBlacklistReportsCommandOutput = GetBlacklistReportsResponse;
+
+export class GetBlacklistReportsCommand extends $Command<
+ GetBlacklistReportsCommandInput,
+ GetBlacklistReportsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetBlacklistReportsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ GetBlacklistReportsCommandInput,
+ GetBlacklistReportsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetBlacklistReportsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetBlacklistReportsCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetBlacklistReportsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts b/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts
new file mode 100644
index 000000000000..691244fe144b
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ GetConfigurationSetRequest,
+ GetConfigurationSetResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetConfigurationSetCommand,
+ serializeAws_restJson1_1GetConfigurationSetCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetConfigurationSetCommandInput = GetConfigurationSetRequest;
+export type GetConfigurationSetCommandOutput = GetConfigurationSetResponse;
+
+export class GetConfigurationSetCommand extends $Command<
+ GetConfigurationSetCommandInput,
+ GetConfigurationSetCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetConfigurationSetCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ GetConfigurationSetCommandInput,
+ GetConfigurationSetCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetConfigurationSetCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetConfigurationSetCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetConfigurationSetCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts b/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts
new file mode 100644
index 000000000000..034bcf0d6ac6
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts
@@ -0,0 +1,95 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ GetConfigurationSetEventDestinationsRequest,
+ GetConfigurationSetEventDestinationsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand,
+ serializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetConfigurationSetEventDestinationsCommandInput = GetConfigurationSetEventDestinationsRequest;
+export type GetConfigurationSetEventDestinationsCommandOutput = GetConfigurationSetEventDestinationsResponse;
+
+export class GetConfigurationSetEventDestinationsCommand extends $Command<
+ GetConfigurationSetEventDestinationsCommandInput,
+ GetConfigurationSetEventDestinationsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(
+ readonly input: GetConfigurationSetEventDestinationsCommandInput
+ ) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ GetConfigurationSetEventDestinationsCommandInput,
+ GetConfigurationSetEventDestinationsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetConfigurationSetEventDestinationsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts b/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts
new file mode 100644
index 000000000000..7f72c7b4f0e0
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts
@@ -0,0 +1,81 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import { GetDedicatedIpRequest, GetDedicatedIpResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1GetDedicatedIpCommand,
+ serializeAws_restJson1_1GetDedicatedIpCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetDedicatedIpCommandInput = GetDedicatedIpRequest;
+export type GetDedicatedIpCommandOutput = GetDedicatedIpResponse;
+
+export class GetDedicatedIpCommand extends $Command<
+ GetDedicatedIpCommandInput,
+ GetDedicatedIpCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetDedicatedIpCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetDedicatedIpCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetDedicatedIpCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetDedicatedIpCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts b/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts
new file mode 100644
index 000000000000..48961df06805
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts
@@ -0,0 +1,84 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ GetDedicatedIpsRequest,
+ GetDedicatedIpsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetDedicatedIpsCommand,
+ serializeAws_restJson1_1GetDedicatedIpsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetDedicatedIpsCommandInput = GetDedicatedIpsRequest;
+export type GetDedicatedIpsCommandOutput = GetDedicatedIpsResponse;
+
+export class GetDedicatedIpsCommand extends $Command<
+ GetDedicatedIpsCommandInput,
+ GetDedicatedIpsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetDedicatedIpsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetDedicatedIpsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetDedicatedIpsCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetDedicatedIpsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts b/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts
new file mode 100644
index 000000000000..bdebe8bc0cdf
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ GetDeliverabilityDashboardOptionsRequest,
+ GetDeliverabilityDashboardOptionsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetDeliverabilityDashboardOptionsCommand,
+ serializeAws_restJson1_1GetDeliverabilityDashboardOptionsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetDeliverabilityDashboardOptionsCommandInput = GetDeliverabilityDashboardOptionsRequest;
+export type GetDeliverabilityDashboardOptionsCommandOutput = GetDeliverabilityDashboardOptionsResponse;
+
+export class GetDeliverabilityDashboardOptionsCommand extends $Command<
+ GetDeliverabilityDashboardOptionsCommandInput,
+ GetDeliverabilityDashboardOptionsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetDeliverabilityDashboardOptionsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ GetDeliverabilityDashboardOptionsCommandInput,
+ GetDeliverabilityDashboardOptionsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetDeliverabilityDashboardOptionsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetDeliverabilityDashboardOptionsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetDeliverabilityDashboardOptionsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts b/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts
new file mode 100644
index 000000000000..cd6e722fe4ac
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ GetDeliverabilityTestReportRequest,
+ GetDeliverabilityTestReportResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetDeliverabilityTestReportCommand,
+ serializeAws_restJson1_1GetDeliverabilityTestReportCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetDeliverabilityTestReportCommandInput = GetDeliverabilityTestReportRequest;
+export type GetDeliverabilityTestReportCommandOutput = GetDeliverabilityTestReportResponse;
+
+export class GetDeliverabilityTestReportCommand extends $Command<
+ GetDeliverabilityTestReportCommandInput,
+ GetDeliverabilityTestReportCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetDeliverabilityTestReportCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ GetDeliverabilityTestReportCommandInput,
+ GetDeliverabilityTestReportCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetDeliverabilityTestReportCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetDeliverabilityTestReportCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetDeliverabilityTestReportCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts b/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts
new file mode 100644
index 000000000000..949a400a1224
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ GetDomainDeliverabilityCampaignRequest,
+ GetDomainDeliverabilityCampaignResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetDomainDeliverabilityCampaignCommand,
+ serializeAws_restJson1_1GetDomainDeliverabilityCampaignCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetDomainDeliverabilityCampaignCommandInput = GetDomainDeliverabilityCampaignRequest;
+export type GetDomainDeliverabilityCampaignCommandOutput = GetDomainDeliverabilityCampaignResponse;
+
+export class GetDomainDeliverabilityCampaignCommand extends $Command<
+ GetDomainDeliverabilityCampaignCommandInput,
+ GetDomainDeliverabilityCampaignCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetDomainDeliverabilityCampaignCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ GetDomainDeliverabilityCampaignCommandInput,
+ GetDomainDeliverabilityCampaignCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetDomainDeliverabilityCampaignCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetDomainDeliverabilityCampaignCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetDomainDeliverabilityCampaignCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts b/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts
new file mode 100644
index 000000000000..9b3688c37ec9
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ GetDomainStatisticsReportRequest,
+ GetDomainStatisticsReportResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetDomainStatisticsReportCommand,
+ serializeAws_restJson1_1GetDomainStatisticsReportCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetDomainStatisticsReportCommandInput = GetDomainStatisticsReportRequest;
+export type GetDomainStatisticsReportCommandOutput = GetDomainStatisticsReportResponse;
+
+export class GetDomainStatisticsReportCommand extends $Command<
+ GetDomainStatisticsReportCommandInput,
+ GetDomainStatisticsReportCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetDomainStatisticsReportCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ GetDomainStatisticsReportCommandInput,
+ GetDomainStatisticsReportCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetDomainStatisticsReportCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetDomainStatisticsReportCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetDomainStatisticsReportCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts b/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts
new file mode 100644
index 000000000000..d8a82aa13520
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts
@@ -0,0 +1,84 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ GetEmailIdentityRequest,
+ GetEmailIdentityResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetEmailIdentityCommand,
+ serializeAws_restJson1_1GetEmailIdentityCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetEmailIdentityCommandInput = GetEmailIdentityRequest;
+export type GetEmailIdentityCommandOutput = GetEmailIdentityResponse;
+
+export class GetEmailIdentityCommand extends $Command<
+ GetEmailIdentityCommandInput,
+ GetEmailIdentityCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetEmailIdentityCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetEmailIdentityCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetEmailIdentityCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1GetEmailIdentityCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts b/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts
new file mode 100644
index 000000000000..5ec69bf38ee6
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ ListConfigurationSetsRequest,
+ ListConfigurationSetsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1ListConfigurationSetsCommand,
+ serializeAws_restJson1_1ListConfigurationSetsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type ListConfigurationSetsCommandInput = ListConfigurationSetsRequest;
+export type ListConfigurationSetsCommandOutput = ListConfigurationSetsResponse;
+
+export class ListConfigurationSetsCommand extends $Command<
+ ListConfigurationSetsCommandInput,
+ ListConfigurationSetsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListConfigurationSetsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ ListConfigurationSetsCommandInput,
+ ListConfigurationSetsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: ListConfigurationSetsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1ListConfigurationSetsCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1ListConfigurationSetsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts b/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts
new file mode 100644
index 000000000000..05271536f040
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ ListDedicatedIpPoolsRequest,
+ ListDedicatedIpPoolsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1ListDedicatedIpPoolsCommand,
+ serializeAws_restJson1_1ListDedicatedIpPoolsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type ListDedicatedIpPoolsCommandInput = ListDedicatedIpPoolsRequest;
+export type ListDedicatedIpPoolsCommandOutput = ListDedicatedIpPoolsResponse;
+
+export class ListDedicatedIpPoolsCommand extends $Command<
+ ListDedicatedIpPoolsCommandInput,
+ ListDedicatedIpPoolsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListDedicatedIpPoolsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ ListDedicatedIpPoolsCommandInput,
+ ListDedicatedIpPoolsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: ListDedicatedIpPoolsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1ListDedicatedIpPoolsCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1ListDedicatedIpPoolsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts b/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts
new file mode 100644
index 000000000000..f62d581e4ee6
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ ListDeliverabilityTestReportsRequest,
+ ListDeliverabilityTestReportsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1ListDeliverabilityTestReportsCommand,
+ serializeAws_restJson1_1ListDeliverabilityTestReportsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type ListDeliverabilityTestReportsCommandInput = ListDeliverabilityTestReportsRequest;
+export type ListDeliverabilityTestReportsCommandOutput = ListDeliverabilityTestReportsResponse;
+
+export class ListDeliverabilityTestReportsCommand extends $Command<
+ ListDeliverabilityTestReportsCommandInput,
+ ListDeliverabilityTestReportsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListDeliverabilityTestReportsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ ListDeliverabilityTestReportsCommandInput,
+ ListDeliverabilityTestReportsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: ListDeliverabilityTestReportsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1ListDeliverabilityTestReportsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1ListDeliverabilityTestReportsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts b/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts
new file mode 100644
index 000000000000..dae040116a4a
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ ListDomainDeliverabilityCampaignsRequest,
+ ListDomainDeliverabilityCampaignsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1ListDomainDeliverabilityCampaignsCommand,
+ serializeAws_restJson1_1ListDomainDeliverabilityCampaignsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type ListDomainDeliverabilityCampaignsCommandInput = ListDomainDeliverabilityCampaignsRequest;
+export type ListDomainDeliverabilityCampaignsCommandOutput = ListDomainDeliverabilityCampaignsResponse;
+
+export class ListDomainDeliverabilityCampaignsCommand extends $Command<
+ ListDomainDeliverabilityCampaignsCommandInput,
+ ListDomainDeliverabilityCampaignsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListDomainDeliverabilityCampaignsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ ListDomainDeliverabilityCampaignsCommandInput,
+ ListDomainDeliverabilityCampaignsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: ListDomainDeliverabilityCampaignsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1ListDomainDeliverabilityCampaignsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1ListDomainDeliverabilityCampaignsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts b/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts
new file mode 100644
index 000000000000..edc003062b6f
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ ListEmailIdentitiesRequest,
+ ListEmailIdentitiesResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1ListEmailIdentitiesCommand,
+ serializeAws_restJson1_1ListEmailIdentitiesCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type ListEmailIdentitiesCommandInput = ListEmailIdentitiesRequest;
+export type ListEmailIdentitiesCommandOutput = ListEmailIdentitiesResponse;
+
+export class ListEmailIdentitiesCommand extends $Command<
+ ListEmailIdentitiesCommandInput,
+ ListEmailIdentitiesCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListEmailIdentitiesCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ ListEmailIdentitiesCommandInput,
+ ListEmailIdentitiesCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: ListEmailIdentitiesCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1ListEmailIdentitiesCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1ListEmailIdentitiesCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts b/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts
new file mode 100644
index 000000000000..82a0854ed5fb
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ ListTagsForResourceRequest,
+ ListTagsForResourceResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1ListTagsForResourceCommand,
+ serializeAws_restJson1_1ListTagsForResourceCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type ListTagsForResourceCommandInput = ListTagsForResourceRequest;
+export type ListTagsForResourceCommandOutput = ListTagsForResourceResponse;
+
+export class ListTagsForResourceCommand extends $Command<
+ ListTagsForResourceCommandInput,
+ ListTagsForResourceCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListTagsForResourceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ ListTagsForResourceCommandInput,
+ ListTagsForResourceCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: ListTagsForResourceCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1ListTagsForResourceCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1ListTagsForResourceCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts
new file mode 100644
index 000000000000..0d30ff8fb15a
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts
@@ -0,0 +1,95 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutAccountDedicatedIpWarmupAttributesRequest,
+ PutAccountDedicatedIpWarmupAttributesResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutAccountDedicatedIpWarmupAttributesCommand,
+ serializeAws_restJson1_1PutAccountDedicatedIpWarmupAttributesCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutAccountDedicatedIpWarmupAttributesCommandInput = PutAccountDedicatedIpWarmupAttributesRequest;
+export type PutAccountDedicatedIpWarmupAttributesCommandOutput = PutAccountDedicatedIpWarmupAttributesResponse;
+
+export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command<
+ PutAccountDedicatedIpWarmupAttributesCommandInput,
+ PutAccountDedicatedIpWarmupAttributesCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(
+ readonly input: PutAccountDedicatedIpWarmupAttributesCommandInput
+ ) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutAccountDedicatedIpWarmupAttributesCommandInput,
+ PutAccountDedicatedIpWarmupAttributesCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutAccountDedicatedIpWarmupAttributesCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutAccountDedicatedIpWarmupAttributesCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutAccountDedicatedIpWarmupAttributesCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts
new file mode 100644
index 000000000000..1352c566fafa
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutAccountSendingAttributesRequest,
+ PutAccountSendingAttributesResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutAccountSendingAttributesCommand,
+ serializeAws_restJson1_1PutAccountSendingAttributesCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutAccountSendingAttributesCommandInput = PutAccountSendingAttributesRequest;
+export type PutAccountSendingAttributesCommandOutput = PutAccountSendingAttributesResponse;
+
+export class PutAccountSendingAttributesCommand extends $Command<
+ PutAccountSendingAttributesCommandInput,
+ PutAccountSendingAttributesCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutAccountSendingAttributesCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutAccountSendingAttributesCommandInput,
+ PutAccountSendingAttributesCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutAccountSendingAttributesCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutAccountSendingAttributesCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutAccountSendingAttributesCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts
new file mode 100644
index 000000000000..474990adaab2
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutConfigurationSetDeliveryOptionsRequest,
+ PutConfigurationSetDeliveryOptionsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutConfigurationSetDeliveryOptionsCommand,
+ serializeAws_restJson1_1PutConfigurationSetDeliveryOptionsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutConfigurationSetDeliveryOptionsCommandInput = PutConfigurationSetDeliveryOptionsRequest;
+export type PutConfigurationSetDeliveryOptionsCommandOutput = PutConfigurationSetDeliveryOptionsResponse;
+
+export class PutConfigurationSetDeliveryOptionsCommand extends $Command<
+ PutConfigurationSetDeliveryOptionsCommandInput,
+ PutConfigurationSetDeliveryOptionsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutConfigurationSetDeliveryOptionsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutConfigurationSetDeliveryOptionsCommandInput,
+ PutConfigurationSetDeliveryOptionsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutConfigurationSetDeliveryOptionsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutConfigurationSetDeliveryOptionsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutConfigurationSetDeliveryOptionsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts
new file mode 100644
index 000000000000..4260810eda98
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts
@@ -0,0 +1,95 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutConfigurationSetReputationOptionsRequest,
+ PutConfigurationSetReputationOptionsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutConfigurationSetReputationOptionsCommand,
+ serializeAws_restJson1_1PutConfigurationSetReputationOptionsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutConfigurationSetReputationOptionsCommandInput = PutConfigurationSetReputationOptionsRequest;
+export type PutConfigurationSetReputationOptionsCommandOutput = PutConfigurationSetReputationOptionsResponse;
+
+export class PutConfigurationSetReputationOptionsCommand extends $Command<
+ PutConfigurationSetReputationOptionsCommandInput,
+ PutConfigurationSetReputationOptionsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(
+ readonly input: PutConfigurationSetReputationOptionsCommandInput
+ ) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutConfigurationSetReputationOptionsCommandInput,
+ PutConfigurationSetReputationOptionsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutConfigurationSetReputationOptionsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutConfigurationSetReputationOptionsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutConfigurationSetReputationOptionsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts
new file mode 100644
index 000000000000..232b0a378ede
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutConfigurationSetSendingOptionsRequest,
+ PutConfigurationSetSendingOptionsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutConfigurationSetSendingOptionsCommand,
+ serializeAws_restJson1_1PutConfigurationSetSendingOptionsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutConfigurationSetSendingOptionsCommandInput = PutConfigurationSetSendingOptionsRequest;
+export type PutConfigurationSetSendingOptionsCommandOutput = PutConfigurationSetSendingOptionsResponse;
+
+export class PutConfigurationSetSendingOptionsCommand extends $Command<
+ PutConfigurationSetSendingOptionsCommandInput,
+ PutConfigurationSetSendingOptionsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutConfigurationSetSendingOptionsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutConfigurationSetSendingOptionsCommandInput,
+ PutConfigurationSetSendingOptionsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutConfigurationSetSendingOptionsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutConfigurationSetSendingOptionsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutConfigurationSetSendingOptionsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts
new file mode 100644
index 000000000000..1efb3cf8a079
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutConfigurationSetTrackingOptionsRequest,
+ PutConfigurationSetTrackingOptionsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutConfigurationSetTrackingOptionsCommand,
+ serializeAws_restJson1_1PutConfigurationSetTrackingOptionsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutConfigurationSetTrackingOptionsCommandInput = PutConfigurationSetTrackingOptionsRequest;
+export type PutConfigurationSetTrackingOptionsCommandOutput = PutConfigurationSetTrackingOptionsResponse;
+
+export class PutConfigurationSetTrackingOptionsCommand extends $Command<
+ PutConfigurationSetTrackingOptionsCommandInput,
+ PutConfigurationSetTrackingOptionsCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutConfigurationSetTrackingOptionsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutConfigurationSetTrackingOptionsCommandInput,
+ PutConfigurationSetTrackingOptionsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutConfigurationSetTrackingOptionsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutConfigurationSetTrackingOptionsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutConfigurationSetTrackingOptionsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts b/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts
new file mode 100644
index 000000000000..c2087b482cf2
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts
@@ -0,0 +1,90 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutDedicatedIpInPoolRequest,
+ PutDedicatedIpInPoolResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutDedicatedIpInPoolCommand,
+ serializeAws_restJson1_1PutDedicatedIpInPoolCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutDedicatedIpInPoolCommandInput = PutDedicatedIpInPoolRequest;
+export type PutDedicatedIpInPoolCommandOutput = PutDedicatedIpInPoolResponse;
+
+export class PutDedicatedIpInPoolCommand extends $Command<
+ PutDedicatedIpInPoolCommandInput,
+ PutDedicatedIpInPoolCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutDedicatedIpInPoolCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutDedicatedIpInPoolCommandInput,
+ PutDedicatedIpInPoolCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutDedicatedIpInPoolCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutDedicatedIpInPoolCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutDedicatedIpInPoolCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts
new file mode 100644
index 000000000000..cb8842fe2aa7
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutDedicatedIpWarmupAttributesRequest,
+ PutDedicatedIpWarmupAttributesResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutDedicatedIpWarmupAttributesCommand,
+ serializeAws_restJson1_1PutDedicatedIpWarmupAttributesCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutDedicatedIpWarmupAttributesCommandInput = PutDedicatedIpWarmupAttributesRequest;
+export type PutDedicatedIpWarmupAttributesCommandOutput = PutDedicatedIpWarmupAttributesResponse;
+
+export class PutDedicatedIpWarmupAttributesCommand extends $Command<
+ PutDedicatedIpWarmupAttributesCommandInput,
+ PutDedicatedIpWarmupAttributesCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutDedicatedIpWarmupAttributesCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutDedicatedIpWarmupAttributesCommandInput,
+ PutDedicatedIpWarmupAttributesCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutDedicatedIpWarmupAttributesCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutDedicatedIpWarmupAttributesCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutDedicatedIpWarmupAttributesCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts b/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts
new file mode 100644
index 000000000000..11fa72b15e05
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutDeliverabilityDashboardOptionRequest,
+ PutDeliverabilityDashboardOptionResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutDeliverabilityDashboardOptionCommand,
+ serializeAws_restJson1_1PutDeliverabilityDashboardOptionCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutDeliverabilityDashboardOptionCommandInput = PutDeliverabilityDashboardOptionRequest;
+export type PutDeliverabilityDashboardOptionCommandOutput = PutDeliverabilityDashboardOptionResponse;
+
+export class PutDeliverabilityDashboardOptionCommand extends $Command<
+ PutDeliverabilityDashboardOptionCommandInput,
+ PutDeliverabilityDashboardOptionCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutDeliverabilityDashboardOptionCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutDeliverabilityDashboardOptionCommandInput,
+ PutDeliverabilityDashboardOptionCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutDeliverabilityDashboardOptionCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutDeliverabilityDashboardOptionCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutDeliverabilityDashboardOptionCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts
new file mode 100644
index 000000000000..7718c6fd018a
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutEmailIdentityDkimAttributesRequest,
+ PutEmailIdentityDkimAttributesResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutEmailIdentityDkimAttributesCommand,
+ serializeAws_restJson1_1PutEmailIdentityDkimAttributesCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutEmailIdentityDkimAttributesCommandInput = PutEmailIdentityDkimAttributesRequest;
+export type PutEmailIdentityDkimAttributesCommandOutput = PutEmailIdentityDkimAttributesResponse;
+
+export class PutEmailIdentityDkimAttributesCommand extends $Command<
+ PutEmailIdentityDkimAttributesCommandInput,
+ PutEmailIdentityDkimAttributesCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutEmailIdentityDkimAttributesCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutEmailIdentityDkimAttributesCommandInput,
+ PutEmailIdentityDkimAttributesCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutEmailIdentityDkimAttributesCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutEmailIdentityDkimAttributesCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutEmailIdentityDkimAttributesCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts
new file mode 100644
index 000000000000..996e1c09d507
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutEmailIdentityFeedbackAttributesRequest,
+ PutEmailIdentityFeedbackAttributesResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutEmailIdentityFeedbackAttributesCommand,
+ serializeAws_restJson1_1PutEmailIdentityFeedbackAttributesCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutEmailIdentityFeedbackAttributesCommandInput = PutEmailIdentityFeedbackAttributesRequest;
+export type PutEmailIdentityFeedbackAttributesCommandOutput = PutEmailIdentityFeedbackAttributesResponse;
+
+export class PutEmailIdentityFeedbackAttributesCommand extends $Command<
+ PutEmailIdentityFeedbackAttributesCommandInput,
+ PutEmailIdentityFeedbackAttributesCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutEmailIdentityFeedbackAttributesCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutEmailIdentityFeedbackAttributesCommandInput,
+ PutEmailIdentityFeedbackAttributesCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutEmailIdentityFeedbackAttributesCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutEmailIdentityFeedbackAttributesCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutEmailIdentityFeedbackAttributesCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts
new file mode 100644
index 000000000000..c56b0badc48b
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts
@@ -0,0 +1,93 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ PutEmailIdentityMailFromAttributesRequest,
+ PutEmailIdentityMailFromAttributesResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1PutEmailIdentityMailFromAttributesCommand,
+ serializeAws_restJson1_1PutEmailIdentityMailFromAttributesCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type PutEmailIdentityMailFromAttributesCommandInput = PutEmailIdentityMailFromAttributesRequest;
+export type PutEmailIdentityMailFromAttributesCommandOutput = PutEmailIdentityMailFromAttributesResponse;
+
+export class PutEmailIdentityMailFromAttributesCommand extends $Command<
+ PutEmailIdentityMailFromAttributesCommandInput,
+ PutEmailIdentityMailFromAttributesCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: PutEmailIdentityMailFromAttributesCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ PutEmailIdentityMailFromAttributesCommandInput,
+ PutEmailIdentityMailFromAttributesCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: PutEmailIdentityMailFromAttributesCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1PutEmailIdentityMailFromAttributesCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1PutEmailIdentityMailFromAttributesCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/SendEmailCommand.ts b/clients/client-pinpoint-email/commands/SendEmailCommand.ts
new file mode 100644
index 000000000000..dbbc15f6d5b8
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/SendEmailCommand.ts
@@ -0,0 +1,81 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import { SendEmailRequest, SendEmailResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1SendEmailCommand,
+ serializeAws_restJson1_1SendEmailCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type SendEmailCommandInput = SendEmailRequest;
+export type SendEmailCommandOutput = SendEmailResponse;
+
+export class SendEmailCommand extends $Command<
+ SendEmailCommandInput,
+ SendEmailCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: SendEmailCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: SendEmailCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1SendEmailCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1SendEmailCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/TagResourceCommand.ts b/clients/client-pinpoint-email/commands/TagResourceCommand.ts
new file mode 100644
index 000000000000..fa84c85b47de
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/TagResourceCommand.ts
@@ -0,0 +1,81 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import { TagResourceRequest, TagResourceResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1TagResourceCommand,
+ serializeAws_restJson1_1TagResourceCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type TagResourceCommandInput = TagResourceRequest;
+export type TagResourceCommandOutput = TagResourceResponse;
+
+export class TagResourceCommand extends $Command<
+ TagResourceCommandInput,
+ TagResourceCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: TagResourceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: TagResourceCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1TagResourceCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1TagResourceCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/UntagResourceCommand.ts b/clients/client-pinpoint-email/commands/UntagResourceCommand.ts
new file mode 100644
index 000000000000..02acc5c1bfd8
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/UntagResourceCommand.ts
@@ -0,0 +1,81 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import { UntagResourceRequest, UntagResourceResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1UntagResourceCommand,
+ serializeAws_restJson1_1UntagResourceCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type UntagResourceCommandInput = UntagResourceRequest;
+export type UntagResourceCommandOutput = UntagResourceResponse;
+
+export class UntagResourceCommand extends $Command<
+ UntagResourceCommandInput,
+ UntagResourceCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: UntagResourceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: UntagResourceCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1UntagResourceCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1UntagResourceCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts
new file mode 100644
index 000000000000..b907e015ed1c
--- /dev/null
+++ b/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts
@@ -0,0 +1,95 @@
+import {
+ PinpointEmailClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../PinpointEmailClient";
+import {
+ UpdateConfigurationSetEventDestinationRequest,
+ UpdateConfigurationSetEventDestinationResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand,
+ serializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type UpdateConfigurationSetEventDestinationCommandInput = UpdateConfigurationSetEventDestinationRequest;
+export type UpdateConfigurationSetEventDestinationCommandOutput = UpdateConfigurationSetEventDestinationResponse;
+
+export class UpdateConfigurationSetEventDestinationCommand extends $Command<
+ UpdateConfigurationSetEventDestinationCommandInput,
+ UpdateConfigurationSetEventDestinationCommandOutput,
+ PinpointEmailClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(
+ readonly input: UpdateConfigurationSetEventDestinationCommandInput
+ ) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: PinpointEmailClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ UpdateConfigurationSetEventDestinationCommandInput,
+ UpdateConfigurationSetEventDestinationCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: UpdateConfigurationSetEventDestinationCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-pinpoint-email/endpoints.ts b/clients/client-pinpoint-email/endpoints.ts
new file mode 100644
index 000000000000..31b260258b38
--- /dev/null
+++ b/clients/client-pinpoint-email/endpoints.ts
@@ -0,0 +1,78 @@
+import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types";
+
+// Partition default templates
+const AWS_TEMPLATE = "ses.{region}.amazonaws.com";
+const AWS_CN_TEMPLATE = "ses.{region}.amazonaws.com.cn";
+const AWS_ISO_TEMPLATE = "ses.{region}.c2s.ic.gov";
+const AWS_ISO_B_TEMPLATE = "ses.{region}.sc2s.sgov.gov";
+const AWS_US_GOV_TEMPLATE = "ses.{region}.amazonaws.com";
+
+// Partition regions
+const AWS_REGIONS = new Set([
+ "ap-south-1",
+ "eu-north-1",
+ "eu-west-3",
+ "eu-west-2",
+ "eu-west-1",
+ "ap-northeast-2",
+ "ap-northeast-1",
+ "me-south-1",
+ "ca-central-1",
+ "sa-east-1",
+ "ap-east-1",
+ "ap-southeast-1",
+ "ap-southeast-2",
+ "eu-central-1",
+ "us-east-1",
+ "us-east-2",
+ "us-west-1",
+ "us-west-2"
+]);
+const AWS_CN_REGIONS = new Set(["cn-north-1", "cn-northwest-1"]);
+const AWS_ISO_REGIONS = new Set(["us-iso-east-1"]);
+const AWS_ISO_B_REGIONS = new Set(["us-isob-east-1"]);
+const AWS_US_GOV_REGIONS = new Set(["us-gov-west-1", "us-gov-east-1"]);
+
+export const defaultRegionInfoProvider: RegionInfoProvider = (
+ region: string,
+ options?: any
+) => {
+ let regionInfo: RegionInfo | undefined = undefined;
+ switch (region) {
+ // First, try to match exact region names.
+ // Next, try to match partition endpoints.
+ default:
+ if (AWS_REGIONS.has(region)) {
+ regionInfo = {
+ hostname: AWS_TEMPLATE.replace("{region}", region)
+ };
+ }
+ if (AWS_CN_REGIONS.has(region)) {
+ regionInfo = {
+ hostname: AWS_CN_TEMPLATE.replace("{region}", region)
+ };
+ }
+ if (AWS_ISO_REGIONS.has(region)) {
+ regionInfo = {
+ hostname: AWS_ISO_TEMPLATE.replace("{region}", region)
+ };
+ }
+ if (AWS_ISO_B_REGIONS.has(region)) {
+ regionInfo = {
+ hostname: AWS_ISO_B_TEMPLATE.replace("{region}", region)
+ };
+ }
+ if (AWS_US_GOV_REGIONS.has(region)) {
+ regionInfo = {
+ hostname: AWS_US_GOV_TEMPLATE.replace("{region}", region)
+ };
+ }
+ // Finally, assume it's an AWS partition endpoint.
+ if (regionInfo === undefined) {
+ regionInfo = {
+ hostname: AWS_TEMPLATE.replace("{region}", region)
+ };
+ }
+ }
+ return Promise.resolve(regionInfo);
+};
diff --git a/clients/client-pinpoint-email/index.ts b/clients/client-pinpoint-email/index.ts
new file mode 100644
index 000000000000..7ee5277b830e
--- /dev/null
+++ b/clients/client-pinpoint-email/index.ts
@@ -0,0 +1,44 @@
+export * from "./PinpointEmailClient";
+export * from "./PinpointEmail";
+export * from "./commands/CreateConfigurationSetEventDestinationCommand";
+export * from "./commands/PutDedicatedIpWarmupAttributesCommand";
+export * from "./commands/PutAccountSendingAttributesCommand";
+export * from "./commands/DeleteEmailIdentityCommand";
+export * from "./commands/PutConfigurationSetDeliveryOptionsCommand";
+export * from "./commands/DeleteConfigurationSetEventDestinationCommand";
+export * from "./commands/CreateDeliverabilityTestReportCommand";
+export * from "./commands/ListDeliverabilityTestReportsCommand";
+export * from "./commands/CreateEmailIdentityCommand";
+export * from "./commands/PutDedicatedIpInPoolCommand";
+export * from "./commands/CreateConfigurationSetCommand";
+export * from "./commands/TagResourceCommand";
+export * from "./commands/GetDeliverabilityDashboardOptionsCommand";
+export * from "./commands/PutEmailIdentityDkimAttributesCommand";
+export * from "./commands/ListConfigurationSetsCommand";
+export * from "./commands/GetEmailIdentityCommand";
+export * from "./commands/ListDedicatedIpPoolsCommand";
+export * from "./commands/PutConfigurationSetSendingOptionsCommand";
+export * from "./commands/GetAccountCommand";
+export * from "./commands/PutAccountDedicatedIpWarmupAttributesCommand";
+export * from "./commands/PutDeliverabilityDashboardOptionCommand";
+export * from "./commands/GetDomainDeliverabilityCampaignCommand";
+export * from "./commands/DeleteConfigurationSetCommand";
+export * from "./commands/SendEmailCommand";
+export * from "./commands/PutConfigurationSetTrackingOptionsCommand";
+export * from "./commands/DeleteDedicatedIpPoolCommand";
+export * from "./commands/PutEmailIdentityMailFromAttributesCommand";
+export * from "./commands/GetDeliverabilityTestReportCommand";
+export * from "./commands/GetDedicatedIpsCommand";
+export * from "./commands/UntagResourceCommand";
+export * from "./commands/ListTagsForResourceCommand";
+export * from "./commands/PutConfigurationSetReputationOptionsCommand";
+export * from "./commands/GetConfigurationSetCommand";
+export * from "./commands/ListEmailIdentitiesCommand";
+export * from "./commands/CreateDedicatedIpPoolCommand";
+export * from "./commands/GetDomainStatisticsReportCommand";
+export * from "./commands/UpdateConfigurationSetEventDestinationCommand";
+export * from "./commands/PutEmailIdentityFeedbackAttributesCommand";
+export * from "./commands/GetConfigurationSetEventDestinationsCommand";
+export * from "./commands/GetDedicatedIpCommand";
+export * from "./commands/ListDomainDeliverabilityCampaignsCommand";
+export * from "./commands/GetBlacklistReportsCommand";
diff --git a/clients/client-pinpoint-email/models/index.ts b/clients/client-pinpoint-email/models/index.ts
new file mode 100644
index 000000000000..6da1522eea73
--- /dev/null
+++ b/clients/client-pinpoint-email/models/index.ts
@@ -0,0 +1,4415 @@
+import * as _smithy from "@aws-sdk/smithy-client";
+import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
+
+/**
+ *
+ * An object that defines the tags that are associated with a resource.
+ * A tag is a label that you optionally define and associate with
+ * a resource in Amazon Pinpoint. Tags can help you categorize and manage resources in different
+ * ways, such as by purpose, owner, environment, or other criteria. A resource can have as
+ * many as 50 tags.
+ * Each tag consists of a required tag key and an
+ * associated tag value, both of which you define. A tag key is a
+ * general label that acts as a category for a more specific tag value. A tag value acts as
+ * a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag
+ * value can contain as many as 256 characters. The characters can be Unicode letters,
+ * digits, white space, or one of the following symbols: _ . : / = + -. The following
+ * additional restrictions apply to tags:
+ *
+ * -
+ *
Tag keys and values are case sensitive.
+ *
+ * -
+ *
For each associated resource, each tag key must be unique and it can have only
+ * one value.
+ *
+ * -
+ *
The aws:
prefix is reserved for use by AWS; you can’t use it in
+ * any tag keys or values that you define. In addition, you can't edit or remove
+ * tag keys or values that use this prefix. Tags that use this prefix don’t count
+ * against the limit of 50 tags per resource.
+ *
+ * -
+ *
You can associate tags with public or shared resources, but the tags are
+ * available only for your AWS account, not any other accounts that share the
+ * resource. In addition, the tags are available only for resources that are
+ * located in the specified AWS Region for your AWS account.
+ *
+ *
+ *
+ */
+export interface Tag {
+ __type?: "Tag";
+ /**
+ *
+ * One part of a key-value pair that defines a tag. The maximum length of a tag key is
+ * 128 characters. The minimum length is 1 character.
+ *
+ */
+ Key: string | undefined;
+
+ /**
+ *
+ * The optional part of a key-value pair that defines a tag. The maximum length of a tag
+ * value is 256 characters. The minimum length is 0 characters. If you don’t want a
+ * resource to have a specific tag value, don’t specify a value for this parameter. Amazon Pinpoint
+ * will set the value to an empty string.
+ *
+ */
+ Value: string | undefined;
+}
+
+export namespace Tag {
+ export function isa(o: any): o is Tag {
+ return _smithy.isa(o, "Tag");
+ }
+}
+
+/**
+ *
+ * The message can't be sent because the account's ability to send email has been
+ * permanently restricted.
+ *
+ */
+export interface AccountSuspendedException
+ extends _smithy.SmithyException,
+ $MetadataBearer {
+ __type: "AccountSuspendedException";
+ $fault: "client";
+ message?: string;
+}
+
+export namespace AccountSuspendedException {
+ export function isa(o: any): o is AccountSuspendedException {
+ return _smithy.isa(o, "AccountSuspendedException");
+ }
+}
+
+/**
+ *
+ * The resource specified in your request already exists.
+ *
+ */
+export interface AlreadyExistsException
+ extends _smithy.SmithyException,
+ $MetadataBearer {
+ __type: "AlreadyExistsException";
+ $fault: "client";
+ message?: string;
+}
+
+export namespace AlreadyExistsException {
+ export function isa(o: any): o is AlreadyExistsException {
+ return _smithy.isa(o, "AlreadyExistsException");
+ }
+}
+
+/**
+ *
+ * The input you provided is invalid.
+ *
+ */
+export interface BadRequestException
+ extends _smithy.SmithyException,
+ $MetadataBearer {
+ __type: "BadRequestException";
+ $fault: "client";
+ message?: string;
+}
+
+export namespace BadRequestException {
+ export function isa(o: any): o is BadRequestException {
+ return _smithy.isa(o, "BadRequestException");
+ }
+}
+
+export enum BehaviorOnMxFailure {
+ REJECT_MESSAGE = "REJECT_MESSAGE",
+ USE_DEFAULT_VALUE = "USE_DEFAULT_VALUE"
+}
+
+/**
+ *
+ * An object that contains information about a blacklisting event that impacts one of the
+ * dedicated IP addresses that is associated with your account.
+ *
+ */
+export interface BlacklistEntry {
+ __type?: "BlacklistEntry";
+ /**
+ *
+ * Additional information about the blacklisting event, as provided by the blacklist
+ * maintainer.
+ *
+ */
+ Description?: string;
+
+ /**
+ *
+ * The time when the blacklisting event occurred, shown in Unix time format.
+ *
+ */
+ ListingTime?: Date;
+
+ /**
+ *
+ * The name of the blacklist that the IP address appears on.
+ *
+ */
+ RblName?: string;
+}
+
+export namespace BlacklistEntry {
+ export function isa(o: any): o is BlacklistEntry {
+ return _smithy.isa(o, "BlacklistEntry");
+ }
+}
+
+/**
+ *
+ * Represents the body of the email message.
+ *
+ */
+export interface Body {
+ __type?: "Body";
+ /**
+ *
+ * An object that represents the version of the message that is displayed in email
+ * clients that support HTML. HTML messages can include formatted text, hyperlinks, images,
+ * and more.
+ *
+ */
+ Html?: Content;
+
+ /**
+ *
+ * An object that represents the version of the message that is displayed in email
+ * clients that don't support HTML, or clients where the recipient has disabled HTML
+ * rendering.
+ *
+ */
+ Text?: Content;
+}
+
+export namespace Body {
+ export function isa(o: any): o is Body {
+ return _smithy.isa(o, "Body");
+ }
+}
+
+/**
+ *
+ * An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to
+ * monitor and gain insights on your email sending metrics.
+ *
+ */
+export interface CloudWatchDestination {
+ __type?: "CloudWatchDestination";
+ /**
+ *
+ * An array of objects that define the dimensions to use when you send email events to
+ * Amazon CloudWatch.
+ *
+ */
+ DimensionConfigurations: Array | undefined;
+}
+
+export namespace CloudWatchDestination {
+ export function isa(o: any): o is CloudWatchDestination {
+ return _smithy.isa(o, "CloudWatchDestination");
+ }
+}
+
+/**
+ *
+ * An object that defines the dimension configuration to use when you send Amazon Pinpoint email
+ * events to Amazon CloudWatch.
+ *
+ */
+export interface CloudWatchDimensionConfiguration {
+ __type?: "CloudWatchDimensionConfiguration";
+ /**
+ *
+ * The default value of the dimension that is published to Amazon CloudWatch if you don't provide the
+ * value of the dimension when you send an email. This value has to meet the following
+ * criteria:
+ *
+ * -
+ *
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
+ * or dashes (-).
+ *
+ * -
+ *
It can contain no more than 256 characters.
+ *
+ *
+ *
+ */
+ DefaultDimensionValue: string | undefined;
+
+ /**
+ *
+ * The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to
+ * meet the following criteria:
+ *
+ * -
+ *
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
+ * or dashes (-).
+ *
+ * -
+ *
It can contain no more than 256 characters.
+ *
+ *
+ *
+ */
+ DimensionName: string | undefined;
+
+ /**
+ *
+ * The location where Amazon Pinpoint finds the value of a dimension to publish to Amazon CloudWatch. If you
+ * want Amazon Pinpoint to use the message tags that you specify using an X-SES-MESSAGE-TAGS header
+ * or a parameter to the SendEmail/SendRawEmail API, choose messageTag
. If you
+ * want Amazon Pinpoint to use your own email headers, choose emailHeader
. If you want
+ * Amazon Pinpoint to use link tags, choose linkTags
.
+ *
+ */
+ DimensionValueSource: DimensionValueSource | string | undefined;
+}
+
+export namespace CloudWatchDimensionConfiguration {
+ export function isa(o: any): o is CloudWatchDimensionConfiguration {
+ return _smithy.isa(o, "CloudWatchDimensionConfiguration");
+ }
+}
+
+/**
+ *
+ * The resource is being modified by another operation or thread.
+ *
+ */
+export interface ConcurrentModificationException
+ extends _smithy.SmithyException,
+ $MetadataBearer {
+ __type: "ConcurrentModificationException";
+ $fault: "server";
+ message?: string;
+}
+
+export namespace ConcurrentModificationException {
+ export function isa(o: any): o is ConcurrentModificationException {
+ return _smithy.isa(o, "ConcurrentModificationException");
+ }
+}
+
+/**
+ *
+ * An object that represents the content of the email, and optionally a character set
+ * specification.
+ *
+ */
+export interface Content {
+ __type?: "Content";
+ /**
+ *
+ * The character set for the content. Because of the constraints of the SMTP protocol,
+ * Amazon Pinpoint uses 7-bit ASCII by default. If the text includes characters outside of the ASCII
+ * range, you have to specify a character set. For example, you could specify
+ * UTF-8
, ISO-8859-1
, or Shift_JIS
.
+ *
+ */
+ Charset?: string;
+
+ /**
+ *
+ * The content of the message itself.
+ *
+ */
+ Data: string | undefined;
+}
+
+export namespace Content {
+ export function isa(o: any): o is Content {
+ return _smithy.isa(o, "Content");
+ }
+}
+
+/**
+ *
+ * A request to add an event destination to a configuration set.
+ *
+ */
+export interface CreateConfigurationSetEventDestinationRequest {
+ __type?: "CreateConfigurationSetEventDestinationRequest";
+ /**
+ *
+ * The name of the configuration set that you want to add an event destination to.
+ *
+ */
+ ConfigurationSetName: string | undefined;
+
+ /**
+ *
+ * An object that defines the event destination.
+ *
+ */
+ EventDestination: EventDestinationDefinition | undefined;
+
+ /**
+ *
+ * A name that identifies the event destination within the configuration set.
+ *
+ */
+ EventDestinationName: string | undefined;
+}
+
+export namespace CreateConfigurationSetEventDestinationRequest {
+ export function isa(
+ o: any
+ ): o is CreateConfigurationSetEventDestinationRequest {
+ return _smithy.isa(o, "CreateConfigurationSetEventDestinationRequest");
+ }
+}
+
+/**
+ *
+ * An HTTP 200 response if the request succeeds, or an error message if the request
+ * fails.
+ *
+ */
+export interface CreateConfigurationSetEventDestinationResponse
+ extends $MetadataBearer {
+ __type?: "CreateConfigurationSetEventDestinationResponse";
+}
+
+export namespace CreateConfigurationSetEventDestinationResponse {
+ export function isa(
+ o: any
+ ): o is CreateConfigurationSetEventDestinationResponse {
+ return _smithy.isa(o, "CreateConfigurationSetEventDestinationResponse");
+ }
+}
+
+/**
+ *
+ * A request to create a configuration set.
+ *
+ */
+export interface CreateConfigurationSetRequest {
+ __type?: "CreateConfigurationSetRequest";
+ /**
+ *
+ * The name of the configuration set.
+ *
+ */
+ ConfigurationSetName: string | undefined;
+
+ /**
+ *
+ * An object that defines the dedicated IP pool that is used to send emails that you send
+ * using the configuration set.
+ *
+ */
+ DeliveryOptions?: DeliveryOptions;
+
+ /**
+ *
+ * An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails
+ * that you send that use the configuration set.
+ *
+ */
+ ReputationOptions?: ReputationOptions;
+
+ /**
+ *
+ * An object that defines whether or not Amazon Pinpoint can send email that you send using the
+ * configuration set.
+ *
+ */
+ SendingOptions?: SendingOptions;
+
+ /**
+ *
+ * An array of objects that define the tags (keys and values) that you want to associate
+ * with the configuration set.
+ *
+ */
+ Tags?: Array;
+
+ /**
+ *
+ * An object that defines the open and click tracking options for emails that you send
+ * using the configuration set.
+ *
+ */
+ TrackingOptions?: TrackingOptions;
+}
+
+export namespace CreateConfigurationSetRequest {
+ export function isa(o: any): o is CreateConfigurationSetRequest {
+ return _smithy.isa(o, "CreateConfigurationSetRequest");
+ }
+}
+
+/**
+ *
+ * An HTTP 200 response if the request succeeds, or an error message if the request
+ * fails.
+ *
+ */
+export interface CreateConfigurationSetResponse extends $MetadataBearer {
+ __type?: "CreateConfigurationSetResponse";
+}
+
+export namespace CreateConfigurationSetResponse {
+ export function isa(o: any): o is CreateConfigurationSetResponse {
+ return _smithy.isa(o, "CreateConfigurationSetResponse");
+ }
+}
+
+/**
+ *
+ * A request to create a new dedicated IP pool.
+ *
+ */
+export interface CreateDedicatedIpPoolRequest {
+ __type?: "CreateDedicatedIpPoolRequest";
+ /**
+ *
+ * The name of the dedicated IP pool.
+ *
+ */
+ PoolName: string | undefined;
+
+ /**
+ *
+ * An object that defines the tags (keys and values) that you want to associate with the
+ * pool.
+ *
+ */
+ Tags?: Array;
+}
+
+export namespace CreateDedicatedIpPoolRequest {
+ export function isa(o: any): o is CreateDedicatedIpPoolRequest {
+ return _smithy.isa(o, "CreateDedicatedIpPoolRequest");
+ }
+}
+
+/**
+ *
+ * An HTTP 200 response if the request succeeds, or an error message if the request
+ * fails.
+ *
+ */
+export interface CreateDedicatedIpPoolResponse extends $MetadataBearer {
+ __type?: "CreateDedicatedIpPoolResponse";
+}
+
+export namespace CreateDedicatedIpPoolResponse {
+ export function isa(o: any): o is CreateDedicatedIpPoolResponse {
+ return _smithy.isa(o, "CreateDedicatedIpPoolResponse");
+ }
+}
+
+/**
+ *
+ * A request to perform a predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will
+ * be handled by various email providers around the world. When you perform a predictive inbox placement test, you
+ * provide a sample message that contains the content that you plan to send to your
+ * customers. Amazon Pinpoint then sends that message to special email addresses spread across
+ * several major email providers. After about 24 hours, the test is complete, and you can
+ * use the GetDeliverabilityTestReport
operation to view the results of the
+ * test.
+ *
+ */
+export interface CreateDeliverabilityTestReportRequest {
+ __type?: "CreateDeliverabilityTestReportRequest";
+ /**
+ *
+ * The HTML body of the message that you sent when you performed the predictive inbox placement test.
+ *
+ */
+ Content: EmailContent | undefined;
+
+ /**
+ *
+ * The email address that the predictive inbox placement test email was sent from.
+ *
+ */
+ FromEmailAddress: string | undefined;
+
+ /**
+ *
+ * A unique name that helps you to identify the predictive inbox placement test when you retrieve the
+ * results.
+ *
+ */
+ ReportName?: string;
+
+ /**
+ *
+ * An array of objects that define the tags (keys and values) that you want to associate
+ * with the predictive inbox placement test.
+ *
+ */
+ Tags?: Array;
+}
+
+export namespace CreateDeliverabilityTestReportRequest {
+ export function isa(o: any): o is CreateDeliverabilityTestReportRequest {
+ return _smithy.isa(o, "CreateDeliverabilityTestReportRequest");
+ }
+}
+
+/**
+ *
+ * Information about the predictive inbox placement test that you created.
+ *
+ */
+export interface CreateDeliverabilityTestReportResponse
+ extends $MetadataBearer {
+ __type?: "CreateDeliverabilityTestReportResponse";
+ /**
+ *
+ * The status of the predictive inbox placement test. If the status is IN_PROGRESS
, then the predictive inbox placement test
+ * is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the
+ * test. If the status is COMPLETE
, then the test is finished, and you can use
+ * the GetDeliverabilityTestReport
to view the results of the test.
+ *
+ */
+ DeliverabilityTestStatus: DeliverabilityTestStatus | string | undefined;
+
+ /**
+ *
+ * A unique string that identifies the predictive inbox placement test.
+ *
+ */
+ ReportId: string | undefined;
+}
+
+export namespace CreateDeliverabilityTestReportResponse {
+ export function isa(o: any): o is CreateDeliverabilityTestReportResponse {
+ return _smithy.isa(o, "CreateDeliverabilityTestReportResponse");
+ }
+}
+
+/**
+ *
+ * A request to begin the verification process for an email identity (an email address or
+ * domain).
+ *
+ */
+export interface CreateEmailIdentityRequest {
+ __type?: "CreateEmailIdentityRequest";
+ /**
+ *
+ * The email address or domain that you want to verify.
+ *
+ */
+ EmailIdentity: string | undefined;
+
+ /**
+ *
+ * An array of objects that define the tags (keys and values) that you want to associate
+ * with the email identity.
+ *
+ */
+ Tags?: Array;
+}
+
+export namespace CreateEmailIdentityRequest {
+ export function isa(o: any): o is CreateEmailIdentityRequest {
+ return _smithy.isa(o, "CreateEmailIdentityRequest");
+ }
+}
+
+/**
+ *
+ * If the email identity is a domain, this object contains tokens that you can use to
+ * create a set of CNAME records. To sucessfully verify your domain, you have to add these
+ * records to the DNS configuration for your domain.
+ * If the email identity is an email address, this object is empty.
+ *
+ */
+export interface CreateEmailIdentityResponse extends $MetadataBearer {
+ __type?: "CreateEmailIdentityResponse";
+ /**
+ *
+ * An object that contains information about the DKIM attributes for the identity. This
+ * object includes the tokens that you use to create the CNAME records that are required to
+ * complete the DKIM verification process.
+ *
+ */
+ DkimAttributes?: DkimAttributes;
+
+ /**
+ *
+ * The email identity type.
+ *
+ */
+ IdentityType?: IdentityType | string;
+
+ /**
+ *
+ * Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email
+ * from verified email addresses or domains. For more information about verifying
+ * identities, see the Amazon Pinpoint User Guide.
+ *
+ */
+ VerifiedForSendingStatus?: boolean;
+}
+
+export namespace CreateEmailIdentityResponse {
+ export function isa(o: any): o is CreateEmailIdentityResponse {
+ return _smithy.isa(o, "CreateEmailIdentityResponse");
+ }
+}
+
+/**
+ *
+ * An object that contains information about the volume of email sent on each day of the
+ * analysis period.
+ *
+ */
+export interface DailyVolume {
+ __type?: "DailyVolume";
+ /**
+ *
+ * An object that contains inbox placement metrics for a specified day in the analysis
+ * period, broken out by the recipient's email provider.
+ *
+ */
+ DomainIspPlacements?: Array;
+
+ /**
+ *
+ * The date that the DailyVolume metrics apply to, in Unix time.
+ *
+ */
+ StartDate?: Date;
+
+ /**
+ *
+ * An object that contains inbox placement metrics for a specific day in the analysis
+ * period.
+ *
+ */
+ VolumeStatistics?: VolumeStatistics;
+}
+
+export namespace DailyVolume {
+ export function isa(o: any): o is DailyVolume {
+ return _smithy.isa(o, "DailyVolume");
+ }
+}
+
+/**
+ *
+ * Contains information about a dedicated IP address that is associated with your Amazon Pinpoint
+ * account.
+ *
+ *
+ */
+export interface DedicatedIp {
+ __type?: "DedicatedIp";
+ /**
+ *
+ * An IP address that is reserved for use by your Amazon Pinpoint account.
+ *
+ */
+ Ip: string | undefined;
+
+ /**
+ *
+ * The name of the dedicated IP pool that the IP address is associated with.
+ *
+ */
+ PoolName?: string;
+
+ /**
+ *
+ * Indicates how complete the dedicated IP warm-up process is. When this value equals 1,
+ * the address has completed the warm-up process and is ready for use.
+ *
+ */
+ WarmupPercentage: number | undefined;
+
+ /**
+ *
+ * The warm-up status of a dedicated IP address. The status can have one of the following
+ * values:
+ *
+ * -
+ *
+ * IN_PROGRESS
– The IP address isn't ready to use because the
+ * dedicated IP warm-up process is ongoing.
+ *
+ * -
+ *
+ * DONE
– The dedicated IP warm-up process is complete, and
+ * the IP address is ready to use.
+ *
+ *
+ *
+ */
+ WarmupStatus: WarmupStatus | string | undefined;
+}
+
+export namespace DedicatedIp {
+ export function isa(o: any): o is DedicatedIp {
+ return _smithy.isa(o, "DedicatedIp");
+ }
+}
+
+/**
+ *
+ * A request to delete an event destination from a configuration set.
+ *
+ */
+export interface DeleteConfigurationSetEventDestinationRequest {
+ __type?: "DeleteConfigurationSetEventDestinationRequest";
+ /**
+ *
+ * The name of the configuration set that contains the event destination that you want to
+ * delete.
+ *
+ */
+ ConfigurationSetName: string | undefined;
+
+ /**
+ *
+ * The name of the event destination that you want to delete.
+ *
+ */
+ EventDestinationName: string | undefined;
+}
+
+export namespace DeleteConfigurationSetEventDestinationRequest {
+ export function isa(
+ o: any
+ ): o is DeleteConfigurationSetEventDestinationRequest {
+ return _smithy.isa(o, "DeleteConfigurationSetEventDestinationRequest");
+ }
+}
+
+/**
+ *
+ * An HTTP 200 response if the request succeeds, or an error message if the request
+ * fails.
+ *
+ */
+export interface DeleteConfigurationSetEventDestinationResponse
+ extends $MetadataBearer {
+ __type?: "DeleteConfigurationSetEventDestinationResponse";
+}
+
+export namespace DeleteConfigurationSetEventDestinationResponse {
+ export function isa(
+ o: any
+ ): o is DeleteConfigurationSetEventDestinationResponse {
+ return _smithy.isa(o, "DeleteConfigurationSetEventDestinationResponse");
+ }
+}
+
+/**
+ *
+ * A request to delete a configuration set.
+ *
+ */
+export interface DeleteConfigurationSetRequest {
+ __type?: "DeleteConfigurationSetRequest";
+ /**
+ *
+ * The name of the configuration set that you want to delete.
+ *
+ */
+ ConfigurationSetName: string | undefined;
+}
+
+export namespace DeleteConfigurationSetRequest {
+ export function isa(o: any): o is DeleteConfigurationSetRequest {
+ return _smithy.isa(o, "DeleteConfigurationSetRequest");
+ }
+}
+
+/**
+ *
+ * An HTTP 200 response if the request succeeds, or an error message if the request
+ * fails.
+ *
+ */
+export interface DeleteConfigurationSetResponse extends $MetadataBearer {
+ __type?: "DeleteConfigurationSetResponse";
+}
+
+export namespace DeleteConfigurationSetResponse {
+ export function isa(o: any): o is DeleteConfigurationSetResponse {
+ return _smithy.isa(o, "DeleteConfigurationSetResponse");
+ }
+}
+
+/**
+ *
+ * A request to delete a dedicated IP pool.
+ *
+ */
+export interface DeleteDedicatedIpPoolRequest {
+ __type?: "DeleteDedicatedIpPoolRequest";
+ /**
+ *
+ * The name of the dedicated IP pool that you want to delete.
+ *
+ */
+ PoolName: string | undefined;
+}
+
+export namespace DeleteDedicatedIpPoolRequest {
+ export function isa(o: any): o is DeleteDedicatedIpPoolRequest {
+ return _smithy.isa(o, "DeleteDedicatedIpPoolRequest");
+ }
+}
+
+/**
+ *
+ * An HTTP 200 response if the request succeeds, or an error message if the request
+ * fails.
+ *
+ */
+export interface DeleteDedicatedIpPoolResponse extends $MetadataBearer {
+ __type?: "DeleteDedicatedIpPoolResponse";
+}
+
+export namespace DeleteDedicatedIpPoolResponse {
+ export function isa(o: any): o is DeleteDedicatedIpPoolResponse {
+ return _smithy.isa(o, "DeleteDedicatedIpPoolResponse");
+ }
+}
+
+/**
+ *
+ * A request to delete an existing email identity. When you delete an identity, you lose
+ * the ability to use Amazon Pinpoint to send email from that identity. You can restore your ability
+ * to send email by completing the verification process for the identity again.
+ *
+ */
+export interface DeleteEmailIdentityRequest {
+ __type?: "DeleteEmailIdentityRequest";
+ /**
+ *
+ * The identity (that is, the email address or domain) that you want to delete from your
+ * Amazon Pinpoint account.
+ *
+ */
+ EmailIdentity: string | undefined;
+}
+
+export namespace DeleteEmailIdentityRequest {
+ export function isa(o: any): o is DeleteEmailIdentityRequest {
+ return _smithy.isa(o, "DeleteEmailIdentityRequest");
+ }
+}
+
+/**
+ *
+ * An HTTP 200 response if the request succeeds, or an error message if the request
+ * fails.
+ *
+ */
+export interface DeleteEmailIdentityResponse extends $MetadataBearer {
+ __type?: "DeleteEmailIdentityResponse";
+}
+
+export namespace DeleteEmailIdentityResponse {
+ export function isa(o: any): o is DeleteEmailIdentityResponse {
+ return _smithy.isa(o, "DeleteEmailIdentityResponse");
+ }
+}
+
+export enum DeliverabilityDashboardAccountStatus {
+ ACTIVE = "ACTIVE",
+ DISABLED = "DISABLED",
+ PENDING_EXPIRATION = "PENDING_EXPIRATION"
+}
+
+/**
+ *
+ * An object that contains metadata related to a predictive inbox placement test.
+ *
+ */
+export interface DeliverabilityTestReport {
+ __type?: "DeliverabilityTestReport";
+ /**
+ *
+ * The date and time when the predictive inbox placement test was created, in Unix time format.
+ *
+ */
+ CreateDate?: Date;
+
+ /**
+ *
+ * The status of the predictive inbox placement test. If the status is IN_PROGRESS
, then the predictive inbox placement test
+ * is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the
+ * test. If the status is COMPLETE
, then the test is finished, and you can use
+ * the GetDeliverabilityTestReport
to view the results of the test.
+ *
+ */
+ DeliverabilityTestStatus?: DeliverabilityTestStatus | string;
+
+ /**
+ *
+ * The sender address that you specified for the predictive inbox placement test.
+ *
+ */
+ FromEmailAddress?: string;
+
+ /**
+ *
+ * A unique string that identifies the predictive inbox placement test.
+ *
+ */
+ ReportId?: string;
+
+ /**
+ *
+ * A name that helps you identify a predictive inbox placement test report.
+ *
+ */
+ ReportName?: string;
+
+ /**
+ *
+ * The subject line for an email that you submitted in a predictive inbox placement test.
+ *
+ */
+ Subject?: string;
+}
+
+export namespace DeliverabilityTestReport {
+ export function isa(o: any): o is DeliverabilityTestReport {
+ return _smithy.isa(o, "DeliverabilityTestReport");
+ }
+}
+
+export enum DeliverabilityTestStatus {
+ COMPLETED = "COMPLETED",
+ IN_PROGRESS = "IN_PROGRESS"
+}
+
+/**
+ *
+ * Used to associate a configuration set with a dedicated IP pool.
+ *
+ */
+export interface DeliveryOptions {
+ __type?: "DeliveryOptions";
+ /**
+ *
+ * The name of the dedicated IP pool that you want to associate with the configuration
+ * set.
+ *
+ */
+ SendingPoolName?: string;
+
+ /**
+ *
+ * Specifies whether messages that use the configuration set are required to use
+ * Transport Layer Security (TLS). If the value is Require
, messages are only
+ * delivered if a TLS connection can be established. If the value is Optional
,
+ * messages can be delivered in plain text if a TLS connection can't be established.
+ *
+ */
+ TlsPolicy?: TlsPolicy | string;
+}
+
+export namespace DeliveryOptions {
+ export function isa(o: any): o is DeliveryOptions {
+ return _smithy.isa(o, "DeliveryOptions");
+ }
+}
+
+/**
+ *
+ * An object that describes the recipients for an email.
+ *
+ */
+export interface Destination {
+ __type?: "Destination";
+ /**
+ *
+ * An array that contains the email addresses of the "BCC" (blind carbon copy) recipients
+ * for the email.
+ *
+ */
+ BccAddresses?: Array;
+
+ /**
+ *
+ * An array that contains the email addresses of the "CC" (carbon copy) recipients for
+ * the email.
+ *
+ */
+ CcAddresses?: Array;
+
+ /**
+ *
+ * An array that contains the email addresses of the "To" recipients for the
+ * email.
+ *
+ */
+ ToAddresses?: Array;
+}
+
+export namespace Destination {
+ export function isa(o: any): o is Destination {
+ return _smithy.isa(o, "Destination");
+ }
+}
+
+export enum DimensionValueSource {
+ EMAIL_HEADER = "EMAIL_HEADER",
+ LINK_TAG = "LINK_TAG",
+ MESSAGE_TAG = "MESSAGE_TAG"
+}
+
+/**
+ *
+ * An object that contains information about the DKIM configuration for an email
+ * identity.
+ *
+ */
+export interface DkimAttributes {
+ __type?: "DkimAttributes";
+ /**
+ *
+ * If the value is true
, then the messages that Amazon Pinpoint sends from the
+ * identity are DKIM-signed. If the value is false
, then the messages that
+ * Amazon Pinpoint sends from the identity aren't DKIM-signed.
+ *
+ */
+ SigningEnabled?: boolean;
+
+ /**
+ *
+ * Describes whether or not Amazon Pinpoint has successfully located the DKIM records in the DNS
+ * records for the domain. The status can be one of the following:
+ *
+ * -
+ *
+ * PENDING
– Amazon Pinpoint hasn't yet located the DKIM records in the
+ * DNS configuration for the domain, but will continue to attempt to locate
+ * them.
+ *
+ * -
+ *
+ * SUCCESS
– Amazon Pinpoint located the DKIM records in the DNS
+ * configuration for the domain and determined that they're correct. Amazon Pinpoint can now
+ * send DKIM-signed email from the identity.
+ *
+ * -
+ *
+ * FAILED
– Amazon Pinpoint was unable to locate the DKIM records in the
+ * DNS settings for the domain, and won't continue to search for them.
+ *
+ * -
+ *
+ * TEMPORARY_FAILURE
– A temporary issue occurred, which
+ * prevented Amazon Pinpoint from determining the DKIM status for the domain.
+ *
+ * -
+ *
+ * NOT_STARTED
– Amazon Pinpoint hasn't yet started searching for the
+ * DKIM records in the DKIM records for the domain.
+ *
+ *
+ *
+ */
+ Status?: DkimStatus | string;
+
+ /**
+ *
+ * A set of unique strings that you use to create a set of CNAME records that you add to
+ * the DNS configuration for your domain. When Amazon Pinpoint detects these records in the DNS
+ * configuration for your domain, the DKIM authentication process is complete. Amazon Pinpoint
+ * usually detects these records within about 72 hours of adding them to the DNS
+ * configuration for your domain.
+ *
+ */
+ Tokens?: Array;
+}
+
+export namespace DkimAttributes {
+ export function isa(o: any): o is DkimAttributes {
+ return _smithy.isa(o, "DkimAttributes");
+ }
+}
+
+export enum DkimStatus {
+ FAILED = "FAILED",
+ NOT_STARTED = "NOT_STARTED",
+ PENDING = "PENDING",
+ SUCCESS = "SUCCESS",
+ TEMPORARY_FAILURE = "TEMPORARY_FAILURE"
+}
+
+/**
+ *
+ * An object that contains the deliverability data for a specific campaign. This data is
+ * available for a campaign only if the campaign sent email by using a domain that the
+ * Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
+ * operation).
+ *
+ */
+export interface DomainDeliverabilityCampaign {
+ __type?: "DomainDeliverabilityCampaign";
+ /**
+ *
+ * The unique identifier for the campaign. Amazon Pinpoint automatically generates and assigns this
+ * identifier to a campaign. This value is not the same as the campaign identifier that
+ * Amazon Pinpoint assigns to campaigns that you create and manage by using the Amazon Pinpoint API or the
+ * Amazon Pinpoint console.
+ *
+ */
+ CampaignId?: string;
+
+ /**
+ *
+ * The percentage of email messages that were deleted by recipients, without being opened
+ * first. Due to technical limitations, this value only includes recipients who opened the
+ * message by using an email client that supports images.
+ *
+ */
+ DeleteRate?: number;
+
+ /**
+ *
+ * The major email providers who handled the email message.
+ *
+ */
+ Esps?: Array;
+
+ /**
+ *
+ * The first time, in Unix time format, when the email message was delivered to any
+ * recipient's inbox. This value can help you determine how long it took for a campaign to
+ * deliver an email message.
+ *
+ */
+ FirstSeenDateTime?: Date;
+
+ /**
+ *
+ * The verified email address that the email message was sent from.
+ *
+ */
+ FromAddress?: string;
+
+ /**
+ *
+ * The URL of an image that contains a snapshot of the email message that was
+ * sent.
+ *
+ */
+ ImageUrl?: string;
+
+ /**
+ *
+ * The number of email messages that were delivered to recipients’ inboxes.
+ *
+ */
+ InboxCount?: number;
+
+ /**
+ *
+ * The last time, in Unix time format, when the email message was delivered to any
+ * recipient's inbox. This value can help you determine how long it took for a campaign to
+ * deliver an email message.
+ *
+ */
+ LastSeenDateTime?: Date;
+
+ /**
+ *
+ * The projected number of recipients that the email message was sent to.
+ *
+ */
+ ProjectedVolume?: number;
+
+ /**
+ *
+ * The percentage of email messages that were opened and then deleted by recipients. Due
+ * to technical limitations, this value only includes recipients who opened the message by
+ * using an email client that supports images.
+ *
+ */
+ ReadDeleteRate?: number;
+
+ /**
+ *
+ * The percentage of email messages that were opened by recipients. Due to technical
+ * limitations, this value only includes recipients who opened the message by using an
+ * email client that supports images.
+ *
+ */
+ ReadRate?: number;
+
+ /**
+ *
+ * The IP addresses that were used to send the email message.
+ *
+ */
+ SendingIps?: Array;
+
+ /**
+ *
+ * The number of email messages that were delivered to recipients' spam or junk mail
+ * folders.
+ *
+ */
+ SpamCount?: number;
+
+ /**
+ *
+ * The subject line, or title, of the email message.
+ *
+ */
+ Subject?: string;
+}
+
+export namespace DomainDeliverabilityCampaign {
+ export function isa(o: any): o is DomainDeliverabilityCampaign {
+ return _smithy.isa(o, "DomainDeliverabilityCampaign");
+ }
+}
+
+/**
+ *
+ * An object that contains information about the Deliverability dashboard subscription for a
+ * verified domain that you use to send email and currently has an active Deliverability dashboard
+ * subscription. If a Deliverability dashboard subscription is active for a domain, you gain access
+ * to reputation, inbox placement, and other metrics for the domain.
+ *
+ */
+export interface DomainDeliverabilityTrackingOption {
+ __type?: "DomainDeliverabilityTrackingOption";
+ /**
+ *
+ * A verified domain that’s associated with your AWS account and currently has an
+ * active Deliverability dashboard subscription.
+ *
+ */
+ Domain?: string;
+
+ /**
+ *
+ * An object that contains information about the inbox placement data settings for the
+ * domain.
+ *
+ */
+ InboxPlacementTrackingOption?: InboxPlacementTrackingOption;
+
+ /**
+ *
+ * The date, in Unix time format, when you enabled the Deliverability dashboard for the
+ * domain.
+ *
+ */
+ SubscriptionStartDate?: Date;
+}
+
+export namespace DomainDeliverabilityTrackingOption {
+ export function isa(o: any): o is DomainDeliverabilityTrackingOption {
+ return _smithy.isa(o, "DomainDeliverabilityTrackingOption");
+ }
+}
+
+/**
+ *
+ * An object that contains inbox placement data for email sent from one of your email
+ * domains to a specific email provider.
+ *
+ */
+export interface DomainIspPlacement {
+ __type?: "DomainIspPlacement";
+ /**
+ *
+ * The percentage of messages that were sent from the selected domain to the specified
+ * email provider that arrived in recipients' inboxes.
+ *
+ */
+ InboxPercentage?: number;
+
+ /**
+ *
+ * The total number of messages that were sent from the selected domain to the specified
+ * email provider that arrived in recipients' inboxes.
+ *
+ */
+ InboxRawCount?: number;
+
+ /**
+ *
+ * The name of the email provider that the inbox placement data applies to.
+ *
+ */
+ IspName?: string;
+
+ /**
+ *
+ * The percentage of messages that were sent from the selected domain to the specified
+ * email provider that arrived in recipients' spam or junk mail folders.
+ *
+ */
+ SpamPercentage?: number;
+
+ /**
+ *
+ * The total number of messages that were sent from the selected domain to the specified
+ * email provider that arrived in recipients' spam or junk mail folders.
+ *
+ */
+ SpamRawCount?: number;
+}
+
+export namespace DomainIspPlacement {
+ export function isa(o: any): o is DomainIspPlacement {
+ return _smithy.isa(o, "DomainIspPlacement");
+ }
+}
+
+/**
+ *
+ * An object that defines the entire content of the email, including the message headers
+ * and the body content. You can create a simple email message, in which you specify the
+ * subject and the text and HTML versions of the message body. You can also create raw
+ * messages, in which you specify a complete MIME-formatted message. Raw messages can
+ * include attachments and custom headers.
+ *
+ */
+export interface EmailContent {
+ __type?: "EmailContent";
+ /**
+ *
+ * The raw email message. The message has to meet the following criteria:
+ *
+ * -
+ *
The message has to contain a header and a body, separated by one blank
+ * line.
+ *
+ * -
+ *
All of the required header fields must be present in the message.
+ *
+ * -
+ *
Each part of a multipart MIME message must be formatted properly.
+ *
+ * -
+ *
If you include attachments, they must be in a file format that Amazon Pinpoint supports.
+ *
+ *
+ * -
+ *
The entire message must be Base64 encoded.
+ *
+ * -
+ *
If any of the MIME parts in your message contain content that is outside of
+ * the 7-bit ASCII character range, you should encode that content to ensure that
+ * recipients' email clients render the message properly.
+ *
+ * -
+ *
The length of any single line of text in the message can't exceed 1,000
+ * characters. This restriction is defined in RFC 5321.
+ *
+ *
+ *
+ */
+ Raw?: RawMessage;
+
+ /**
+ *
+ * The simple email message. The message consists of a subject and a message body.
+ *
+ */
+ Simple?: Message;
+
+ /**
+ *
+ * The template to use for the email message.
+ *
+ */
+ Template?: Template;
+}
+
+export namespace EmailContent {
+ export function isa(o: any): o is EmailContent {
+ return _smithy.isa(o, "EmailContent");
+ }
+}
+
+/**
+ *
+ * In Amazon Pinpoint, events include message sends, deliveries, opens,
+ * clicks, bounces, and complaints. Event destinations are places that
+ * you can send information about these events to. For example, you can send event data to
+ * Amazon SNS to receive notifications when you receive bounces or complaints, or you can use
+ * Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
+ *
+ */
+export interface EventDestination {
+ __type?: "EventDestination";
+ /**
+ *
+ * An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to
+ * monitor and gain insights on your email sending metrics.
+ *
+ */
+ CloudWatchDestination?: CloudWatchDestination;
+
+ /**
+ *
+ * If true
, the event destination is enabled. When the event destination is
+ * enabled, the specified event types are sent to the destinations in this
+ * EventDestinationDefinition
.
+ * If false
, the event destination is disabled. When the event destination
+ * is disabled, events aren't sent to the specified destinations.
+ *
+ */
+ Enabled?: boolean;
+
+ /**
+ *
+ * An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to
+ * stream data to other services, such as Amazon S3 and Amazon Redshift.
+ *
+ */
+ KinesisFirehoseDestination?: KinesisFirehoseDestination;
+
+ /**
+ *
+ * The types of events that Amazon Pinpoint sends to the specified event destinations.
+ *
+ */
+ MatchingEventTypes: Array | undefined;
+
+ /**
+ *
+ * A name that identifies the event destination.
+ *
+ */
+ Name: string | undefined;
+
+ /**
+ *
+ * An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events
+ * to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments
+ * for your campaigns.
+ *
+ */
+ PinpointDestination?: PinpointDestination;
+
+ /**
+ *
+ * An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to
+ * send notification when certain email events occur.
+ *
+ */
+ SnsDestination?: SnsDestination;
+}
+
+export namespace EventDestination {
+ export function isa(o: any): o is EventDestination {
+ return _smithy.isa(o, "EventDestination");
+ }
+}
+
+/**
+ *
+ * An object that defines the event destination. Specifically, it defines which services
+ * receive events from emails sent using the configuration set that the event destination
+ * is associated with. Also defines the types of events that are sent to the event
+ * destination.
+ *
+ */
+export interface EventDestinationDefinition {
+ __type?: "EventDestinationDefinition";
+ /**
+ *
+ * An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to
+ * monitor and gain insights on your email sending metrics.
+ *
+ */
+ CloudWatchDestination?: CloudWatchDestination;
+
+ /**
+ *
+ * If true
, the event destination is enabled. When the event destination is
+ * enabled, the specified event types are sent to the destinations in this
+ * EventDestinationDefinition
.
+ * If false
, the event destination is disabled. When the event destination
+ * is disabled, events aren't sent to the specified destinations.
+ *
+ */
+ Enabled?: boolean;
+
+ /**
+ *
+ * An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to
+ * stream data to other services, such as Amazon S3 and Amazon Redshift.
+ *
+ */
+ KinesisFirehoseDestination?: KinesisFirehoseDestination;
+
+ /**
+ *
+ * An array that specifies which events Amazon Pinpoint should send to the destinations in this
+ * EventDestinationDefinition
.
+ *
+ */
+ MatchingEventTypes?: Array;
+
+ /**
+ *
+ * An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events
+ * to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments
+ * for your campaigns.
+ *
+ */
+ PinpointDestination?: PinpointDestination;
+
+ /**
+ *
+ * An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to
+ * send notification when certain email events occur.
+ *
+ */
+ SnsDestination?: SnsDestination;
+}
+
+export namespace EventDestinationDefinition {
+ export function isa(o: any): o is EventDestinationDefinition {
+ return _smithy.isa(o, "EventDestinationDefinition");
+ }
+}
+
+export enum EventType {
+ BOUNCE = "BOUNCE",
+ CLICK = "CLICK",
+ COMPLAINT = "COMPLAINT",
+ DELIVERY = "DELIVERY",
+ OPEN = "OPEN",
+ REJECT = "REJECT",
+ RENDERING_FAILURE = "RENDERING_FAILURE",
+ SEND = "SEND"
+}
+
+/**
+ *
+ * A request to obtain information about the email-sending capabilities of your Amazon Pinpoint
+ * account.
+ *
+ */
+export interface GetAccountRequest {
+ __type?: "GetAccountRequest";
+}
+
+export namespace GetAccountRequest {
+ export function isa(o: any): o is GetAccountRequest {
+ return _smithy.isa(o, "GetAccountRequest");
+ }
+}
+
+/**
+ *
+ * A list of details about the email-sending capabilities of your Amazon Pinpoint account in the
+ * current AWS Region.
+ *
+ */
+export interface GetAccountResponse extends $MetadataBearer {
+ __type?: "GetAccountResponse";
+ /**
+ *
+ * Indicates whether or not the automatic warm-up feature is enabled for dedicated IP
+ * addresses that are associated with your account.
+ *
+ */
+ DedicatedIpAutoWarmupEnabled?: boolean;
+
+ /**
+ *
+ * The reputation status of your Amazon Pinpoint account. The status can be one of the
+ * following:
+ *
+ * -
+ *
+ * HEALTHY
– There are no reputation-related issues that
+ * currently impact your account.
+ *
+ * -
+ *
+ * PROBATION
– We've identified some issues with your Amazon Pinpoint
+ * account. We're placing your account under review while you work on correcting
+ * these issues.
+ *
+ * -
+ *
+ * SHUTDOWN
– Your account's ability to send email is
+ * currently paused because of an issue with the email sent from your account. When
+ * you correct the issue, you can contact us and request that your account's
+ * ability to send email is resumed.
+ *
+ *
+ *
+ */
+ EnforcementStatus?: string;
+
+ /**
+ *
+ * Indicates whether or not your account has production access in the current AWS
+ * Region.
+ * If the value is false
, then your account is in the
+ * sandbox. When your account is in the sandbox, you can only send
+ * email to verified identities. Additionally, the maximum number of emails you can send in
+ * a 24-hour period (your sending quota) is 200, and the maximum number of emails you can
+ * send per second (your maximum sending rate) is 1.
+ * If the value is true
, then your account has production access. When your
+ * account has production access, you can send email to any address. The sending quota and
+ * maximum sending rate for your account vary based on your specific use case.
+ *
+ */
+ ProductionAccessEnabled?: boolean;
+
+ /**
+ *
+ * An object that contains information about the per-day and per-second sending limits
+ * for your Amazon Pinpoint account in the current AWS Region.
+ *
+ */
+ SendQuota?: SendQuota;
+
+ /**
+ *
+ * Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the
+ * current AWS Region.
+ *
+ */
+ SendingEnabled?: boolean;
+}
+
+export namespace GetAccountResponse {
+ export function isa(o: any): o is GetAccountResponse {
+ return _smithy.isa(o, "GetAccountResponse");
+ }
+}
+
+/**
+ *
+ * A request to retrieve a list of the blacklists that your dedicated IP addresses appear
+ * on.
+ *
+ */
+export interface GetBlacklistReportsRequest {
+ __type?: "GetBlacklistReportsRequest";
+ /**
+ *
+ * A list of IP addresses that you want to retrieve blacklist information about. You can
+ * only specify the dedicated IP addresses that you use to send email using Amazon Pinpoint or
+ * Amazon SES.
+ *
+ */
+ BlacklistItemNames: Array | undefined;
+}
+
+export namespace GetBlacklistReportsRequest {
+ export function isa(o: any): o is GetBlacklistReportsRequest {
+ return _smithy.isa(o, "GetBlacklistReportsRequest");
+ }
+}
+
+/**
+ *
+ * An object that contains information about blacklist events.
+ *
+ */
+export interface GetBlacklistReportsResponse extends $MetadataBearer {
+ __type?: "GetBlacklistReportsResponse";
+ /**
+ *
+ * An object that contains information about a blacklist that one of your dedicated IP
+ * addresses appears on.
+ *
+ */
+ BlacklistReport: { [key: string]: Array } | undefined;
+}
+
+export namespace GetBlacklistReportsResponse {
+ export function isa(o: any): o is GetBlacklistReportsResponse {
+ return _smithy.isa(o, "GetBlacklistReportsResponse");
+ }
+}
+
+/**
+ *
+ * A request to obtain information about the event destinations for a configuration
+ * set.
+ *
+ */
+export interface GetConfigurationSetEventDestinationsRequest {
+ __type?: "GetConfigurationSetEventDestinationsRequest";
+ /**
+ *
+ * The name of the configuration set that contains the event destination.
+ *
+ */
+ ConfigurationSetName: string | undefined;
+}
+
+export namespace GetConfigurationSetEventDestinationsRequest {
+ export function isa(
+ o: any
+ ): o is GetConfigurationSetEventDestinationsRequest {
+ return _smithy.isa(o, "GetConfigurationSetEventDestinationsRequest");
+ }
+}
+
+/**
+ *
+ * Information about an event destination for a configuration set.
+ *
+ */
+export interface GetConfigurationSetEventDestinationsResponse
+ extends $MetadataBearer {
+ __type?: "GetConfigurationSetEventDestinationsResponse";
+ /**
+ *
+ * An array that includes all of the events destinations that have been configured for
+ * the configuration set.
+ *
+ */
+ EventDestinations?: Array;
+}
+
+export namespace GetConfigurationSetEventDestinationsResponse {
+ export function isa(
+ o: any
+ ): o is GetConfigurationSetEventDestinationsResponse {
+ return _smithy.isa(o, "GetConfigurationSetEventDestinationsResponse");
+ }
+}
+
+/**
+ *
+ * A request to obtain information about a configuration set.
+ *
+ */
+export interface GetConfigurationSetRequest {
+ __type?: "GetConfigurationSetRequest";
+ /**
+ *
+ * The name of the configuration set that you want to obtain more information
+ * about.
+ *
+ */
+ ConfigurationSetName: string | undefined;
+}
+
+export namespace GetConfigurationSetRequest {
+ export function isa(o: any): o is GetConfigurationSetRequest {
+ return _smithy.isa(o, "GetConfigurationSetRequest");
+ }
+}
+
+/**
+ *
+ * Information about a configuration set.
+ *
+ */
+export interface GetConfigurationSetResponse extends $MetadataBearer {
+ __type?: "GetConfigurationSetResponse";
+ /**
+ *
+ * The name of the configuration set.
+ *
+ */
+ ConfigurationSetName?: string;
+
+ /**
+ *
+ * An object that defines the dedicated IP pool that is used to send emails that you send
+ * using the configuration set.
+ *
+ */
+ DeliveryOptions?: DeliveryOptions;
+
+ /**
+ *
+ * An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails
+ * that you send that use the configuration set.
+ *
+ */
+ ReputationOptions?: ReputationOptions;
+
+ /**
+ *
+ * An object that defines whether or not Amazon Pinpoint can send email that you send using the
+ * configuration set.
+ *
+ */
+ SendingOptions?: SendingOptions;
+
+ /**
+ *
+ * An array of objects that define the tags (keys and values) that are associated with
+ * the configuration set.
+ *
+ */
+ Tags?: Array;
+
+ /**
+ *
+ * An object that defines the open and click tracking options for emails that you send
+ * using the configuration set.
+ *
+ */
+ TrackingOptions?: TrackingOptions;
+}
+
+export namespace GetConfigurationSetResponse {
+ export function isa(o: any): o is GetConfigurationSetResponse {
+ return _smithy.isa(o, "GetConfigurationSetResponse");
+ }
+}
+
+/**
+ *
+ * A request to obtain more information about a dedicated IP address.
+ *
+ */
+export interface GetDedicatedIpRequest {
+ __type?: "GetDedicatedIpRequest";
+ /**
+ *
+ * The IP address that you want to obtain more information about. The value you specify
+ * has to be a dedicated IP address that's assocaited with your Amazon Pinpoint account.
+ *
+ */
+ Ip: string | undefined;
+}
+
+export namespace GetDedicatedIpRequest {
+ export function isa(o: any): o is GetDedicatedIpRequest {
+ return _smithy.isa(o, "GetDedicatedIpRequest");
+ }
+}
+
+/**
+ *
+ * Information about a dedicated IP address.
+ *
+ */
+export interface GetDedicatedIpResponse extends $MetadataBearer {
+ __type?: "GetDedicatedIpResponse";
+ /**
+ *
+ * An object that contains information about a dedicated IP address.
+ *
+ */
+ DedicatedIp?: DedicatedIp;
+}
+
+export namespace GetDedicatedIpResponse {
+ export function isa(o: any): o is GetDedicatedIpResponse {
+ return _smithy.isa(o, "GetDedicatedIpResponse");
+ }
+}
+
+/**
+ *
+ * A request to obtain more information about dedicated IP pools.
+ *
+ */
+export interface GetDedicatedIpsRequest {
+ __type?: "GetDedicatedIpsRequest";
+ /**
+ *
+ * A token returned from a previous call to GetDedicatedIps
to indicate the
+ * position of the dedicated IP pool in the list of IP pools.
+ *
+ */
+ NextToken?: string;
+
+ /**
+ *
+ * The number of results to show in a single call to GetDedicatedIpsRequest
.
+ * If the number of results is larger than the number you specified in this parameter, then
+ * the response includes a NextToken
element, which you can use to obtain
+ * additional results.
+ *
+ */
+ PageSize?: number;
+
+ /**
+ *
+ * The name of the IP pool that the dedicated IP address is associated with.
+ *
+ */
+ PoolName?: string;
+}
+
+export namespace GetDedicatedIpsRequest {
+ export function isa(o: any): o is GetDedicatedIpsRequest {
+ return _smithy.isa(o, "GetDedicatedIpsRequest");
+ }
+}
+
+/**
+ *
+ * Information about the dedicated IP addresses that are associated with your Amazon Pinpoint
+ * account.
+ *
+ */
+export interface GetDedicatedIpsResponse extends $MetadataBearer {
+ __type?: "GetDedicatedIpsResponse";
+ /**
+ *
+ * A list of dedicated IP addresses that are reserved for use by your Amazon Pinpoint
+ * account.
+ *
+ */
+ DedicatedIps?: Array;
+
+ /**
+ *
+ * A token that indicates that there are additional dedicated IP addresses to list. To
+ * view additional addresses, issue another request to GetDedicatedIps
,
+ * passing this token in the NextToken
parameter.
+ *
+ */
+ NextToken?: string;
+}
+
+export namespace GetDedicatedIpsResponse {
+ export function isa(o: any): o is GetDedicatedIpsResponse {
+ return _smithy.isa(o, "GetDedicatedIpsResponse");
+ }
+}
+
+/**
+ *
+ * Retrieve information about the status of the Deliverability dashboard for your Amazon Pinpoint account.
+ * When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and
+ * other metrics for the domains that you use to send email using Amazon Pinpoint. You also gain the
+ * ability to perform predictive inbox placement tests.
+ * When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition
+ * to any other fees that you accrue by using Amazon Pinpoint. For more information about the
+ * features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
+ *
+ */
+export interface GetDeliverabilityDashboardOptionsRequest {
+ __type?: "GetDeliverabilityDashboardOptionsRequest";
+}
+
+export namespace GetDeliverabilityDashboardOptionsRequest {
+ export function isa(o: any): o is GetDeliverabilityDashboardOptionsRequest {
+ return _smithy.isa(o, "GetDeliverabilityDashboardOptionsRequest");
+ }
+}
+
+/**
+ *
+ * An object that shows the status of the Deliverability dashboard for your Amazon Pinpoint account.
+ *
+ */
+export interface GetDeliverabilityDashboardOptionsResponse
+ extends $MetadataBearer {
+ __type?: "GetDeliverabilityDashboardOptionsResponse";
+ /**
+ *
+ * The current status of your Deliverability dashboard subscription. If this value is
+ * PENDING_EXPIRATION
, your subscription is scheduled to expire at the end
+ * of the current calendar month.
+ *
+ */
+ AccountStatus?: DeliverabilityDashboardAccountStatus | string;
+
+ /**
+ *
+ * An array of objects, one for each verified domain that you use to send email and
+ * currently has an active Deliverability dashboard subscription that isn’t scheduled to expire at
+ * the end of the current calendar month.
+ *
+ */
+ ActiveSubscribedDomains?: Array;
+
+ /**
+ *
+ * Specifies whether the Deliverability dashboard is enabled for your Amazon Pinpoint account. If this value
+ * is true
, the dashboard is enabled.
+ *
+ */
+ DashboardEnabled: boolean | undefined;
+
+ /**
+ *
+ * An array of objects, one for each verified domain that you use to send email and
+ * currently has an active Deliverability dashboard subscription that's scheduled to expire at the
+ * end of the current calendar month.
+ *
+ */
+ PendingExpirationSubscribedDomains?: Array<
+ DomainDeliverabilityTrackingOption
+ >;
+
+ /**
+ *
+ * The date, in Unix time format, when your current subscription to the Deliverability dashboard
+ * is scheduled to expire, if your subscription is scheduled to expire at the end of the
+ * current calendar month. This value is null if you have an active subscription that isn’t
+ * due to expire at the end of the month.
+ *
+ */
+ SubscriptionExpiryDate?: Date;
+}
+
+export namespace GetDeliverabilityDashboardOptionsResponse {
+ export function isa(o: any): o is GetDeliverabilityDashboardOptionsResponse {
+ return _smithy.isa(o, "GetDeliverabilityDashboardOptionsResponse");
+ }
+}
+
+/**
+ *
+ * A request to retrieve the results of a predictive inbox placement test.
+ *
+ */
+export interface GetDeliverabilityTestReportRequest {
+ __type?: "GetDeliverabilityTestReportRequest";
+ /**
+ *
+ * A unique string that identifies the predictive inbox placement test.
+ *
+ */
+ ReportId: string | undefined;
+}
+
+export namespace GetDeliverabilityTestReportRequest {
+ export function isa(o: any): o is GetDeliverabilityTestReportRequest {
+ return _smithy.isa(o, "GetDeliverabilityTestReportRequest");
+ }
+}
+
+/**
+ *
+ * The results of the predictive inbox placement test.
+ *
+ */
+export interface GetDeliverabilityTestReportResponse extends $MetadataBearer {
+ __type?: "GetDeliverabilityTestReportResponse";
+ /**
+ *
+ * An object that contains the results of the predictive inbox placement test.
+ *
+ */
+ DeliverabilityTestReport: DeliverabilityTestReport | undefined;
+
+ /**
+ *
+ * An object that describes how the test email was handled by several email providers,
+ * including Gmail, Hotmail, Yahoo, AOL, and others.
+ *
+ */
+ IspPlacements: Array | undefined;
+
+ /**
+ *
+ * An object that contains the message that you sent when you performed this
+ * predictive inbox placement test.
+ *
+ */
+ Message?: string;
+
+ /**
+ *
+ * An object that specifies how many test messages that were sent during the predictive inbox placement test were
+ * delivered to recipients' inboxes, how many were sent to recipients' spam folders, and
+ * how many weren't delivered.
+ *
+ */
+ OverallPlacement: PlacementStatistics | undefined;
+
+ /**
+ *
+ * An array of objects that define the tags (keys and values) that are associated with
+ * the predictive inbox placement test.
+ *
+ */
+ Tags?: Array;
+}
+
+export namespace GetDeliverabilityTestReportResponse {
+ export function isa(o: any): o is GetDeliverabilityTestReportResponse {
+ return _smithy.isa(o, "GetDeliverabilityTestReportResponse");
+ }
+}
+
+/**
+ *
+ * Retrieve all the deliverability data for a specific campaign. This data is available
+ * for a campaign only if the campaign sent email by using a domain that the
+ * Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
+ * operation).
+ *
+ */
+export interface GetDomainDeliverabilityCampaignRequest {
+ __type?: "GetDomainDeliverabilityCampaignRequest";
+ /**
+ *
+ * The unique identifier for the campaign. Amazon Pinpoint automatically generates and assigns this
+ * identifier to a campaign. This value is not the same as the campaign identifier that
+ * Amazon Pinpoint assigns to campaigns that you create and manage by using the Amazon Pinpoint API or the
+ * Amazon Pinpoint console.
+ *
+ */
+ CampaignId: string | undefined;
+}
+
+export namespace GetDomainDeliverabilityCampaignRequest {
+ export function isa(o: any): o is GetDomainDeliverabilityCampaignRequest {
+ return _smithy.isa(o, "GetDomainDeliverabilityCampaignRequest");
+ }
+}
+
+/**
+ *
+ * An object that contains all the deliverability data for a specific campaign. This data
+ * is available for a campaign only if the campaign sent email by using a domain that the
+ * Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
+ * operation).
+ *
+ */
+export interface GetDomainDeliverabilityCampaignResponse
+ extends $MetadataBearer {
+ __type?: "GetDomainDeliverabilityCampaignResponse";
+ /**
+ *
+ * An object that contains the deliverability data for the campaign.
+ *
+ */
+ DomainDeliverabilityCampaign: DomainDeliverabilityCampaign | undefined;
+}
+
+export namespace GetDomainDeliverabilityCampaignResponse {
+ export function isa(o: any): o is GetDomainDeliverabilityCampaignResponse {
+ return _smithy.isa(o, "GetDomainDeliverabilityCampaignResponse");
+ }
+}
+
+/**
+ *
+ * A request to obtain deliverability metrics for a domain.
+ *
+ */
+export interface GetDomainStatisticsReportRequest {
+ __type?: "GetDomainStatisticsReportRequest";
+ /**
+ *
+ * The domain that you want to obtain deliverability metrics for.
+ *
+ */
+ Domain: string | undefined;
+
+ /**
+ *
+ * The last day (in Unix time) that you want to obtain domain deliverability metrics for.
+ * The EndDate
that you specify has to be less than or equal to 30 days after
+ * the StartDate
.
+ *
+ */
+ EndDate: Date | undefined;
+
+ /**
+ *
+ * The first day (in Unix time) that you want to obtain domain deliverability metrics
+ * for.
+ *
+ */
+ StartDate: Date | undefined;
+}
+
+export namespace GetDomainStatisticsReportRequest {
+ export function isa(o: any): o is GetDomainStatisticsReportRequest {
+ return _smithy.isa(o, "GetDomainStatisticsReportRequest");
+ }
+}
+
+/**
+ *
+ * An object that includes statistics that are related to the domain that you
+ * specified.
+ *
+ */
+export interface GetDomainStatisticsReportResponse extends $MetadataBearer {
+ __type?: "GetDomainStatisticsReportResponse";
+ /**
+ *
+ * An object that contains deliverability metrics for the domain that you specified. This
+ * object contains data for each day, starting on the StartDate
and ending on
+ * the EndDate
.
+ *
+ */
+ DailyVolumes: Array | undefined;
+
+ /**
+ *
+ * An object that contains deliverability metrics for the domain that you specified. The
+ * data in this object is a summary of all of the data that was collected from the
+ * StartDate
to the EndDate
.
+ *
+ */
+ OverallVolume: OverallVolume | undefined;
+}
+
+export namespace GetDomainStatisticsReportResponse {
+ export function isa(o: any): o is GetDomainStatisticsReportResponse {
+ return _smithy.isa(o, "GetDomainStatisticsReportResponse");
+ }
+}
+
+/**
+ *
+ * A request to return details about an email identity.
+ *
+ */
+export interface GetEmailIdentityRequest {
+ __type?: "GetEmailIdentityRequest";
+ /**
+ *
+ * The email identity that you want to retrieve details for.
+ *
+ */
+ EmailIdentity: string | undefined;
+}
+
+export namespace GetEmailIdentityRequest {
+ export function isa(o: any): o is GetEmailIdentityRequest {
+ return _smithy.isa(o, "GetEmailIdentityRequest");
+ }
+}
+
+/**
+ *
+ * Details about an email identity.
+ *
+ */
+export interface GetEmailIdentityResponse extends $MetadataBearer {
+ __type?: "GetEmailIdentityResponse";
+ /**
+ *
+ * An object that contains information about the DKIM attributes for the identity. This
+ * object includes the tokens that you use to create the CNAME records that are required to
+ * complete the DKIM verification process.
+ *
+ */
+ DkimAttributes?: DkimAttributes;
+
+ /**
+ *
+ * The feedback forwarding configuration for the identity.
+ * If the value is true
, Amazon Pinpoint sends you email notifications when bounce or
+ * complaint events occur. Amazon Pinpoint sends this notification to the address that you specified
+ * in the Return-Path header of the original email.
+ * When you set this value to false
, Amazon Pinpoint sends notifications through other
+ * mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're
+ * required to have a method of tracking bounces and complaints. If you haven't set up
+ * another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email
+ * notification when these events occur (even if this setting is disabled).
+ *
+ */
+ FeedbackForwardingStatus?: boolean;
+
+ /**
+ *
+ * The email identity type.
+ *
+ */
+ IdentityType?: IdentityType | string;
+
+ /**
+ *
+ * An object that contains information about the Mail-From attributes for the email
+ * identity.
+ *
+ */
+ MailFromAttributes?: MailFromAttributes;
+
+ /**
+ *
+ * An array of objects that define the tags (keys and values) that are associated with
+ * the email identity.
+ *
+ */
+ Tags?: Array;
+
+ /**
+ *
+ * Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email
+ * from verified email addresses or domains. For more information about verifying
+ * identities, see the Amazon Pinpoint User Guide.
+ *
+ */
+ VerifiedForSendingStatus?: boolean;
+}
+
+export namespace GetEmailIdentityResponse {
+ export function isa(o: any): o is GetEmailIdentityResponse {
+ return _smithy.isa(o, "GetEmailIdentityResponse");
+ }
+}
+
+/**
+ *
+ * Information about an email identity.
+ *
+ */
+export interface IdentityInfo {
+ __type?: "IdentityInfo";
+ /**
+ *
+ * The address or domain of the identity.
+ *
+ */
+ IdentityName?: string;
+
+ /**
+ *
+ * The email identity type. The identity type can be one of the following:
+ *
+ * -
+ *
+ * EMAIL_ADDRESS
– The identity is an email address.
+ *
+ * -
+ *
+ * DOMAIN
– The identity is a domain.
+ *
+ * -
+ *
+ * MANAGED_DOMAIN
– The identity is a domain that is managed
+ * by AWS.
+ *
+ *
+ *
+ */
+ IdentityType?: IdentityType | string;
+
+ /**
+ *
+ * Indicates whether or not you can send email from the identity.
+ * In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before
+ * you can send email from an identity, you have to demostrate that you own the identity,
+ * and that you authorize Amazon Pinpoint to send email from that identity.
+ *
+ */
+ SendingEnabled?: boolean;
+}
+
+export namespace IdentityInfo {
+ export function isa(o: any): o is IdentityInfo {
+ return _smithy.isa(o, "IdentityInfo");
+ }
+}
+
+export enum IdentityType {
+ DOMAIN = "DOMAIN",
+ EMAIL_ADDRESS = "EMAIL_ADDRESS",
+ MANAGED_DOMAIN = "MANAGED_DOMAIN"
+}
+
+/**
+ *
+ * An object that contains information about the inbox placement data settings for a
+ * verified domain that’s associated with your AWS account. This data is available only
+ * if you enabled the Deliverability dashboard for the domain
+ * (PutDeliverabilityDashboardOption
operation).
+ *
+ */
+export interface InboxPlacementTrackingOption {
+ __type?: "InboxPlacementTrackingOption";
+ /**
+ *
+ * Specifies whether inbox placement data is being tracked for the domain.
+ *
+ */
+ Global?: boolean;
+
+ /**
+ *
+ * An array of strings, one for each major email provider that the inbox placement data
+ * applies to.
+ *
+ */
+ TrackedIsps?: Array;
+}
+
+export namespace InboxPlacementTrackingOption {
+ export function isa(o: any): o is InboxPlacementTrackingOption {
+ return _smithy.isa(o, "InboxPlacementTrackingOption");
+ }
+}
+
+/**
+ *
+ * An object that describes how email sent during the predictive inbox placement test was handled by a certain
+ * email provider.
+ *
+ */
+export interface IspPlacement {
+ __type?: "IspPlacement";
+ /**
+ *
+ * The name of the email provider that the inbox placement data applies to.
+ *
+ */
+ IspName?: string;
+
+ /**
+ *
+ * An object that contains inbox placement metrics for a specific email provider.
+ *
+ */
+ PlacementStatistics?: PlacementStatistics;
+}
+
+export namespace IspPlacement {
+ export function isa(o: any): o is IspPlacement {
+ return _smithy.isa(o, "IspPlacement");
+ }
+}
+
+/**
+ *
+ * An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to
+ * stream data to other services, such as Amazon S3 and Amazon Redshift.
+ *
+ */
+export interface KinesisFirehoseDestination {
+ __type?: "KinesisFirehoseDestination";
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that Amazon Pinpoint sends email events
+ * to.
+ *
+ */
+ DeliveryStreamArn: string | undefined;
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the IAM role that Amazon Pinpoint uses when sending email
+ * events to the Amazon Kinesis Data Firehose stream.
+ *
+ */
+ IamRoleArn: string | undefined;
+}
+
+export namespace KinesisFirehoseDestination {
+ export function isa(o: any): o is KinesisFirehoseDestination {
+ return _smithy.isa(o, "KinesisFirehoseDestination");
+ }
+}
+
+/**
+ *
+ * There are too many instances of the specified resource type.
+ *
+ */
+export interface LimitExceededException
+ extends _smithy.SmithyException,
+ $MetadataBearer {
+ __type: "LimitExceededException";
+ $fault: "client";
+ message?: string;
+}
+
+export namespace LimitExceededException {
+ export function isa(o: any): o is LimitExceededException {
+ return _smithy.isa(o, "LimitExceededException");
+ }
+}
+
+/**
+ *
+ * A request to obtain a list of configuration sets for your Amazon Pinpoint account in the current
+ * AWS Region.
+ *
+ */
+export interface ListConfigurationSetsRequest {
+ __type?: "ListConfigurationSetsRequest";
+ /**
+ *
+ * A token returned from a previous call to ListConfigurationSets
to
+ * indicate the position in the list of configuration sets.
+ *
+ */
+ NextToken?: string;
+
+ /**
+ *
+ * The number of results to show in a single call to ListConfigurationSets
.
+ * If the number of results is larger than the number you specified in this parameter, then
+ * the response includes a NextToken
element, which you can use to obtain
+ * additional results.
+ *
+ */
+ PageSize?: number;
+}
+
+export namespace ListConfigurationSetsRequest {
+ export function isa(o: any): o is ListConfigurationSetsRequest {
+ return _smithy.isa(o, "ListConfigurationSetsRequest");
+ }
+}
+
+/**
+ *
+ * A list of configuration sets in your Amazon Pinpoint account in the current AWS Region.
+ *
+ */
+export interface ListConfigurationSetsResponse extends $MetadataBearer {
+ __type?: "ListConfigurationSetsResponse";
+ /**
+ *
+ * An array that contains all of the configuration sets in your Amazon Pinpoint account in the
+ * current AWS Region.
+ *
+ */
+ ConfigurationSets?: Array;
+
+ /**
+ *
+ * A token that indicates that there are additional configuration sets to list. To view
+ * additional configuration sets, issue another request to
+ * ListConfigurationSets
, and pass this token in the
+ * NextToken
parameter.
+ *
+ */
+ NextToken?: string;
+}
+
+export namespace ListConfigurationSetsResponse {
+ export function isa(o: any): o is ListConfigurationSetsResponse {
+ return _smithy.isa(o, "ListConfigurationSetsResponse");
+ }
+}
+
+/**
+ *
+ * A request to obtain a list of dedicated IP pools.
+ *
+ */
+export interface ListDedicatedIpPoolsRequest {
+ __type?: "ListDedicatedIpPoolsRequest";
+ /**
+ *
+ * A token returned from a previous call to ListDedicatedIpPools
to indicate
+ * the position in the list of dedicated IP pools.
+ *
+ */
+ NextToken?: string;
+
+ /**
+ *
+ * The number of results to show in a single call to ListDedicatedIpPools
.
+ * If the number of results is larger than the number you specified in this parameter, then
+ * the response includes a NextToken
element, which you can use to obtain
+ * additional results.
+ *
+ */
+ PageSize?: number;
+}
+
+export namespace ListDedicatedIpPoolsRequest {
+ export function isa(o: any): o is ListDedicatedIpPoolsRequest {
+ return _smithy.isa(o, "ListDedicatedIpPoolsRequest");
+ }
+}
+
+/**
+ *
+ * A list of dedicated IP pools.
+ *
+ */
+export interface ListDedicatedIpPoolsResponse extends $MetadataBearer {
+ __type?: "ListDedicatedIpPoolsResponse";
+ /**
+ *
+ * A list of all of the dedicated IP pools that are associated with your Amazon Pinpoint
+ * account.
+ *
+ */
+ DedicatedIpPools?: Array;
+
+ /**
+ *
+ * A token that indicates that there are additional IP pools to list. To view additional
+ * IP pools, issue another request to ListDedicatedIpPools
, passing this token
+ * in the NextToken
parameter.
+ *
+ */
+ NextToken?: string;
+}
+
+export namespace ListDedicatedIpPoolsResponse {
+ export function isa(o: any): o is ListDedicatedIpPoolsResponse {
+ return _smithy.isa(o, "ListDedicatedIpPoolsResponse");
+ }
+}
+
+/**
+ *
+ * A request to list all of the predictive inbox placement tests that you've performed.
+ *
+ */
+export interface ListDeliverabilityTestReportsRequest {
+ __type?: "ListDeliverabilityTestReportsRequest";
+ /**
+ *
+ * A token returned from a previous call to ListDeliverabilityTestReports
to
+ * indicate the position in the list of predictive inbox placement tests.
+ *
+ */
+ NextToken?: string;
+
+ /**
+ *
+ * The number of results to show in a single call to
+ * ListDeliverabilityTestReports
. If the number of results is larger than
+ * the number you specified in this parameter, then the response includes a
+ * NextToken
element, which you can use to obtain additional
+ * results.
+ * The value you specify has to be at least 0, and can be no more than 1000.
+ *
+ */
+ PageSize?: number;
+}
+
+export namespace ListDeliverabilityTestReportsRequest {
+ export function isa(o: any): o is ListDeliverabilityTestReportsRequest {
+ return _smithy.isa(o, "ListDeliverabilityTestReportsRequest");
+ }
+}
+
+/**
+ *
+ * A list of the predictive inbox placement test reports that are available for your account, regardless of
+ * whether or not those tests are complete.
+ *
+ */
+export interface ListDeliverabilityTestReportsResponse extends $MetadataBearer {
+ __type?: "ListDeliverabilityTestReportsResponse";
+ /**
+ *
+ * An object that contains a lists of predictive inbox placement tests that you've performed.
+ *
+ */
+ DeliverabilityTestReports: Array | undefined;
+
+ /**
+ *
+ * A token that indicates that there are additional predictive inbox placement tests to list. To view additional
+ * predictive inbox placement tests, issue another request to ListDeliverabilityTestReports
, and pass
+ * this token in the NextToken
parameter.
+ *
+ */
+ NextToken?: string;
+}
+
+export namespace ListDeliverabilityTestReportsResponse {
+ export function isa(o: any): o is ListDeliverabilityTestReportsResponse {
+ return _smithy.isa(o, "ListDeliverabilityTestReportsResponse");
+ }
+}
+
+/**
+ *
+ * Retrieve deliverability data for all the campaigns that used a specific domain to send
+ * email during a specified time range. This data is available for a domain only if you
+ * enabled the Deliverability dashboard (PutDeliverabilityDashboardOption
operation)
+ * for the domain.
+ *
+ */
+export interface ListDomainDeliverabilityCampaignsRequest {
+ __type?: "ListDomainDeliverabilityCampaignsRequest";
+ /**
+ *
+ * The last day, in Unix time format, that you want to obtain deliverability data for.
+ * This value has to be less than or equal to 30 days after the value of the
+ * StartDate
parameter.
+ *
+ */
+ EndDate: Date | undefined;
+
+ /**
+ *
+ * A token that’s returned from a previous call to the
+ * ListDomainDeliverabilityCampaigns
operation. This token indicates the
+ * position of a campaign in the list of campaigns.
+ *
+ */
+ NextToken?: string;
+
+ /**
+ *
+ * The maximum number of results to include in response to a single call to the
+ * ListDomainDeliverabilityCampaigns
operation. If the number of results
+ * is larger than the number that you specify in this parameter, the response includes a
+ * NextToken
element, which you can use to obtain additional
+ * results.
+ *
+ */
+ PageSize?: number;
+
+ /**
+ *
+ * The first day, in Unix time format, that you want to obtain deliverability data
+ * for.
+ *
+ */
+ StartDate: Date | undefined;
+
+ /**
+ *
+ * The domain to obtain deliverability data for.
+ *
+ */
+ SubscribedDomain: string | undefined;
+}
+
+export namespace ListDomainDeliverabilityCampaignsRequest {
+ export function isa(o: any): o is ListDomainDeliverabilityCampaignsRequest {
+ return _smithy.isa(o, "ListDomainDeliverabilityCampaignsRequest");
+ }
+}
+
+/**
+ *
+ * An array of objects that provide deliverability data for all the campaigns that used a
+ * specific domain to send email during a specified time range. This data is available for
+ * a domain only if you enabled the Deliverability dashboard
+ * (PutDeliverabilityDashboardOption
operation) for the domain.
+ *
+ */
+export interface ListDomainDeliverabilityCampaignsResponse
+ extends $MetadataBearer {
+ __type?: "ListDomainDeliverabilityCampaignsResponse";
+ /**
+ *
+ * An array of responses, one for each campaign that used the domain to send email during
+ * the specified time range.
+ *
+ */
+ DomainDeliverabilityCampaigns:
+ | Array
+ | undefined;
+
+ /**
+ *
+ * A token that’s returned from a previous call to the
+ * ListDomainDeliverabilityCampaigns
operation. This token indicates the
+ * position of the campaign in the list of campaigns.
+ *
+ */
+ NextToken?: string;
+}
+
+export namespace ListDomainDeliverabilityCampaignsResponse {
+ export function isa(o: any): o is ListDomainDeliverabilityCampaignsResponse {
+ return _smithy.isa(o, "ListDomainDeliverabilityCampaignsResponse");
+ }
+}
+
+/**
+ *
+ * A request to list all of the email identities associated with your Amazon Pinpoint account. This
+ * list includes identities that you've already verified, identities that are unverified,
+ * and identities that were verified in the past, but are no longer verified.
+ *
+ */
+export interface ListEmailIdentitiesRequest {
+ __type?: "ListEmailIdentitiesRequest";
+ /**
+ *
+ * A token returned from a previous call to ListEmailIdentities
to indicate
+ * the position in the list of identities.
+ *
+ */
+ NextToken?: string;
+
+ /**
+ *
+ * The number of results to show in a single call to ListEmailIdentities
. If
+ * the number of results is larger than the number you specified in this parameter, then
+ * the response includes a NextToken
element, which you can use to obtain
+ * additional results.
+ * The value you specify has to be at least 0, and can be no more than 1000.
+ *
+ */
+ PageSize?: number;
+}
+
+export namespace ListEmailIdentitiesRequest {
+ export function isa(o: any): o is ListEmailIdentitiesRequest {
+ return _smithy.isa(o, "ListEmailIdentitiesRequest");
+ }
+}
+
+/**
+ *
+ * A list of all of the identities that you've attempted to verify for use with Amazon Pinpoint,
+ * regardless of whether or not those identities were successfully verified.
+ *
+ */
+export interface ListEmailIdentitiesResponse extends $MetadataBearer {
+ __type?: "ListEmailIdentitiesResponse";
+ /**
+ *
+ * An array that includes all of the identities associated with your Amazon Pinpoint
+ * account.
+ *
+ */
+ EmailIdentities?: Array;
+
+ /**
+ *
+ * A token that indicates that there are additional configuration sets to list. To view
+ * additional configuration sets, issue another request to
+ * ListEmailIdentities
, and pass this token in the NextToken
+ * parameter.
+ *
+ */
+ NextToken?: string;
+}
+
+export namespace ListEmailIdentitiesResponse {
+ export function isa(o: any): o is ListEmailIdentitiesResponse {
+ return _smithy.isa(o, "ListEmailIdentitiesResponse");
+ }
+}
+
+export interface ListTagsForResourceRequest {
+ __type?: "ListTagsForResourceRequest";
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the resource that you want to retrieve tag
+ * information for.
+ *
+ */
+ ResourceArn: string | undefined;
+}
+
+export namespace ListTagsForResourceRequest {
+ export function isa(o: any): o is ListTagsForResourceRequest {
+ return _smithy.isa(o, "ListTagsForResourceRequest");
+ }
+}
+
+export interface ListTagsForResourceResponse extends $MetadataBearer {
+ __type?: "ListTagsForResourceResponse";
+ /**
+ *
+ * An array that lists all the tags that are associated with the resource. Each tag
+ * consists of a required tag key (Key
) and an associated tag value
+ * (Value
)
+ *
+ */
+ Tags: Array | undefined;
+}
+
+export namespace ListTagsForResourceResponse {
+ export function isa(o: any): o is ListTagsForResourceResponse {
+ return _smithy.isa(o, "ListTagsForResourceResponse");
+ }
+}
+
+/**
+ *
+ * A list of attributes that are associated with a MAIL FROM domain.
+ *
+ */
+export interface MailFromAttributes {
+ __type?: "MailFromAttributes";
+ /**
+ *
+ * The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom
+ * MAIL FROM domain. When you set this value to UseDefaultValue
, Amazon Pinpoint uses
+ * amazonses.com as the MAIL FROM domain. When you set this value
+ * to RejectMessage
, Amazon Pinpoint returns a MailFromDomainNotVerified
+ * error, and doesn't attempt to deliver the email.
+ * These behaviors are taken when the custom MAIL FROM domain configuration is in the
+ * Pending
, Failed
, and TemporaryFailure
+ * states.
+ *
+ */
+ BehaviorOnMxFailure: BehaviorOnMxFailure | string | undefined;
+
+ /**
+ *
+ * The name of a domain that an email identity uses as a custom MAIL FROM domain.
+ *
+ */
+ MailFromDomain: string | undefined;
+
+ /**
+ *
+ * The status of the MAIL FROM domain. This status can have the following values:
+ *
+ * -
+ *
+ *