import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CreateConfigurationSetCommand , CreateConfigurationSetCommandInput , CreateConfigurationSetCommandOutput , } from "./commands/CreateConfigurationSetCommand" ; import { CreateConfigurationSetEventDestinationCommand , CreateConfigurationSetEventDestinationCommandInput , CreateConfigurationSetEventDestinationCommandOutput , } from "./commands/CreateConfigurationSetEventDestinationCommand" ; import { DeleteConfigurationSetCommand , DeleteConfigurationSetCommandInput , DeleteConfigurationSetCommandOutput , } from "./commands/DeleteConfigurationSetCommand" ; import { DeleteConfigurationSetEventDestinationCommand , DeleteConfigurationSetEventDestinationCommandInput , DeleteConfigurationSetEventDestinationCommandOutput , } from "./commands/DeleteConfigurationSetEventDestinationCommand" ; import { GetConfigurationSetEventDestinationsCommand , GetConfigurationSetEventDestinationsCommandInput , GetConfigurationSetEventDestinationsCommandOutput , } from "./commands/GetConfigurationSetEventDestinationsCommand" ; import { ListConfigurationSetsCommand , ListConfigurationSetsCommandInput , ListConfigurationSetsCommandOutput , } from "./commands/ListConfigurationSetsCommand" ; import { SendVoiceMessageCommand , SendVoiceMessageCommandInput , SendVoiceMessageCommandOutput , } from "./commands/SendVoiceMessageCommand" ; import { UpdateConfigurationSetEventDestinationCommand , UpdateConfigurationSetEventDestinationCommandInput , UpdateConfigurationSetEventDestinationCommandOutput , } from "./commands/UpdateConfigurationSetEventDestinationCommand" ; import { PinpointSMSVoiceClient } from "./PinpointSMSVoiceClient" ; /**
 * Pinpoint SMS and Voice Messaging public facing APIs
 */ export class PinpointSMSVoice extends PinpointSMSVoiceClient { /**
     * Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
     */ public createConfigurationSet ( args , options ? ) ; public createConfigurationSet ( args , cb ) ; public createConfigurationSet ( args , options , cb ) ; public createConfigurationSet ( args , optionsOrCb ? , cb ? ) { const command = new CreateConfigurationSetCommand ( 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 ) ; } } /**
     * Create a new event destination in a configuration set.
     */ public createConfigurationSetEventDestination ( args , options ? ) ; public createConfigurationSetEventDestination ( args , cb ) ; public createConfigurationSetEventDestination ( args , options , cb ) ; public createConfigurationSetEventDestination ( args , optionsOrCb ? , cb ? ) { const command = new CreateConfigurationSetEventDestinationCommand ( 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 ) ; } } /**
     * Deletes an existing configuration set.
     */ public deleteConfigurationSet ( args , options ? ) ; public deleteConfigurationSet ( args , cb ) ; public deleteConfigurationSet ( args , options , cb ) ; public deleteConfigurationSet ( args , optionsOrCb ? , cb ? ) { const command = new DeleteConfigurationSetCommand ( 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 ) ; } } /**
     * Deletes an event destination in a configuration set.
     */ public deleteConfigurationSetEventDestination ( args , options ? ) ; public deleteConfigurationSetEventDestination ( args , cb ) ; public deleteConfigurationSetEventDestination ( args , options , cb ) ; public deleteConfigurationSetEventDestination ( args , optionsOrCb ? , cb ? ) { const command = new DeleteConfigurationSetEventDestinationCommand ( 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 ) ; } } /**
     * Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name (ARN) of the destination, and the name of the event destination.
     */ public getConfigurationSetEventDestinations ( args , options ? ) ; public getConfigurationSetEventDestinations ( args , cb ) ; public getConfigurationSetEventDestinations ( args , options , cb ) ; public getConfigurationSetEventDestinations ( args , optionsOrCb ? , cb ? ) { const command = new GetConfigurationSetEventDestinationsCommand ( 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 ) ; } } /**
     * List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
     */ public listConfigurationSets ( args , options ? ) ; public listConfigurationSets ( args , cb ) ; public listConfigurationSets ( args , options , cb ) ; public listConfigurationSets ( args , optionsOrCb ? , cb ? ) { const command = new ListConfigurationSetsCommand ( 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 ) ; } } /**
     * Create a new voice message and send it to a recipient's phone number.
     */ public sendVoiceMessage ( args , options ? ) ; public sendVoiceMessage ( args , cb ) ; public sendVoiceMessage ( args , options , cb ) ; public sendVoiceMessage ( args , optionsOrCb ? , cb ? ) { const command = new SendVoiceMessageCommand ( 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 ) ; } } /**
     * Update an event destination in a configuration set. An event destination is a location that you publish information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when a call fails.
     */ public updateConfigurationSetEventDestination ( args , options ? ) ; public updateConfigurationSetEventDestination ( args , cb ) ; public updateConfigurationSetEventDestination ( args , options , cb ) ; public updateConfigurationSetEventDestination ( args , optionsOrCb ? , cb ? ) { const command = new UpdateConfigurationSetEventDestinationCommand ( 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 ) ; } } }