@aws-sdk/client-sesv2 3.190.0 → 3.192.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/CHANGELOG.md +22 -0
- package/dist-cjs/SESv2.js +15 -0
- package/dist-cjs/SESv2Client.js +11 -8
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +10 -0
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +10 -0
- package/dist-cjs/commands/CreateContactCommand.js +10 -0
- package/dist-cjs/commands/CreateContactListCommand.js +10 -0
- package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +10 -0
- package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +10 -0
- package/dist-cjs/commands/CreateEmailIdentityCommand.js +10 -0
- package/dist-cjs/commands/CreateEmailIdentityPolicyCommand.js +10 -0
- package/dist-cjs/commands/CreateEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/CreateImportJobCommand.js +10 -0
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +10 -0
- package/dist-cjs/commands/DeleteContactCommand.js +10 -0
- package/dist-cjs/commands/DeleteContactListCommand.js +10 -0
- package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +10 -0
- package/dist-cjs/commands/DeleteEmailIdentityCommand.js +10 -0
- package/dist-cjs/commands/DeleteEmailIdentityPolicyCommand.js +10 -0
- package/dist-cjs/commands/DeleteEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/DeleteSuppressedDestinationCommand.js +10 -0
- package/dist-cjs/commands/GetAccountCommand.js +10 -0
- package/dist-cjs/commands/GetBlacklistReportsCommand.js +10 -0
- package/dist-cjs/commands/GetConfigurationSetCommand.js +10 -0
- package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +10 -0
- package/dist-cjs/commands/GetContactCommand.js +10 -0
- package/dist-cjs/commands/GetContactListCommand.js +10 -0
- package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/GetDedicatedIpCommand.js +10 -0
- package/dist-cjs/commands/GetDedicatedIpPoolCommand.js +46 -0
- package/dist-cjs/commands/GetDedicatedIpsCommand.js +10 -0
- package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +10 -0
- package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +10 -0
- package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +10 -0
- package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +10 -0
- package/dist-cjs/commands/GetEmailIdentityCommand.js +10 -0
- package/dist-cjs/commands/GetEmailIdentityPoliciesCommand.js +10 -0
- package/dist-cjs/commands/GetEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/GetImportJobCommand.js +10 -0
- package/dist-cjs/commands/GetSuppressedDestinationCommand.js +10 -0
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +10 -0
- package/dist-cjs/commands/ListContactListsCommand.js +10 -0
- package/dist-cjs/commands/ListContactsCommand.js +10 -0
- package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +10 -0
- package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +10 -0
- package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +10 -0
- package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +10 -0
- package/dist-cjs/commands/ListEmailIdentitiesCommand.js +10 -0
- package/dist-cjs/commands/ListEmailTemplatesCommand.js +10 -0
- package/dist-cjs/commands/ListImportJobsCommand.js +10 -0
- package/dist-cjs/commands/ListSuppressedDestinationsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutAccountDetailsCommand.js +10 -0
- package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutAccountSuppressionAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +10 -0
- package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +10 -0
- package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +10 -0
- package/dist-cjs/commands/PutConfigurationSetSuppressionOptionsCommand.js +10 -0
- package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +10 -0
- package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +10 -0
- package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +10 -0
- package/dist-cjs/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutEmailIdentityDkimSigningAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutSuppressedDestinationCommand.js +10 -0
- package/dist-cjs/commands/SendBulkEmailCommand.js +10 -0
- package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +10 -0
- package/dist-cjs/commands/SendEmailCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/TestRenderEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactListCommand.js +10 -0
- package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/UpdateEmailIdentityPolicyCommand.js +10 -0
- package/dist-cjs/commands/UpdateEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +31 -6
- package/dist-cjs/protocols/Aws_restJson1.js +74 -4
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/SESv2.js +15 -0
- package/dist-es/SESv2Client.js +12 -9
- package/dist-es/commands/CreateConfigurationSetCommand.js +10 -0
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +10 -0
- package/dist-es/commands/CreateContactCommand.js +10 -0
- package/dist-es/commands/CreateContactListCommand.js +10 -0
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +10 -0
- package/dist-es/commands/CreateDedicatedIpPoolCommand.js +10 -0
- package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +10 -0
- package/dist-es/commands/CreateEmailIdentityCommand.js +10 -0
- package/dist-es/commands/CreateEmailIdentityPolicyCommand.js +10 -0
- package/dist-es/commands/CreateEmailTemplateCommand.js +10 -0
- package/dist-es/commands/CreateImportJobCommand.js +10 -0
- package/dist-es/commands/DeleteConfigurationSetCommand.js +10 -0
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +10 -0
- package/dist-es/commands/DeleteContactCommand.js +10 -0
- package/dist-es/commands/DeleteContactListCommand.js +10 -0
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +10 -0
- package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +10 -0
- package/dist-es/commands/DeleteEmailIdentityCommand.js +10 -0
- package/dist-es/commands/DeleteEmailIdentityPolicyCommand.js +10 -0
- package/dist-es/commands/DeleteEmailTemplateCommand.js +10 -0
- package/dist-es/commands/DeleteSuppressedDestinationCommand.js +10 -0
- package/dist-es/commands/GetAccountCommand.js +10 -0
- package/dist-es/commands/GetBlacklistReportsCommand.js +10 -0
- package/dist-es/commands/GetConfigurationSetCommand.js +10 -0
- package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +10 -0
- package/dist-es/commands/GetContactCommand.js +10 -0
- package/dist-es/commands/GetContactListCommand.js +10 -0
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +10 -0
- package/dist-es/commands/GetDedicatedIpCommand.js +10 -0
- package/dist-es/commands/GetDedicatedIpPoolCommand.js +42 -0
- package/dist-es/commands/GetDedicatedIpsCommand.js +10 -0
- package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +10 -0
- package/dist-es/commands/GetDeliverabilityTestReportCommand.js +10 -0
- package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +10 -0
- package/dist-es/commands/GetDomainStatisticsReportCommand.js +10 -0
- package/dist-es/commands/GetEmailIdentityCommand.js +10 -0
- package/dist-es/commands/GetEmailIdentityPoliciesCommand.js +10 -0
- package/dist-es/commands/GetEmailTemplateCommand.js +10 -0
- package/dist-es/commands/GetImportJobCommand.js +10 -0
- package/dist-es/commands/GetSuppressedDestinationCommand.js +10 -0
- package/dist-es/commands/ListConfigurationSetsCommand.js +10 -0
- package/dist-es/commands/ListContactListsCommand.js +10 -0
- package/dist-es/commands/ListContactsCommand.js +10 -0
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +10 -0
- package/dist-es/commands/ListDedicatedIpPoolsCommand.js +10 -0
- package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +10 -0
- package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +10 -0
- package/dist-es/commands/ListEmailIdentitiesCommand.js +10 -0
- package/dist-es/commands/ListEmailTemplatesCommand.js +10 -0
- package/dist-es/commands/ListImportJobsCommand.js +10 -0
- package/dist-es/commands/ListSuppressedDestinationsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +10 -0
- package/dist-es/commands/PutAccountDetailsCommand.js +10 -0
- package/dist-es/commands/PutAccountSendingAttributesCommand.js +10 -0
- package/dist-es/commands/PutAccountSuppressionAttributesCommand.js +10 -0
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +10 -0
- package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +10 -0
- package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +10 -0
- package/dist-es/commands/PutConfigurationSetSuppressionOptionsCommand.js +10 -0
- package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +10 -0
- package/dist-es/commands/PutDedicatedIpInPoolCommand.js +10 -0
- package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +10 -0
- package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +10 -0
- package/dist-es/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +10 -0
- package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +10 -0
- package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +10 -0
- package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +10 -0
- package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +10 -0
- package/dist-es/commands/PutSuppressedDestinationCommand.js +10 -0
- package/dist-es/commands/SendBulkEmailCommand.js +10 -0
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +10 -0
- package/dist-es/commands/SendEmailCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/TestRenderEmailTemplateCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +10 -0
- package/dist-es/commands/UpdateContactCommand.js +10 -0
- package/dist-es/commands/UpdateContactListCommand.js +10 -0
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +10 -0
- package/dist-es/commands/UpdateEmailIdentityPolicyCommand.js +10 -0
- package/dist-es/commands/UpdateEmailTemplateCommand.js +10 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/protocols/Aws_restJson1.js +68 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/SESv2.d.ts +22 -9
- package/dist-types/SESv2Client.d.ts +9 -11
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -0
- package/dist-types/commands/CreateContactCommand.d.ts +2 -0
- package/dist-types/commands/CreateContactListCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +4 -1
- package/dist-types/commands/CreateDedicatedIpPoolCommand.d.ts +2 -0
- package/dist-types/commands/CreateDeliverabilityTestReportCommand.d.ts +2 -0
- package/dist-types/commands/CreateEmailIdentityCommand.d.ts +2 -0
- package/dist-types/commands/CreateEmailIdentityPolicyCommand.d.ts +2 -0
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateImportJobCommand.d.ts +2 -0
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteContactCommand.d.ts +2 -0
- package/dist-types/commands/DeleteContactListCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +4 -1
- package/dist-types/commands/DeleteDedicatedIpPoolCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEmailIdentityCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEmailIdentityPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSuppressedDestinationCommand.d.ts +2 -0
- package/dist-types/commands/GetAccountCommand.d.ts +2 -0
- package/dist-types/commands/GetBlacklistReportsCommand.d.ts +2 -0
- package/dist-types/commands/GetConfigurationSetCommand.d.ts +2 -0
- package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +2 -0
- package/dist-types/commands/GetContactCommand.d.ts +2 -0
- package/dist-types/commands/GetContactListCommand.d.ts +2 -0
- package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +4 -1
- package/dist-types/commands/GetDedicatedIpCommand.d.ts +2 -0
- package/dist-types/commands/GetDedicatedIpPoolCommand.d.ts +37 -0
- package/dist-types/commands/GetDedicatedIpsCommand.d.ts +2 -0
- package/dist-types/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +2 -0
- package/dist-types/commands/GetDeliverabilityTestReportCommand.d.ts +2 -0
- package/dist-types/commands/GetDomainDeliverabilityCampaignCommand.d.ts +2 -0
- package/dist-types/commands/GetDomainStatisticsReportCommand.d.ts +2 -0
- package/dist-types/commands/GetEmailIdentityCommand.d.ts +2 -0
- package/dist-types/commands/GetEmailIdentityPoliciesCommand.d.ts +2 -0
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +2 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +2 -0
- package/dist-types/commands/GetSuppressedDestinationCommand.d.ts +2 -0
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListContactListsCommand.d.ts +2 -0
- package/dist-types/commands/ListContactsCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +5 -2
- package/dist-types/commands/ListDedicatedIpPoolsCommand.d.ts +2 -0
- package/dist-types/commands/ListDeliverabilityTestReportsCommand.d.ts +2 -0
- package/dist-types/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +2 -0
- package/dist-types/commands/ListEmailIdentitiesCommand.d.ts +2 -0
- package/dist-types/commands/ListEmailTemplatesCommand.d.ts +2 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListSuppressedDestinationsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutAccountDetailsCommand.d.ts +2 -0
- package/dist-types/commands/PutAccountSendingAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutAccountSuppressionAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -0
- package/dist-types/commands/PutConfigurationSetReputationOptionsCommand.d.ts +2 -0
- package/dist-types/commands/PutConfigurationSetSendingOptionsCommand.d.ts +2 -0
- package/dist-types/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +2 -0
- package/dist-types/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +2 -0
- package/dist-types/commands/PutDedicatedIpInPoolCommand.d.ts +2 -0
- package/dist-types/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutDeliverabilityDashboardOptionCommand.d.ts +2 -0
- package/dist-types/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutEmailIdentityDkimAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +2 -0
- package/dist-types/commands/SendBulkEmailCommand.d.ts +2 -0
- package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +6 -3
- package/dist-types/commands/SendEmailCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContactCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContactListCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +4 -1
- package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +160 -25
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/SESv2.d.ts +17 -0
- package/dist-types/ts3.4/SESv2Client.d.ts +21 -8
- package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateContactListCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDedicatedIpPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDeliverabilityTestReportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEmailIdentityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEmailIdentityPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteContactListCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDedicatedIpPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEmailIdentityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEmailIdentityPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSuppressedDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBlacklistReportsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetConfigurationSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetContactListCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDedicatedIpCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDedicatedIpPoolCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDedicatedIpsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDeliverabilityTestReportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDomainDeliverabilityCampaignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDomainStatisticsReportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEmailIdentityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEmailIdentityPoliciesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSuppressedDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListContactListsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListContactsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDedicatedIpPoolsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDeliverabilityTestReportsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEmailIdentitiesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEmailTemplatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSuppressedDestinationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccountDetailsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccountSuppressionAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutDedicatedIpInPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutDeliverabilityDashboardOptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutEmailIdentityDkimAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendBulkEmailCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TestRenderEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactListCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEmailIdentityPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -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/models/models_0.d.ts +35 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +4 -3
- package/dist-cjs/endpoints.js +0 -159
- package/dist-es/endpoints.js +0 -155
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateContactRequestFilterSensitiveLog, UpdateContactResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateContactCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateContactCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SESv2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateContactListRequestFilterSensitiveLog, UpdateContactListResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateContactListCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateContactListCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SESv2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateCustomVerificationEmailTemplateRequestFilterSensitiveLog, UpdateCustomVerificationEmailTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateCustomVerificationEmailTemplateCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCustomVerificationEmailTemplateCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SESv2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateEmailIdentityPolicyRequestFilterSensitiveLog, UpdateEmailIdentityPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateEmailIdentityPolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEmailIdentityPolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SESv2Client";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateEmailTemplateRequestFilterSensitiveLog, UpdateEmailTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateEmailTemplateCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEmailTemplateCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SESv2Client";
|
|
@@ -27,6 +27,7 @@ export * from "./GetContactCommand";
|
|
|
27
27
|
export * from "./GetContactListCommand";
|
|
28
28
|
export * from "./GetCustomVerificationEmailTemplateCommand";
|
|
29
29
|
export * from "./GetDedicatedIpCommand";
|
|
30
|
+
export * from "./GetDedicatedIpPoolCommand";
|
|
30
31
|
export * from "./GetDedicatedIpsCommand";
|
|
31
32
|
export * from "./GetDeliverabilityDashboardOptionsCommand";
|
|
32
33
|
export * from "./GetDeliverabilityTestReportCommand";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "../endpoint/ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
export const ruleSet = {
|
|
2
|
+
version: "1.0",
|
|
3
|
+
parameters: {
|
|
4
|
+
Region: {
|
|
5
|
+
builtIn: "AWS::Region",
|
|
6
|
+
required: true,
|
|
7
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
+
type: "String",
|
|
9
|
+
},
|
|
10
|
+
UseDualStack: {
|
|
11
|
+
builtIn: "AWS::UseDualStack",
|
|
12
|
+
required: true,
|
|
13
|
+
default: false,
|
|
14
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
+
type: "Boolean",
|
|
16
|
+
},
|
|
17
|
+
UseFIPS: {
|
|
18
|
+
builtIn: "AWS::UseFIPS",
|
|
19
|
+
required: true,
|
|
20
|
+
default: false,
|
|
21
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
22
|
+
type: "Boolean",
|
|
23
|
+
},
|
|
24
|
+
Endpoint: {
|
|
25
|
+
builtIn: "SDK::Endpoint",
|
|
26
|
+
required: false,
|
|
27
|
+
documentation: "Override the endpoint used to send this request",
|
|
28
|
+
type: "String",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
rules: [
|
|
32
|
+
{
|
|
33
|
+
conditions: [
|
|
34
|
+
{
|
|
35
|
+
fn: "aws.partition",
|
|
36
|
+
argv: [
|
|
37
|
+
{
|
|
38
|
+
ref: "Region",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
assign: "PartitionResult",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
type: "tree",
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
conditions: [
|
|
48
|
+
{
|
|
49
|
+
fn: "isSet",
|
|
50
|
+
argv: [
|
|
51
|
+
{
|
|
52
|
+
ref: "Endpoint",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
fn: "parseURL",
|
|
58
|
+
argv: [
|
|
59
|
+
{
|
|
60
|
+
ref: "Endpoint",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
assign: "url",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
type: "tree",
|
|
67
|
+
rules: [
|
|
68
|
+
{
|
|
69
|
+
conditions: [
|
|
70
|
+
{
|
|
71
|
+
fn: "booleanEquals",
|
|
72
|
+
argv: [
|
|
73
|
+
{
|
|
74
|
+
ref: "UseFIPS",
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
conditions: [],
|
|
85
|
+
type: "tree",
|
|
86
|
+
rules: [
|
|
87
|
+
{
|
|
88
|
+
conditions: [
|
|
89
|
+
{
|
|
90
|
+
fn: "booleanEquals",
|
|
91
|
+
argv: [
|
|
92
|
+
{
|
|
93
|
+
ref: "UseDualStack",
|
|
94
|
+
},
|
|
95
|
+
true,
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
+
type: "error",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
conditions: [],
|
|
104
|
+
endpoint: {
|
|
105
|
+
url: {
|
|
106
|
+
ref: "Endpoint",
|
|
107
|
+
},
|
|
108
|
+
properties: {},
|
|
109
|
+
headers: {},
|
|
110
|
+
},
|
|
111
|
+
type: "endpoint",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
conditions: [
|
|
119
|
+
{
|
|
120
|
+
fn: "booleanEquals",
|
|
121
|
+
argv: [
|
|
122
|
+
{
|
|
123
|
+
ref: "UseFIPS",
|
|
124
|
+
},
|
|
125
|
+
true,
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
fn: "booleanEquals",
|
|
130
|
+
argv: [
|
|
131
|
+
{
|
|
132
|
+
ref: "UseDualStack",
|
|
133
|
+
},
|
|
134
|
+
true,
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
type: "tree",
|
|
139
|
+
rules: [
|
|
140
|
+
{
|
|
141
|
+
conditions: [
|
|
142
|
+
{
|
|
143
|
+
fn: "booleanEquals",
|
|
144
|
+
argv: [
|
|
145
|
+
true,
|
|
146
|
+
{
|
|
147
|
+
fn: "getAttr",
|
|
148
|
+
argv: [
|
|
149
|
+
{
|
|
150
|
+
ref: "PartitionResult",
|
|
151
|
+
},
|
|
152
|
+
"supportsFIPS",
|
|
153
|
+
],
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
fn: "booleanEquals",
|
|
159
|
+
argv: [
|
|
160
|
+
true,
|
|
161
|
+
{
|
|
162
|
+
fn: "getAttr",
|
|
163
|
+
argv: [
|
|
164
|
+
{
|
|
165
|
+
ref: "PartitionResult",
|
|
166
|
+
},
|
|
167
|
+
"supportsDualStack",
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
type: "tree",
|
|
174
|
+
rules: [
|
|
175
|
+
{
|
|
176
|
+
conditions: [],
|
|
177
|
+
endpoint: {
|
|
178
|
+
url: "https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
179
|
+
properties: {},
|
|
180
|
+
headers: {},
|
|
181
|
+
},
|
|
182
|
+
type: "endpoint",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
conditions: [],
|
|
188
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
189
|
+
type: "error",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
conditions: [
|
|
195
|
+
{
|
|
196
|
+
fn: "booleanEquals",
|
|
197
|
+
argv: [
|
|
198
|
+
{
|
|
199
|
+
ref: "UseFIPS",
|
|
200
|
+
},
|
|
201
|
+
true,
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
type: "tree",
|
|
206
|
+
rules: [
|
|
207
|
+
{
|
|
208
|
+
conditions: [
|
|
209
|
+
{
|
|
210
|
+
fn: "booleanEquals",
|
|
211
|
+
argv: [
|
|
212
|
+
true,
|
|
213
|
+
{
|
|
214
|
+
fn: "getAttr",
|
|
215
|
+
argv: [
|
|
216
|
+
{
|
|
217
|
+
ref: "PartitionResult",
|
|
218
|
+
},
|
|
219
|
+
"supportsFIPS",
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
type: "tree",
|
|
226
|
+
rules: [
|
|
227
|
+
{
|
|
228
|
+
conditions: [],
|
|
229
|
+
type: "tree",
|
|
230
|
+
rules: [
|
|
231
|
+
{
|
|
232
|
+
conditions: [],
|
|
233
|
+
endpoint: {
|
|
234
|
+
url: "https://email-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
235
|
+
properties: {},
|
|
236
|
+
headers: {},
|
|
237
|
+
},
|
|
238
|
+
type: "endpoint",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
conditions: [],
|
|
246
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
247
|
+
type: "error",
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
conditions: [
|
|
253
|
+
{
|
|
254
|
+
fn: "booleanEquals",
|
|
255
|
+
argv: [
|
|
256
|
+
{
|
|
257
|
+
ref: "UseDualStack",
|
|
258
|
+
},
|
|
259
|
+
true,
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
type: "tree",
|
|
264
|
+
rules: [
|
|
265
|
+
{
|
|
266
|
+
conditions: [
|
|
267
|
+
{
|
|
268
|
+
fn: "booleanEquals",
|
|
269
|
+
argv: [
|
|
270
|
+
true,
|
|
271
|
+
{
|
|
272
|
+
fn: "getAttr",
|
|
273
|
+
argv: [
|
|
274
|
+
{
|
|
275
|
+
ref: "PartitionResult",
|
|
276
|
+
},
|
|
277
|
+
"supportsDualStack",
|
|
278
|
+
],
|
|
279
|
+
},
|
|
280
|
+
],
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
type: "tree",
|
|
284
|
+
rules: [
|
|
285
|
+
{
|
|
286
|
+
conditions: [],
|
|
287
|
+
endpoint: {
|
|
288
|
+
url: "https://email.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
289
|
+
properties: {},
|
|
290
|
+
headers: {},
|
|
291
|
+
},
|
|
292
|
+
type: "endpoint",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
conditions: [],
|
|
298
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
299
|
+
type: "error",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
conditions: [],
|
|
305
|
+
endpoint: {
|
|
306
|
+
url: "https://email.{Region}.{PartitionResult#dnsSuffix}",
|
|
307
|
+
properties: {},
|
|
308
|
+
headers: {},
|
|
309
|
+
},
|
|
310
|
+
type: "endpoint",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
};
|
|
@@ -174,6 +174,11 @@ export var EventType;
|
|
|
174
174
|
EventType["SEND"] = "SEND";
|
|
175
175
|
EventType["SUBSCRIPTION"] = "SUBSCRIPTION";
|
|
176
176
|
})(EventType || (EventType = {}));
|
|
177
|
+
export var ScalingMode;
|
|
178
|
+
(function (ScalingMode) {
|
|
179
|
+
ScalingMode["MANAGED"] = "MANAGED";
|
|
180
|
+
ScalingMode["STANDARD"] = "STANDARD";
|
|
181
|
+
})(ScalingMode || (ScalingMode = {}));
|
|
177
182
|
export var DeliverabilityTestStatus;
|
|
178
183
|
(function (DeliverabilityTestStatus) {
|
|
179
184
|
DeliverabilityTestStatus["COMPLETED"] = "COMPLETED";
|
|
@@ -267,6 +272,14 @@ export var MailFromDomainStatus;
|
|
|
267
272
|
MailFromDomainStatus["SUCCESS"] = "SUCCESS";
|
|
268
273
|
MailFromDomainStatus["TEMPORARY_FAILURE"] = "TEMPORARY_FAILURE";
|
|
269
274
|
})(MailFromDomainStatus || (MailFromDomainStatus = {}));
|
|
275
|
+
export var VerificationStatus;
|
|
276
|
+
(function (VerificationStatus) {
|
|
277
|
+
VerificationStatus["FAILED"] = "FAILED";
|
|
278
|
+
VerificationStatus["NOT_STARTED"] = "NOT_STARTED";
|
|
279
|
+
VerificationStatus["PENDING"] = "PENDING";
|
|
280
|
+
VerificationStatus["SUCCESS"] = "SUCCESS";
|
|
281
|
+
VerificationStatus["TEMPORARY_FAILURE"] = "TEMPORARY_FAILURE";
|
|
282
|
+
})(VerificationStatus || (VerificationStatus = {}));
|
|
270
283
|
export var JobStatus;
|
|
271
284
|
(function (JobStatus) {
|
|
272
285
|
JobStatus["COMPLETED"] = "COMPLETED";
|
|
@@ -496,6 +509,9 @@ export const DailyVolumeFilterSensitiveLog = (obj) => ({
|
|
|
496
509
|
export const DedicatedIpFilterSensitiveLog = (obj) => ({
|
|
497
510
|
...obj,
|
|
498
511
|
});
|
|
512
|
+
export const DedicatedIpPoolFilterSensitiveLog = (obj) => ({
|
|
513
|
+
...obj,
|
|
514
|
+
});
|
|
499
515
|
export const DeleteConfigurationSetRequestFilterSensitiveLog = (obj) => ({
|
|
500
516
|
...obj,
|
|
501
517
|
});
|
|
@@ -632,6 +648,12 @@ export const GetDedicatedIpRequestFilterSensitiveLog = (obj) => ({
|
|
|
632
648
|
export const GetDedicatedIpResponseFilterSensitiveLog = (obj) => ({
|
|
633
649
|
...obj,
|
|
634
650
|
});
|
|
651
|
+
export const GetDedicatedIpPoolRequestFilterSensitiveLog = (obj) => ({
|
|
652
|
+
...obj,
|
|
653
|
+
});
|
|
654
|
+
export const GetDedicatedIpPoolResponseFilterSensitiveLog = (obj) => ({
|
|
655
|
+
...obj,
|
|
656
|
+
});
|
|
635
657
|
export const GetDedicatedIpsRequestFilterSensitiveLog = (obj) => ({
|
|
636
658
|
...obj,
|
|
637
659
|
});
|
|
@@ -148,6 +148,7 @@ export const serializeAws_restJson1CreateDedicatedIpPoolCommand = async (input,
|
|
|
148
148
|
let body;
|
|
149
149
|
body = JSON.stringify({
|
|
150
150
|
...(input.PoolName != null && { PoolName: input.PoolName }),
|
|
151
|
+
...(input.ScalingMode != null && { ScalingMode: input.ScalingMode }),
|
|
151
152
|
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
152
153
|
});
|
|
153
154
|
return new __HttpRequest({
|
|
@@ -590,6 +591,22 @@ export const serializeAws_restJson1GetDedicatedIpCommand = async (input, context
|
|
|
590
591
|
body,
|
|
591
592
|
});
|
|
592
593
|
};
|
|
594
|
+
export const serializeAws_restJson1GetDedicatedIpPoolCommand = async (input, context) => {
|
|
595
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
596
|
+
const headers = {};
|
|
597
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/dedicated-ip-pools/{PoolName}";
|
|
598
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "PoolName", () => input.PoolName, "{PoolName}", false);
|
|
599
|
+
let body;
|
|
600
|
+
return new __HttpRequest({
|
|
601
|
+
protocol,
|
|
602
|
+
hostname,
|
|
603
|
+
port,
|
|
604
|
+
method: "GET",
|
|
605
|
+
headers,
|
|
606
|
+
path: resolvedPath,
|
|
607
|
+
body,
|
|
608
|
+
});
|
|
609
|
+
};
|
|
593
610
|
export const serializeAws_restJson1GetDedicatedIpsCommand = async (input, context) => {
|
|
594
611
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
595
612
|
const headers = {};
|
|
@@ -3000,6 +3017,45 @@ const deserializeAws_restJson1GetDedicatedIpCommandError = async (output, contex
|
|
|
3000
3017
|
});
|
|
3001
3018
|
}
|
|
3002
3019
|
};
|
|
3020
|
+
export const deserializeAws_restJson1GetDedicatedIpPoolCommand = async (output, context) => {
|
|
3021
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3022
|
+
return deserializeAws_restJson1GetDedicatedIpPoolCommandError(output, context);
|
|
3023
|
+
}
|
|
3024
|
+
const contents = map({
|
|
3025
|
+
$metadata: deserializeMetadata(output),
|
|
3026
|
+
});
|
|
3027
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3028
|
+
if (data.DedicatedIpPool != null) {
|
|
3029
|
+
contents.DedicatedIpPool = deserializeAws_restJson1DedicatedIpPool(data.DedicatedIpPool, context);
|
|
3030
|
+
}
|
|
3031
|
+
return contents;
|
|
3032
|
+
};
|
|
3033
|
+
const deserializeAws_restJson1GetDedicatedIpPoolCommandError = async (output, context) => {
|
|
3034
|
+
const parsedOutput = {
|
|
3035
|
+
...output,
|
|
3036
|
+
body: await parseErrorBody(output.body, context),
|
|
3037
|
+
};
|
|
3038
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3039
|
+
switch (errorCode) {
|
|
3040
|
+
case "BadRequestException":
|
|
3041
|
+
case "com.amazonaws.sesv2#BadRequestException":
|
|
3042
|
+
throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
|
|
3043
|
+
case "NotFoundException":
|
|
3044
|
+
case "com.amazonaws.sesv2#NotFoundException":
|
|
3045
|
+
throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
|
|
3046
|
+
case "TooManyRequestsException":
|
|
3047
|
+
case "com.amazonaws.sesv2#TooManyRequestsException":
|
|
3048
|
+
throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
3049
|
+
default:
|
|
3050
|
+
const parsedBody = parsedOutput.body;
|
|
3051
|
+
throwDefaultError({
|
|
3052
|
+
output,
|
|
3053
|
+
parsedBody,
|
|
3054
|
+
exceptionCtor: __BaseException,
|
|
3055
|
+
errorCode,
|
|
3056
|
+
});
|
|
3057
|
+
}
|
|
3058
|
+
};
|
|
3003
3059
|
export const deserializeAws_restJson1GetDedicatedIpsCommand = async (output, context) => {
|
|
3004
3060
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3005
3061
|
return deserializeAws_restJson1GetDedicatedIpsCommandError(output, context);
|
|
@@ -3254,6 +3310,9 @@ export const deserializeAws_restJson1GetEmailIdentityCommand = async (output, co
|
|
|
3254
3310
|
if (data.Tags != null) {
|
|
3255
3311
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
3256
3312
|
}
|
|
3313
|
+
if (data.VerificationStatus != null) {
|
|
3314
|
+
contents.VerificationStatus = __expectString(data.VerificationStatus);
|
|
3315
|
+
}
|
|
3257
3316
|
if (data.VerifiedForSendingStatus != null) {
|
|
3258
3317
|
contents.VerifiedForSendingStatus = __expectBoolean(data.VerifiedForSendingStatus);
|
|
3259
3318
|
}
|
|
@@ -5784,6 +5843,12 @@ const deserializeAws_restJson1DedicatedIpList = (output, context) => {
|
|
|
5784
5843
|
});
|
|
5785
5844
|
return retVal;
|
|
5786
5845
|
};
|
|
5846
|
+
const deserializeAws_restJson1DedicatedIpPool = (output, context) => {
|
|
5847
|
+
return {
|
|
5848
|
+
PoolName: __expectString(output.PoolName),
|
|
5849
|
+
ScalingMode: __expectString(output.ScalingMode),
|
|
5850
|
+
};
|
|
5851
|
+
};
|
|
5787
5852
|
const deserializeAws_restJson1DeliverabilityTestReport = (output, context) => {
|
|
5788
5853
|
return {
|
|
5789
5854
|
CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
|
|
@@ -6001,6 +6066,7 @@ const deserializeAws_restJson1IdentityInfo = (output, context) => {
|
|
|
6001
6066
|
IdentityName: __expectString(output.IdentityName),
|
|
6002
6067
|
IdentityType: __expectString(output.IdentityType),
|
|
6003
6068
|
SendingEnabled: __expectBoolean(output.SendingEnabled),
|
|
6069
|
+
VerificationStatus: __expectString(output.VerificationStatus),
|
|
6004
6070
|
};
|
|
6005
6071
|
};
|
|
6006
6072
|
const deserializeAws_restJson1IdentityInfoList = (output, context) => {
|
|
@@ -6035,11 +6101,13 @@ const deserializeAws_restJson1ImportJobSummary = (output, context) => {
|
|
|
6035
6101
|
CreatedTimestamp: output.CreatedTimestamp != null
|
|
6036
6102
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
6037
6103
|
: undefined,
|
|
6104
|
+
FailedRecordsCount: __expectInt32(output.FailedRecordsCount),
|
|
6038
6105
|
ImportDestination: output.ImportDestination != null
|
|
6039
6106
|
? deserializeAws_restJson1ImportDestination(output.ImportDestination, context)
|
|
6040
6107
|
: undefined,
|
|
6041
6108
|
JobId: __expectString(output.JobId),
|
|
6042
6109
|
JobStatus: __expectString(output.JobStatus),
|
|
6110
|
+
ProcessedRecordsCount: __expectInt32(output.ProcessedRecordsCount),
|
|
6043
6111
|
};
|
|
6044
6112
|
};
|
|
6045
6113
|
const deserializeAws_restJson1ImportJobSummaryList = (output, context) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2019-09-27",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "SESv2",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|