@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 @@
|
|
|
1
|
+
export * from "./waitForIdentityExists";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
|
+
import { GetIdentityVerificationAttributesCommand, } from "../commands/GetIdentityVerificationAttributesCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new GetIdentityVerificationAttributesCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
let objectProjection_2 = Object.values(result.VerificationAttributes).map((element_1) => {
|
|
11
|
+
return element_1.VerificationStatus;
|
|
12
|
+
});
|
|
13
|
+
return objectProjection_2;
|
|
14
|
+
};
|
|
15
|
+
let allStringEq_4 = (returnComparator().length > 0);
|
|
16
|
+
for (let element_3 of returnComparator()) {
|
|
17
|
+
allStringEq_4 = allStringEq_4 && (element_3 == "Success");
|
|
18
|
+
}
|
|
19
|
+
if (allStringEq_4) {
|
|
20
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
catch (e) { }
|
|
24
|
+
}
|
|
25
|
+
catch (exception) {
|
|
26
|
+
reason = exception;
|
|
27
|
+
}
|
|
28
|
+
return { state: WaiterState.RETRY, reason };
|
|
29
|
+
};
|
|
30
|
+
export const waitForIdentityExists = async (params, input) => {
|
|
31
|
+
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
32
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
33
|
+
};
|
|
34
|
+
export const waitUntilIdentityExists = async (params, input) => {
|
|
35
|
+
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
36
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
37
|
+
return checkExceptions(result);
|
|
38
|
+
};
|