@depup/aws-sdk__client-ses 3.1005.0-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +31 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1307 -0
- package/dist-cjs/models/SESServiceException.js +12 -0
- package/dist-cjs/models/errors.js +504 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +44 -0
- package/dist-cjs/schemas/schemas_0.js +1812 -0
- package/dist-es/SES.js +159 -0
- package/dist-es/SESClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/CloneReceiptRuleSetCommand.js +16 -0
- package/dist-es/commands/CreateConfigurationSetCommand.js +16 -0
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +16 -0
- package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +16 -0
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +16 -0
- package/dist-es/commands/CreateReceiptFilterCommand.js +16 -0
- package/dist-es/commands/CreateReceiptRuleCommand.js +16 -0
- package/dist-es/commands/CreateReceiptRuleSetCommand.js +16 -0
- package/dist-es/commands/CreateTemplateCommand.js +16 -0
- package/dist-es/commands/DeleteConfigurationSetCommand.js +16 -0
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +16 -0
- package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +16 -0
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +16 -0
- package/dist-es/commands/DeleteIdentityCommand.js +16 -0
- package/dist-es/commands/DeleteIdentityPolicyCommand.js +16 -0
- package/dist-es/commands/DeleteReceiptFilterCommand.js +16 -0
- package/dist-es/commands/DeleteReceiptRuleCommand.js +16 -0
- package/dist-es/commands/DeleteReceiptRuleSetCommand.js +16 -0
- package/dist-es/commands/DeleteTemplateCommand.js +16 -0
- package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +16 -0
- package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +16 -0
- package/dist-es/commands/DescribeConfigurationSetCommand.js +16 -0
- package/dist-es/commands/DescribeReceiptRuleCommand.js +16 -0
- package/dist-es/commands/DescribeReceiptRuleSetCommand.js +16 -0
- package/dist-es/commands/GetAccountSendingEnabledCommand.js +16 -0
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +16 -0
- package/dist-es/commands/GetIdentityDkimAttributesCommand.js +16 -0
- package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +16 -0
- package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +16 -0
- package/dist-es/commands/GetIdentityPoliciesCommand.js +16 -0
- package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +16 -0
- package/dist-es/commands/GetSendQuotaCommand.js +16 -0
- package/dist-es/commands/GetSendStatisticsCommand.js +16 -0
- package/dist-es/commands/GetTemplateCommand.js +16 -0
- package/dist-es/commands/ListConfigurationSetsCommand.js +16 -0
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +16 -0
- package/dist-es/commands/ListIdentitiesCommand.js +16 -0
- package/dist-es/commands/ListIdentityPoliciesCommand.js +16 -0
- package/dist-es/commands/ListReceiptFiltersCommand.js +16 -0
- package/dist-es/commands/ListReceiptRuleSetsCommand.js +16 -0
- package/dist-es/commands/ListTemplatesCommand.js +16 -0
- package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +16 -0
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +16 -0
- package/dist-es/commands/PutIdentityPolicyCommand.js +16 -0
- package/dist-es/commands/ReorderReceiptRuleSetCommand.js +16 -0
- package/dist-es/commands/SendBounceCommand.js +16 -0
- package/dist-es/commands/SendBulkTemplatedEmailCommand.js +16 -0
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +16 -0
- package/dist-es/commands/SendEmailCommand.js +16 -0
- package/dist-es/commands/SendRawEmailCommand.js +16 -0
- package/dist-es/commands/SendTemplatedEmailCommand.js +16 -0
- package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +16 -0
- package/dist-es/commands/SetIdentityDkimEnabledCommand.js +16 -0
- package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +16 -0
- package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +16 -0
- package/dist-es/commands/SetIdentityMailFromDomainCommand.js +16 -0
- package/dist-es/commands/SetIdentityNotificationTopicCommand.js +16 -0
- package/dist-es/commands/SetReceiptRulePositionCommand.js +16 -0
- package/dist-es/commands/TestRenderTemplateCommand.js +16 -0
- package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +16 -0
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +16 -0
- package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +16 -0
- package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +16 -0
- package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +16 -0
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +16 -0
- package/dist-es/commands/UpdateReceiptRuleCommand.js +16 -0
- package/dist-es/commands/UpdateTemplateCommand.js +16 -0
- package/dist-es/commands/VerifyDomainDkimCommand.js +16 -0
- package/dist-es/commands/VerifyDomainIdentityCommand.js +16 -0
- package/dist-es/commands/VerifyEmailAddressCommand.js +16 -0
- package/dist-es/commands/VerifyEmailIdentityCommand.js +16 -0
- package/dist-es/commands/index.js +71 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/SESServiceException.js +8 -0
- package/dist-es/models/enums.js +97 -0
- package/dist-es/models/errors.js +467 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +4 -0
- package/dist-es/pagination/ListIdentitiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1804 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForIdentityExists.js +38 -0
- package/dist-types/SES.d.ts +574 -0
- package/dist-types/SESClient.d.ts +291 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CloneReceiptRuleSetCommand.d.ts +102 -0
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +91 -0
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +128 -0
- package/dist-types/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +99 -0
- package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +97 -0
- package/dist-types/commands/CreateReceiptFilterCommand.d.ts +108 -0
- package/dist-types/commands/CreateReceiptRuleCommand.d.ts +188 -0
- package/dist-types/commands/CreateReceiptRuleSetCommand.d.ts +95 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +92 -0
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +78 -0
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +83 -0
- package/dist-types/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +87 -0
- package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +76 -0
- package/dist-types/commands/DeleteIdentityCommand.d.ts +87 -0
- package/dist-types/commands/DeleteIdentityPolicyCommand.d.ts +98 -0
- package/dist-types/commands/DeleteReceiptFilterCommand.d.ts +88 -0
- package/dist-types/commands/DeleteReceiptRuleCommand.d.ts +93 -0
- package/dist-types/commands/DeleteReceiptRuleSetCommand.d.ts +95 -0
- package/dist-types/commands/DeleteTemplateCommand.d.ts +73 -0
- package/dist-types/commands/DeleteVerifiedEmailAddressCommand.d.ts +86 -0
- package/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +164 -0
- package/dist-types/commands/DescribeConfigurationSetCommand.d.ts +121 -0
- package/dist-types/commands/DescribeReceiptRuleCommand.d.ts +164 -0
- package/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +171 -0
- package/dist-types/commands/GetAccountSendingEnabledCommand.d.ts +86 -0
- package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +88 -0
- package/dist-types/commands/GetIdentityDkimAttributesCommand.d.ts +139 -0
- package/dist-types/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +108 -0
- package/dist-types/commands/GetIdentityNotificationAttributesCommand.d.ts +118 -0
- package/dist-types/commands/GetIdentityPoliciesCommand.d.ts +110 -0
- package/dist-types/commands/GetIdentityVerificationAttributesCommand.d.ts +118 -0
- package/dist-types/commands/GetSendQuotaCommand.d.ts +90 -0
- package/dist-types/commands/GetSendStatisticsCommand.d.ts +118 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +85 -0
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +90 -0
- package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +89 -0
- package/dist-types/commands/ListIdentitiesCommand.d.ts +111 -0
- package/dist-types/commands/ListIdentityPoliciesCommand.d.ts +104 -0
- package/dist-types/commands/ListReceiptFiltersCommand.d.ts +105 -0
- package/dist-types/commands/ListReceiptRuleSetsCommand.d.ts +107 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +83 -0
- package/dist-types/commands/ListVerifiedEmailAddressesCommand.d.ts +91 -0
- package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +81 -0
- package/dist-types/commands/PutIdentityPolicyCommand.d.ts +103 -0
- package/dist-types/commands/ReorderReceiptRuleSetCommand.d.ts +105 -0
- package/dist-types/commands/SendBounceCommand.d.ts +121 -0
- package/dist-types/commands/SendBulkTemplatedEmailCommand.d.ts +185 -0
- package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +102 -0
- package/dist-types/commands/SendEmailCommand.d.ts +222 -0
- package/dist-types/commands/SendRawEmailCommand.d.ts +233 -0
- package/dist-types/commands/SendTemplatedEmailCommand.d.ts +174 -0
- package/dist-types/commands/SetActiveReceiptRuleSetCommand.d.ts +95 -0
- package/dist-types/commands/SetIdentityDkimEnabledCommand.d.ts +100 -0
- package/dist-types/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +97 -0
- package/dist-types/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +94 -0
- package/dist-types/commands/SetIdentityMailFromDomainCommand.d.ts +97 -0
- package/dist-types/commands/SetIdentityNotificationTopicCommand.d.ts +97 -0
- package/dist-types/commands/SetReceiptRulePositionCommand.d.ts +98 -0
- package/dist-types/commands/TestRenderTemplateCommand.d.ts +90 -0
- package/dist-types/commands/UpdateAccountSendingEnabledCommand.d.ts +90 -0
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +124 -0
- package/dist-types/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +94 -0
- package/dist-types/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +95 -0
- package/dist-types/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +98 -0
- package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +92 -0
- package/dist-types/commands/UpdateReceiptRuleCommand.d.ts +183 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +88 -0
- package/dist-types/commands/VerifyDomainDkimCommand.d.ts +133 -0
- package/dist-types/commands/VerifyDomainIdentityCommand.d.ts +94 -0
- package/dist-types/commands/VerifyEmailAddressCommand.d.ts +86 -0
- package/dist-types/commands/VerifyEmailIdentityCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +71 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +51 -0
- package/dist-types/models/SESServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +225 -0
- package/dist-types/models/errors.d.ts +588 -0
- package/dist-types/models/models_0.d.ts +3848 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIdentitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +286 -0
- package/dist-types/ts3.4/SES.d.ts +1368 -0
- package/dist-types/ts3.4/SESClient.d.ts +542 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
- package/dist-types/ts3.4/commands/CloneReceiptRuleSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateReceiptFilterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateReceiptRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateReceiptRuleSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteIdentityCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteIdentityPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteReceiptFilterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteReceiptRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteReceiptRuleSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteVerifiedEmailAddressCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeActiveReceiptRuleSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeConfigurationSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeReceiptRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeReceiptRuleSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAccountSendingEnabledCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetIdentityDkimAttributesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetIdentityNotificationAttributesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetIdentityPoliciesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetIdentityVerificationAttributesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSendQuotaCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetSendStatisticsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListIdentityPoliciesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListReceiptFiltersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListReceiptRuleSetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListVerifiedEmailAddressesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutIdentityPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ReorderReceiptRuleSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendBounceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SendBulkTemplatedEmailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SendRawEmailCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SendTemplatedEmailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetActiveReceiptRuleSetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetIdentityDkimEnabledCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetIdentityMailFromDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetIdentityNotificationTopicCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetReceiptRulePositionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TestRenderTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAccountSendingEnabledCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateReceiptRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/VerifyDomainDkimCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/VerifyDomainIdentityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/VerifyEmailAddressCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/VerifyEmailIdentityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +71 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/SESServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +123 -0
- package/dist-types/ts3.4/models/errors.d.ts +330 -0
- package/dist-types/ts3.4/models/models_0.d.ts +665 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIdentitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +285 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForIdentityExists.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForIdentityExists.d.ts +14 -0
- package/package.json +122 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendCustomVerificationEmailRequest, SendCustomVerificationEmailResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SESClientResolvedConfig } from "../SESClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendCustomVerificationEmailCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendCustomVerificationEmailCommandInput extends SendCustomVerificationEmailRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendCustomVerificationEmailCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendCustomVerificationEmailCommandOutput extends SendCustomVerificationEmailResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendCustomVerificationEmailCommand_base: {
|
|
25
|
+
new (input: SendCustomVerificationEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendCustomVerificationEmailCommandInput, SendCustomVerificationEmailCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendCustomVerificationEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendCustomVerificationEmailCommandInput, SendCustomVerificationEmailCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds an email address to the list of identities for your Amazon SES account in the current
|
|
31
|
+
* Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a
|
|
32
|
+
* customized verification email is sent to the specified address.</p>
|
|
33
|
+
* <p>To use this operation, you must first create a custom verification email template. For
|
|
34
|
+
* more information about creating and using custom verification email templates, see
|
|
35
|
+
* <a href="https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom">Using
|
|
36
|
+
* Custom Verification Email Templates</a> in the <i>Amazon SES Developer
|
|
37
|
+
* Guide</i>.</p>
|
|
38
|
+
* <p>You can execute this operation no more than once per second.</p>
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { SESClient, SendCustomVerificationEmailCommand } from "@aws-sdk/client-ses"; // ES Modules import
|
|
43
|
+
* // const { SESClient, SendCustomVerificationEmailCommand } = require("@aws-sdk/client-ses"); // CommonJS import
|
|
44
|
+
* // import type { SESClientConfig } from "@aws-sdk/client-ses";
|
|
45
|
+
* const config = {}; // type is SESClientConfig
|
|
46
|
+
* const client = new SESClient(config);
|
|
47
|
+
* const input = { // SendCustomVerificationEmailRequest
|
|
48
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
49
|
+
* TemplateName: "STRING_VALUE", // required
|
|
50
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
51
|
+
* };
|
|
52
|
+
* const command = new SendCustomVerificationEmailCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // SendCustomVerificationEmailResponse
|
|
55
|
+
* // MessageId: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param SendCustomVerificationEmailCommandInput - {@link SendCustomVerificationEmailCommandInput}
|
|
61
|
+
* @returns {@link SendCustomVerificationEmailCommandOutput}
|
|
62
|
+
* @see {@link SendCustomVerificationEmailCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link SendCustomVerificationEmailCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConfigurationSetDoesNotExistException} (client fault)
|
|
67
|
+
* <p>Indicates that the configuration set does not exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link CustomVerificationEmailTemplateDoesNotExistException} (client fault)
|
|
70
|
+
* <p>Indicates that a custom verification email template with the name you specified does
|
|
71
|
+
* not exist.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link FromEmailAddressNotVerifiedException} (client fault)
|
|
74
|
+
* <p>Indicates that the sender address specified for a custom verification email is not
|
|
75
|
+
* verified, and is therefore not eligible to send the custom verification email. </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link MessageRejected} (client fault)
|
|
78
|
+
* <p>Indicates that the action failed, and the message could not be sent. Check the error
|
|
79
|
+
* stack for more information about what caused the error.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ProductionAccessNotGrantedException} (client fault)
|
|
82
|
+
* <p>Indicates that the account has not been granted production access.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link SESServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class SendCustomVerificationEmailCommand extends SendCustomVerificationEmailCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: SendCustomVerificationEmailRequest;
|
|
95
|
+
output: SendCustomVerificationEmailResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: SendCustomVerificationEmailCommandInput;
|
|
99
|
+
output: SendCustomVerificationEmailCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendEmailRequest, SendEmailResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SESClientResolvedConfig } from "../SESClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendEmailCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendEmailCommandInput extends SendEmailRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendEmailCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendEmailCommandOutput extends SendEmailResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendEmailCommand_base: {
|
|
25
|
+
new (input: SendEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendEmailCommandInput, SendEmailCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendEmailCommandInput, SendEmailCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Composes an email message and immediately queues it for sending. To send email using
|
|
31
|
+
* this operation, your message must meet the following requirements:</p>
|
|
32
|
+
* <ul>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>The message must be sent from a verified email address or domain. If you
|
|
35
|
+
* attempt to send email using a non-verified address or domain, the operation
|
|
36
|
+
* results in an "Email address not verified" error. </p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>If your account is still in the Amazon SES sandbox, you may only send to verified
|
|
40
|
+
* addresses or domains, or to email addresses associated with the Amazon SES Mailbox
|
|
41
|
+
* Simulator. For more information, see <a href="https://docs.aws.amazon.com/ses/latest/dg/verify-addresses-and-domains.html">Verifying Email
|
|
42
|
+
* Addresses and Domains</a> in the <i>Amazon SES Developer
|
|
43
|
+
* Guide.</i>
|
|
44
|
+
* </p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>The maximum message size is 10 MB.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>The message must include at least one recipient email address. The recipient
|
|
51
|
+
* address can be a To: address, a CC: address, or a BCC: address. If a recipient
|
|
52
|
+
* email address is invalid (that is, it is not in the format
|
|
53
|
+
* <i>UserName@[SubDomain.]Domain.TopLevelDomain</i>), the entire
|
|
54
|
+
* message is rejected, even if the message contains other recipients that are
|
|
55
|
+
* valid.</p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>The message may not include more than 50 recipients, across the To:, CC: and
|
|
59
|
+
* BCC: fields. If you need to send an email message to a larger audience, you can
|
|
60
|
+
* divide your recipient list into groups of 50 or fewer, and then call the
|
|
61
|
+
* <code>SendEmail</code> operation several times to send the message to each
|
|
62
|
+
* group.</p>
|
|
63
|
+
* </li>
|
|
64
|
+
* </ul>
|
|
65
|
+
* <important>
|
|
66
|
+
* <p>For every message that you send, the total number of recipients (including each
|
|
67
|
+
* recipient in the To:, CC: and BCC: fields) is counted against the maximum number of
|
|
68
|
+
* emails you can send in a 24-hour period (your <i>sending quota</i>).
|
|
69
|
+
* For more information about sending quotas in Amazon SES, see <a href="https://docs.aws.amazon.com/ses/latest/dg/manage-sending-quotas.html">Managing Your Amazon SES Sending
|
|
70
|
+
* Limits</a> in the <i>Amazon SES Developer Guide.</i>
|
|
71
|
+
* </p>
|
|
72
|
+
* </important>
|
|
73
|
+
* @example
|
|
74
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
75
|
+
* ```javascript
|
|
76
|
+
* import { SESClient, SendEmailCommand } from "@aws-sdk/client-ses"; // ES Modules import
|
|
77
|
+
* // const { SESClient, SendEmailCommand } = require("@aws-sdk/client-ses"); // CommonJS import
|
|
78
|
+
* // import type { SESClientConfig } from "@aws-sdk/client-ses";
|
|
79
|
+
* const config = {}; // type is SESClientConfig
|
|
80
|
+
* const client = new SESClient(config);
|
|
81
|
+
* const input = { // SendEmailRequest
|
|
82
|
+
* Source: "STRING_VALUE", // required
|
|
83
|
+
* Destination: { // Destination
|
|
84
|
+
* ToAddresses: [ // AddressList
|
|
85
|
+
* "STRING_VALUE",
|
|
86
|
+
* ],
|
|
87
|
+
* CcAddresses: [
|
|
88
|
+
* "STRING_VALUE",
|
|
89
|
+
* ],
|
|
90
|
+
* BccAddresses: [
|
|
91
|
+
* "STRING_VALUE",
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* Message: { // Message
|
|
95
|
+
* Subject: { // Content
|
|
96
|
+
* Data: "STRING_VALUE", // required
|
|
97
|
+
* Charset: "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* Body: { // Body
|
|
100
|
+
* Text: {
|
|
101
|
+
* Data: "STRING_VALUE", // required
|
|
102
|
+
* Charset: "STRING_VALUE",
|
|
103
|
+
* },
|
|
104
|
+
* Html: {
|
|
105
|
+
* Data: "STRING_VALUE", // required
|
|
106
|
+
* Charset: "STRING_VALUE",
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* ReplyToAddresses: [
|
|
111
|
+
* "STRING_VALUE",
|
|
112
|
+
* ],
|
|
113
|
+
* ReturnPath: "STRING_VALUE",
|
|
114
|
+
* SourceArn: "STRING_VALUE",
|
|
115
|
+
* ReturnPathArn: "STRING_VALUE",
|
|
116
|
+
* Tags: [ // MessageTagList
|
|
117
|
+
* { // MessageTag
|
|
118
|
+
* Name: "STRING_VALUE", // required
|
|
119
|
+
* Value: "STRING_VALUE", // required
|
|
120
|
+
* },
|
|
121
|
+
* ],
|
|
122
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
123
|
+
* };
|
|
124
|
+
* const command = new SendEmailCommand(input);
|
|
125
|
+
* const response = await client.send(command);
|
|
126
|
+
* // { // SendEmailResponse
|
|
127
|
+
* // MessageId: "STRING_VALUE", // required
|
|
128
|
+
* // };
|
|
129
|
+
*
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* @param SendEmailCommandInput - {@link SendEmailCommandInput}
|
|
133
|
+
* @returns {@link SendEmailCommandOutput}
|
|
134
|
+
* @see {@link SendEmailCommandInput} for command's `input` shape.
|
|
135
|
+
* @see {@link SendEmailCommandOutput} for command's `response` shape.
|
|
136
|
+
* @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link AccountSendingPausedException} (client fault)
|
|
139
|
+
* <p>Indicates that email sending is disabled for your entire Amazon SES account.</p>
|
|
140
|
+
* <p>You can enable or disable email sending for your Amazon SES account using <a>UpdateAccountSendingEnabled</a>.</p>
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link ConfigurationSetDoesNotExistException} (client fault)
|
|
143
|
+
* <p>Indicates that the configuration set does not exist.</p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link ConfigurationSetSendingPausedException} (client fault)
|
|
146
|
+
* <p>Indicates that email sending is disabled for the configuration set.</p>
|
|
147
|
+
* <p>You can enable or disable email sending for a configuration set using <a>UpdateConfigurationSetSendingEnabled</a>.</p>
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link MailFromDomainNotVerifiedException} (client fault)
|
|
150
|
+
* <p> Indicates that the message could not be sent because Amazon SES could not read the MX
|
|
151
|
+
* record required to use the specified MAIL FROM domain. For information about editing the
|
|
152
|
+
* custom MAIL FROM domain settings for an identity, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html">Amazon SES Developer
|
|
153
|
+
* Guide</a>.</p>
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link MessageRejected} (client fault)
|
|
156
|
+
* <p>Indicates that the action failed, and the message could not be sent. Check the error
|
|
157
|
+
* stack for more information about what caused the error.</p>
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link SESServiceException}
|
|
160
|
+
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
161
|
+
*
|
|
162
|
+
*
|
|
163
|
+
* @example SendEmail
|
|
164
|
+
* ```javascript
|
|
165
|
+
* // The following example sends a formatted email:
|
|
166
|
+
* const input = {
|
|
167
|
+
* Destination: {
|
|
168
|
+
* BccAddresses: [],
|
|
169
|
+
* CcAddresses: [
|
|
170
|
+
* "recipient3@example.com"
|
|
171
|
+
* ],
|
|
172
|
+
* ToAddresses: [
|
|
173
|
+
* "recipient1@example.com",
|
|
174
|
+
* "recipient2@example.com"
|
|
175
|
+
* ]
|
|
176
|
+
* },
|
|
177
|
+
* Message: {
|
|
178
|
+
* Body: {
|
|
179
|
+
* Html: {
|
|
180
|
+
* Charset: "UTF-8",
|
|
181
|
+
* Data: `This message body contains HTML formatting. It can, for example, contain links like this one: <a class="ulink" href="http://docs.aws.amazon.com/ses/latest/DeveloperGuide" target="_blank">Amazon SES Developer Guide</a>.`
|
|
182
|
+
* },
|
|
183
|
+
* Text: {
|
|
184
|
+
* Charset: "UTF-8",
|
|
185
|
+
* Data: "This is the message body in text format."
|
|
186
|
+
* }
|
|
187
|
+
* },
|
|
188
|
+
* Subject: {
|
|
189
|
+
* Charset: "UTF-8",
|
|
190
|
+
* Data: "Test email"
|
|
191
|
+
* }
|
|
192
|
+
* },
|
|
193
|
+
* ReplyToAddresses: [],
|
|
194
|
+
* ReturnPath: "",
|
|
195
|
+
* ReturnPathArn: "",
|
|
196
|
+
* Source: "sender@example.com",
|
|
197
|
+
* SourceArn: ""
|
|
198
|
+
* };
|
|
199
|
+
* const command = new SendEmailCommand(input);
|
|
200
|
+
* const response = await client.send(command);
|
|
201
|
+
* /* response is
|
|
202
|
+
* {
|
|
203
|
+
* MessageId: "EXAMPLE78603177f-7a5433e7-8edb-42ae-af10-f0181f34d6ee-000000"
|
|
204
|
+
* }
|
|
205
|
+
* *\/
|
|
206
|
+
* ```
|
|
207
|
+
*
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
export declare class SendEmailCommand extends SendEmailCommand_base {
|
|
211
|
+
/** @internal type navigation helper, not in runtime. */
|
|
212
|
+
protected static __types: {
|
|
213
|
+
api: {
|
|
214
|
+
input: SendEmailRequest;
|
|
215
|
+
output: SendEmailResponse;
|
|
216
|
+
};
|
|
217
|
+
sdk: {
|
|
218
|
+
input: SendEmailCommandInput;
|
|
219
|
+
output: SendEmailCommandOutput;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendRawEmailRequest, SendRawEmailResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SESClientResolvedConfig } from "../SESClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendRawEmailCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendRawEmailCommandInput extends SendRawEmailRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendRawEmailCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendRawEmailCommandOutput extends SendRawEmailResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendRawEmailCommand_base: {
|
|
25
|
+
new (input: SendRawEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendRawEmailCommandInput, SendRawEmailCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendRawEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendRawEmailCommandInput, SendRawEmailCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Composes an email message and immediately queues it for sending.</p>
|
|
31
|
+
* <p>This operation is more flexible than the <code>SendEmail</code> operation. When you
|
|
32
|
+
* use the <code>SendRawEmail</code> operation, you can specify the headers of the message
|
|
33
|
+
* as well as its content. This flexibility is useful, for example, when you need to send a
|
|
34
|
+
* multipart MIME email (such a message that contains both a text and an HTML version). You
|
|
35
|
+
* can also use this operation to send messages that include attachments.</p>
|
|
36
|
+
* <p>The <code>SendRawEmail</code> operation has the following requirements:</p>
|
|
37
|
+
* <ul>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>You can only send email from <a href="https://docs.aws.amazon.com/ses/latest/dg/verify-addresses-and-domains.html">verified email addresses or domains</a>. If you try to send email from
|
|
40
|
+
* an address that isn't verified, the operation results in an "Email address not
|
|
41
|
+
* verified" error.</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>If your account is still in the <a href="https://docs.aws.amazon.com/ses/latest/dg/request-production-access.html">Amazon SES sandbox</a>, you can only send email to other verified addresses
|
|
45
|
+
* in your account, or to addresses that are associated with the <a href="https://docs.aws.amazon.com/ses/latest/dg/send-an-email-from-console.html">Amazon SES mailbox simulator</a>.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>The maximum message size, including attachments, is 10 MB.</p>
|
|
49
|
+
* </li>
|
|
50
|
+
* <li>
|
|
51
|
+
* <p>Each message has to include at least one recipient address. A recipient
|
|
52
|
+
* address includes any address on the To:, CC:, or BCC: lines.</p>
|
|
53
|
+
* </li>
|
|
54
|
+
* <li>
|
|
55
|
+
* <p>If you send a single message to more than one recipient address, and one of
|
|
56
|
+
* the recipient addresses isn't in a valid format (that is, it's not in the format
|
|
57
|
+
* <i>UserName@[SubDomain.]Domain.TopLevelDomain</i>), Amazon SES
|
|
58
|
+
* rejects the entire message, even if the other addresses are valid.</p>
|
|
59
|
+
* </li>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>Each message can include up to 50 recipient addresses across the To:, CC:, or
|
|
62
|
+
* BCC: lines. If you need to send a single message to more than 50 recipients, you
|
|
63
|
+
* have to split the list of recipient addresses into groups of less than 50
|
|
64
|
+
* recipients, and send separate messages to each group.</p>
|
|
65
|
+
* </li>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message
|
|
68
|
+
* parts. However, if Amazon SES has to modify the contents of your message (for
|
|
69
|
+
* example, if you use open and click tracking), 8-bit content isn't preserved. For
|
|
70
|
+
* this reason, we highly recommend that you encode all content that isn't 7-bit
|
|
71
|
+
* ASCII. For more information, see <a href="https://docs.aws.amazon.com/ses/latest/dg/send-email-raw.html#send-email-mime-encoding">MIME Encoding</a> in the <i>Amazon SES Developer
|
|
72
|
+
* Guide</i>.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* </ul>
|
|
75
|
+
* <p>Additionally, keep the following considerations in mind when using the
|
|
76
|
+
* <code>SendRawEmail</code> operation:</p>
|
|
77
|
+
* <ul>
|
|
78
|
+
* <li>
|
|
79
|
+
* <p>Although you can customize the message headers when using the
|
|
80
|
+
* <code>SendRawEmail</code> operation, Amazon SES automatically applies its own
|
|
81
|
+
* <code>Message-ID</code> and <code>Date</code> headers; if you passed these
|
|
82
|
+
* headers when creating the message, they are overwritten by the values that Amazon SES
|
|
83
|
+
* provides.</p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>If you are using sending authorization to send on behalf of another user,
|
|
87
|
+
* <code>SendRawEmail</code> enables you to specify the cross-account identity
|
|
88
|
+
* for the email's Source, From, and Return-Path parameters in one of two ways: you
|
|
89
|
+
* can pass optional parameters <code>SourceArn</code>, <code>FromArn</code>,
|
|
90
|
+
* and/or <code>ReturnPathArn</code>, or you can include the following X-headers in
|
|
91
|
+
* the header of your raw email:</p>
|
|
92
|
+
* <ul>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>
|
|
95
|
+
* <code>X-SES-SOURCE-ARN</code>
|
|
96
|
+
* </p>
|
|
97
|
+
* </li>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>
|
|
100
|
+
* <code>X-SES-FROM-ARN</code>
|
|
101
|
+
* </p>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>
|
|
105
|
+
* <code>X-SES-RETURN-PATH-ARN</code>
|
|
106
|
+
* </p>
|
|
107
|
+
* </li>
|
|
108
|
+
* </ul>
|
|
109
|
+
* <important>
|
|
110
|
+
* <p>Don't include these X-headers in the DKIM signature. Amazon SES removes these
|
|
111
|
+
* before it sends the email.</p>
|
|
112
|
+
* </important>
|
|
113
|
+
* <p>If you only specify the <code>SourceIdentityArn</code> parameter, Amazon SES sets
|
|
114
|
+
* the From and Return-Path addresses to the same identity that you
|
|
115
|
+
* specified.</p>
|
|
116
|
+
* <p>For more information about sending authorization, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/sending-authorization.html">Using
|
|
117
|
+
* Sending Authorization with Amazon SES</a> in the <i>Amazon SES Developer
|
|
118
|
+
* Guide.</i>
|
|
119
|
+
* </p>
|
|
120
|
+
* </li>
|
|
121
|
+
* <li>
|
|
122
|
+
* <p>For every message that you send, the total number of recipients (including
|
|
123
|
+
* each recipient in the To:, CC: and BCC: fields) is counted against the maximum
|
|
124
|
+
* number of emails you can send in a 24-hour period (your <i>sending
|
|
125
|
+
* quota</i>). For more information about sending quotas in Amazon SES, see
|
|
126
|
+
* <a href="https://docs.aws.amazon.com/ses/latest/dg/manage-sending-quotas.html">Managing Your Amazon SES Sending Limits</a> in the <i>Amazon SES Developer
|
|
127
|
+
* Guide.</i>
|
|
128
|
+
* </p>
|
|
129
|
+
* </li>
|
|
130
|
+
* </ul>
|
|
131
|
+
* @example
|
|
132
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
133
|
+
* ```javascript
|
|
134
|
+
* import { SESClient, SendRawEmailCommand } from "@aws-sdk/client-ses"; // ES Modules import
|
|
135
|
+
* // const { SESClient, SendRawEmailCommand } = require("@aws-sdk/client-ses"); // CommonJS import
|
|
136
|
+
* // import type { SESClientConfig } from "@aws-sdk/client-ses";
|
|
137
|
+
* const config = {}; // type is SESClientConfig
|
|
138
|
+
* const client = new SESClient(config);
|
|
139
|
+
* const input = { // SendRawEmailRequest
|
|
140
|
+
* Source: "STRING_VALUE",
|
|
141
|
+
* Destinations: [ // AddressList
|
|
142
|
+
* "STRING_VALUE",
|
|
143
|
+
* ],
|
|
144
|
+
* RawMessage: { // RawMessage
|
|
145
|
+
* Data: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
146
|
+
* },
|
|
147
|
+
* FromArn: "STRING_VALUE",
|
|
148
|
+
* SourceArn: "STRING_VALUE",
|
|
149
|
+
* ReturnPathArn: "STRING_VALUE",
|
|
150
|
+
* Tags: [ // MessageTagList
|
|
151
|
+
* { // MessageTag
|
|
152
|
+
* Name: "STRING_VALUE", // required
|
|
153
|
+
* Value: "STRING_VALUE", // required
|
|
154
|
+
* },
|
|
155
|
+
* ],
|
|
156
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
157
|
+
* };
|
|
158
|
+
* const command = new SendRawEmailCommand(input);
|
|
159
|
+
* const response = await client.send(command);
|
|
160
|
+
* // { // SendRawEmailResponse
|
|
161
|
+
* // MessageId: "STRING_VALUE", // required
|
|
162
|
+
* // };
|
|
163
|
+
*
|
|
164
|
+
* ```
|
|
165
|
+
*
|
|
166
|
+
* @param SendRawEmailCommandInput - {@link SendRawEmailCommandInput}
|
|
167
|
+
* @returns {@link SendRawEmailCommandOutput}
|
|
168
|
+
* @see {@link SendRawEmailCommandInput} for command's `input` shape.
|
|
169
|
+
* @see {@link SendRawEmailCommandOutput} for command's `response` shape.
|
|
170
|
+
* @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link AccountSendingPausedException} (client fault)
|
|
173
|
+
* <p>Indicates that email sending is disabled for your entire Amazon SES account.</p>
|
|
174
|
+
* <p>You can enable or disable email sending for your Amazon SES account using <a>UpdateAccountSendingEnabled</a>.</p>
|
|
175
|
+
*
|
|
176
|
+
* @throws {@link ConfigurationSetDoesNotExistException} (client fault)
|
|
177
|
+
* <p>Indicates that the configuration set does not exist.</p>
|
|
178
|
+
*
|
|
179
|
+
* @throws {@link ConfigurationSetSendingPausedException} (client fault)
|
|
180
|
+
* <p>Indicates that email sending is disabled for the configuration set.</p>
|
|
181
|
+
* <p>You can enable or disable email sending for a configuration set using <a>UpdateConfigurationSetSendingEnabled</a>.</p>
|
|
182
|
+
*
|
|
183
|
+
* @throws {@link MailFromDomainNotVerifiedException} (client fault)
|
|
184
|
+
* <p> Indicates that the message could not be sent because Amazon SES could not read the MX
|
|
185
|
+
* record required to use the specified MAIL FROM domain. For information about editing the
|
|
186
|
+
* custom MAIL FROM domain settings for an identity, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html">Amazon SES Developer
|
|
187
|
+
* Guide</a>.</p>
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link MessageRejected} (client fault)
|
|
190
|
+
* <p>Indicates that the action failed, and the message could not be sent. Check the error
|
|
191
|
+
* stack for more information about what caused the error.</p>
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link SESServiceException}
|
|
194
|
+
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
195
|
+
*
|
|
196
|
+
*
|
|
197
|
+
* @example SendRawEmail
|
|
198
|
+
* ```javascript
|
|
199
|
+
* // The following example sends an email with an attachment:
|
|
200
|
+
* const input = {
|
|
201
|
+
* Destinations: [],
|
|
202
|
+
* FromArn: "",
|
|
203
|
+
* RawMessage: {
|
|
204
|
+
* Data: `From: sender@example.com\nTo: recipient@example.com\nSubject: Test email (contains an attachment)\nMIME-Version: 1.0\nContent-type: Multipart/Mixed; boundary="NextPart"\n\n--NextPart\nContent-Type: text/plain\n\nThis is the message body.\n\n--NextPart\nContent-Type: text/plain;\nContent-Disposition: attachment; filename="attachment.txt"\n\nThis is the text in the attachment.\n\n--NextPart--`
|
|
205
|
+
* },
|
|
206
|
+
* ReturnPathArn: "",
|
|
207
|
+
* Source: "",
|
|
208
|
+
* SourceArn: ""
|
|
209
|
+
* };
|
|
210
|
+
* const command = new SendRawEmailCommand(input);
|
|
211
|
+
* const response = await client.send(command);
|
|
212
|
+
* /* response is
|
|
213
|
+
* {
|
|
214
|
+
* MessageId: "EXAMPLEf3f73d99b-c63fb06f-d263-41f8-a0fb-d0dc67d56c07-000000"
|
|
215
|
+
* }
|
|
216
|
+
* *\/
|
|
217
|
+
* ```
|
|
218
|
+
*
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export declare class SendRawEmailCommand extends SendRawEmailCommand_base {
|
|
222
|
+
/** @internal type navigation helper, not in runtime. */
|
|
223
|
+
protected static __types: {
|
|
224
|
+
api: {
|
|
225
|
+
input: SendRawEmailRequest;
|
|
226
|
+
output: SendRawEmailResponse;
|
|
227
|
+
};
|
|
228
|
+
sdk: {
|
|
229
|
+
input: SendRawEmailCommandInput;
|
|
230
|
+
output: SendRawEmailCommandOutput;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
}
|