@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,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PutConfigurationSetDeliveryOptionsRequest, PutConfigurationSetDeliveryOptionsResponse } 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 PutConfigurationSetDeliveryOptionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutConfigurationSetDeliveryOptionsCommandInput extends PutConfigurationSetDeliveryOptionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutConfigurationSetDeliveryOptionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutConfigurationSetDeliveryOptionsCommandOutput extends PutConfigurationSetDeliveryOptionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutConfigurationSetDeliveryOptionsCommand_base: {
|
|
25
|
+
new (input: PutConfigurationSetDeliveryOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<PutConfigurationSetDeliveryOptionsCommandInput, PutConfigurationSetDeliveryOptionsCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutConfigurationSetDeliveryOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<PutConfigurationSetDeliveryOptionsCommandInput, PutConfigurationSetDeliveryOptionsCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds or updates the delivery options for a configuration set.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SESClient, PutConfigurationSetDeliveryOptionsCommand } from "@aws-sdk/client-ses"; // ES Modules import
|
|
35
|
+
* // const { SESClient, PutConfigurationSetDeliveryOptionsCommand } = require("@aws-sdk/client-ses"); // CommonJS import
|
|
36
|
+
* // import type { SESClientConfig } from "@aws-sdk/client-ses";
|
|
37
|
+
* const config = {}; // type is SESClientConfig
|
|
38
|
+
* const client = new SESClient(config);
|
|
39
|
+
* const input = { // PutConfigurationSetDeliveryOptionsRequest
|
|
40
|
+
* ConfigurationSetName: "STRING_VALUE", // required
|
|
41
|
+
* DeliveryOptions: { // DeliveryOptions
|
|
42
|
+
* TlsPolicy: "Require" || "Optional",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new PutConfigurationSetDeliveryOptionsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param PutConfigurationSetDeliveryOptionsCommandInput - {@link PutConfigurationSetDeliveryOptionsCommandInput}
|
|
52
|
+
* @returns {@link PutConfigurationSetDeliveryOptionsCommandOutput}
|
|
53
|
+
* @see {@link PutConfigurationSetDeliveryOptionsCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link PutConfigurationSetDeliveryOptionsCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConfigurationSetDoesNotExistException} (client fault)
|
|
58
|
+
* <p>Indicates that the configuration set does not exist.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InvalidDeliveryOptionsException} (client fault)
|
|
61
|
+
* <p>Indicates that provided delivery option is invalid.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link SESServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
65
|
+
*
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class PutConfigurationSetDeliveryOptionsCommand extends PutConfigurationSetDeliveryOptionsCommand_base {
|
|
70
|
+
/** @internal type navigation helper, not in runtime. */
|
|
71
|
+
protected static __types: {
|
|
72
|
+
api: {
|
|
73
|
+
input: PutConfigurationSetDeliveryOptionsRequest;
|
|
74
|
+
output: {};
|
|
75
|
+
};
|
|
76
|
+
sdk: {
|
|
77
|
+
input: PutConfigurationSetDeliveryOptionsCommandInput;
|
|
78
|
+
output: PutConfigurationSetDeliveryOptionsCommandOutput;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PutIdentityPolicyRequest, PutIdentityPolicyResponse } 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 PutIdentityPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutIdentityPolicyCommandInput extends PutIdentityPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutIdentityPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutIdentityPolicyCommandOutput extends PutIdentityPolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutIdentityPolicyCommand_base: {
|
|
25
|
+
new (input: PutIdentityPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutIdentityPolicyCommandInput, PutIdentityPolicyCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutIdentityPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutIdentityPolicyCommandInput, PutIdentityPolicyCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds or updates a sending authorization policy for the specified identity (an email
|
|
31
|
+
* address or a domain).</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>This operation is for the identity owner only. If you have not verified the
|
|
34
|
+
* identity, it returns an error.</p>
|
|
35
|
+
* </note>
|
|
36
|
+
* <p>Sending authorization is a feature that enables an identity owner to authorize other
|
|
37
|
+
* senders to use its identities. For information about using sending authorization, see
|
|
38
|
+
* the <a href="https://docs.aws.amazon.com/ses/latest/dg/sending-authorization.html">Amazon SES
|
|
39
|
+
* Developer Guide</a>.</p>
|
|
40
|
+
* <p>You can execute this operation no more than once per second.</p>
|
|
41
|
+
* @example
|
|
42
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
43
|
+
* ```javascript
|
|
44
|
+
* import { SESClient, PutIdentityPolicyCommand } from "@aws-sdk/client-ses"; // ES Modules import
|
|
45
|
+
* // const { SESClient, PutIdentityPolicyCommand } = require("@aws-sdk/client-ses"); // CommonJS import
|
|
46
|
+
* // import type { SESClientConfig } from "@aws-sdk/client-ses";
|
|
47
|
+
* const config = {}; // type is SESClientConfig
|
|
48
|
+
* const client = new SESClient(config);
|
|
49
|
+
* const input = { // PutIdentityPolicyRequest
|
|
50
|
+
* Identity: "STRING_VALUE", // required
|
|
51
|
+
* PolicyName: "STRING_VALUE", // required
|
|
52
|
+
* Policy: "STRING_VALUE", // required
|
|
53
|
+
* };
|
|
54
|
+
* const command = new PutIdentityPolicyCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // {};
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param PutIdentityPolicyCommandInput - {@link PutIdentityPolicyCommandInput}
|
|
61
|
+
* @returns {@link PutIdentityPolicyCommandOutput}
|
|
62
|
+
* @see {@link PutIdentityPolicyCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link PutIdentityPolicyCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidPolicyException} (client fault)
|
|
67
|
+
* <p>Indicates that the provided policy is invalid. Check the error stack for more
|
|
68
|
+
* information about what caused the error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link SESServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @example PutIdentityPolicy
|
|
75
|
+
* ```javascript
|
|
76
|
+
* // The following example adds a sending authorization policy to an identity:
|
|
77
|
+
* const input = {
|
|
78
|
+
* Identity: "example.com",
|
|
79
|
+
* Policy: `{"Version":"2008-10-17","Statement":[{"Sid":"stmt1469123904194","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789012:root"},"Action":["ses:SendEmail","ses:SendRawEmail"],"Resource":"arn:aws:ses:us-east-1:EXAMPLE65304:identity/example.com"}]}`,
|
|
80
|
+
* PolicyName: "MyPolicy"
|
|
81
|
+
* };
|
|
82
|
+
* const command = new PutIdentityPolicyCommand(input);
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* /* response is
|
|
85
|
+
* { /* metadata only *\/ }
|
|
86
|
+
* *\/
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class PutIdentityPolicyCommand extends PutIdentityPolicyCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: PutIdentityPolicyRequest;
|
|
96
|
+
output: {};
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: PutIdentityPolicyCommandInput;
|
|
100
|
+
output: PutIdentityPolicyCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ReorderReceiptRuleSetRequest, ReorderReceiptRuleSetResponse } 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 ReorderReceiptRuleSetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ReorderReceiptRuleSetCommandInput extends ReorderReceiptRuleSetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ReorderReceiptRuleSetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ReorderReceiptRuleSetCommandOutput extends ReorderReceiptRuleSetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ReorderReceiptRuleSetCommand_base: {
|
|
25
|
+
new (input: ReorderReceiptRuleSetCommandInput): import("@smithy/smithy-client").CommandImpl<ReorderReceiptRuleSetCommandInput, ReorderReceiptRuleSetCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ReorderReceiptRuleSetCommandInput): import("@smithy/smithy-client").CommandImpl<ReorderReceiptRuleSetCommandInput, ReorderReceiptRuleSetCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Reorders the receipt rules within a receipt rule set.</p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>All of the rules in the rule set must be represented in this request. That is, it
|
|
33
|
+
* is error if the reorder request doesn't explicitly position all of the rules.</p>
|
|
34
|
+
* </note>
|
|
35
|
+
* <p>For information about managing receipt rule sets, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/receiving-email-receipt-rules-console-walkthrough.html">Amazon SES
|
|
36
|
+
* Developer Guide</a>.</p>
|
|
37
|
+
* <p>You can execute this operation no more than once per second.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { SESClient, ReorderReceiptRuleSetCommand } from "@aws-sdk/client-ses"; // ES Modules import
|
|
42
|
+
* // const { SESClient, ReorderReceiptRuleSetCommand } = require("@aws-sdk/client-ses"); // CommonJS import
|
|
43
|
+
* // import type { SESClientConfig } from "@aws-sdk/client-ses";
|
|
44
|
+
* const config = {}; // type is SESClientConfig
|
|
45
|
+
* const client = new SESClient(config);
|
|
46
|
+
* const input = { // ReorderReceiptRuleSetRequest
|
|
47
|
+
* RuleSetName: "STRING_VALUE", // required
|
|
48
|
+
* RuleNames: [ // ReceiptRuleNamesList // required
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* };
|
|
52
|
+
* const command = new ReorderReceiptRuleSetCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // {};
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ReorderReceiptRuleSetCommandInput - {@link ReorderReceiptRuleSetCommandInput}
|
|
59
|
+
* @returns {@link ReorderReceiptRuleSetCommandOutput}
|
|
60
|
+
* @see {@link ReorderReceiptRuleSetCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ReorderReceiptRuleSetCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link RuleDoesNotExistException} (client fault)
|
|
65
|
+
* <p>Indicates that the provided receipt rule does not exist.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link RuleSetDoesNotExistException} (client fault)
|
|
68
|
+
* <p>Indicates that the provided receipt rule set does not exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link SESServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @example ReorderReceiptRuleSet
|
|
75
|
+
* ```javascript
|
|
76
|
+
* // The following example reorders the receipt rules within a receipt rule set:
|
|
77
|
+
* const input = {
|
|
78
|
+
* RuleNames: [
|
|
79
|
+
* "MyRule",
|
|
80
|
+
* "MyOtherRule"
|
|
81
|
+
* ],
|
|
82
|
+
* RuleSetName: "MyRuleSet"
|
|
83
|
+
* };
|
|
84
|
+
* const command = new ReorderReceiptRuleSetCommand(input);
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* /* response is
|
|
87
|
+
* { /* metadata only *\/ }
|
|
88
|
+
* *\/
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ReorderReceiptRuleSetCommand extends ReorderReceiptRuleSetCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: ReorderReceiptRuleSetRequest;
|
|
98
|
+
output: {};
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: ReorderReceiptRuleSetCommandInput;
|
|
102
|
+
output: ReorderReceiptRuleSetCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendBounceRequest, SendBounceResponse } 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 SendBounceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendBounceCommandInput extends SendBounceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendBounceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendBounceCommandOutput extends SendBounceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendBounceCommand_base: {
|
|
25
|
+
new (input: SendBounceCommandInput): import("@smithy/smithy-client").CommandImpl<SendBounceCommandInput, SendBounceCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendBounceCommandInput): import("@smithy/smithy-client").CommandImpl<SendBounceCommandInput, SendBounceCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Generates and sends a bounce message to the sender of an email you received through
|
|
31
|
+
* Amazon SES. You can only use this operation on an email up to 24 hours after you receive
|
|
32
|
+
* it.</p>
|
|
33
|
+
* <note>
|
|
34
|
+
* <p>You cannot use this operation to send generic bounces for mail that was not
|
|
35
|
+
* received by Amazon SES.</p>
|
|
36
|
+
* </note>
|
|
37
|
+
* <p>For information about receiving email through Amazon SES, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/receiving-email.html">Amazon SES Developer
|
|
38
|
+
* Guide</a>.</p>
|
|
39
|
+
* <p>You can execute this operation no more than once per second.</p>
|
|
40
|
+
* @example
|
|
41
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
+
* ```javascript
|
|
43
|
+
* import { SESClient, SendBounceCommand } from "@aws-sdk/client-ses"; // ES Modules import
|
|
44
|
+
* // const { SESClient, SendBounceCommand } = require("@aws-sdk/client-ses"); // CommonJS import
|
|
45
|
+
* // import type { SESClientConfig } from "@aws-sdk/client-ses";
|
|
46
|
+
* const config = {}; // type is SESClientConfig
|
|
47
|
+
* const client = new SESClient(config);
|
|
48
|
+
* const input = { // SendBounceRequest
|
|
49
|
+
* OriginalMessageId: "STRING_VALUE", // required
|
|
50
|
+
* BounceSender: "STRING_VALUE", // required
|
|
51
|
+
* Explanation: "STRING_VALUE",
|
|
52
|
+
* MessageDsn: { // MessageDsn
|
|
53
|
+
* ReportingMta: "STRING_VALUE", // required
|
|
54
|
+
* ArrivalDate: new Date("TIMESTAMP"),
|
|
55
|
+
* ExtensionFields: [ // ExtensionFieldList
|
|
56
|
+
* { // ExtensionField
|
|
57
|
+
* Name: "STRING_VALUE", // required
|
|
58
|
+
* Value: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* BouncedRecipientInfoList: [ // BouncedRecipientInfoList // required
|
|
63
|
+
* { // BouncedRecipientInfo
|
|
64
|
+
* Recipient: "STRING_VALUE", // required
|
|
65
|
+
* RecipientArn: "STRING_VALUE",
|
|
66
|
+
* BounceType: "DoesNotExist" || "MessageTooLarge" || "ExceededQuota" || "ContentRejected" || "Undefined" || "TemporaryFailure",
|
|
67
|
+
* RecipientDsnFields: { // RecipientDsnFields
|
|
68
|
+
* FinalRecipient: "STRING_VALUE",
|
|
69
|
+
* Action: "failed" || "delayed" || "delivered" || "relayed" || "expanded", // required
|
|
70
|
+
* RemoteMta: "STRING_VALUE",
|
|
71
|
+
* Status: "STRING_VALUE", // required
|
|
72
|
+
* DiagnosticCode: "STRING_VALUE",
|
|
73
|
+
* LastAttemptDate: new Date("TIMESTAMP"),
|
|
74
|
+
* ExtensionFields: [
|
|
75
|
+
* {
|
|
76
|
+
* Name: "STRING_VALUE", // required
|
|
77
|
+
* Value: "STRING_VALUE", // required
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* BounceSenderArn: "STRING_VALUE",
|
|
84
|
+
* };
|
|
85
|
+
* const command = new SendBounceCommand(input);
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* // { // SendBounceResponse
|
|
88
|
+
* // MessageId: "STRING_VALUE",
|
|
89
|
+
* // };
|
|
90
|
+
*
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* @param SendBounceCommandInput - {@link SendBounceCommandInput}
|
|
94
|
+
* @returns {@link SendBounceCommandOutput}
|
|
95
|
+
* @see {@link SendBounceCommandInput} for command's `input` shape.
|
|
96
|
+
* @see {@link SendBounceCommandOutput} for command's `response` shape.
|
|
97
|
+
* @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link MessageRejected} (client fault)
|
|
100
|
+
* <p>Indicates that the action failed, and the message could not be sent. Check the error
|
|
101
|
+
* stack for more information about what caused the error.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link SESServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class SendBounceCommand extends SendBounceCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: SendBounceRequest;
|
|
114
|
+
output: SendBounceResponse;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: SendBounceCommandInput;
|
|
118
|
+
output: SendBounceCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendBulkTemplatedEmailRequest, SendBulkTemplatedEmailResponse } 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 SendBulkTemplatedEmailCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendBulkTemplatedEmailCommandInput extends SendBulkTemplatedEmailRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendBulkTemplatedEmailCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendBulkTemplatedEmailCommandOutput extends SendBulkTemplatedEmailResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendBulkTemplatedEmailCommand_base: {
|
|
25
|
+
new (input: SendBulkTemplatedEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendBulkTemplatedEmailCommandInput, SendBulkTemplatedEmailCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendBulkTemplatedEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendBulkTemplatedEmailCommandInput, SendBulkTemplatedEmailCommandOutput, SESClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Composes an email message to multiple destinations. The message body is created using
|
|
31
|
+
* an email template.</p>
|
|
32
|
+
* <p>To send email using this operation, your call must meet the following
|
|
33
|
+
* requirements:</p>
|
|
34
|
+
* <ul>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>The call must refer to an existing email template. You can create email
|
|
37
|
+
* templates using <a>CreateTemplate</a>.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>The message must be sent from a verified email address or domain.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>If your account is still in the Amazon SES sandbox, you may send only to verified
|
|
44
|
+
* addresses or domains, or to email addresses associated with the Amazon SES Mailbox
|
|
45
|
+
* Simulator. For more information, see <a href="https://docs.aws.amazon.com/ses/latest/dg/verify-addresses-and-domains.html">Verifying Email
|
|
46
|
+
* Addresses and Domains</a> in the <i>Amazon SES Developer
|
|
47
|
+
* Guide.</i>
|
|
48
|
+
* </p>
|
|
49
|
+
* </li>
|
|
50
|
+
* <li>
|
|
51
|
+
* <p>The maximum message size is 10 MB.</p>
|
|
52
|
+
* </li>
|
|
53
|
+
* <li>
|
|
54
|
+
* <p>Each <code>Destination</code> parameter must include at least one recipient
|
|
55
|
+
* email address. The recipient address can be a To: address, a CC: address, or a
|
|
56
|
+
* BCC: address. If a recipient email address is invalid (that is, it is not in the
|
|
57
|
+
* format <i>UserName@[SubDomain.]Domain.TopLevelDomain</i>), the
|
|
58
|
+
* entire message is rejected, even if the message contains other recipients that
|
|
59
|
+
* are valid.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>The message may not include more than 50 recipients, across the To:, CC: and
|
|
63
|
+
* BCC: fields. If you need to send an email message to a larger audience, you can
|
|
64
|
+
* divide your recipient list into groups of 50 or fewer, and then call the
|
|
65
|
+
* <code>SendBulkTemplatedEmail</code> operation several times to send the
|
|
66
|
+
* message to each group.</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>The number of destinations you can contact in a single call can be limited by
|
|
70
|
+
* your account's maximum sending rate.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* </ul>
|
|
73
|
+
* @example
|
|
74
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
75
|
+
* ```javascript
|
|
76
|
+
* import { SESClient, SendBulkTemplatedEmailCommand } from "@aws-sdk/client-ses"; // ES Modules import
|
|
77
|
+
* // const { SESClient, SendBulkTemplatedEmailCommand } = 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 = { // SendBulkTemplatedEmailRequest
|
|
82
|
+
* Source: "STRING_VALUE", // required
|
|
83
|
+
* SourceArn: "STRING_VALUE",
|
|
84
|
+
* ReplyToAddresses: [ // AddressList
|
|
85
|
+
* "STRING_VALUE",
|
|
86
|
+
* ],
|
|
87
|
+
* ReturnPath: "STRING_VALUE",
|
|
88
|
+
* ReturnPathArn: "STRING_VALUE",
|
|
89
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
90
|
+
* DefaultTags: [ // MessageTagList
|
|
91
|
+
* { // MessageTag
|
|
92
|
+
* Name: "STRING_VALUE", // required
|
|
93
|
+
* Value: "STRING_VALUE", // required
|
|
94
|
+
* },
|
|
95
|
+
* ],
|
|
96
|
+
* Template: "STRING_VALUE", // required
|
|
97
|
+
* TemplateArn: "STRING_VALUE",
|
|
98
|
+
* DefaultTemplateData: "STRING_VALUE", // required
|
|
99
|
+
* Destinations: [ // BulkEmailDestinationList // required
|
|
100
|
+
* { // BulkEmailDestination
|
|
101
|
+
* Destination: { // Destination
|
|
102
|
+
* ToAddresses: [
|
|
103
|
+
* "STRING_VALUE",
|
|
104
|
+
* ],
|
|
105
|
+
* CcAddresses: [
|
|
106
|
+
* "STRING_VALUE",
|
|
107
|
+
* ],
|
|
108
|
+
* BccAddresses: [
|
|
109
|
+
* "STRING_VALUE",
|
|
110
|
+
* ],
|
|
111
|
+
* },
|
|
112
|
+
* ReplacementTags: [
|
|
113
|
+
* {
|
|
114
|
+
* Name: "STRING_VALUE", // required
|
|
115
|
+
* Value: "STRING_VALUE", // required
|
|
116
|
+
* },
|
|
117
|
+
* ],
|
|
118
|
+
* ReplacementTemplateData: "STRING_VALUE",
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* };
|
|
122
|
+
* const command = new SendBulkTemplatedEmailCommand(input);
|
|
123
|
+
* const response = await client.send(command);
|
|
124
|
+
* // { // SendBulkTemplatedEmailResponse
|
|
125
|
+
* // Status: [ // BulkEmailDestinationStatusList // required
|
|
126
|
+
* // { // BulkEmailDestinationStatus
|
|
127
|
+
* // Status: "Success" || "MessageRejected" || "MailFromDomainNotVerified" || "ConfigurationSetDoesNotExist" || "TemplateDoesNotExist" || "AccountSuspended" || "AccountThrottled" || "AccountDailyQuotaExceeded" || "InvalidSendingPoolName" || "AccountSendingPaused" || "ConfigurationSetSendingPaused" || "InvalidParameterValue" || "TransientFailure" || "Failed",
|
|
128
|
+
* // Error: "STRING_VALUE",
|
|
129
|
+
* // MessageId: "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
132
|
+
* // };
|
|
133
|
+
*
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
136
|
+
* @param SendBulkTemplatedEmailCommandInput - {@link SendBulkTemplatedEmailCommandInput}
|
|
137
|
+
* @returns {@link SendBulkTemplatedEmailCommandOutput}
|
|
138
|
+
* @see {@link SendBulkTemplatedEmailCommandInput} for command's `input` shape.
|
|
139
|
+
* @see {@link SendBulkTemplatedEmailCommandOutput} for command's `response` shape.
|
|
140
|
+
* @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link AccountSendingPausedException} (client fault)
|
|
143
|
+
* <p>Indicates that email sending is disabled for your entire Amazon SES account.</p>
|
|
144
|
+
* <p>You can enable or disable email sending for your Amazon SES account using <a>UpdateAccountSendingEnabled</a>.</p>
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link ConfigurationSetDoesNotExistException} (client fault)
|
|
147
|
+
* <p>Indicates that the configuration set does not exist.</p>
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link ConfigurationSetSendingPausedException} (client fault)
|
|
150
|
+
* <p>Indicates that email sending is disabled for the configuration set.</p>
|
|
151
|
+
* <p>You can enable or disable email sending for a configuration set using <a>UpdateConfigurationSetSendingEnabled</a>.</p>
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link MailFromDomainNotVerifiedException} (client fault)
|
|
154
|
+
* <p> Indicates that the message could not be sent because Amazon SES could not read the MX
|
|
155
|
+
* record required to use the specified MAIL FROM domain. For information about editing the
|
|
156
|
+
* 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
|
|
157
|
+
* Guide</a>.</p>
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link MessageRejected} (client fault)
|
|
160
|
+
* <p>Indicates that the action failed, and the message could not be sent. Check the error
|
|
161
|
+
* stack for more information about what caused the error.</p>
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link TemplateDoesNotExistException} (client fault)
|
|
164
|
+
* <p>Indicates that the Template object you specified does not exist in your Amazon SES
|
|
165
|
+
* account.</p>
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link SESServiceException}
|
|
168
|
+
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
169
|
+
*
|
|
170
|
+
*
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
export declare class SendBulkTemplatedEmailCommand extends SendBulkTemplatedEmailCommand_base {
|
|
174
|
+
/** @internal type navigation helper, not in runtime. */
|
|
175
|
+
protected static __types: {
|
|
176
|
+
api: {
|
|
177
|
+
input: SendBulkTemplatedEmailRequest;
|
|
178
|
+
output: SendBulkTemplatedEmailResponse;
|
|
179
|
+
};
|
|
180
|
+
sdk: {
|
|
181
|
+
input: SendBulkTemplatedEmailCommandInput;
|
|
182
|
+
output: SendBulkTemplatedEmailCommandOutput;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
}
|