import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CreateAppCommand , CreateAppCommandInput , CreateAppCommandOutput } from "./commands/CreateAppCommand" ; import { CreateCampaignCommand , CreateCampaignCommandInput , CreateCampaignCommandOutput , } from "./commands/CreateCampaignCommand" ; import { CreateEmailTemplateCommand , CreateEmailTemplateCommandInput , CreateEmailTemplateCommandOutput , } from "./commands/CreateEmailTemplateCommand" ; import { CreateExportJobCommand , CreateExportJobCommandInput , CreateExportJobCommandOutput , } from "./commands/CreateExportJobCommand" ; import { CreateImportJobCommand , CreateImportJobCommandInput , CreateImportJobCommandOutput , } from "./commands/CreateImportJobCommand" ; import { CreateInAppTemplateCommand , CreateInAppTemplateCommandInput , CreateInAppTemplateCommandOutput , } from "./commands/CreateInAppTemplateCommand" ; import { CreateJourneyCommand , CreateJourneyCommandInput , CreateJourneyCommandOutput , } from "./commands/CreateJourneyCommand" ; import { CreatePushTemplateCommand , CreatePushTemplateCommandInput , CreatePushTemplateCommandOutput , } from "./commands/CreatePushTemplateCommand" ; import { CreateRecommenderConfigurationCommand , CreateRecommenderConfigurationCommandInput , CreateRecommenderConfigurationCommandOutput , } from "./commands/CreateRecommenderConfigurationCommand" ; import { CreateSegmentCommand , CreateSegmentCommandInput , CreateSegmentCommandOutput , } from "./commands/CreateSegmentCommand" ; import { CreateSmsTemplateCommand , CreateSmsTemplateCommandInput , CreateSmsTemplateCommandOutput , } from "./commands/CreateSmsTemplateCommand" ; import { CreateVoiceTemplateCommand , CreateVoiceTemplateCommandInput , CreateVoiceTemplateCommandOutput , } from "./commands/CreateVoiceTemplateCommand" ; import { DeleteAdmChannelCommand , DeleteAdmChannelCommandInput , DeleteAdmChannelCommandOutput , } from "./commands/DeleteAdmChannelCommand" ; import { DeleteApnsChannelCommand , DeleteApnsChannelCommandInput , DeleteApnsChannelCommandOutput , } from "./commands/DeleteApnsChannelCommand" ; import { DeleteApnsSandboxChannelCommand , DeleteApnsSandboxChannelCommandInput , DeleteApnsSandboxChannelCommandOutput , } from "./commands/DeleteApnsSandboxChannelCommand" ; import { DeleteApnsVoipChannelCommand , DeleteApnsVoipChannelCommandInput , DeleteApnsVoipChannelCommandOutput , } from "./commands/DeleteApnsVoipChannelCommand" ; import { DeleteApnsVoipSandboxChannelCommand , DeleteApnsVoipSandboxChannelCommandInput , DeleteApnsVoipSandboxChannelCommandOutput , } from "./commands/DeleteApnsVoipSandboxChannelCommand" ; import { DeleteAppCommand , DeleteAppCommandInput , DeleteAppCommandOutput } from "./commands/DeleteAppCommand" ; import { DeleteBaiduChannelCommand , DeleteBaiduChannelCommandInput , DeleteBaiduChannelCommandOutput , } from "./commands/DeleteBaiduChannelCommand" ; import { DeleteCampaignCommand , DeleteCampaignCommandInput , DeleteCampaignCommandOutput , } from "./commands/DeleteCampaignCommand" ; import { DeleteEmailChannelCommand , DeleteEmailChannelCommandInput , DeleteEmailChannelCommandOutput , } from "./commands/DeleteEmailChannelCommand" ; import { DeleteEmailTemplateCommand , DeleteEmailTemplateCommandInput , DeleteEmailTemplateCommandOutput , } from "./commands/DeleteEmailTemplateCommand" ; import { DeleteEndpointCommand , DeleteEndpointCommandInput , DeleteEndpointCommandOutput , } from "./commands/DeleteEndpointCommand" ; import { DeleteEventStreamCommand , DeleteEventStreamCommandInput , DeleteEventStreamCommandOutput , } from "./commands/DeleteEventStreamCommand" ; import { DeleteGcmChannelCommand , DeleteGcmChannelCommandInput , DeleteGcmChannelCommandOutput , } from "./commands/DeleteGcmChannelCommand" ; import { DeleteInAppTemplateCommand , DeleteInAppTemplateCommandInput , DeleteInAppTemplateCommandOutput , } from "./commands/DeleteInAppTemplateCommand" ; import { DeleteJourneyCommand , DeleteJourneyCommandInput , DeleteJourneyCommandOutput , } from "./commands/DeleteJourneyCommand" ; import { DeletePushTemplateCommand , DeletePushTemplateCommandInput , DeletePushTemplateCommandOutput , } from "./commands/DeletePushTemplateCommand" ; import { DeleteRecommenderConfigurationCommand , DeleteRecommenderConfigurationCommandInput , DeleteRecommenderConfigurationCommandOutput , } from "./commands/DeleteRecommenderConfigurationCommand" ; import { DeleteSegmentCommand , DeleteSegmentCommandInput , DeleteSegmentCommandOutput , } from "./commands/DeleteSegmentCommand" ; import { DeleteSmsChannelCommand , DeleteSmsChannelCommandInput , DeleteSmsChannelCommandOutput , } from "./commands/DeleteSmsChannelCommand" ; import { DeleteSmsTemplateCommand , DeleteSmsTemplateCommandInput , DeleteSmsTemplateCommandOutput , } from "./commands/DeleteSmsTemplateCommand" ; import { DeleteUserEndpointsCommand , DeleteUserEndpointsCommandInput , DeleteUserEndpointsCommandOutput , } from "./commands/DeleteUserEndpointsCommand" ; import { DeleteVoiceChannelCommand , DeleteVoiceChannelCommandInput , DeleteVoiceChannelCommandOutput , } from "./commands/DeleteVoiceChannelCommand" ; import { DeleteVoiceTemplateCommand , DeleteVoiceTemplateCommandInput , DeleteVoiceTemplateCommandOutput , } from "./commands/DeleteVoiceTemplateCommand" ; import { GetAdmChannelCommand , GetAdmChannelCommandInput , GetAdmChannelCommandOutput , } from "./commands/GetAdmChannelCommand" ; import { GetApnsChannelCommand , GetApnsChannelCommandInput , GetApnsChannelCommandOutput , } from "./commands/GetApnsChannelCommand" ; import { GetApnsSandboxChannelCommand , GetApnsSandboxChannelCommandInput , GetApnsSandboxChannelCommandOutput , } from "./commands/GetApnsSandboxChannelCommand" ; import { GetApnsVoipChannelCommand , GetApnsVoipChannelCommandInput , GetApnsVoipChannelCommandOutput , } from "./commands/GetApnsVoipChannelCommand" ; import { GetApnsVoipSandboxChannelCommand , GetApnsVoipSandboxChannelCommandInput , GetApnsVoipSandboxChannelCommandOutput , } from "./commands/GetApnsVoipSandboxChannelCommand" ; import { GetAppCommand , GetAppCommandInput , GetAppCommandOutput } from "./commands/GetAppCommand" ; import { GetApplicationDateRangeKpiCommand , GetApplicationDateRangeKpiCommandInput , GetApplicationDateRangeKpiCommandOutput , } from "./commands/GetApplicationDateRangeKpiCommand" ; import { GetApplicationSettingsCommand , GetApplicationSettingsCommandInput , GetApplicationSettingsCommandOutput , } from "./commands/GetApplicationSettingsCommand" ; import { GetAppsCommand , GetAppsCommandInput , GetAppsCommandOutput } from "./commands/GetAppsCommand" ; import { GetBaiduChannelCommand , GetBaiduChannelCommandInput , GetBaiduChannelCommandOutput , } from "./commands/GetBaiduChannelCommand" ; import { GetCampaignActivitiesCommand , GetCampaignActivitiesCommandInput , GetCampaignActivitiesCommandOutput , } from "./commands/GetCampaignActivitiesCommand" ; import { GetCampaignCommand , GetCampaignCommandInput , GetCampaignCommandOutput } from "./commands/GetCampaignCommand" ; import { GetCampaignDateRangeKpiCommand , GetCampaignDateRangeKpiCommandInput , GetCampaignDateRangeKpiCommandOutput , } from "./commands/GetCampaignDateRangeKpiCommand" ; import { GetCampaignsCommand , GetCampaignsCommandInput , GetCampaignsCommandOutput , } from "./commands/GetCampaignsCommand" ; import { GetCampaignVersionCommand , GetCampaignVersionCommandInput , GetCampaignVersionCommandOutput , } from "./commands/GetCampaignVersionCommand" ; import { GetCampaignVersionsCommand , GetCampaignVersionsCommandInput , GetCampaignVersionsCommandOutput , } from "./commands/GetCampaignVersionsCommand" ; import { GetChannelsCommand , GetChannelsCommandInput , GetChannelsCommandOutput } from "./commands/GetChannelsCommand" ; import { GetEmailChannelCommand , GetEmailChannelCommandInput , GetEmailChannelCommandOutput , } from "./commands/GetEmailChannelCommand" ; import { GetEmailTemplateCommand , GetEmailTemplateCommandInput , GetEmailTemplateCommandOutput , } from "./commands/GetEmailTemplateCommand" ; import { GetEndpointCommand , GetEndpointCommandInput , GetEndpointCommandOutput } from "./commands/GetEndpointCommand" ; import { GetEventStreamCommand , GetEventStreamCommandInput , GetEventStreamCommandOutput , } from "./commands/GetEventStreamCommand" ; import { GetExportJobCommand , GetExportJobCommandInput , GetExportJobCommandOutput , } from "./commands/GetExportJobCommand" ; import { GetExportJobsCommand , GetExportJobsCommandInput , GetExportJobsCommandOutput , } from "./commands/GetExportJobsCommand" ; import { GetGcmChannelCommand , GetGcmChannelCommandInput , GetGcmChannelCommandOutput , } from "./commands/GetGcmChannelCommand" ; import { GetImportJobCommand , GetImportJobCommandInput , GetImportJobCommandOutput , } from "./commands/GetImportJobCommand" ; import { GetImportJobsCommand , GetImportJobsCommandInput , GetImportJobsCommandOutput , } from "./commands/GetImportJobsCommand" ; import { GetInAppMessagesCommand , GetInAppMessagesCommandInput , GetInAppMessagesCommandOutput , } from "./commands/GetInAppMessagesCommand" ; import { GetInAppTemplateCommand , GetInAppTemplateCommandInput , GetInAppTemplateCommandOutput , } from "./commands/GetInAppTemplateCommand" ; import { GetJourneyCommand , GetJourneyCommandInput , GetJourneyCommandOutput } from "./commands/GetJourneyCommand" ; import { GetJourneyDateRangeKpiCommand , GetJourneyDateRangeKpiCommandInput , GetJourneyDateRangeKpiCommandOutput , } from "./commands/GetJourneyDateRangeKpiCommand" ; import { GetJourneyExecutionActivityMetricsCommand , GetJourneyExecutionActivityMetricsCommandInput , GetJourneyExecutionActivityMetricsCommandOutput , } from "./commands/GetJourneyExecutionActivityMetricsCommand" ; import { GetJourneyExecutionMetricsCommand , GetJourneyExecutionMetricsCommandInput , GetJourneyExecutionMetricsCommandOutput , } from "./commands/GetJourneyExecutionMetricsCommand" ; import { GetPushTemplateCommand , GetPushTemplateCommandInput , GetPushTemplateCommandOutput , } from "./commands/GetPushTemplateCommand" ; import { GetRecommenderConfigurationCommand , GetRecommenderConfigurationCommandInput , GetRecommenderConfigurationCommandOutput , } from "./commands/GetRecommenderConfigurationCommand" ; import { GetRecommenderConfigurationsCommand , GetRecommenderConfigurationsCommandInput , GetRecommenderConfigurationsCommandOutput , } from "./commands/GetRecommenderConfigurationsCommand" ; import { GetSegmentCommand , GetSegmentCommandInput , GetSegmentCommandOutput } from "./commands/GetSegmentCommand" ; import { GetSegmentExportJobsCommand , GetSegmentExportJobsCommandInput , GetSegmentExportJobsCommandOutput , } from "./commands/GetSegmentExportJobsCommand" ; import { GetSegmentImportJobsCommand , GetSegmentImportJobsCommandInput , GetSegmentImportJobsCommandOutput , } from "./commands/GetSegmentImportJobsCommand" ; import { GetSegmentsCommand , GetSegmentsCommandInput , GetSegmentsCommandOutput } from "./commands/GetSegmentsCommand" ; import { GetSegmentVersionCommand , GetSegmentVersionCommandInput , GetSegmentVersionCommandOutput , } from "./commands/GetSegmentVersionCommand" ; import { GetSegmentVersionsCommand , GetSegmentVersionsCommandInput , GetSegmentVersionsCommandOutput , } from "./commands/GetSegmentVersionsCommand" ; import { GetSmsChannelCommand , GetSmsChannelCommandInput , GetSmsChannelCommandOutput , } from "./commands/GetSmsChannelCommand" ; import { GetSmsTemplateCommand , GetSmsTemplateCommandInput , GetSmsTemplateCommandOutput , } from "./commands/GetSmsTemplateCommand" ; import { GetUserEndpointsCommand , GetUserEndpointsCommandInput , GetUserEndpointsCommandOutput , } from "./commands/GetUserEndpointsCommand" ; import { GetVoiceChannelCommand , GetVoiceChannelCommandInput , GetVoiceChannelCommandOutput , } from "./commands/GetVoiceChannelCommand" ; import { GetVoiceTemplateCommand , GetVoiceTemplateCommandInput , GetVoiceTemplateCommandOutput , } from "./commands/GetVoiceTemplateCommand" ; import { ListJourneysCommand , ListJourneysCommandInput , ListJourneysCommandOutput , } from "./commands/ListJourneysCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { ListTemplatesCommand , ListTemplatesCommandInput , ListTemplatesCommandOutput , } from "./commands/ListTemplatesCommand" ; import { ListTemplateVersionsCommand , ListTemplateVersionsCommandInput , ListTemplateVersionsCommandOutput , } from "./commands/ListTemplateVersionsCommand" ; import { PhoneNumberValidateCommand , PhoneNumberValidateCommandInput , PhoneNumberValidateCommandOutput , } from "./commands/PhoneNumberValidateCommand" ; import { PutEventsCommand , PutEventsCommandInput , PutEventsCommandOutput } from "./commands/PutEventsCommand" ; import { PutEventStreamCommand , PutEventStreamCommandInput , PutEventStreamCommandOutput , } from "./commands/PutEventStreamCommand" ; import { RemoveAttributesCommand , RemoveAttributesCommandInput , RemoveAttributesCommandOutput , } from "./commands/RemoveAttributesCommand" ; import { SendMessagesCommand , SendMessagesCommandInput , SendMessagesCommandOutput , } from "./commands/SendMessagesCommand" ; import { SendOTPMessageCommand , SendOTPMessageCommandInput , SendOTPMessageCommandOutput , } from "./commands/SendOTPMessageCommand" ; import { SendUsersMessagesCommand , SendUsersMessagesCommandInput , SendUsersMessagesCommandOutput , } from "./commands/SendUsersMessagesCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateAdmChannelCommand , UpdateAdmChannelCommandInput , UpdateAdmChannelCommandOutput , } from "./commands/UpdateAdmChannelCommand" ; import { UpdateApnsChannelCommand , UpdateApnsChannelCommandInput , UpdateApnsChannelCommandOutput , } from "./commands/UpdateApnsChannelCommand" ; import { UpdateApnsSandboxChannelCommand , UpdateApnsSandboxChannelCommandInput , UpdateApnsSandboxChannelCommandOutput , } from "./commands/UpdateApnsSandboxChannelCommand" ; import { UpdateApnsVoipChannelCommand , UpdateApnsVoipChannelCommandInput , UpdateApnsVoipChannelCommandOutput , } from "./commands/UpdateApnsVoipChannelCommand" ; import { UpdateApnsVoipSandboxChannelCommand , UpdateApnsVoipSandboxChannelCommandInput , UpdateApnsVoipSandboxChannelCommandOutput , } from "./commands/UpdateApnsVoipSandboxChannelCommand" ; import { UpdateApplicationSettingsCommand , UpdateApplicationSettingsCommandInput , UpdateApplicationSettingsCommandOutput , } from "./commands/UpdateApplicationSettingsCommand" ; import { UpdateBaiduChannelCommand , UpdateBaiduChannelCommandInput , UpdateBaiduChannelCommandOutput , } from "./commands/UpdateBaiduChannelCommand" ; import { UpdateCampaignCommand , UpdateCampaignCommandInput , UpdateCampaignCommandOutput , } from "./commands/UpdateCampaignCommand" ; import { UpdateEmailChannelCommand , UpdateEmailChannelCommandInput , UpdateEmailChannelCommandOutput , } from "./commands/UpdateEmailChannelCommand" ; import { UpdateEmailTemplateCommand , UpdateEmailTemplateCommandInput , UpdateEmailTemplateCommandOutput , } from "./commands/UpdateEmailTemplateCommand" ; import { UpdateEndpointCommand , UpdateEndpointCommandInput , UpdateEndpointCommandOutput , } from "./commands/UpdateEndpointCommand" ; import { UpdateEndpointsBatchCommand , UpdateEndpointsBatchCommandInput , UpdateEndpointsBatchCommandOutput , } from "./commands/UpdateEndpointsBatchCommand" ; import { UpdateGcmChannelCommand , UpdateGcmChannelCommandInput , UpdateGcmChannelCommandOutput , } from "./commands/UpdateGcmChannelCommand" ; import { UpdateInAppTemplateCommand , UpdateInAppTemplateCommandInput , UpdateInAppTemplateCommandOutput , } from "./commands/UpdateInAppTemplateCommand" ; import { UpdateJourneyCommand , UpdateJourneyCommandInput , UpdateJourneyCommandOutput , } from "./commands/UpdateJourneyCommand" ; import { UpdateJourneyStateCommand , UpdateJourneyStateCommandInput , UpdateJourneyStateCommandOutput , } from "./commands/UpdateJourneyStateCommand" ; import { UpdatePushTemplateCommand , UpdatePushTemplateCommandInput , UpdatePushTemplateCommandOutput , } from "./commands/UpdatePushTemplateCommand" ; import { UpdateRecommenderConfigurationCommand , UpdateRecommenderConfigurationCommandInput , UpdateRecommenderConfigurationCommandOutput , } from "./commands/UpdateRecommenderConfigurationCommand" ; import { UpdateSegmentCommand , UpdateSegmentCommandInput , UpdateSegmentCommandOutput , } from "./commands/UpdateSegmentCommand" ; import { UpdateSmsChannelCommand , UpdateSmsChannelCommandInput , UpdateSmsChannelCommandOutput , } from "./commands/UpdateSmsChannelCommand" ; import { UpdateSmsTemplateCommand , UpdateSmsTemplateCommandInput , UpdateSmsTemplateCommandOutput , } from "./commands/UpdateSmsTemplateCommand" ; import { UpdateTemplateActiveVersionCommand , UpdateTemplateActiveVersionCommandInput , UpdateTemplateActiveVersionCommandOutput , } from "./commands/UpdateTemplateActiveVersionCommand" ; import { UpdateVoiceChannelCommand , UpdateVoiceChannelCommandInput , UpdateVoiceChannelCommandOutput , } from "./commands/UpdateVoiceChannelCommand" ; import { UpdateVoiceTemplateCommand , UpdateVoiceTemplateCommandInput , UpdateVoiceTemplateCommandOutput , } from "./commands/UpdateVoiceTemplateCommand" ; import { VerifyOTPMessageCommand , VerifyOTPMessageCommandInput , VerifyOTPMessageCommandOutput , } from "./commands/VerifyOTPMessageCommand" ; import { PinpointClient } from "./PinpointClient" ; /**
 * <p>Doc Engage API - Amazon Pinpoint API</p>
 */ export class Pinpoint extends PinpointClient { /**
     * <p>Creates an application.</p>
     */ public createApp ( args , options ? ) ; public createApp ( args , cb ) ; public createApp ( args , options , cb ) ; public createApp ( args , optionsOrCb ? , cb ? ) { const command = new CreateAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new campaign for an application or updates the settings of an existing campaign for an application.</p>
     */ public createCampaign ( args , options ? ) ; public createCampaign ( args , cb ) ; public createCampaign ( args , options , cb ) ; public createCampaign ( args , optionsOrCb ? , cb ? ) { const command = new CreateCampaignCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a message template for messages that are sent through the email channel.</p>
     */ public createEmailTemplate ( args , options ? ) ; public createEmailTemplate ( args , cb ) ; public createEmailTemplate ( args , options , cb ) ; public createEmailTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateEmailTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an export job for an application.</p>
     */ public createExportJob ( args , options ? ) ; public createExportJob ( args , cb ) ; public createExportJob ( args , options , cb ) ; public createExportJob ( args , optionsOrCb ? , cb ? ) { const command = new CreateExportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an import job for an application.</p>
     */ public createImportJob ( args , options ? ) ; public createImportJob ( args , cb ) ; public createImportJob ( args , options , cb ) ; public createImportJob ( args , optionsOrCb ? , cb ? ) { const command = new CreateImportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new message template for messages using the in-app message channel.</p>
     */ public createInAppTemplate ( args , options ? ) ; public createInAppTemplate ( args , cb ) ; public createInAppTemplate ( args , options , cb ) ; public createInAppTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateInAppTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a journey for an application.</p>
     */ public createJourney ( args , options ? ) ; public createJourney ( args , cb ) ; public createJourney ( args , options , cb ) ; public createJourney ( args , optionsOrCb ? , cb ? ) { const command = new CreateJourneyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a message template for messages that are sent through a push notification channel.</p>
     */ public createPushTemplate ( args , options ? ) ; public createPushTemplate ( args , cb ) ; public createPushTemplate ( args , options , cb ) ; public createPushTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreatePushTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an Amazon Pinpoint configuration for a recommender model.</p>
     */ public createRecommenderConfiguration ( args , options ? ) ; public createRecommenderConfiguration ( args , cb ) ; public createRecommenderConfiguration ( args , options , cb ) ; public createRecommenderConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new CreateRecommenderConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.</p>
     */ public createSegment ( args , options ? ) ; public createSegment ( args , cb ) ; public createSegment ( args , options , cb ) ; public createSegment ( args , optionsOrCb ? , cb ? ) { const command = new CreateSegmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a message template for messages that are sent through the SMS channel.</p>
     */ public createSmsTemplate ( args , options ? ) ; public createSmsTemplate ( args , cb ) ; public createSmsTemplate ( args , options , cb ) ; public createSmsTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateSmsTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a message template for messages that are sent through the voice channel.</p>
     */ public createVoiceTemplate ( args , options ? ) ; public createVoiceTemplate ( args , cb ) ; public createVoiceTemplate ( args , options , cb ) ; public createVoiceTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateVoiceTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the ADM channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteAdmChannel ( args , options ? ) ; public deleteAdmChannel ( args , cb ) ; public deleteAdmChannel ( args , options , cb ) ; public deleteAdmChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAdmChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the APNs channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteApnsChannel ( args , options ? ) ; public deleteApnsChannel ( args , cb ) ; public deleteApnsChannel ( args , options , cb ) ; public deleteApnsChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteApnsChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the APNs sandbox channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteApnsSandboxChannel ( args , options ? ) ; public deleteApnsSandboxChannel ( args , cb ) ; public deleteApnsSandboxChannel ( args , options , cb ) ; public deleteApnsSandboxChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteApnsSandboxChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the APNs VoIP channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteApnsVoipChannel ( args , options ? ) ; public deleteApnsVoipChannel ( args , cb ) ; public deleteApnsVoipChannel ( args , options , cb ) ; public deleteApnsVoipChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteApnsVoipChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteApnsVoipSandboxChannel ( args , options ? ) ; public deleteApnsVoipSandboxChannel ( args , cb ) ; public deleteApnsVoipSandboxChannel ( args , options , cb ) ; public deleteApnsVoipSandboxChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteApnsVoipSandboxChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an application.</p>
     */ public deleteApp ( args , options ? ) ; public deleteApp ( args , cb ) ; public deleteApp ( args , options , cb ) ; public deleteApp ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the Baidu channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteBaiduChannel ( args , options ? ) ; public deleteBaiduChannel ( args , cb ) ; public deleteBaiduChannel ( args , options , cb ) ; public deleteBaiduChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBaiduChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a campaign from an application.</p>
     */ public deleteCampaign ( args , options ? ) ; public deleteCampaign ( args , cb ) ; public deleteCampaign ( args , options , cb ) ; public deleteCampaign ( args , optionsOrCb ? , cb ? ) { const command = new DeleteCampaignCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the email channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteEmailChannel ( args , options ? ) ; public deleteEmailChannel ( args , cb ) ; public deleteEmailChannel ( args , options , cb ) ; public deleteEmailChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEmailChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a message template for messages that were sent through the email channel.</p>
     */ public deleteEmailTemplate ( args , options ? ) ; public deleteEmailTemplate ( args , cb ) ; public deleteEmailTemplate ( args , options , cb ) ; public deleteEmailTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEmailTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an endpoint from an application.</p>
     */ public deleteEndpoint ( args , options ? ) ; public deleteEndpoint ( args , cb ) ; public deleteEndpoint ( args , options , cb ) ; public deleteEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the event stream for an application.</p>
     */ public deleteEventStream ( args , options ? ) ; public deleteEventStream ( args , cb ) ; public deleteEventStream ( args , options , cb ) ; public deleteEventStream ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEventStreamCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the GCM channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteGcmChannel ( args , options ? ) ; public deleteGcmChannel ( args , cb ) ; public deleteGcmChannel ( args , options , cb ) ; public deleteGcmChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteGcmChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a message template for messages sent using the in-app message channel.</p>
     */ public deleteInAppTemplate ( args , options ? ) ; public deleteInAppTemplate ( args , cb ) ; public deleteInAppTemplate ( args , options , cb ) ; public deleteInAppTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteInAppTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a journey from an application.</p>
     */ public deleteJourney ( args , options ? ) ; public deleteJourney ( args , cb ) ; public deleteJourney ( args , options , cb ) ; public deleteJourney ( args , optionsOrCb ? , cb ? ) { const command = new DeleteJourneyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a message template for messages that were sent through a push notification channel.</p>
     */ public deletePushTemplate ( args , options ? ) ; public deletePushTemplate ( args , cb ) ; public deletePushTemplate ( args , options , cb ) ; public deletePushTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeletePushTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an Amazon Pinpoint configuration for a recommender model.</p>
     */ public deleteRecommenderConfiguration ( args , options ? ) ; public deleteRecommenderConfiguration ( args , cb ) ; public deleteRecommenderConfiguration ( args , options , cb ) ; public deleteRecommenderConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRecommenderConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a segment from an application.</p>
     */ public deleteSegment ( args , options ? ) ; public deleteSegment ( args , cb ) ; public deleteSegment ( args , options , cb ) ; public deleteSegment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSegmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the SMS channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteSmsChannel ( args , options ? ) ; public deleteSmsChannel ( args , cb ) ; public deleteSmsChannel ( args , options , cb ) ; public deleteSmsChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSmsChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a message template for messages that were sent through the SMS channel.</p>
     */ public deleteSmsTemplate ( args , options ? ) ; public deleteSmsTemplate ( args , cb ) ; public deleteSmsTemplate ( args , options , cb ) ; public deleteSmsTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSmsTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes all the endpoints that are associated with a specific user ID.</p>
     */ public deleteUserEndpoints ( args , options ? ) ; public deleteUserEndpoints ( args , cb ) ; public deleteUserEndpoints ( args , options , cb ) ; public deleteUserEndpoints ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserEndpointsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the voice channel for an application and deletes any existing settings for the channel.</p>
     */ public deleteVoiceChannel ( args , options ? ) ; public deleteVoiceChannel ( args , cb ) ; public deleteVoiceChannel ( args , options , cb ) ; public deleteVoiceChannel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVoiceChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a message template for messages that were sent through the voice channel.</p>
     */ public deleteVoiceTemplate ( args , options ? ) ; public deleteVoiceTemplate ( args , cb ) ; public deleteVoiceTemplate ( args , options , cb ) ; public deleteVoiceTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVoiceTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the ADM channel for an application.</p>
     */ public getAdmChannel ( args , options ? ) ; public getAdmChannel ( args , cb ) ; public getAdmChannel ( args , options , cb ) ; public getAdmChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetAdmChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the APNs channel for an application.</p>
     */ public getApnsChannel ( args , options ? ) ; public getApnsChannel ( args , cb ) ; public getApnsChannel ( args , options , cb ) ; public getApnsChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetApnsChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the APNs sandbox channel for an application.</p>
     */ public getApnsSandboxChannel ( args , options ? ) ; public getApnsSandboxChannel ( args , cb ) ; public getApnsSandboxChannel ( args , options , cb ) ; public getApnsSandboxChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetApnsSandboxChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the APNs VoIP channel for an application.</p>
     */ public getApnsVoipChannel ( args , options ? ) ; public getApnsVoipChannel ( args , cb ) ; public getApnsVoipChannel ( args , options , cb ) ; public getApnsVoipChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetApnsVoipChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.</p>
     */ public getApnsVoipSandboxChannel ( args , options ? ) ; public getApnsVoipSandboxChannel ( args , cb ) ; public getApnsVoipSandboxChannel ( args , options , cb ) ; public getApnsVoipSandboxChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetApnsVoipSandboxChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about an application.</p>
     */ public getApp ( args , options ? ) ; public getApp ( args , cb ) ; public getApp ( args , options , cb ) ; public getApp ( args , optionsOrCb ? , cb ? ) { const command = new GetAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.</p>
     */ public getApplicationDateRangeKpi ( args , options ? ) ; public getApplicationDateRangeKpi ( args , cb ) ; public getApplicationDateRangeKpi ( args , options , cb ) ; public getApplicationDateRangeKpi ( args , optionsOrCb ? , cb ? ) { const command = new GetApplicationDateRangeKpiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the settings for an application.</p>
     */ public getApplicationSettings ( args , options ? ) ; public getApplicationSettings ( args , cb ) ; public getApplicationSettings ( args , options , cb ) ; public getApplicationSettings ( args , optionsOrCb ? , cb ? ) { const command = new GetApplicationSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about all the applications that are associated with your Amazon Pinpoint account.</p>
     */ public getApps ( args , options ? ) ; public getApps ( args , cb ) ; public getApps ( args , options , cb ) ; public getApps ( args , optionsOrCb ? , cb ? ) { const command = new GetAppsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the Baidu channel for an application.</p>
     */ public getBaiduChannel ( args , options ? ) ; public getBaiduChannel ( args , cb ) ; public getBaiduChannel ( args , options , cb ) ; public getBaiduChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetBaiduChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status, configuration, and other settings for a campaign.</p>
     */ public getCampaign ( args , options ? ) ; public getCampaign ( args , cb ) ; public getCampaign ( args , options , cb ) ; public getCampaign ( args , optionsOrCb ? , cb ? ) { const command = new GetCampaignCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about all the activities for a campaign.</p>
     */ public getCampaignActivities ( args , options ? ) ; public getCampaignActivities ( args , cb ) ; public getCampaignActivities ( args , options , cb ) ; public getCampaignActivities ( args , optionsOrCb ? , cb ? ) { const command = new GetCampaignActivitiesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.</p>
     */ public getCampaignDateRangeKpi ( args , options ? ) ; public getCampaignDateRangeKpi ( args , cb ) ; public getCampaignDateRangeKpi ( args , options , cb ) ; public getCampaignDateRangeKpi ( args , optionsOrCb ? , cb ? ) { const command = new GetCampaignDateRangeKpiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.</p>
     */ public getCampaigns ( args , options ? ) ; public getCampaigns ( args , cb ) ; public getCampaigns ( args , options , cb ) ; public getCampaigns ( args , optionsOrCb ? , cb ? ) { const command = new GetCampaignsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status, configuration, and other settings for a specific version of a campaign.</p>
     */ public getCampaignVersion ( args , options ? ) ; public getCampaignVersion ( args , cb ) ; public getCampaignVersion ( args , options , cb ) ; public getCampaignVersion ( args , optionsOrCb ? , cb ? ) { const command = new GetCampaignVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status, configuration, and other settings for all versions of a campaign.</p>
     */ public getCampaignVersions ( args , options ? ) ; public getCampaignVersions ( args , cb ) ; public getCampaignVersions ( args , options , cb ) ; public getCampaignVersions ( args , optionsOrCb ? , cb ? ) { const command = new GetCampaignVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the history and status of each channel for an application.</p>
     */ public getChannels ( args , options ? ) ; public getChannels ( args , cb ) ; public getChannels ( args , options , cb ) ; public getChannels ( args , optionsOrCb ? , cb ? ) { const command = new GetChannelsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the email channel for an application.</p>
     */ public getEmailChannel ( args , options ? ) ; public getEmailChannel ( args , cb ) ; public getEmailChannel ( args , options , cb ) ; public getEmailChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetEmailChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the content and settings of a message template for messages that are sent through the email channel.</p>
     */ public getEmailTemplate ( args , options ? ) ; public getEmailTemplate ( args , cb ) ; public getEmailTemplate ( args , options , cb ) ; public getEmailTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetEmailTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the settings and attributes of a specific endpoint for an application.</p>
     */ public getEndpoint ( args , options ? ) ; public getEndpoint ( args , cb ) ; public getEndpoint ( args , options , cb ) ; public getEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new GetEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the event stream settings for an application.</p>
     */ public getEventStream ( args , options ? ) ; public getEventStream ( args , cb ) ; public getEventStream ( args , options , cb ) ; public getEventStream ( args , optionsOrCb ? , cb ? ) { const command = new GetEventStreamCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of a specific export job for an application.</p>
     */ public getExportJob ( args , options ? ) ; public getExportJob ( args , cb ) ; public getExportJob ( args , options , cb ) ; public getExportJob ( args , optionsOrCb ? , cb ? ) { const command = new GetExportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of all the export jobs for an application.</p>
     */ public getExportJobs ( args , options ? ) ; public getExportJobs ( args , cb ) ; public getExportJobs ( args , options , cb ) ; public getExportJobs ( args , optionsOrCb ? , cb ? ) { const command = new GetExportJobsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the GCM channel for an application.</p>
     */ public getGcmChannel ( args , options ? ) ; public getGcmChannel ( args , cb ) ; public getGcmChannel ( args , options , cb ) ; public getGcmChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetGcmChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of a specific import job for an application.</p>
     */ public getImportJob ( args , options ? ) ; public getImportJob ( args , cb ) ; public getImportJob ( args , options , cb ) ; public getImportJob ( args , optionsOrCb ? , cb ? ) { const command = new GetImportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of all the import jobs for an application.</p>
     */ public getImportJobs ( args , options ? ) ; public getImportJobs ( args , cb ) ; public getImportJobs ( args , options , cb ) ; public getImportJobs ( args , optionsOrCb ? , cb ? ) { const command = new GetImportJobsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the in-app messages targeted for the provided endpoint ID.</p>
     */ public getInAppMessages ( args , options ? ) ; public getInAppMessages ( args , cb ) ; public getInAppMessages ( args , options , cb ) ; public getInAppMessages ( args , optionsOrCb ? , cb ? ) { const command = new GetInAppMessagesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the content and settings of a message template for messages sent through the in-app channel.</p>
     */ public getInAppTemplate ( args , options ? ) ; public getInAppTemplate ( args , cb ) ; public getInAppTemplate ( args , options , cb ) ; public getInAppTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetInAppTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status, configuration, and other settings for a journey.</p>
     */ public getJourney ( args , options ? ) ; public getJourney ( args , cb ) ; public getJourney ( args , options , cb ) ; public getJourney ( args , optionsOrCb ? , cb ? ) { const command = new GetJourneyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey.</p>
     */ public getJourneyDateRangeKpi ( args , options ? ) ; public getJourneyDateRangeKpi ( args , cb ) ; public getJourneyDateRangeKpi ( args , options , cb ) ; public getJourneyDateRangeKpi ( args , optionsOrCb ? , cb ? ) { const command = new GetJourneyDateRangeKpiCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity.</p>
     */ public getJourneyExecutionActivityMetrics ( args , options ? ) ; public getJourneyExecutionActivityMetrics ( args , cb ) ; public getJourneyExecutionActivityMetrics ( args , options , cb ) ; public getJourneyExecutionActivityMetrics ( args , optionsOrCb ? , cb ? ) { const command = new GetJourneyExecutionActivityMetricsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.</p>
     */ public getJourneyExecutionMetrics ( args , options ? ) ; public getJourneyExecutionMetrics ( args , cb ) ; public getJourneyExecutionMetrics ( args , options , cb ) ; public getJourneyExecutionMetrics ( args , optionsOrCb ? , cb ? ) { const command = new GetJourneyExecutionMetricsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the content and settings of a message template for messages that are sent through a push notification channel.</p>
     */ public getPushTemplate ( args , options ? ) ; public getPushTemplate ( args , cb ) ; public getPushTemplate ( args , options , cb ) ; public getPushTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetPushTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about an Amazon Pinpoint configuration for a recommender model.</p>
     */ public getRecommenderConfiguration ( args , options ? ) ; public getRecommenderConfiguration ( args , cb ) ; public getRecommenderConfiguration ( args , options , cb ) ; public getRecommenderConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new GetRecommenderConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about all the recommender model configurations that are associated with your Amazon Pinpoint account.</p>
     */ public getRecommenderConfigurations ( args , options ? ) ; public getRecommenderConfigurations ( args , cb ) ; public getRecommenderConfigurations ( args , options , cb ) ; public getRecommenderConfigurations ( args , optionsOrCb ? , cb ? ) { const command = new GetRecommenderConfigurationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.</p>
     */ public getSegment ( args , options ? ) ; public getSegment ( args , cb ) ; public getSegment ( args , options , cb ) ; public getSegment ( args , optionsOrCb ? , cb ? ) { const command = new GetSegmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the export jobs for a segment.</p>
     */ public getSegmentExportJobs ( args , options ? ) ; public getSegmentExportJobs ( args , cb ) ; public getSegmentExportJobs ( args , options , cb ) ; public getSegmentExportJobs ( args , optionsOrCb ? , cb ? ) { const command = new GetSegmentExportJobsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the import jobs for a segment.</p>
     */ public getSegmentImportJobs ( args , options ? ) ; public getSegmentImportJobs ( args , cb ) ; public getSegmentImportJobs ( args , options , cb ) ; public getSegmentImportJobs ( args , optionsOrCb ? , cb ? ) { const command = new GetSegmentImportJobsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application.</p>
     */ public getSegments ( args , options ? ) ; public getSegments ( args , cb ) ; public getSegments ( args , options , cb ) ; public getSegments ( args , optionsOrCb ? , cb ? ) { const command = new GetSegmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application.</p>
     */ public getSegmentVersion ( args , options ? ) ; public getSegmentVersion ( args , cb ) ; public getSegmentVersion ( args , options , cb ) ; public getSegmentVersion ( args , optionsOrCb ? , cb ? ) { const command = new GetSegmentVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with an application.</p>
     */ public getSegmentVersions ( args , options ? ) ; public getSegmentVersions ( args , cb ) ; public getSegmentVersions ( args , options , cb ) ; public getSegmentVersions ( args , optionsOrCb ? , cb ? ) { const command = new GetSegmentVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the SMS channel for an application.</p>
     */ public getSmsChannel ( args , options ? ) ; public getSmsChannel ( args , cb ) ; public getSmsChannel ( args , options , cb ) ; public getSmsChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetSmsChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the content and settings of a message template for messages that are sent through the SMS channel.</p>
     */ public getSmsTemplate ( args , options ? ) ; public getSmsTemplate ( args , cb ) ; public getSmsTemplate ( args , options , cb ) ; public getSmsTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetSmsTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about all the endpoints that are associated with a specific user ID.</p>
     */ public getUserEndpoints ( args , options ? ) ; public getUserEndpoints ( args , cb ) ; public getUserEndpoints ( args , options , cb ) ; public getUserEndpoints ( args , optionsOrCb ? , cb ? ) { const command = new GetUserEndpointsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status and settings of the voice channel for an application.</p>
     */ public getVoiceChannel ( args , options ? ) ; public getVoiceChannel ( args , cb ) ; public getVoiceChannel ( args , options , cb ) ; public getVoiceChannel ( args , optionsOrCb ? , cb ? ) { const command = new GetVoiceChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the content and settings of a message template for messages that are sent through the voice channel.</p>
     */ public getVoiceTemplate ( args , options ? ) ; public getVoiceTemplate ( args , cb ) ; public getVoiceTemplate ( args , options , cb ) ; public getVoiceTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetVoiceTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application.</p>
     */ public listJourneys ( args , options ? ) ; public listJourneys ( args , cb ) ; public listJourneys ( args , options , cb ) ; public listJourneys ( args , optionsOrCb ? , cb ? ) { const command = new ListJourneysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.</p>
     */ public listTemplates ( args , options ? ) ; public listTemplates ( args , cb ) ; public listTemplates ( args , options , cb ) ; public listTemplates ( args , optionsOrCb ? , cb ? ) { const command = new ListTemplatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about all the versions of a specific message template.</p>
     */ public listTemplateVersions ( args , options ? ) ; public listTemplateVersions ( args , cb ) ; public listTemplateVersions ( args , options , cb ) ; public listTemplateVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListTemplateVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about a phone number.</p>
     */ public phoneNumberValidate ( args , options ? ) ; public phoneNumberValidate ( args , cb ) ; public phoneNumberValidate ( args , options , cb ) ; public phoneNumberValidate ( args , optionsOrCb ? , cb ? ) { const command = new PhoneNumberValidateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.</p>
     */ public putEvents ( args , options ? ) ; public putEvents ( args , cb ) ; public putEvents ( args , options , cb ) ; public putEvents ( args , optionsOrCb ? , cb ? ) { const command = new PutEventsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new event stream for an application or updates the settings of an existing event stream for an application.</p>
     */ public putEventStream ( args , options ? ) ; public putEventStream ( args , cb ) ; public putEventStream ( args , options , cb ) ; public putEventStream ( args , optionsOrCb ? , cb ? ) { const command = new PutEventStreamCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an application.</p>
     */ public removeAttributes ( args , options ? ) ; public removeAttributes ( args , cb ) ; public removeAttributes ( args , options , cb ) ; public removeAttributes ( args , optionsOrCb ? , cb ? ) { const command = new RemoveAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates and sends a direct message.</p>
     */ public sendMessages ( args , options ? ) ; public sendMessages ( args , cb ) ; public sendMessages ( args , options , cb ) ; public sendMessages ( args , optionsOrCb ? , cb ? ) { const command = new SendMessagesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Send an OTP message</p>
     */ public sendOTPMessage ( args , options ? ) ; public sendOTPMessage ( args , cb ) ; public sendOTPMessage ( args , options , cb ) ; public sendOTPMessage ( args , optionsOrCb ? , cb ? ) { const command = new SendOTPMessageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates and sends a message to a list of users.</p>
     */ public sendUsersMessages ( args , options ? ) ; public sendUsersMessages ( args , cb ) ; public sendUsersMessages ( args , options , cb ) ; public sendUsersMessages ( args , optionsOrCb ? , cb ? ) { const command = new SendUsersMessagesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds one or more tags (keys and values) to an application, campaign, message template, or segment.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes one or more tags (keys and values) from an application, campaign, message template, or segment.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the ADM channel for an application or updates the status and settings of the ADM channel for an application.</p>
     */ public updateAdmChannel ( args , options ? ) ; public updateAdmChannel ( args , cb ) ; public updateAdmChannel ( args , options , cb ) ; public updateAdmChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAdmChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.</p>
     */ public updateApnsChannel ( args , options ? ) ; public updateApnsChannel ( args , cb ) ; public updateApnsChannel ( args , options , cb ) ; public updateApnsChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApnsChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox channel for an application.</p>
     */ public updateApnsSandboxChannel ( args , options ? ) ; public updateApnsSandboxChannel ( args , cb ) ; public updateApnsSandboxChannel ( args , options , cb ) ; public updateApnsSandboxChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApnsSandboxChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for an application.</p>
     */ public updateApnsVoipChannel ( args , options ? ) ; public updateApnsVoipChannel ( args , cb ) ; public updateApnsVoipChannel ( args , options , cb ) ; public updateApnsVoipChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApnsVoipChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox channel for an application.</p>
     */ public updateApnsVoipSandboxChannel ( args , options ? ) ; public updateApnsVoipSandboxChannel ( args , cb ) ; public updateApnsVoipSandboxChannel ( args , options , cb ) ; public updateApnsVoipSandboxChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApnsVoipSandboxChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the settings for an application.</p>
     */ public updateApplicationSettings ( args , options ? ) ; public updateApplicationSettings ( args , cb ) ; public updateApplicationSettings ( args , options , cb ) ; public updateApplicationSettings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApplicationSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an application.</p>
     */ public updateBaiduChannel ( args , options ? ) ; public updateBaiduChannel ( args , cb ) ; public updateBaiduChannel ( args , options , cb ) ; public updateBaiduChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateBaiduChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the configuration and other settings for a campaign.</p>
     */ public updateCampaign ( args , options ? ) ; public updateCampaign ( args , cb ) ; public updateCampaign ( args , options , cb ) ; public updateCampaign ( args , optionsOrCb ? , cb ? ) { const command = new UpdateCampaignCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the email channel for an application or updates the status and settings of the email channel for an application.</p>
     */ public updateEmailChannel ( args , options ? ) ; public updateEmailChannel ( args , cb ) ; public updateEmailChannel ( args , options , cb ) ; public updateEmailChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEmailChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an existing message template for messages that are sent through the email channel.</p>
     */ public updateEmailTemplate ( args , options ? ) ; public updateEmailTemplate ( args , cb ) ; public updateEmailTemplate ( args , options , cb ) ; public updateEmailTemplate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEmailTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application. You can also use this operation to define custom attributes for an endpoint. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.</p>
     */ public updateEndpoint ( args , options ? ) ; public updateEndpoint ( args , cb ) ; public updateEndpoint ( args , options , cb ) ; public updateEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application. You can also use this operation to define custom attributes for a batch of endpoints. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.</p>
     */ public updateEndpointsBatch ( args , options ? ) ; public updateEndpointsBatch ( args , cb ) ; public updateEndpointsBatch ( args , options , cb ) ; public updateEndpointsBatch ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEndpointsBatchCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application.</p>
     */ public updateGcmChannel ( args , options ? ) ; public updateGcmChannel ( args , cb ) ; public updateGcmChannel ( args , options , cb ) ; public updateGcmChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateGcmChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an existing message template for messages sent through the in-app message channel.</p>
     */ public updateInAppTemplate ( args , options ? ) ; public updateInAppTemplate ( args , cb ) ; public updateInAppTemplate ( args , options , cb ) ; public updateInAppTemplate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateInAppTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the configuration and other settings for a journey.</p>
     */ public updateJourney ( args , options ? ) ; public updateJourney ( args , cb ) ; public updateJourney ( args , options , cb ) ; public updateJourney ( args , optionsOrCb ? , cb ? ) { const command = new UpdateJourneyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels (stops) an active journey.</p>
     */ public updateJourneyState ( args , options ? ) ; public updateJourneyState ( args , cb ) ; public updateJourneyState ( args , options , cb ) ; public updateJourneyState ( args , optionsOrCb ? , cb ? ) { const command = new UpdateJourneyStateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an existing message template for messages that are sent through a push notification channel.</p>
     */ public updatePushTemplate ( args , options ? ) ; public updatePushTemplate ( args , cb ) ; public updatePushTemplate ( args , options , cb ) ; public updatePushTemplate ( args , optionsOrCb ? , cb ? ) { const command = new UpdatePushTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an Amazon Pinpoint configuration for a recommender model.</p>
     */ public updateRecommenderConfiguration ( args , options ? ) ; public updateRecommenderConfiguration ( args , cb ) ; public updateRecommenderConfiguration ( args , options , cb ) ; public updateRecommenderConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRecommenderConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.</p>
     */ public updateSegment ( args , options ? ) ; public updateSegment ( args , cb ) ; public updateSegment ( args , options , cb ) ; public updateSegment ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSegmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application.</p>
     */ public updateSmsChannel ( args , options ? ) ; public updateSmsChannel ( args , cb ) ; public updateSmsChannel ( args , options , cb ) ; public updateSmsChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSmsChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an existing message template for messages that are sent through the SMS channel.</p>
     */ public updateSmsTemplate ( args , options ? ) ; public updateSmsTemplate ( args , cb ) ; public updateSmsTemplate ( args , options , cb ) ; public updateSmsTemplate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSmsTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes the status of a specific version of a message template to <i>active</i>.</p>
     */ public updateTemplateActiveVersion ( args , options ? ) ; public updateTemplateActiveVersion ( args , cb ) ; public updateTemplateActiveVersion ( args , options , cb ) ; public updateTemplateActiveVersion ( args , optionsOrCb ? , cb ? ) { const command = new UpdateTemplateActiveVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the voice channel for an application or updates the status and settings of the voice channel for an application.</p>
     */ public updateVoiceChannel ( args , options ? ) ; public updateVoiceChannel ( args , cb ) ; public updateVoiceChannel ( args , options , cb ) ; public updateVoiceChannel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateVoiceChannelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an existing message template for messages that are sent through the voice channel.</p>
     */ public updateVoiceTemplate ( args , options ? ) ; public updateVoiceTemplate ( args , cb ) ; public updateVoiceTemplate ( args , options , cb ) ; public updateVoiceTemplate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateVoiceTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Verify an OTP</p>
     */ public verifyOTPMessage ( args , options ? ) ; public verifyOTPMessage ( args , cb ) ; public verifyOTPMessage ( args , options , cb ) ; public verifyOTPMessage ( args , optionsOrCb ? , cb ? ) { const command = new VerifyOTPMessageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }