@aws-sdk/client-pinpoint 3.193.0 → 3.196.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 +19 -0
- package/dist-cjs/PinpointClient.js +11 -8
- package/dist-cjs/commands/CreateAppCommand.js +10 -0
- package/dist-cjs/commands/CreateCampaignCommand.js +10 -0
- package/dist-cjs/commands/CreateEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/CreateExportJobCommand.js +10 -0
- package/dist-cjs/commands/CreateImportJobCommand.js +10 -0
- package/dist-cjs/commands/CreateInAppTemplateCommand.js +10 -0
- package/dist-cjs/commands/CreateJourneyCommand.js +10 -0
- package/dist-cjs/commands/CreatePushTemplateCommand.js +10 -0
- package/dist-cjs/commands/CreateRecommenderConfigurationCommand.js +10 -0
- package/dist-cjs/commands/CreateSegmentCommand.js +10 -0
- package/dist-cjs/commands/CreateSmsTemplateCommand.js +10 -0
- package/dist-cjs/commands/CreateVoiceTemplateCommand.js +10 -0
- package/dist-cjs/commands/DeleteAdmChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteApnsChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteApnsSandboxChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteApnsVoipChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteApnsVoipSandboxChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteAppCommand.js +10 -0
- package/dist-cjs/commands/DeleteBaiduChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteCampaignCommand.js +10 -0
- package/dist-cjs/commands/DeleteEmailChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/DeleteEndpointCommand.js +10 -0
- package/dist-cjs/commands/DeleteEventStreamCommand.js +10 -0
- package/dist-cjs/commands/DeleteGcmChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteInAppTemplateCommand.js +10 -0
- package/dist-cjs/commands/DeleteJourneyCommand.js +10 -0
- package/dist-cjs/commands/DeletePushTemplateCommand.js +10 -0
- package/dist-cjs/commands/DeleteRecommenderConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DeleteSegmentCommand.js +10 -0
- package/dist-cjs/commands/DeleteSmsChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteSmsTemplateCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserEndpointsCommand.js +10 -0
- package/dist-cjs/commands/DeleteVoiceChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteVoiceTemplateCommand.js +10 -0
- package/dist-cjs/commands/GetAdmChannelCommand.js +10 -0
- package/dist-cjs/commands/GetApnsChannelCommand.js +10 -0
- package/dist-cjs/commands/GetApnsSandboxChannelCommand.js +10 -0
- package/dist-cjs/commands/GetApnsVoipChannelCommand.js +10 -0
- package/dist-cjs/commands/GetApnsVoipSandboxChannelCommand.js +10 -0
- package/dist-cjs/commands/GetAppCommand.js +10 -0
- package/dist-cjs/commands/GetApplicationDateRangeKpiCommand.js +10 -0
- package/dist-cjs/commands/GetApplicationSettingsCommand.js +10 -0
- package/dist-cjs/commands/GetAppsCommand.js +10 -0
- package/dist-cjs/commands/GetBaiduChannelCommand.js +10 -0
- package/dist-cjs/commands/GetCampaignActivitiesCommand.js +10 -0
- package/dist-cjs/commands/GetCampaignCommand.js +10 -0
- package/dist-cjs/commands/GetCampaignDateRangeKpiCommand.js +10 -0
- package/dist-cjs/commands/GetCampaignVersionCommand.js +10 -0
- package/dist-cjs/commands/GetCampaignVersionsCommand.js +10 -0
- package/dist-cjs/commands/GetCampaignsCommand.js +10 -0
- package/dist-cjs/commands/GetChannelsCommand.js +10 -0
- package/dist-cjs/commands/GetEmailChannelCommand.js +10 -0
- package/dist-cjs/commands/GetEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/GetEndpointCommand.js +10 -0
- package/dist-cjs/commands/GetEventStreamCommand.js +10 -0
- package/dist-cjs/commands/GetExportJobCommand.js +10 -0
- package/dist-cjs/commands/GetExportJobsCommand.js +10 -0
- package/dist-cjs/commands/GetGcmChannelCommand.js +10 -0
- package/dist-cjs/commands/GetImportJobCommand.js +10 -0
- package/dist-cjs/commands/GetImportJobsCommand.js +10 -0
- package/dist-cjs/commands/GetInAppMessagesCommand.js +10 -0
- package/dist-cjs/commands/GetInAppTemplateCommand.js +10 -0
- package/dist-cjs/commands/GetJourneyCommand.js +10 -0
- package/dist-cjs/commands/GetJourneyDateRangeKpiCommand.js +10 -0
- package/dist-cjs/commands/GetJourneyExecutionActivityMetricsCommand.js +10 -0
- package/dist-cjs/commands/GetJourneyExecutionMetricsCommand.js +10 -0
- package/dist-cjs/commands/GetPushTemplateCommand.js +10 -0
- package/dist-cjs/commands/GetRecommenderConfigurationCommand.js +10 -0
- package/dist-cjs/commands/GetRecommenderConfigurationsCommand.js +10 -0
- package/dist-cjs/commands/GetSegmentCommand.js +10 -0
- package/dist-cjs/commands/GetSegmentExportJobsCommand.js +10 -0
- package/dist-cjs/commands/GetSegmentImportJobsCommand.js +10 -0
- package/dist-cjs/commands/GetSegmentVersionCommand.js +10 -0
- package/dist-cjs/commands/GetSegmentVersionsCommand.js +10 -0
- package/dist-cjs/commands/GetSegmentsCommand.js +10 -0
- package/dist-cjs/commands/GetSmsChannelCommand.js +10 -0
- package/dist-cjs/commands/GetSmsTemplateCommand.js +10 -0
- package/dist-cjs/commands/GetUserEndpointsCommand.js +10 -0
- package/dist-cjs/commands/GetVoiceChannelCommand.js +10 -0
- package/dist-cjs/commands/GetVoiceTemplateCommand.js +10 -0
- package/dist-cjs/commands/ListJourneysCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListTemplateVersionsCommand.js +10 -0
- package/dist-cjs/commands/ListTemplatesCommand.js +10 -0
- package/dist-cjs/commands/PhoneNumberValidateCommand.js +10 -0
- package/dist-cjs/commands/PutEventStreamCommand.js +10 -0
- package/dist-cjs/commands/PutEventsCommand.js +10 -0
- package/dist-cjs/commands/RemoveAttributesCommand.js +10 -0
- package/dist-cjs/commands/SendMessagesCommand.js +10 -0
- package/dist-cjs/commands/SendOTPMessageCommand.js +10 -0
- package/dist-cjs/commands/SendUsersMessagesCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAdmChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateApnsChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateApnsSandboxChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateApnsVoipChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateApnsVoipSandboxChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateApplicationSettingsCommand.js +10 -0
- package/dist-cjs/commands/UpdateBaiduChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateCampaignCommand.js +10 -0
- package/dist-cjs/commands/UpdateEmailChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateEmailTemplateCommand.js +10 -0
- package/dist-cjs/commands/UpdateEndpointCommand.js +10 -0
- package/dist-cjs/commands/UpdateEndpointsBatchCommand.js +10 -0
- package/dist-cjs/commands/UpdateGcmChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateInAppTemplateCommand.js +10 -0
- package/dist-cjs/commands/UpdateJourneyCommand.js +10 -0
- package/dist-cjs/commands/UpdateJourneyStateCommand.js +10 -0
- package/dist-cjs/commands/UpdatePushTemplateCommand.js +10 -0
- package/dist-cjs/commands/UpdateRecommenderConfigurationCommand.js +10 -0
- package/dist-cjs/commands/UpdateSegmentCommand.js +10 -0
- package/dist-cjs/commands/UpdateSmsChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateSmsTemplateCommand.js +10 -0
- package/dist-cjs/commands/UpdateTemplateActiveVersionCommand.js +10 -0
- package/dist-cjs/commands/UpdateVoiceChannelCommand.js +10 -0
- package/dist-cjs/commands/UpdateVoiceTemplateCommand.js +10 -0
- package/dist-cjs/commands/VerifyOTPMessageCommand.js +10 -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/runtimeConfig.shared.js +3 -3
- package/dist-es/PinpointClient.js +12 -9
- package/dist-es/commands/CreateAppCommand.js +10 -0
- package/dist-es/commands/CreateCampaignCommand.js +10 -0
- package/dist-es/commands/CreateEmailTemplateCommand.js +10 -0
- package/dist-es/commands/CreateExportJobCommand.js +10 -0
- package/dist-es/commands/CreateImportJobCommand.js +10 -0
- package/dist-es/commands/CreateInAppTemplateCommand.js +10 -0
- package/dist-es/commands/CreateJourneyCommand.js +10 -0
- package/dist-es/commands/CreatePushTemplateCommand.js +10 -0
- package/dist-es/commands/CreateRecommenderConfigurationCommand.js +10 -0
- package/dist-es/commands/CreateSegmentCommand.js +10 -0
- package/dist-es/commands/CreateSmsTemplateCommand.js +10 -0
- package/dist-es/commands/CreateVoiceTemplateCommand.js +10 -0
- package/dist-es/commands/DeleteAdmChannelCommand.js +10 -0
- package/dist-es/commands/DeleteApnsChannelCommand.js +10 -0
- package/dist-es/commands/DeleteApnsSandboxChannelCommand.js +10 -0
- package/dist-es/commands/DeleteApnsVoipChannelCommand.js +10 -0
- package/dist-es/commands/DeleteApnsVoipSandboxChannelCommand.js +10 -0
- package/dist-es/commands/DeleteAppCommand.js +10 -0
- package/dist-es/commands/DeleteBaiduChannelCommand.js +10 -0
- package/dist-es/commands/DeleteCampaignCommand.js +10 -0
- package/dist-es/commands/DeleteEmailChannelCommand.js +10 -0
- package/dist-es/commands/DeleteEmailTemplateCommand.js +10 -0
- package/dist-es/commands/DeleteEndpointCommand.js +10 -0
- package/dist-es/commands/DeleteEventStreamCommand.js +10 -0
- package/dist-es/commands/DeleteGcmChannelCommand.js +10 -0
- package/dist-es/commands/DeleteInAppTemplateCommand.js +10 -0
- package/dist-es/commands/DeleteJourneyCommand.js +10 -0
- package/dist-es/commands/DeletePushTemplateCommand.js +10 -0
- package/dist-es/commands/DeleteRecommenderConfigurationCommand.js +10 -0
- package/dist-es/commands/DeleteSegmentCommand.js +10 -0
- package/dist-es/commands/DeleteSmsChannelCommand.js +10 -0
- package/dist-es/commands/DeleteSmsTemplateCommand.js +10 -0
- package/dist-es/commands/DeleteUserEndpointsCommand.js +10 -0
- package/dist-es/commands/DeleteVoiceChannelCommand.js +10 -0
- package/dist-es/commands/DeleteVoiceTemplateCommand.js +10 -0
- package/dist-es/commands/GetAdmChannelCommand.js +10 -0
- package/dist-es/commands/GetApnsChannelCommand.js +10 -0
- package/dist-es/commands/GetApnsSandboxChannelCommand.js +10 -0
- package/dist-es/commands/GetApnsVoipChannelCommand.js +10 -0
- package/dist-es/commands/GetApnsVoipSandboxChannelCommand.js +10 -0
- package/dist-es/commands/GetAppCommand.js +10 -0
- package/dist-es/commands/GetApplicationDateRangeKpiCommand.js +10 -0
- package/dist-es/commands/GetApplicationSettingsCommand.js +10 -0
- package/dist-es/commands/GetAppsCommand.js +10 -0
- package/dist-es/commands/GetBaiduChannelCommand.js +10 -0
- package/dist-es/commands/GetCampaignActivitiesCommand.js +10 -0
- package/dist-es/commands/GetCampaignCommand.js +10 -0
- package/dist-es/commands/GetCampaignDateRangeKpiCommand.js +10 -0
- package/dist-es/commands/GetCampaignVersionCommand.js +10 -0
- package/dist-es/commands/GetCampaignVersionsCommand.js +10 -0
- package/dist-es/commands/GetCampaignsCommand.js +10 -0
- package/dist-es/commands/GetChannelsCommand.js +10 -0
- package/dist-es/commands/GetEmailChannelCommand.js +10 -0
- package/dist-es/commands/GetEmailTemplateCommand.js +10 -0
- package/dist-es/commands/GetEndpointCommand.js +10 -0
- package/dist-es/commands/GetEventStreamCommand.js +10 -0
- package/dist-es/commands/GetExportJobCommand.js +10 -0
- package/dist-es/commands/GetExportJobsCommand.js +10 -0
- package/dist-es/commands/GetGcmChannelCommand.js +10 -0
- package/dist-es/commands/GetImportJobCommand.js +10 -0
- package/dist-es/commands/GetImportJobsCommand.js +10 -0
- package/dist-es/commands/GetInAppMessagesCommand.js +10 -0
- package/dist-es/commands/GetInAppTemplateCommand.js +10 -0
- package/dist-es/commands/GetJourneyCommand.js +10 -0
- package/dist-es/commands/GetJourneyDateRangeKpiCommand.js +10 -0
- package/dist-es/commands/GetJourneyExecutionActivityMetricsCommand.js +10 -0
- package/dist-es/commands/GetJourneyExecutionMetricsCommand.js +10 -0
- package/dist-es/commands/GetPushTemplateCommand.js +10 -0
- package/dist-es/commands/GetRecommenderConfigurationCommand.js +10 -0
- package/dist-es/commands/GetRecommenderConfigurationsCommand.js +10 -0
- package/dist-es/commands/GetSegmentCommand.js +10 -0
- package/dist-es/commands/GetSegmentExportJobsCommand.js +10 -0
- package/dist-es/commands/GetSegmentImportJobsCommand.js +10 -0
- package/dist-es/commands/GetSegmentVersionCommand.js +10 -0
- package/dist-es/commands/GetSegmentVersionsCommand.js +10 -0
- package/dist-es/commands/GetSegmentsCommand.js +10 -0
- package/dist-es/commands/GetSmsChannelCommand.js +10 -0
- package/dist-es/commands/GetSmsTemplateCommand.js +10 -0
- package/dist-es/commands/GetUserEndpointsCommand.js +10 -0
- package/dist-es/commands/GetVoiceChannelCommand.js +10 -0
- package/dist-es/commands/GetVoiceTemplateCommand.js +10 -0
- package/dist-es/commands/ListJourneysCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListTemplateVersionsCommand.js +10 -0
- package/dist-es/commands/ListTemplatesCommand.js +10 -0
- package/dist-es/commands/PhoneNumberValidateCommand.js +10 -0
- package/dist-es/commands/PutEventStreamCommand.js +10 -0
- package/dist-es/commands/PutEventsCommand.js +10 -0
- package/dist-es/commands/RemoveAttributesCommand.js +10 -0
- package/dist-es/commands/SendMessagesCommand.js +10 -0
- package/dist-es/commands/SendOTPMessageCommand.js +10 -0
- package/dist-es/commands/SendUsersMessagesCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAdmChannelCommand.js +10 -0
- package/dist-es/commands/UpdateApnsChannelCommand.js +10 -0
- package/dist-es/commands/UpdateApnsSandboxChannelCommand.js +10 -0
- package/dist-es/commands/UpdateApnsVoipChannelCommand.js +10 -0
- package/dist-es/commands/UpdateApnsVoipSandboxChannelCommand.js +10 -0
- package/dist-es/commands/UpdateApplicationSettingsCommand.js +10 -0
- package/dist-es/commands/UpdateBaiduChannelCommand.js +10 -0
- package/dist-es/commands/UpdateCampaignCommand.js +10 -0
- package/dist-es/commands/UpdateEmailChannelCommand.js +10 -0
- package/dist-es/commands/UpdateEmailTemplateCommand.js +10 -0
- package/dist-es/commands/UpdateEndpointCommand.js +10 -0
- package/dist-es/commands/UpdateEndpointsBatchCommand.js +10 -0
- package/dist-es/commands/UpdateGcmChannelCommand.js +10 -0
- package/dist-es/commands/UpdateInAppTemplateCommand.js +10 -0
- package/dist-es/commands/UpdateJourneyCommand.js +10 -0
- package/dist-es/commands/UpdateJourneyStateCommand.js +10 -0
- package/dist-es/commands/UpdatePushTemplateCommand.js +10 -0
- package/dist-es/commands/UpdateRecommenderConfigurationCommand.js +10 -0
- package/dist-es/commands/UpdateSegmentCommand.js +10 -0
- package/dist-es/commands/UpdateSmsChannelCommand.js +10 -0
- package/dist-es/commands/UpdateSmsTemplateCommand.js +10 -0
- package/dist-es/commands/UpdateTemplateActiveVersionCommand.js +10 -0
- package/dist-es/commands/UpdateVoiceChannelCommand.js +10 -0
- package/dist-es/commands/UpdateVoiceTemplateCommand.js +10 -0
- package/dist-es/commands/VerifyOTPMessageCommand.js +10 -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/runtimeConfig.shared.js +2 -2
- package/dist-types/PinpointClient.d.ts +6 -9
- package/dist-types/commands/CreateAppCommand.d.ts +2 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +2 -0
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateExportJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateImportJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateInAppTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateJourneyCommand.d.ts +2 -0
- package/dist-types/commands/CreatePushTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateRecommenderConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/CreateSegmentCommand.d.ts +2 -0
- package/dist-types/commands/CreateSmsTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateVoiceTemplateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAdmChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteApnsChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteApnsSandboxChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteApnsVoipChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAppCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBaiduChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCampaignCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEmailChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEventStreamCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGcmChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteInAppTemplateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteJourneyCommand.d.ts +2 -0
- package/dist-types/commands/DeletePushTemplateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRecommenderConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSegmentCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSmsChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSmsTemplateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/DeleteVoiceChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteVoiceTemplateCommand.d.ts +2 -0
- package/dist-types/commands/GetAdmChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetApnsChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetApnsSandboxChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetApnsVoipChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetApnsVoipSandboxChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetAppCommand.d.ts +2 -0
- package/dist-types/commands/GetApplicationDateRangeKpiCommand.d.ts +2 -0
- package/dist-types/commands/GetApplicationSettingsCommand.d.ts +2 -0
- package/dist-types/commands/GetAppsCommand.d.ts +2 -0
- package/dist-types/commands/GetBaiduChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetCampaignActivitiesCommand.d.ts +2 -0
- package/dist-types/commands/GetCampaignCommand.d.ts +2 -0
- package/dist-types/commands/GetCampaignDateRangeKpiCommand.d.ts +2 -0
- package/dist-types/commands/GetCampaignVersionCommand.d.ts +2 -0
- package/dist-types/commands/GetCampaignVersionsCommand.d.ts +2 -0
- package/dist-types/commands/GetCampaignsCommand.d.ts +2 -0
- package/dist-types/commands/GetChannelsCommand.d.ts +2 -0
- package/dist-types/commands/GetEmailChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +2 -0
- package/dist-types/commands/GetEndpointCommand.d.ts +2 -0
- package/dist-types/commands/GetEventStreamCommand.d.ts +2 -0
- package/dist-types/commands/GetExportJobCommand.d.ts +2 -0
- package/dist-types/commands/GetExportJobsCommand.d.ts +2 -0
- package/dist-types/commands/GetGcmChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +2 -0
- package/dist-types/commands/GetImportJobsCommand.d.ts +2 -0
- package/dist-types/commands/GetInAppMessagesCommand.d.ts +2 -0
- package/dist-types/commands/GetInAppTemplateCommand.d.ts +2 -0
- package/dist-types/commands/GetJourneyCommand.d.ts +2 -0
- package/dist-types/commands/GetJourneyDateRangeKpiCommand.d.ts +2 -0
- package/dist-types/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +2 -0
- package/dist-types/commands/GetJourneyExecutionMetricsCommand.d.ts +2 -0
- package/dist-types/commands/GetPushTemplateCommand.d.ts +2 -0
- package/dist-types/commands/GetRecommenderConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetRecommenderConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/GetSegmentCommand.d.ts +2 -0
- package/dist-types/commands/GetSegmentExportJobsCommand.d.ts +2 -0
- package/dist-types/commands/GetSegmentImportJobsCommand.d.ts +2 -0
- package/dist-types/commands/GetSegmentVersionCommand.d.ts +2 -0
- package/dist-types/commands/GetSegmentVersionsCommand.d.ts +2 -0
- package/dist-types/commands/GetSegmentsCommand.d.ts +2 -0
- package/dist-types/commands/GetSmsChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetSmsTemplateCommand.d.ts +2 -0
- package/dist-types/commands/GetUserEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/GetVoiceChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetVoiceTemplateCommand.d.ts +2 -0
- package/dist-types/commands/ListJourneysCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListTemplateVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +2 -0
- package/dist-types/commands/PhoneNumberValidateCommand.d.ts +2 -0
- package/dist-types/commands/PutEventStreamCommand.d.ts +2 -0
- package/dist-types/commands/PutEventsCommand.d.ts +2 -0
- package/dist-types/commands/RemoveAttributesCommand.d.ts +2 -0
- package/dist-types/commands/SendMessagesCommand.d.ts +2 -0
- package/dist-types/commands/SendOTPMessageCommand.d.ts +2 -0
- package/dist-types/commands/SendUsersMessagesCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAdmChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateApnsChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateApnsSandboxChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateApnsVoipChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateBaiduChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCampaignCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEmailChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGcmChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +2 -0
- package/dist-types/commands/UpdateJourneyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateJourneyStateCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePushTemplateCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRecommenderConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSegmentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSmsChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSmsTemplateCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTemplateActiveVersionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateVoiceChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateVoiceTemplateCommand.d.ts +2 -0
- package/dist-types/commands/VerifyOTPMessageCommand.d.ts +2 -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/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/PinpointClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAppCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +2 -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/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 +5 -3
- package/dist-cjs/endpoints.js +0 -188
- package/dist-es/endpoints.js +0 -184
- 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 { UpdateVoiceChannelRequestFilterSensitiveLog, UpdateVoiceChannelResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class UpdateVoiceChannelCommand 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, UpdateVoiceChannelCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PinpointClient";
|
|
@@ -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 { UpdateVoiceTemplateRequestFilterSensitiveLog, UpdateVoiceTemplateResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class UpdateVoiceTemplateCommand 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, UpdateVoiceTemplateCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PinpointClient";
|
|
@@ -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 { VerifyOTPMessageRequestFilterSensitiveLog, VerifyOTPMessageResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class VerifyOTPMessageCommand 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, VerifyOTPMessageCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "PinpointClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./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: false,
|
|
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://pinpoint-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://pinpoint-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://pinpoint.{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://pinpoint.{Region}.{PartitionResult#dnsSuffix}",
|
|
307
|
+
properties: {},
|
|
308
|
+
headers: {},
|
|
309
|
+
},
|
|
310
|
+
type: "endpoint",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
};
|
|
@@ -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: "2016-12-01",
|
|
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 ?? "Pinpoint",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider,
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
10
|
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
10
11
|
import { CreateCampaignCommandInput, CreateCampaignCommandOutput } from "./commands/CreateCampaignCommand";
|
|
11
12
|
import { CreateEmailTemplateCommandInput, CreateEmailTemplateCommandOutput } from "./commands/CreateEmailTemplateCommand";
|
|
@@ -125,6 +126,7 @@ import { UpdateTemplateActiveVersionCommandInput, UpdateTemplateActiveVersionCom
|
|
|
125
126
|
import { UpdateVoiceChannelCommandInput, UpdateVoiceChannelCommandOutput } from "./commands/UpdateVoiceChannelCommand";
|
|
126
127
|
import { UpdateVoiceTemplateCommandInput, UpdateVoiceTemplateCommandOutput } from "./commands/UpdateVoiceTemplateCommand";
|
|
127
128
|
import { VerifyOTPMessageCommandInput, VerifyOTPMessageCommandOutput } from "./commands/VerifyOTPMessageCommand";
|
|
129
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
128
130
|
export declare type ServiceInputTypes = CreateAppCommandInput | CreateCampaignCommandInput | CreateEmailTemplateCommandInput | CreateExportJobCommandInput | CreateImportJobCommandInput | CreateInAppTemplateCommandInput | CreateJourneyCommandInput | CreatePushTemplateCommandInput | CreateRecommenderConfigurationCommandInput | CreateSegmentCommandInput | CreateSmsTemplateCommandInput | CreateVoiceTemplateCommandInput | DeleteAdmChannelCommandInput | DeleteApnsChannelCommandInput | DeleteApnsSandboxChannelCommandInput | DeleteApnsVoipChannelCommandInput | DeleteApnsVoipSandboxChannelCommandInput | DeleteAppCommandInput | DeleteBaiduChannelCommandInput | DeleteCampaignCommandInput | DeleteEmailChannelCommandInput | DeleteEmailTemplateCommandInput | DeleteEndpointCommandInput | DeleteEventStreamCommandInput | DeleteGcmChannelCommandInput | DeleteInAppTemplateCommandInput | DeleteJourneyCommandInput | DeletePushTemplateCommandInput | DeleteRecommenderConfigurationCommandInput | DeleteSegmentCommandInput | DeleteSmsChannelCommandInput | DeleteSmsTemplateCommandInput | DeleteUserEndpointsCommandInput | DeleteVoiceChannelCommandInput | DeleteVoiceTemplateCommandInput | GetAdmChannelCommandInput | GetApnsChannelCommandInput | GetApnsSandboxChannelCommandInput | GetApnsVoipChannelCommandInput | GetApnsVoipSandboxChannelCommandInput | GetAppCommandInput | GetApplicationDateRangeKpiCommandInput | GetApplicationSettingsCommandInput | GetAppsCommandInput | GetBaiduChannelCommandInput | GetCampaignActivitiesCommandInput | GetCampaignCommandInput | GetCampaignDateRangeKpiCommandInput | GetCampaignVersionCommandInput | GetCampaignVersionsCommandInput | GetCampaignsCommandInput | GetChannelsCommandInput | GetEmailChannelCommandInput | GetEmailTemplateCommandInput | GetEndpointCommandInput | GetEventStreamCommandInput | GetExportJobCommandInput | GetExportJobsCommandInput | GetGcmChannelCommandInput | GetImportJobCommandInput | GetImportJobsCommandInput | GetInAppMessagesCommandInput | GetInAppTemplateCommandInput | GetJourneyCommandInput | GetJourneyDateRangeKpiCommandInput | GetJourneyExecutionActivityMetricsCommandInput | GetJourneyExecutionMetricsCommandInput | GetPushTemplateCommandInput | GetRecommenderConfigurationCommandInput | GetRecommenderConfigurationsCommandInput | GetSegmentCommandInput | GetSegmentExportJobsCommandInput | GetSegmentImportJobsCommandInput | GetSegmentVersionCommandInput | GetSegmentVersionsCommandInput | GetSegmentsCommandInput | GetSmsChannelCommandInput | GetSmsTemplateCommandInput | GetUserEndpointsCommandInput | GetVoiceChannelCommandInput | GetVoiceTemplateCommandInput | ListJourneysCommandInput | ListTagsForResourceCommandInput | ListTemplateVersionsCommandInput | ListTemplatesCommandInput | PhoneNumberValidateCommandInput | PutEventStreamCommandInput | PutEventsCommandInput | RemoveAttributesCommandInput | SendMessagesCommandInput | SendOTPMessageCommandInput | SendUsersMessagesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAdmChannelCommandInput | UpdateApnsChannelCommandInput | UpdateApnsSandboxChannelCommandInput | UpdateApnsVoipChannelCommandInput | UpdateApnsVoipSandboxChannelCommandInput | UpdateApplicationSettingsCommandInput | UpdateBaiduChannelCommandInput | UpdateCampaignCommandInput | UpdateEmailChannelCommandInput | UpdateEmailTemplateCommandInput | UpdateEndpointCommandInput | UpdateEndpointsBatchCommandInput | UpdateGcmChannelCommandInput | UpdateInAppTemplateCommandInput | UpdateJourneyCommandInput | UpdateJourneyStateCommandInput | UpdatePushTemplateCommandInput | UpdateRecommenderConfigurationCommandInput | UpdateSegmentCommandInput | UpdateSmsChannelCommandInput | UpdateSmsTemplateCommandInput | UpdateTemplateActiveVersionCommandInput | UpdateVoiceChannelCommandInput | UpdateVoiceTemplateCommandInput | VerifyOTPMessageCommandInput;
|
|
129
131
|
export declare type ServiceOutputTypes = CreateAppCommandOutput | CreateCampaignCommandOutput | CreateEmailTemplateCommandOutput | CreateExportJobCommandOutput | CreateImportJobCommandOutput | CreateInAppTemplateCommandOutput | CreateJourneyCommandOutput | CreatePushTemplateCommandOutput | CreateRecommenderConfigurationCommandOutput | CreateSegmentCommandOutput | CreateSmsTemplateCommandOutput | CreateVoiceTemplateCommandOutput | DeleteAdmChannelCommandOutput | DeleteApnsChannelCommandOutput | DeleteApnsSandboxChannelCommandOutput | DeleteApnsVoipChannelCommandOutput | DeleteApnsVoipSandboxChannelCommandOutput | DeleteAppCommandOutput | DeleteBaiduChannelCommandOutput | DeleteCampaignCommandOutput | DeleteEmailChannelCommandOutput | DeleteEmailTemplateCommandOutput | DeleteEndpointCommandOutput | DeleteEventStreamCommandOutput | DeleteGcmChannelCommandOutput | DeleteInAppTemplateCommandOutput | DeleteJourneyCommandOutput | DeletePushTemplateCommandOutput | DeleteRecommenderConfigurationCommandOutput | DeleteSegmentCommandOutput | DeleteSmsChannelCommandOutput | DeleteSmsTemplateCommandOutput | DeleteUserEndpointsCommandOutput | DeleteVoiceChannelCommandOutput | DeleteVoiceTemplateCommandOutput | GetAdmChannelCommandOutput | GetApnsChannelCommandOutput | GetApnsSandboxChannelCommandOutput | GetApnsVoipChannelCommandOutput | GetApnsVoipSandboxChannelCommandOutput | GetAppCommandOutput | GetApplicationDateRangeKpiCommandOutput | GetApplicationSettingsCommandOutput | GetAppsCommandOutput | GetBaiduChannelCommandOutput | GetCampaignActivitiesCommandOutput | GetCampaignCommandOutput | GetCampaignDateRangeKpiCommandOutput | GetCampaignVersionCommandOutput | GetCampaignVersionsCommandOutput | GetCampaignsCommandOutput | GetChannelsCommandOutput | GetEmailChannelCommandOutput | GetEmailTemplateCommandOutput | GetEndpointCommandOutput | GetEventStreamCommandOutput | GetExportJobCommandOutput | GetExportJobsCommandOutput | GetGcmChannelCommandOutput | GetImportJobCommandOutput | GetImportJobsCommandOutput | GetInAppMessagesCommandOutput | GetInAppTemplateCommandOutput | GetJourneyCommandOutput | GetJourneyDateRangeKpiCommandOutput | GetJourneyExecutionActivityMetricsCommandOutput | GetJourneyExecutionMetricsCommandOutput | GetPushTemplateCommandOutput | GetRecommenderConfigurationCommandOutput | GetRecommenderConfigurationsCommandOutput | GetSegmentCommandOutput | GetSegmentExportJobsCommandOutput | GetSegmentImportJobsCommandOutput | GetSegmentVersionCommandOutput | GetSegmentVersionsCommandOutput | GetSegmentsCommandOutput | GetSmsChannelCommandOutput | GetSmsTemplateCommandOutput | GetUserEndpointsCommandOutput | GetVoiceChannelCommandOutput | GetVoiceTemplateCommandOutput | ListJourneysCommandOutput | ListTagsForResourceCommandOutput | ListTemplateVersionsCommandOutput | ListTemplatesCommandOutput | PhoneNumberValidateCommandOutput | PutEventStreamCommandOutput | PutEventsCommandOutput | RemoveAttributesCommandOutput | SendMessagesCommandOutput | SendOTPMessageCommandOutput | SendUsersMessagesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAdmChannelCommandOutput | UpdateApnsChannelCommandOutput | UpdateApnsSandboxChannelCommandOutput | UpdateApnsVoipChannelCommandOutput | UpdateApnsVoipSandboxChannelCommandOutput | UpdateApplicationSettingsCommandOutput | UpdateBaiduChannelCommandOutput | UpdateCampaignCommandOutput | UpdateEmailChannelCommandOutput | UpdateEmailTemplateCommandOutput | UpdateEndpointCommandOutput | UpdateEndpointsBatchCommandOutput | UpdateGcmChannelCommandOutput | UpdateInAppTemplateCommandOutput | UpdateJourneyCommandOutput | UpdateJourneyStateCommandOutput | UpdatePushTemplateCommandOutput | UpdateRecommenderConfigurationCommandOutput | UpdateSegmentCommandOutput | UpdateSmsChannelCommandOutput | UpdateSmsTemplateCommandOutput | UpdateTemplateActiveVersionCommandOutput | UpdateVoiceChannelCommandOutput | UpdateVoiceTemplateCommandOutput | VerifyOTPMessageCommandOutput;
|
|
130
132
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -217,11 +219,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
217
219
|
* @internal
|
|
218
220
|
*/
|
|
219
221
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
220
|
-
/**
|
|
221
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
222
|
-
* @internal
|
|
223
|
-
*/
|
|
224
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
225
222
|
/**
|
|
226
223
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
227
224
|
* @internal
|
|
@@ -232,13 +229,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
232
229
|
*/
|
|
233
230
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
234
231
|
}
|
|
235
|
-
declare type PinpointClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig &
|
|
232
|
+
declare type PinpointClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
236
233
|
/**
|
|
237
234
|
* The configuration interface of PinpointClient class constructor that set the region, credentials and other options.
|
|
238
235
|
*/
|
|
239
236
|
export interface PinpointClientConfig extends PinpointClientConfigType {
|
|
240
237
|
}
|
|
241
|
-
declare type PinpointClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig &
|
|
238
|
+
declare type PinpointClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
242
239
|
/**
|
|
243
240
|
* The resolved configuration interface of PinpointClient class. This is resolved and normalized from the {@link PinpointClientConfig | constructor configuration interface}.
|
|
244
241
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateAppRequest, CreateAppResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateAppCommand extends $Command<CreateAppCommandInput, CreateAppCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateAppCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateAppCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateCampaignRequest, CreateCampaignResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateCampaignCommand extends $Command<CreateCampaignCommandInput, CreateCampaignCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateCampaignCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateCampaignCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateEmailTemplateRequest, CreateEmailTemplateResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateEmailTemplateCommandOutput extends CreateEmailTemplateRes
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateEmailTemplateCommand extends $Command<CreateEmailTemplateCommandInput, CreateEmailTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateEmailTemplateCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateEmailTemplateCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateExportJobRequest, CreateExportJobResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateExportJobCommandOutput extends CreateExportJobResponse, _
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateExportJobCommand extends $Command<CreateExportJobCommandInput, CreateExportJobCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateExportJobCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateExportJobCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateImportJobRequest, CreateImportJobResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateImportJobCommandOutput extends CreateImportJobResponse, _
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateImportJobCommand extends $Command<CreateImportJobCommandInput, CreateImportJobCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateImportJobCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateImportJobCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateInAppTemplateRequest, CreateInAppTemplateResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateInAppTemplateCommandOutput extends CreateInAppTemplateRes
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateInAppTemplateCommand extends $Command<CreateInAppTemplateCommandInput, CreateInAppTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateInAppTemplateCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateInAppTemplateCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateJourneyRequest, CreateJourneyResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateJourneyCommandOutput extends CreateJourneyResponse, __Met
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateJourneyCommand extends $Command<CreateJourneyCommandInput, CreateJourneyCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateJourneyCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateJourneyCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreatePushTemplateRequest, CreatePushTemplateResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreatePushTemplateCommandOutput extends CreatePushTemplateRespo
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreatePushTemplateCommand extends $Command<CreatePushTemplateCommandInput, CreatePushTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreatePushTemplateCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreatePushTemplateCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateRecommenderConfigurationRequest, CreateRecommenderConfigurationResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateRecommenderConfigurationCommandOutput extends CreateRecom
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateRecommenderConfigurationCommand extends $Command<CreateRecommenderConfigurationCommandInput, CreateRecommenderConfigurationCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateRecommenderConfigurationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateRecommenderConfigurationCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateSegmentRequest, CreateSegmentResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateSegmentCommandOutput extends CreateSegmentResponse, __Met
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateSegmentCommand extends $Command<CreateSegmentCommandInput, CreateSegmentCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateSegmentCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateSegmentCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateSmsTemplateRequest, CreateSmsTemplateResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateSmsTemplateCommandOutput extends CreateSmsTemplateRespons
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateSmsTemplateCommand extends $Command<CreateSmsTemplateCommandInput, CreateSmsTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateSmsTemplateCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateSmsTemplateCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|