@aws-sdk/client-sesv2 3.477.0 → 3.481.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/dist-cjs/commands/BatchGetMetricDataCommand.js +18 -41
- package/dist-cjs/commands/CancelExportJobCommand.js +18 -41
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +18 -41
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-cjs/commands/CreateContactCommand.js +18 -41
- package/dist-cjs/commands/CreateContactListCommand.js +18 -41
- package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +18 -41
- package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +18 -41
- package/dist-cjs/commands/CreateEmailIdentityCommand.js +18 -41
- package/dist-cjs/commands/CreateEmailIdentityPolicyCommand.js +18 -41
- package/dist-cjs/commands/CreateEmailTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateExportJobCommand.js +18 -41
- package/dist-cjs/commands/CreateImportJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +18 -41
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-cjs/commands/DeleteContactCommand.js +18 -41
- package/dist-cjs/commands/DeleteContactListCommand.js +18 -41
- package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +18 -41
- package/dist-cjs/commands/DeleteEmailIdentityCommand.js +18 -41
- package/dist-cjs/commands/DeleteEmailIdentityPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteEmailTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteSuppressedDestinationCommand.js +18 -41
- package/dist-cjs/commands/GetAccountCommand.js +18 -41
- package/dist-cjs/commands/GetBlacklistReportsCommand.js +18 -41
- package/dist-cjs/commands/GetConfigurationSetCommand.js +18 -41
- package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +18 -41
- package/dist-cjs/commands/GetContactCommand.js +18 -41
- package/dist-cjs/commands/GetContactListCommand.js +18 -41
- package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.js +18 -41
- package/dist-cjs/commands/GetDedicatedIpCommand.js +18 -41
- package/dist-cjs/commands/GetDedicatedIpPoolCommand.js +18 -41
- package/dist-cjs/commands/GetDedicatedIpsCommand.js +18 -41
- package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +18 -41
- package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +18 -41
- package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +18 -41
- package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +18 -41
- package/dist-cjs/commands/GetEmailIdentityCommand.js +18 -41
- package/dist-cjs/commands/GetEmailIdentityPoliciesCommand.js +18 -41
- package/dist-cjs/commands/GetEmailTemplateCommand.js +18 -41
- package/dist-cjs/commands/GetExportJobCommand.js +18 -41
- package/dist-cjs/commands/GetImportJobCommand.js +18 -41
- package/dist-cjs/commands/GetMessageInsightsCommand.js +18 -41
- package/dist-cjs/commands/GetSuppressedDestinationCommand.js +18 -41
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +18 -41
- package/dist-cjs/commands/ListContactListsCommand.js +18 -41
- package/dist-cjs/commands/ListContactsCommand.js +18 -41
- package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +18 -41
- package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +18 -41
- package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +18 -41
- package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +18 -41
- package/dist-cjs/commands/ListEmailIdentitiesCommand.js +18 -41
- package/dist-cjs/commands/ListEmailTemplatesCommand.js +18 -41
- package/dist-cjs/commands/ListExportJobsCommand.js +18 -41
- package/dist-cjs/commands/ListImportJobsCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/ListSuppressedDestinationsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutAccountDetailsCommand.js +18 -41
- package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutAccountSuppressionAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutAccountVdmAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetSuppressionOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetVdmOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +18 -41
- package/dist-cjs/commands/PutDedicatedIpPoolScalingAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +18 -41
- package/dist-cjs/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutEmailIdentityDkimSigningAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutSuppressedDestinationCommand.js +18 -41
- package/dist-cjs/commands/SendBulkEmailCommand.js +18 -41
- package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +18 -41
- package/dist-cjs/commands/SendEmailCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TestRenderEmailTemplateCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactListCommand.js +18 -41
- package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +18 -41
- package/dist-cjs/commands/UpdateEmailIdentityPolicyCommand.js +18 -41
- package/dist-cjs/commands/UpdateEmailTemplateCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetDedicatedIpsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactListsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomVerificationEmailTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListDedicatedIpPoolsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDeliverabilityTestReportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDomainDeliverabilityCampaignsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEmailIdentitiesPaginator.js +2 -24
- package/dist-cjs/pagination/ListEmailTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListExportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSuppressedDestinationsPaginator.js +2 -24
- package/dist-es/commands/BatchGetMetricDataCommand.js +18 -41
- package/dist-es/commands/CancelExportJobCommand.js +18 -41
- package/dist-es/commands/CreateConfigurationSetCommand.js +18 -41
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-es/commands/CreateContactCommand.js +18 -41
- package/dist-es/commands/CreateContactListCommand.js +18 -41
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +18 -41
- package/dist-es/commands/CreateDedicatedIpPoolCommand.js +18 -41
- package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +18 -41
- package/dist-es/commands/CreateEmailIdentityCommand.js +18 -41
- package/dist-es/commands/CreateEmailIdentityPolicyCommand.js +18 -41
- package/dist-es/commands/CreateEmailTemplateCommand.js +18 -41
- package/dist-es/commands/CreateExportJobCommand.js +18 -41
- package/dist-es/commands/CreateImportJobCommand.js +18 -41
- package/dist-es/commands/DeleteConfigurationSetCommand.js +18 -41
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-es/commands/DeleteContactCommand.js +18 -41
- package/dist-es/commands/DeleteContactListCommand.js +18 -41
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +18 -41
- package/dist-es/commands/DeleteEmailIdentityCommand.js +18 -41
- package/dist-es/commands/DeleteEmailIdentityPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteEmailTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteSuppressedDestinationCommand.js +18 -41
- package/dist-es/commands/GetAccountCommand.js +18 -41
- package/dist-es/commands/GetBlacklistReportsCommand.js +18 -41
- package/dist-es/commands/GetConfigurationSetCommand.js +18 -41
- package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +18 -41
- package/dist-es/commands/GetContactCommand.js +18 -41
- package/dist-es/commands/GetContactListCommand.js +18 -41
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +18 -41
- package/dist-es/commands/GetDedicatedIpCommand.js +18 -41
- package/dist-es/commands/GetDedicatedIpPoolCommand.js +18 -41
- package/dist-es/commands/GetDedicatedIpsCommand.js +18 -41
- package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +18 -41
- package/dist-es/commands/GetDeliverabilityTestReportCommand.js +18 -41
- package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +18 -41
- package/dist-es/commands/GetDomainStatisticsReportCommand.js +18 -41
- package/dist-es/commands/GetEmailIdentityCommand.js +18 -41
- package/dist-es/commands/GetEmailIdentityPoliciesCommand.js +18 -41
- package/dist-es/commands/GetEmailTemplateCommand.js +18 -41
- package/dist-es/commands/GetExportJobCommand.js +18 -41
- package/dist-es/commands/GetImportJobCommand.js +18 -41
- package/dist-es/commands/GetMessageInsightsCommand.js +18 -41
- package/dist-es/commands/GetSuppressedDestinationCommand.js +18 -41
- package/dist-es/commands/ListConfigurationSetsCommand.js +18 -41
- package/dist-es/commands/ListContactListsCommand.js +18 -41
- package/dist-es/commands/ListContactsCommand.js +18 -41
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +18 -41
- package/dist-es/commands/ListDedicatedIpPoolsCommand.js +18 -41
- package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +18 -41
- package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +18 -41
- package/dist-es/commands/ListEmailIdentitiesCommand.js +18 -41
- package/dist-es/commands/ListEmailTemplatesCommand.js +18 -41
- package/dist-es/commands/ListExportJobsCommand.js +18 -41
- package/dist-es/commands/ListImportJobsCommand.js +18 -41
- package/dist-es/commands/ListRecommendationsCommand.js +18 -41
- package/dist-es/commands/ListSuppressedDestinationsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +18 -41
- package/dist-es/commands/PutAccountDetailsCommand.js +18 -41
- package/dist-es/commands/PutAccountSendingAttributesCommand.js +18 -41
- package/dist-es/commands/PutAccountSuppressionAttributesCommand.js +18 -41
- package/dist-es/commands/PutAccountVdmAttributesCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetSuppressionOptionsCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetVdmOptionsCommand.js +18 -41
- package/dist-es/commands/PutDedicatedIpInPoolCommand.js +18 -41
- package/dist-es/commands/PutDedicatedIpPoolScalingAttributesCommand.js +18 -41
- package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +18 -41
- package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +18 -41
- package/dist-es/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +18 -41
- package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +18 -41
- package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +18 -41
- package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +18 -41
- package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +18 -41
- package/dist-es/commands/PutSuppressedDestinationCommand.js +18 -41
- package/dist-es/commands/SendBulkEmailCommand.js +18 -41
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +18 -41
- package/dist-es/commands/SendEmailCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TestRenderEmailTemplateCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-es/commands/UpdateContactCommand.js +18 -41
- package/dist-es/commands/UpdateContactListCommand.js +18 -41
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +18 -41
- package/dist-es/commands/UpdateEmailIdentityPolicyCommand.js +18 -41
- package/dist-es/commands/UpdateEmailTemplateCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +2 -23
- package/dist-es/pagination/ListContactListsPaginator.js +2 -23
- package/dist-es/pagination/ListContactsPaginator.js +2 -23
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +2 -23
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +2 -23
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +2 -23
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +2 -23
- package/dist-es/pagination/ListEmailTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListExportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListImportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListRecommendationsPaginator.js +2 -23
- package/dist-es/pagination/ListSuppressedDestinationsPaginator.js +2 -23
- package/dist-types/commands/BatchGetMetricDataCommand.d.ts +6 -21
- package/dist-types/commands/CancelExportJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +6 -21
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +6 -21
- package/dist-types/commands/CreateContactCommand.d.ts +6 -21
- package/dist-types/commands/CreateContactListCommand.d.ts +6 -21
- package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateDedicatedIpPoolCommand.d.ts +6 -21
- package/dist-types/commands/CreateDeliverabilityTestReportCommand.d.ts +6 -21
- package/dist-types/commands/CreateEmailIdentityCommand.d.ts +6 -21
- package/dist-types/commands/CreateEmailIdentityPolicyCommand.d.ts +6 -21
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateExportJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateImportJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteContactCommand.d.ts +6 -21
- package/dist-types/commands/DeleteContactListCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDedicatedIpPoolCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEmailIdentityCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEmailIdentityPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSuppressedDestinationCommand.d.ts +6 -21
- package/dist-types/commands/GetAccountCommand.d.ts +6 -21
- package/dist-types/commands/GetBlacklistReportsCommand.d.ts +6 -21
- package/dist-types/commands/GetConfigurationSetCommand.d.ts +6 -21
- package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +6 -21
- package/dist-types/commands/GetContactCommand.d.ts +6 -21
- package/dist-types/commands/GetContactListCommand.d.ts +6 -21
- package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +6 -21
- package/dist-types/commands/GetDedicatedIpCommand.d.ts +6 -21
- package/dist-types/commands/GetDedicatedIpPoolCommand.d.ts +6 -21
- package/dist-types/commands/GetDedicatedIpsCommand.d.ts +6 -21
- package/dist-types/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +6 -21
- package/dist-types/commands/GetDeliverabilityTestReportCommand.d.ts +6 -21
- package/dist-types/commands/GetDomainDeliverabilityCampaignCommand.d.ts +6 -21
- package/dist-types/commands/GetDomainStatisticsReportCommand.d.ts +6 -21
- package/dist-types/commands/GetEmailIdentityCommand.d.ts +6 -21
- package/dist-types/commands/GetEmailIdentityPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +6 -21
- package/dist-types/commands/GetExportJobCommand.d.ts +6 -21
- package/dist-types/commands/GetImportJobCommand.d.ts +6 -21
- package/dist-types/commands/GetMessageInsightsCommand.d.ts +6 -21
- package/dist-types/commands/GetSuppressedDestinationCommand.d.ts +6 -21
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListContactListsCommand.d.ts +6 -21
- package/dist-types/commands/ListContactsCommand.d.ts +6 -21
- package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/ListDedicatedIpPoolsCommand.d.ts +6 -21
- package/dist-types/commands/ListDeliverabilityTestReportsCommand.d.ts +6 -21
- package/dist-types/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +6 -21
- package/dist-types/commands/ListEmailIdentitiesCommand.d.ts +6 -21
- package/dist-types/commands/ListEmailTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/ListExportJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListImportJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/ListSuppressedDestinationsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountDetailsCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountSendingAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountSuppressionAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountVdmAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetReputationOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetSendingOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetVdmOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutDedicatedIpInPoolCommand.d.ts +6 -21
- package/dist-types/commands/PutDedicatedIpPoolScalingAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutDeliverabilityDashboardOptionCommand.d.ts +6 -21
- package/dist-types/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutEmailIdentityDkimAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +6 -21
- package/dist-types/commands/SendBulkEmailCommand.d.ts +6 -21
- package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +6 -21
- package/dist-types/commands/SendEmailCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactListCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetDedicatedIpsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactListsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDedicatedIpPoolsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDeliverabilityTestReportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEmailIdentitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEmailTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSuppressedDestinationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetMetricDataCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CancelExportJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateContactListCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDedicatedIpPoolCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDeliverabilityTestReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateEmailIdentityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateEmailIdentityPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteContactListCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDedicatedIpPoolCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEmailIdentityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEmailIdentityPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSuppressedDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetBlacklistReportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetConfigurationSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetContactListCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDedicatedIpCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDedicatedIpPoolCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDedicatedIpsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDeliverabilityTestReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDomainDeliverabilityCampaignCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDomainStatisticsReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEmailIdentityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEmailIdentityPoliciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMessageInsightsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSuppressedDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListContactListsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListContactsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDedicatedIpPoolsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDeliverabilityTestReportsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEmailIdentitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEmailTemplatesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListExportJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSuppressedDestinationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutAccountDetailsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutAccountSuppressionAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutAccountVdmAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetVdmOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDedicatedIpInPoolCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDedicatedIpPoolScalingAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDeliverabilityDashboardOptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutEmailIdentityDkimAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SendBulkEmailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TestRenderEmailTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateContactListCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateEmailIdentityPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetDedicatedIpsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactListsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDedicatedIpPoolsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDeliverabilityTestReportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEmailIdentitiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEmailTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSuppressedDestinationsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateEmailIdentityPolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SESv2Client";
|
|
29
|
-
const commandName = "UpdateEmailIdentityPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "SimpleEmailService_v2",
|
|
38
|
-
operation: "UpdateEmailIdentityPolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateEmailIdentityPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateEmailIdentityPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateEmailIdentityPolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("SimpleEmailService_v2", "UpdateEmailIdentityPolicy", {})
|
|
22
|
+
.n("SESv2Client", "UpdateEmailIdentityPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateEmailIdentityPolicyCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateEmailIdentityPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateEmailIdentityPolicyCommand = UpdateEmailIdentityPolicyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateEmailTemplateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SESv2Client";
|
|
29
|
-
const commandName = "UpdateEmailTemplateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "SimpleEmailService_v2",
|
|
38
|
-
operation: "UpdateEmailTemplate",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateEmailTemplateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateEmailTemplateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateEmailTemplateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("SimpleEmailService_v2", "UpdateEmailTemplate", {})
|
|
22
|
+
.n("SESv2Client", "UpdateEmailTemplateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateEmailTemplateCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateEmailTemplateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateEmailTemplateCommand = UpdateEmailTemplateCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetDedicatedIps = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetDedicatedIpsCommand_1 = require("../commands/GetDedicatedIpsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetDedicatedIpsCommand_1.GetDedicatedIpsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetDedicatedIps(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetDedicatedIps = paginateGetDedicatedIps;
|
|
7
|
+
exports.paginateGetDedicatedIps = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, GetDedicatedIpsCommand_1.GetDedicatedIpsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigurationSets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListConfigurationSetsCommand_1 = require("../commands/ListConfigurationSetsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConfigurationSetsCommand_1.ListConfigurationSetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConfigurationSets(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListConfigurationSets = paginateListConfigurationSets;
|
|
7
|
+
exports.paginateListConfigurationSets = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListConfigurationSetsCommand_1.ListConfigurationSetsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListContactLists = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListContactListsCommand_1 = require("../commands/ListContactListsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListContactListsCommand_1.ListContactListsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListContactLists(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListContactLists = paginateListContactLists;
|
|
7
|
+
exports.paginateListContactLists = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListContactListsCommand_1.ListContactListsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListContacts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListContactsCommand_1 = require("../commands/ListContactsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListContactsCommand_1.ListContactsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListContacts(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListContacts = paginateListContacts;
|
|
7
|
+
exports.paginateListContacts = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListContactsCommand_1.ListContactsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCustomVerificationEmailTemplates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCustomVerificationEmailTemplatesCommand_1 = require("../commands/ListCustomVerificationEmailTemplatesCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCustomVerificationEmailTemplatesCommand_1.ListCustomVerificationEmailTemplatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCustomVerificationEmailTemplates(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCustomVerificationEmailTemplates = paginateListCustomVerificationEmailTemplates;
|
|
7
|
+
exports.paginateListCustomVerificationEmailTemplates = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListCustomVerificationEmailTemplatesCommand_1.ListCustomVerificationEmailTemplatesCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDedicatedIpPools = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDedicatedIpPoolsCommand_1 = require("../commands/ListDedicatedIpPoolsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDedicatedIpPoolsCommand_1.ListDedicatedIpPoolsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDedicatedIpPools(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDedicatedIpPools = paginateListDedicatedIpPools;
|
|
7
|
+
exports.paginateListDedicatedIpPools = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListDedicatedIpPoolsCommand_1.ListDedicatedIpPoolsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDeliverabilityTestReports = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDeliverabilityTestReportsCommand_1 = require("../commands/ListDeliverabilityTestReportsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDeliverabilityTestReportsCommand_1.ListDeliverabilityTestReportsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDeliverabilityTestReports(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDeliverabilityTestReports = paginateListDeliverabilityTestReports;
|
|
7
|
+
exports.paginateListDeliverabilityTestReports = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListDeliverabilityTestReportsCommand_1.ListDeliverabilityTestReportsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDomainDeliverabilityCampaigns = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDomainDeliverabilityCampaignsCommand_1 = require("../commands/ListDomainDeliverabilityCampaignsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDomainDeliverabilityCampaignsCommand_1.ListDomainDeliverabilityCampaignsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDomainDeliverabilityCampaigns(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDomainDeliverabilityCampaigns = paginateListDomainDeliverabilityCampaigns;
|
|
7
|
+
exports.paginateListDomainDeliverabilityCampaigns = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListDomainDeliverabilityCampaignsCommand_1.ListDomainDeliverabilityCampaignsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEmailIdentities = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEmailIdentitiesCommand_1 = require("../commands/ListEmailIdentitiesCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEmailIdentitiesCommand_1.ListEmailIdentitiesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEmailIdentities(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEmailIdentities = paginateListEmailIdentities;
|
|
7
|
+
exports.paginateListEmailIdentities = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListEmailIdentitiesCommand_1.ListEmailIdentitiesCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEmailTemplates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEmailTemplatesCommand_1 = require("../commands/ListEmailTemplatesCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEmailTemplatesCommand_1.ListEmailTemplatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEmailTemplates(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEmailTemplates = paginateListEmailTemplates;
|
|
7
|
+
exports.paginateListEmailTemplates = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListEmailTemplatesCommand_1.ListEmailTemplatesCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListExportJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListExportJobsCommand_1 = require("../commands/ListExportJobsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListExportJobsCommand_1.ListExportJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListExportJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListExportJobs = paginateListExportJobs;
|
|
7
|
+
exports.paginateListExportJobs = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListExportJobsCommand_1.ListExportJobsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImportJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImportJobsCommand_1 = require("../commands/ListImportJobsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImportJobsCommand_1.ListImportJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImportJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImportJobs = paginateListImportJobs;
|
|
7
|
+
exports.paginateListImportJobs = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListImportJobsCommand_1.ListImportJobsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRecommendations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRecommendationsCommand_1 = require("../commands/ListRecommendationsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRecommendationsCommand_1.ListRecommendationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRecommendations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListRecommendations = paginateListRecommendations;
|
|
7
|
+
exports.paginateListRecommendations = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListRecommendationsCommand_1.ListRecommendationsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSuppressedDestinations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSuppressedDestinationsCommand_1 = require("../commands/ListSuppressedDestinationsCommand");
|
|
5
6
|
const SESv2Client_1 = require("../SESv2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSuppressedDestinationsCommand_1.ListSuppressedDestinationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSuppressedDestinations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SESv2Client_1.SESv2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SESv2 | SESv2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSuppressedDestinations = paginateListSuppressedDestinations;
|
|
7
|
+
exports.paginateListSuppressedDestinations = (0, core_1.createPaginator)(SESv2Client_1.SESv2Client, ListSuppressedDestinationsCommand_1.ListSuppressedDestinationsCommand, "NextToken", "NextToken", "PageSize");
|