@aws-sdk/client-chime-sdk-voice 3.214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +206 -0
- package/dist-cjs/ChimeSDKVoice.js +1117 -0
- package/dist-cjs/ChimeSDKVoiceClient.js +40 -0
- package/dist-cjs/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.js +46 -0
- package/dist-cjs/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.js +46 -0
- package/dist-cjs/commands/BatchDeletePhoneNumberCommand.js +46 -0
- package/dist-cjs/commands/BatchUpdatePhoneNumberCommand.js +46 -0
- package/dist-cjs/commands/CreatePhoneNumberOrderCommand.js +46 -0
- package/dist-cjs/commands/CreateProxySessionCommand.js +46 -0
- package/dist-cjs/commands/CreateSipMediaApplicationCallCommand.js +46 -0
- package/dist-cjs/commands/CreateSipMediaApplicationCommand.js +46 -0
- package/dist-cjs/commands/CreateSipRuleCommand.js +46 -0
- package/dist-cjs/commands/CreateVoiceConnectorCommand.js +46 -0
- package/dist-cjs/commands/CreateVoiceConnectorGroupCommand.js +46 -0
- package/dist-cjs/commands/DeletePhoneNumberCommand.js +46 -0
- package/dist-cjs/commands/DeleteProxySessionCommand.js +46 -0
- package/dist-cjs/commands/DeleteSipMediaApplicationCommand.js +46 -0
- package/dist-cjs/commands/DeleteSipRuleCommand.js +46 -0
- package/dist-cjs/commands/DeleteVoiceConnectorCommand.js +46 -0
- package/dist-cjs/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/DeleteVoiceConnectorGroupCommand.js +46 -0
- package/dist-cjs/commands/DeleteVoiceConnectorOriginationCommand.js +46 -0
- package/dist-cjs/commands/DeleteVoiceConnectorProxyCommand.js +46 -0
- package/dist-cjs/commands/DeleteVoiceConnectorStreamingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/DeleteVoiceConnectorTerminationCommand.js +46 -0
- package/dist-cjs/commands/DeleteVoiceConnectorTerminationCredentialsCommand.js +46 -0
- package/dist-cjs/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.js +46 -0
- package/dist-cjs/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.js +46 -0
- package/dist-cjs/commands/GetGlobalSettingsCommand.js +46 -0
- package/dist-cjs/commands/GetPhoneNumberCommand.js +46 -0
- package/dist-cjs/commands/GetPhoneNumberOrderCommand.js +46 -0
- package/dist-cjs/commands/GetPhoneNumberSettingsCommand.js +46 -0
- package/dist-cjs/commands/GetProxySessionCommand.js +46 -0
- package/dist-cjs/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetSipMediaApplicationCommand.js +46 -0
- package/dist-cjs/commands/GetSipMediaApplicationLoggingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetSipRuleCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceConnectorCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceConnectorGroupCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceConnectorLoggingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceConnectorOriginationCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceConnectorProxyCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceConnectorStreamingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceConnectorTerminationCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceConnectorTerminationHealthCommand.js +46 -0
- package/dist-cjs/commands/ListAvailableVoiceConnectorRegionsCommand.js +46 -0
- package/dist-cjs/commands/ListPhoneNumberOrdersCommand.js +46 -0
- package/dist-cjs/commands/ListPhoneNumbersCommand.js +46 -0
- package/dist-cjs/commands/ListProxySessionsCommand.js +46 -0
- package/dist-cjs/commands/ListSipMediaApplicationsCommand.js +46 -0
- package/dist-cjs/commands/ListSipRulesCommand.js +46 -0
- package/dist-cjs/commands/ListSupportedPhoneNumberCountriesCommand.js +46 -0
- package/dist-cjs/commands/ListVoiceConnectorGroupsCommand.js +46 -0
- package/dist-cjs/commands/ListVoiceConnectorTerminationCredentialsCommand.js +46 -0
- package/dist-cjs/commands/ListVoiceConnectorsCommand.js +46 -0
- package/dist-cjs/commands/PutSipMediaApplicationAlexaSkillConfigurationCommand.js +46 -0
- package/dist-cjs/commands/PutSipMediaApplicationLoggingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/PutVoiceConnectorLoggingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/PutVoiceConnectorOriginationCommand.js +46 -0
- package/dist-cjs/commands/PutVoiceConnectorProxyCommand.js +46 -0
- package/dist-cjs/commands/PutVoiceConnectorStreamingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/PutVoiceConnectorTerminationCommand.js +46 -0
- package/dist-cjs/commands/PutVoiceConnectorTerminationCredentialsCommand.js +46 -0
- package/dist-cjs/commands/RestorePhoneNumberCommand.js +46 -0
- package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +46 -0
- package/dist-cjs/commands/UpdateGlobalSettingsCommand.js +46 -0
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +46 -0
- package/dist-cjs/commands/UpdatePhoneNumberSettingsCommand.js +46 -0
- package/dist-cjs/commands/UpdateProxySessionCommand.js +46 -0
- package/dist-cjs/commands/UpdateSipMediaApplicationCallCommand.js +46 -0
- package/dist-cjs/commands/UpdateSipMediaApplicationCommand.js +46 -0
- package/dist-cjs/commands/UpdateSipRuleCommand.js +46 -0
- package/dist-cjs/commands/UpdateVoiceConnectorCommand.js +46 -0
- package/dist-cjs/commands/UpdateVoiceConnectorGroupCommand.js +46 -0
- package/dist-cjs/commands/ValidateE911AddressCommand.js +46 -0
- package/dist-cjs/commands/index.js +77 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/ChimeSDKVoiceServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1092 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListPhoneNumberOrdersPaginator.js +36 -0
- package/dist-cjs/pagination/ListPhoneNumbersPaginator.js +36 -0
- package/dist-cjs/pagination/ListProxySessionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSipMediaApplicationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSipRulesPaginator.js +36 -0
- package/dist-cjs/pagination/ListVoiceConnectorGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/ListVoiceConnectorsPaginator.js +36 -0
- package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +12 -0
- package/dist-cjs/protocols/Aws_restJson1.js +6595 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/ChimeSDKVoice.js +1113 -0
- package/dist-es/ChimeSDKVoiceClient.js +36 -0
- package/dist-es/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.js +42 -0
- package/dist-es/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.js +42 -0
- package/dist-es/commands/BatchDeletePhoneNumberCommand.js +42 -0
- package/dist-es/commands/BatchUpdatePhoneNumberCommand.js +42 -0
- package/dist-es/commands/CreatePhoneNumberOrderCommand.js +42 -0
- package/dist-es/commands/CreateProxySessionCommand.js +42 -0
- package/dist-es/commands/CreateSipMediaApplicationCallCommand.js +42 -0
- package/dist-es/commands/CreateSipMediaApplicationCommand.js +42 -0
- package/dist-es/commands/CreateSipRuleCommand.js +42 -0
- package/dist-es/commands/CreateVoiceConnectorCommand.js +42 -0
- package/dist-es/commands/CreateVoiceConnectorGroupCommand.js +42 -0
- package/dist-es/commands/DeletePhoneNumberCommand.js +42 -0
- package/dist-es/commands/DeleteProxySessionCommand.js +42 -0
- package/dist-es/commands/DeleteSipMediaApplicationCommand.js +42 -0
- package/dist-es/commands/DeleteSipRuleCommand.js +42 -0
- package/dist-es/commands/DeleteVoiceConnectorCommand.js +42 -0
- package/dist-es/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.js +42 -0
- package/dist-es/commands/DeleteVoiceConnectorGroupCommand.js +42 -0
- package/dist-es/commands/DeleteVoiceConnectorOriginationCommand.js +42 -0
- package/dist-es/commands/DeleteVoiceConnectorProxyCommand.js +42 -0
- package/dist-es/commands/DeleteVoiceConnectorStreamingConfigurationCommand.js +42 -0
- package/dist-es/commands/DeleteVoiceConnectorTerminationCommand.js +42 -0
- package/dist-es/commands/DeleteVoiceConnectorTerminationCredentialsCommand.js +42 -0
- package/dist-es/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.js +42 -0
- package/dist-es/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.js +42 -0
- package/dist-es/commands/GetGlobalSettingsCommand.js +42 -0
- package/dist-es/commands/GetPhoneNumberCommand.js +42 -0
- package/dist-es/commands/GetPhoneNumberOrderCommand.js +42 -0
- package/dist-es/commands/GetPhoneNumberSettingsCommand.js +42 -0
- package/dist-es/commands/GetProxySessionCommand.js +42 -0
- package/dist-es/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.js +42 -0
- package/dist-es/commands/GetSipMediaApplicationCommand.js +42 -0
- package/dist-es/commands/GetSipMediaApplicationLoggingConfigurationCommand.js +42 -0
- package/dist-es/commands/GetSipRuleCommand.js +42 -0
- package/dist-es/commands/GetVoiceConnectorCommand.js +42 -0
- package/dist-es/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.js +42 -0
- package/dist-es/commands/GetVoiceConnectorGroupCommand.js +42 -0
- package/dist-es/commands/GetVoiceConnectorLoggingConfigurationCommand.js +42 -0
- package/dist-es/commands/GetVoiceConnectorOriginationCommand.js +42 -0
- package/dist-es/commands/GetVoiceConnectorProxyCommand.js +42 -0
- package/dist-es/commands/GetVoiceConnectorStreamingConfigurationCommand.js +42 -0
- package/dist-es/commands/GetVoiceConnectorTerminationCommand.js +42 -0
- package/dist-es/commands/GetVoiceConnectorTerminationHealthCommand.js +42 -0
- package/dist-es/commands/ListAvailableVoiceConnectorRegionsCommand.js +42 -0
- package/dist-es/commands/ListPhoneNumberOrdersCommand.js +42 -0
- package/dist-es/commands/ListPhoneNumbersCommand.js +42 -0
- package/dist-es/commands/ListProxySessionsCommand.js +42 -0
- package/dist-es/commands/ListSipMediaApplicationsCommand.js +42 -0
- package/dist-es/commands/ListSipRulesCommand.js +42 -0
- package/dist-es/commands/ListSupportedPhoneNumberCountriesCommand.js +42 -0
- package/dist-es/commands/ListVoiceConnectorGroupsCommand.js +42 -0
- package/dist-es/commands/ListVoiceConnectorTerminationCredentialsCommand.js +42 -0
- package/dist-es/commands/ListVoiceConnectorsCommand.js +42 -0
- package/dist-es/commands/PutSipMediaApplicationAlexaSkillConfigurationCommand.js +42 -0
- package/dist-es/commands/PutSipMediaApplicationLoggingConfigurationCommand.js +42 -0
- package/dist-es/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.js +42 -0
- package/dist-es/commands/PutVoiceConnectorLoggingConfigurationCommand.js +42 -0
- package/dist-es/commands/PutVoiceConnectorOriginationCommand.js +42 -0
- package/dist-es/commands/PutVoiceConnectorProxyCommand.js +42 -0
- package/dist-es/commands/PutVoiceConnectorStreamingConfigurationCommand.js +42 -0
- package/dist-es/commands/PutVoiceConnectorTerminationCommand.js +42 -0
- package/dist-es/commands/PutVoiceConnectorTerminationCredentialsCommand.js +42 -0
- package/dist-es/commands/RestorePhoneNumberCommand.js +42 -0
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +42 -0
- package/dist-es/commands/UpdateGlobalSettingsCommand.js +42 -0
- package/dist-es/commands/UpdatePhoneNumberCommand.js +42 -0
- package/dist-es/commands/UpdatePhoneNumberSettingsCommand.js +42 -0
- package/dist-es/commands/UpdateProxySessionCommand.js +42 -0
- package/dist-es/commands/UpdateSipMediaApplicationCallCommand.js +42 -0
- package/dist-es/commands/UpdateSipMediaApplicationCommand.js +42 -0
- package/dist-es/commands/UpdateSipRuleCommand.js +42 -0
- package/dist-es/commands/UpdateVoiceConnectorCommand.js +42 -0
- package/dist-es/commands/UpdateVoiceConnectorGroupCommand.js +42 -0
- package/dist-es/commands/ValidateE911AddressCommand.js +42 -0
- package/dist-es/commands/index.js +74 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/ChimeSDKVoiceServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +911 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListPhoneNumberOrdersPaginator.js +32 -0
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +32 -0
- package/dist-es/pagination/ListProxySessionsPaginator.js +32 -0
- package/dist-es/pagination/ListSipMediaApplicationsPaginator.js +32 -0
- package/dist-es/pagination/ListSipRulesPaginator.js +32 -0
- package/dist-es/pagination/ListVoiceConnectorGroupsPaginator.js +32 -0
- package/dist-es/pagination/ListVoiceConnectorsPaginator.js +32 -0
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +32 -0
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +6442 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/ChimeSDKVoice.d.ts +300 -0
- package/dist-types/ChimeSDKVoiceClient.d.ts +212 -0
- package/dist-types/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.d.ts +20 -0
- package/dist-types/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.d.ts +20 -0
- package/dist-types/commands/BatchDeletePhoneNumberCommand.d.ts +20 -0
- package/dist-types/commands/BatchUpdatePhoneNumberCommand.d.ts +20 -0
- package/dist-types/commands/CreatePhoneNumberOrderCommand.d.ts +20 -0
- package/dist-types/commands/CreateProxySessionCommand.d.ts +20 -0
- package/dist-types/commands/CreateSipMediaApplicationCallCommand.d.ts +20 -0
- package/dist-types/commands/CreateSipMediaApplicationCommand.d.ts +20 -0
- package/dist-types/commands/CreateSipRuleCommand.d.ts +20 -0
- package/dist-types/commands/CreateVoiceConnectorCommand.d.ts +20 -0
- package/dist-types/commands/CreateVoiceConnectorGroupCommand.d.ts +20 -0
- package/dist-types/commands/DeletePhoneNumberCommand.d.ts +20 -0
- package/dist-types/commands/DeleteProxySessionCommand.d.ts +20 -0
- package/dist-types/commands/DeleteSipMediaApplicationCommand.d.ts +20 -0
- package/dist-types/commands/DeleteSipRuleCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVoiceConnectorCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVoiceConnectorGroupCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVoiceConnectorOriginationCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVoiceConnectorProxyCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVoiceConnectorStreamingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVoiceConnectorTerminationCommand.d.ts +20 -0
- package/dist-types/commands/DeleteVoiceConnectorTerminationCredentialsCommand.d.ts +20 -0
- package/dist-types/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.d.ts +20 -0
- package/dist-types/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.d.ts +20 -0
- package/dist-types/commands/GetGlobalSettingsCommand.d.ts +20 -0
- package/dist-types/commands/GetPhoneNumberCommand.d.ts +20 -0
- package/dist-types/commands/GetPhoneNumberOrderCommand.d.ts +20 -0
- package/dist-types/commands/GetPhoneNumberSettingsCommand.d.ts +20 -0
- package/dist-types/commands/GetProxySessionCommand.d.ts +20 -0
- package/dist-types/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/GetSipMediaApplicationCommand.d.ts +20 -0
- package/dist-types/commands/GetSipMediaApplicationLoggingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/GetSipRuleCommand.d.ts +20 -0
- package/dist-types/commands/GetVoiceConnectorCommand.d.ts +20 -0
- package/dist-types/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/GetVoiceConnectorGroupCommand.d.ts +20 -0
- package/dist-types/commands/GetVoiceConnectorLoggingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/GetVoiceConnectorOriginationCommand.d.ts +20 -0
- package/dist-types/commands/GetVoiceConnectorProxyCommand.d.ts +20 -0
- package/dist-types/commands/GetVoiceConnectorStreamingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/GetVoiceConnectorTerminationCommand.d.ts +20 -0
- package/dist-types/commands/GetVoiceConnectorTerminationHealthCommand.d.ts +20 -0
- package/dist-types/commands/ListAvailableVoiceConnectorRegionsCommand.d.ts +20 -0
- package/dist-types/commands/ListPhoneNumberOrdersCommand.d.ts +20 -0
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +20 -0
- package/dist-types/commands/ListProxySessionsCommand.d.ts +20 -0
- package/dist-types/commands/ListSipMediaApplicationsCommand.d.ts +20 -0
- package/dist-types/commands/ListSipRulesCommand.d.ts +20 -0
- package/dist-types/commands/ListSupportedPhoneNumberCountriesCommand.d.ts +20 -0
- package/dist-types/commands/ListVoiceConnectorGroupsCommand.d.ts +20 -0
- package/dist-types/commands/ListVoiceConnectorTerminationCredentialsCommand.d.ts +20 -0
- package/dist-types/commands/ListVoiceConnectorsCommand.d.ts +20 -0
- package/dist-types/commands/PutSipMediaApplicationAlexaSkillConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/PutSipMediaApplicationLoggingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/PutVoiceConnectorLoggingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/PutVoiceConnectorOriginationCommand.d.ts +20 -0
- package/dist-types/commands/PutVoiceConnectorProxyCommand.d.ts +20 -0
- package/dist-types/commands/PutVoiceConnectorStreamingConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/PutVoiceConnectorTerminationCommand.d.ts +20 -0
- package/dist-types/commands/PutVoiceConnectorTerminationCredentialsCommand.d.ts +20 -0
- package/dist-types/commands/RestorePhoneNumberCommand.d.ts +20 -0
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +20 -0
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +20 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +20 -0
- package/dist-types/commands/UpdatePhoneNumberSettingsCommand.d.ts +20 -0
- package/dist-types/commands/UpdateProxySessionCommand.d.ts +20 -0
- package/dist-types/commands/UpdateSipMediaApplicationCallCommand.d.ts +20 -0
- package/dist-types/commands/UpdateSipMediaApplicationCommand.d.ts +20 -0
- package/dist-types/commands/UpdateSipRuleCommand.d.ts +20 -0
- package/dist-types/commands/UpdateVoiceConnectorCommand.d.ts +20 -0
- package/dist-types/commands/UpdateVoiceConnectorGroupCommand.d.ts +20 -0
- package/dist-types/commands/ValidateE911AddressCommand.d.ts +20 -0
- package/dist-types/commands/index.d.ts +74 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/ChimeSDKVoiceServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1579 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListPhoneNumberOrdersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListPhoneNumbersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListProxySessionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSipMediaApplicationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSipRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListVoiceConnectorGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListVoiceConnectorsPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +224 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/ChimeSDKVoice.d.ts +1394 -0
- package/dist-types/ts3.4/ChimeSDKVoiceClient.d.ts +556 -0
- package/dist-types/ts3.4/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchDeletePhoneNumberCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchUpdatePhoneNumberCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreatePhoneNumberOrderCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateProxySessionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateSipMediaApplicationCallCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateSipMediaApplicationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateSipRuleCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateVoiceConnectorCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateVoiceConnectorGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeletePhoneNumberCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteProxySessionCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteSipMediaApplicationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteSipRuleCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DeleteVoiceConnectorCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteVoiceConnectorGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteVoiceConnectorOriginationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteVoiceConnectorProxyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteVoiceConnectorStreamingConfigurationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteVoiceConnectorTerminationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteVoiceConnectorTerminationCredentialsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetGlobalSettingsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetPhoneNumberCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetPhoneNumberOrderCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPhoneNumberSettingsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetProxySessionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetSipMediaApplicationAlexaSkillConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSipMediaApplicationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSipMediaApplicationLoggingConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSipRuleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetVoiceConnectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetVoiceConnectorGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetVoiceConnectorLoggingConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetVoiceConnectorOriginationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetVoiceConnectorProxyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetVoiceConnectorStreamingConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetVoiceConnectorTerminationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetVoiceConnectorTerminationHealthCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListAvailableVoiceConnectorRegionsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListPhoneNumberOrdersCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListPhoneNumbersCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListProxySessionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListSipMediaApplicationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSipRulesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListSupportedPhoneNumberCountriesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVoiceConnectorGroupsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVoiceConnectorTerminationCredentialsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVoiceConnectorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutSipMediaApplicationAlexaSkillConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutSipMediaApplicationLoggingConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/PutVoiceConnectorLoggingConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutVoiceConnectorOriginationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutVoiceConnectorProxyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutVoiceConnectorStreamingConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutVoiceConnectorTerminationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutVoiceConnectorTerminationCredentialsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/RestorePhoneNumberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateGlobalSettingsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePhoneNumberSettingsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateProxySessionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSipMediaApplicationCallCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSipMediaApplicationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSipRuleCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateVoiceConnectorCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateVoiceConnectorGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ValidateE911AddressCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +74 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ChimeSDKVoiceServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1380 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListPhoneNumberOrdersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPhoneNumbersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProxySessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSipMediaApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSipRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVoiceConnectorGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVoiceConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +893 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +101 -0
|
@@ -0,0 +1,1117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChimeSDKVoice = void 0;
|
|
4
|
+
const ChimeSDKVoiceClient_1 = require("./ChimeSDKVoiceClient");
|
|
5
|
+
const AssociatePhoneNumbersWithVoiceConnectorCommand_1 = require("./commands/AssociatePhoneNumbersWithVoiceConnectorCommand");
|
|
6
|
+
const AssociatePhoneNumbersWithVoiceConnectorGroupCommand_1 = require("./commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand");
|
|
7
|
+
const BatchDeletePhoneNumberCommand_1 = require("./commands/BatchDeletePhoneNumberCommand");
|
|
8
|
+
const BatchUpdatePhoneNumberCommand_1 = require("./commands/BatchUpdatePhoneNumberCommand");
|
|
9
|
+
const CreatePhoneNumberOrderCommand_1 = require("./commands/CreatePhoneNumberOrderCommand");
|
|
10
|
+
const CreateProxySessionCommand_1 = require("./commands/CreateProxySessionCommand");
|
|
11
|
+
const CreateSipMediaApplicationCallCommand_1 = require("./commands/CreateSipMediaApplicationCallCommand");
|
|
12
|
+
const CreateSipMediaApplicationCommand_1 = require("./commands/CreateSipMediaApplicationCommand");
|
|
13
|
+
const CreateSipRuleCommand_1 = require("./commands/CreateSipRuleCommand");
|
|
14
|
+
const CreateVoiceConnectorCommand_1 = require("./commands/CreateVoiceConnectorCommand");
|
|
15
|
+
const CreateVoiceConnectorGroupCommand_1 = require("./commands/CreateVoiceConnectorGroupCommand");
|
|
16
|
+
const DeletePhoneNumberCommand_1 = require("./commands/DeletePhoneNumberCommand");
|
|
17
|
+
const DeleteProxySessionCommand_1 = require("./commands/DeleteProxySessionCommand");
|
|
18
|
+
const DeleteSipMediaApplicationCommand_1 = require("./commands/DeleteSipMediaApplicationCommand");
|
|
19
|
+
const DeleteSipRuleCommand_1 = require("./commands/DeleteSipRuleCommand");
|
|
20
|
+
const DeleteVoiceConnectorCommand_1 = require("./commands/DeleteVoiceConnectorCommand");
|
|
21
|
+
const DeleteVoiceConnectorEmergencyCallingConfigurationCommand_1 = require("./commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand");
|
|
22
|
+
const DeleteVoiceConnectorGroupCommand_1 = require("./commands/DeleteVoiceConnectorGroupCommand");
|
|
23
|
+
const DeleteVoiceConnectorOriginationCommand_1 = require("./commands/DeleteVoiceConnectorOriginationCommand");
|
|
24
|
+
const DeleteVoiceConnectorProxyCommand_1 = require("./commands/DeleteVoiceConnectorProxyCommand");
|
|
25
|
+
const DeleteVoiceConnectorStreamingConfigurationCommand_1 = require("./commands/DeleteVoiceConnectorStreamingConfigurationCommand");
|
|
26
|
+
const DeleteVoiceConnectorTerminationCommand_1 = require("./commands/DeleteVoiceConnectorTerminationCommand");
|
|
27
|
+
const DeleteVoiceConnectorTerminationCredentialsCommand_1 = require("./commands/DeleteVoiceConnectorTerminationCredentialsCommand");
|
|
28
|
+
const DisassociatePhoneNumbersFromVoiceConnectorCommand_1 = require("./commands/DisassociatePhoneNumbersFromVoiceConnectorCommand");
|
|
29
|
+
const DisassociatePhoneNumbersFromVoiceConnectorGroupCommand_1 = require("./commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand");
|
|
30
|
+
const GetGlobalSettingsCommand_1 = require("./commands/GetGlobalSettingsCommand");
|
|
31
|
+
const GetPhoneNumberCommand_1 = require("./commands/GetPhoneNumberCommand");
|
|
32
|
+
const GetPhoneNumberOrderCommand_1 = require("./commands/GetPhoneNumberOrderCommand");
|
|
33
|
+
const GetPhoneNumberSettingsCommand_1 = require("./commands/GetPhoneNumberSettingsCommand");
|
|
34
|
+
const GetProxySessionCommand_1 = require("./commands/GetProxySessionCommand");
|
|
35
|
+
const GetSipMediaApplicationAlexaSkillConfigurationCommand_1 = require("./commands/GetSipMediaApplicationAlexaSkillConfigurationCommand");
|
|
36
|
+
const GetSipMediaApplicationCommand_1 = require("./commands/GetSipMediaApplicationCommand");
|
|
37
|
+
const GetSipMediaApplicationLoggingConfigurationCommand_1 = require("./commands/GetSipMediaApplicationLoggingConfigurationCommand");
|
|
38
|
+
const GetSipRuleCommand_1 = require("./commands/GetSipRuleCommand");
|
|
39
|
+
const GetVoiceConnectorCommand_1 = require("./commands/GetVoiceConnectorCommand");
|
|
40
|
+
const GetVoiceConnectorEmergencyCallingConfigurationCommand_1 = require("./commands/GetVoiceConnectorEmergencyCallingConfigurationCommand");
|
|
41
|
+
const GetVoiceConnectorGroupCommand_1 = require("./commands/GetVoiceConnectorGroupCommand");
|
|
42
|
+
const GetVoiceConnectorLoggingConfigurationCommand_1 = require("./commands/GetVoiceConnectorLoggingConfigurationCommand");
|
|
43
|
+
const GetVoiceConnectorOriginationCommand_1 = require("./commands/GetVoiceConnectorOriginationCommand");
|
|
44
|
+
const GetVoiceConnectorProxyCommand_1 = require("./commands/GetVoiceConnectorProxyCommand");
|
|
45
|
+
const GetVoiceConnectorStreamingConfigurationCommand_1 = require("./commands/GetVoiceConnectorStreamingConfigurationCommand");
|
|
46
|
+
const GetVoiceConnectorTerminationCommand_1 = require("./commands/GetVoiceConnectorTerminationCommand");
|
|
47
|
+
const GetVoiceConnectorTerminationHealthCommand_1 = require("./commands/GetVoiceConnectorTerminationHealthCommand");
|
|
48
|
+
const ListAvailableVoiceConnectorRegionsCommand_1 = require("./commands/ListAvailableVoiceConnectorRegionsCommand");
|
|
49
|
+
const ListPhoneNumberOrdersCommand_1 = require("./commands/ListPhoneNumberOrdersCommand");
|
|
50
|
+
const ListPhoneNumbersCommand_1 = require("./commands/ListPhoneNumbersCommand");
|
|
51
|
+
const ListProxySessionsCommand_1 = require("./commands/ListProxySessionsCommand");
|
|
52
|
+
const ListSipMediaApplicationsCommand_1 = require("./commands/ListSipMediaApplicationsCommand");
|
|
53
|
+
const ListSipRulesCommand_1 = require("./commands/ListSipRulesCommand");
|
|
54
|
+
const ListSupportedPhoneNumberCountriesCommand_1 = require("./commands/ListSupportedPhoneNumberCountriesCommand");
|
|
55
|
+
const ListVoiceConnectorGroupsCommand_1 = require("./commands/ListVoiceConnectorGroupsCommand");
|
|
56
|
+
const ListVoiceConnectorsCommand_1 = require("./commands/ListVoiceConnectorsCommand");
|
|
57
|
+
const ListVoiceConnectorTerminationCredentialsCommand_1 = require("./commands/ListVoiceConnectorTerminationCredentialsCommand");
|
|
58
|
+
const PutSipMediaApplicationAlexaSkillConfigurationCommand_1 = require("./commands/PutSipMediaApplicationAlexaSkillConfigurationCommand");
|
|
59
|
+
const PutSipMediaApplicationLoggingConfigurationCommand_1 = require("./commands/PutSipMediaApplicationLoggingConfigurationCommand");
|
|
60
|
+
const PutVoiceConnectorEmergencyCallingConfigurationCommand_1 = require("./commands/PutVoiceConnectorEmergencyCallingConfigurationCommand");
|
|
61
|
+
const PutVoiceConnectorLoggingConfigurationCommand_1 = require("./commands/PutVoiceConnectorLoggingConfigurationCommand");
|
|
62
|
+
const PutVoiceConnectorOriginationCommand_1 = require("./commands/PutVoiceConnectorOriginationCommand");
|
|
63
|
+
const PutVoiceConnectorProxyCommand_1 = require("./commands/PutVoiceConnectorProxyCommand");
|
|
64
|
+
const PutVoiceConnectorStreamingConfigurationCommand_1 = require("./commands/PutVoiceConnectorStreamingConfigurationCommand");
|
|
65
|
+
const PutVoiceConnectorTerminationCommand_1 = require("./commands/PutVoiceConnectorTerminationCommand");
|
|
66
|
+
const PutVoiceConnectorTerminationCredentialsCommand_1 = require("./commands/PutVoiceConnectorTerminationCredentialsCommand");
|
|
67
|
+
const RestorePhoneNumberCommand_1 = require("./commands/RestorePhoneNumberCommand");
|
|
68
|
+
const SearchAvailablePhoneNumbersCommand_1 = require("./commands/SearchAvailablePhoneNumbersCommand");
|
|
69
|
+
const UpdateGlobalSettingsCommand_1 = require("./commands/UpdateGlobalSettingsCommand");
|
|
70
|
+
const UpdatePhoneNumberCommand_1 = require("./commands/UpdatePhoneNumberCommand");
|
|
71
|
+
const UpdatePhoneNumberSettingsCommand_1 = require("./commands/UpdatePhoneNumberSettingsCommand");
|
|
72
|
+
const UpdateProxySessionCommand_1 = require("./commands/UpdateProxySessionCommand");
|
|
73
|
+
const UpdateSipMediaApplicationCallCommand_1 = require("./commands/UpdateSipMediaApplicationCallCommand");
|
|
74
|
+
const UpdateSipMediaApplicationCommand_1 = require("./commands/UpdateSipMediaApplicationCommand");
|
|
75
|
+
const UpdateSipRuleCommand_1 = require("./commands/UpdateSipRuleCommand");
|
|
76
|
+
const UpdateVoiceConnectorCommand_1 = require("./commands/UpdateVoiceConnectorCommand");
|
|
77
|
+
const UpdateVoiceConnectorGroupCommand_1 = require("./commands/UpdateVoiceConnectorGroupCommand");
|
|
78
|
+
const ValidateE911AddressCommand_1 = require("./commands/ValidateE911AddressCommand");
|
|
79
|
+
class ChimeSDKVoice extends ChimeSDKVoiceClient_1.ChimeSDKVoiceClient {
|
|
80
|
+
associatePhoneNumbersWithVoiceConnector(args, optionsOrCb, cb) {
|
|
81
|
+
const command = new AssociatePhoneNumbersWithVoiceConnectorCommand_1.AssociatePhoneNumbersWithVoiceConnectorCommand(args);
|
|
82
|
+
if (typeof optionsOrCb === "function") {
|
|
83
|
+
this.send(command, optionsOrCb);
|
|
84
|
+
}
|
|
85
|
+
else if (typeof cb === "function") {
|
|
86
|
+
if (typeof optionsOrCb !== "object")
|
|
87
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
88
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
return this.send(command, optionsOrCb);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
associatePhoneNumbersWithVoiceConnectorGroup(args, optionsOrCb, cb) {
|
|
95
|
+
const command = new AssociatePhoneNumbersWithVoiceConnectorGroupCommand_1.AssociatePhoneNumbersWithVoiceConnectorGroupCommand(args);
|
|
96
|
+
if (typeof optionsOrCb === "function") {
|
|
97
|
+
this.send(command, optionsOrCb);
|
|
98
|
+
}
|
|
99
|
+
else if (typeof cb === "function") {
|
|
100
|
+
if (typeof optionsOrCb !== "object")
|
|
101
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
102
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
return this.send(command, optionsOrCb);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
batchDeletePhoneNumber(args, optionsOrCb, cb) {
|
|
109
|
+
const command = new BatchDeletePhoneNumberCommand_1.BatchDeletePhoneNumberCommand(args);
|
|
110
|
+
if (typeof optionsOrCb === "function") {
|
|
111
|
+
this.send(command, optionsOrCb);
|
|
112
|
+
}
|
|
113
|
+
else if (typeof cb === "function") {
|
|
114
|
+
if (typeof optionsOrCb !== "object")
|
|
115
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
116
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
return this.send(command, optionsOrCb);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
batchUpdatePhoneNumber(args, optionsOrCb, cb) {
|
|
123
|
+
const command = new BatchUpdatePhoneNumberCommand_1.BatchUpdatePhoneNumberCommand(args);
|
|
124
|
+
if (typeof optionsOrCb === "function") {
|
|
125
|
+
this.send(command, optionsOrCb);
|
|
126
|
+
}
|
|
127
|
+
else if (typeof cb === "function") {
|
|
128
|
+
if (typeof optionsOrCb !== "object")
|
|
129
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
130
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
return this.send(command, optionsOrCb);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
createPhoneNumberOrder(args, optionsOrCb, cb) {
|
|
137
|
+
const command = new CreatePhoneNumberOrderCommand_1.CreatePhoneNumberOrderCommand(args);
|
|
138
|
+
if (typeof optionsOrCb === "function") {
|
|
139
|
+
this.send(command, optionsOrCb);
|
|
140
|
+
}
|
|
141
|
+
else if (typeof cb === "function") {
|
|
142
|
+
if (typeof optionsOrCb !== "object")
|
|
143
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
144
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
return this.send(command, optionsOrCb);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
createProxySession(args, optionsOrCb, cb) {
|
|
151
|
+
const command = new CreateProxySessionCommand_1.CreateProxySessionCommand(args);
|
|
152
|
+
if (typeof optionsOrCb === "function") {
|
|
153
|
+
this.send(command, optionsOrCb);
|
|
154
|
+
}
|
|
155
|
+
else if (typeof cb === "function") {
|
|
156
|
+
if (typeof optionsOrCb !== "object")
|
|
157
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
158
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
return this.send(command, optionsOrCb);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
createSipMediaApplication(args, optionsOrCb, cb) {
|
|
165
|
+
const command = new CreateSipMediaApplicationCommand_1.CreateSipMediaApplicationCommand(args);
|
|
166
|
+
if (typeof optionsOrCb === "function") {
|
|
167
|
+
this.send(command, optionsOrCb);
|
|
168
|
+
}
|
|
169
|
+
else if (typeof cb === "function") {
|
|
170
|
+
if (typeof optionsOrCb !== "object")
|
|
171
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
172
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
173
|
+
}
|
|
174
|
+
else {
|
|
175
|
+
return this.send(command, optionsOrCb);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
createSipMediaApplicationCall(args, optionsOrCb, cb) {
|
|
179
|
+
const command = new CreateSipMediaApplicationCallCommand_1.CreateSipMediaApplicationCallCommand(args);
|
|
180
|
+
if (typeof optionsOrCb === "function") {
|
|
181
|
+
this.send(command, optionsOrCb);
|
|
182
|
+
}
|
|
183
|
+
else if (typeof cb === "function") {
|
|
184
|
+
if (typeof optionsOrCb !== "object")
|
|
185
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
186
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
return this.send(command, optionsOrCb);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
createSipRule(args, optionsOrCb, cb) {
|
|
193
|
+
const command = new CreateSipRuleCommand_1.CreateSipRuleCommand(args);
|
|
194
|
+
if (typeof optionsOrCb === "function") {
|
|
195
|
+
this.send(command, optionsOrCb);
|
|
196
|
+
}
|
|
197
|
+
else if (typeof cb === "function") {
|
|
198
|
+
if (typeof optionsOrCb !== "object")
|
|
199
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
200
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
return this.send(command, optionsOrCb);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
createVoiceConnector(args, optionsOrCb, cb) {
|
|
207
|
+
const command = new CreateVoiceConnectorCommand_1.CreateVoiceConnectorCommand(args);
|
|
208
|
+
if (typeof optionsOrCb === "function") {
|
|
209
|
+
this.send(command, optionsOrCb);
|
|
210
|
+
}
|
|
211
|
+
else if (typeof cb === "function") {
|
|
212
|
+
if (typeof optionsOrCb !== "object")
|
|
213
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
214
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
return this.send(command, optionsOrCb);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
createVoiceConnectorGroup(args, optionsOrCb, cb) {
|
|
221
|
+
const command = new CreateVoiceConnectorGroupCommand_1.CreateVoiceConnectorGroupCommand(args);
|
|
222
|
+
if (typeof optionsOrCb === "function") {
|
|
223
|
+
this.send(command, optionsOrCb);
|
|
224
|
+
}
|
|
225
|
+
else if (typeof cb === "function") {
|
|
226
|
+
if (typeof optionsOrCb !== "object")
|
|
227
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
228
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
return this.send(command, optionsOrCb);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
deletePhoneNumber(args, optionsOrCb, cb) {
|
|
235
|
+
const command = new DeletePhoneNumberCommand_1.DeletePhoneNumberCommand(args);
|
|
236
|
+
if (typeof optionsOrCb === "function") {
|
|
237
|
+
this.send(command, optionsOrCb);
|
|
238
|
+
}
|
|
239
|
+
else if (typeof cb === "function") {
|
|
240
|
+
if (typeof optionsOrCb !== "object")
|
|
241
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
242
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
return this.send(command, optionsOrCb);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
deleteProxySession(args, optionsOrCb, cb) {
|
|
249
|
+
const command = new DeleteProxySessionCommand_1.DeleteProxySessionCommand(args);
|
|
250
|
+
if (typeof optionsOrCb === "function") {
|
|
251
|
+
this.send(command, optionsOrCb);
|
|
252
|
+
}
|
|
253
|
+
else if (typeof cb === "function") {
|
|
254
|
+
if (typeof optionsOrCb !== "object")
|
|
255
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
256
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
257
|
+
}
|
|
258
|
+
else {
|
|
259
|
+
return this.send(command, optionsOrCb);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
deleteSipMediaApplication(args, optionsOrCb, cb) {
|
|
263
|
+
const command = new DeleteSipMediaApplicationCommand_1.DeleteSipMediaApplicationCommand(args);
|
|
264
|
+
if (typeof optionsOrCb === "function") {
|
|
265
|
+
this.send(command, optionsOrCb);
|
|
266
|
+
}
|
|
267
|
+
else if (typeof cb === "function") {
|
|
268
|
+
if (typeof optionsOrCb !== "object")
|
|
269
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
270
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
271
|
+
}
|
|
272
|
+
else {
|
|
273
|
+
return this.send(command, optionsOrCb);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
deleteSipRule(args, optionsOrCb, cb) {
|
|
277
|
+
const command = new DeleteSipRuleCommand_1.DeleteSipRuleCommand(args);
|
|
278
|
+
if (typeof optionsOrCb === "function") {
|
|
279
|
+
this.send(command, optionsOrCb);
|
|
280
|
+
}
|
|
281
|
+
else if (typeof cb === "function") {
|
|
282
|
+
if (typeof optionsOrCb !== "object")
|
|
283
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
284
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
285
|
+
}
|
|
286
|
+
else {
|
|
287
|
+
return this.send(command, optionsOrCb);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
deleteVoiceConnector(args, optionsOrCb, cb) {
|
|
291
|
+
const command = new DeleteVoiceConnectorCommand_1.DeleteVoiceConnectorCommand(args);
|
|
292
|
+
if (typeof optionsOrCb === "function") {
|
|
293
|
+
this.send(command, optionsOrCb);
|
|
294
|
+
}
|
|
295
|
+
else if (typeof cb === "function") {
|
|
296
|
+
if (typeof optionsOrCb !== "object")
|
|
297
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
298
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
return this.send(command, optionsOrCb);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
deleteVoiceConnectorEmergencyCallingConfiguration(args, optionsOrCb, cb) {
|
|
305
|
+
const command = new DeleteVoiceConnectorEmergencyCallingConfigurationCommand_1.DeleteVoiceConnectorEmergencyCallingConfigurationCommand(args);
|
|
306
|
+
if (typeof optionsOrCb === "function") {
|
|
307
|
+
this.send(command, optionsOrCb);
|
|
308
|
+
}
|
|
309
|
+
else if (typeof cb === "function") {
|
|
310
|
+
if (typeof optionsOrCb !== "object")
|
|
311
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
312
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
313
|
+
}
|
|
314
|
+
else {
|
|
315
|
+
return this.send(command, optionsOrCb);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
deleteVoiceConnectorGroup(args, optionsOrCb, cb) {
|
|
319
|
+
const command = new DeleteVoiceConnectorGroupCommand_1.DeleteVoiceConnectorGroupCommand(args);
|
|
320
|
+
if (typeof optionsOrCb === "function") {
|
|
321
|
+
this.send(command, optionsOrCb);
|
|
322
|
+
}
|
|
323
|
+
else if (typeof cb === "function") {
|
|
324
|
+
if (typeof optionsOrCb !== "object")
|
|
325
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
326
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
327
|
+
}
|
|
328
|
+
else {
|
|
329
|
+
return this.send(command, optionsOrCb);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
deleteVoiceConnectorOrigination(args, optionsOrCb, cb) {
|
|
333
|
+
const command = new DeleteVoiceConnectorOriginationCommand_1.DeleteVoiceConnectorOriginationCommand(args);
|
|
334
|
+
if (typeof optionsOrCb === "function") {
|
|
335
|
+
this.send(command, optionsOrCb);
|
|
336
|
+
}
|
|
337
|
+
else if (typeof cb === "function") {
|
|
338
|
+
if (typeof optionsOrCb !== "object")
|
|
339
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
340
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
341
|
+
}
|
|
342
|
+
else {
|
|
343
|
+
return this.send(command, optionsOrCb);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
deleteVoiceConnectorProxy(args, optionsOrCb, cb) {
|
|
347
|
+
const command = new DeleteVoiceConnectorProxyCommand_1.DeleteVoiceConnectorProxyCommand(args);
|
|
348
|
+
if (typeof optionsOrCb === "function") {
|
|
349
|
+
this.send(command, optionsOrCb);
|
|
350
|
+
}
|
|
351
|
+
else if (typeof cb === "function") {
|
|
352
|
+
if (typeof optionsOrCb !== "object")
|
|
353
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
354
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
355
|
+
}
|
|
356
|
+
else {
|
|
357
|
+
return this.send(command, optionsOrCb);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
deleteVoiceConnectorStreamingConfiguration(args, optionsOrCb, cb) {
|
|
361
|
+
const command = new DeleteVoiceConnectorStreamingConfigurationCommand_1.DeleteVoiceConnectorStreamingConfigurationCommand(args);
|
|
362
|
+
if (typeof optionsOrCb === "function") {
|
|
363
|
+
this.send(command, optionsOrCb);
|
|
364
|
+
}
|
|
365
|
+
else if (typeof cb === "function") {
|
|
366
|
+
if (typeof optionsOrCb !== "object")
|
|
367
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
368
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
369
|
+
}
|
|
370
|
+
else {
|
|
371
|
+
return this.send(command, optionsOrCb);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
deleteVoiceConnectorTermination(args, optionsOrCb, cb) {
|
|
375
|
+
const command = new DeleteVoiceConnectorTerminationCommand_1.DeleteVoiceConnectorTerminationCommand(args);
|
|
376
|
+
if (typeof optionsOrCb === "function") {
|
|
377
|
+
this.send(command, optionsOrCb);
|
|
378
|
+
}
|
|
379
|
+
else if (typeof cb === "function") {
|
|
380
|
+
if (typeof optionsOrCb !== "object")
|
|
381
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
382
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
383
|
+
}
|
|
384
|
+
else {
|
|
385
|
+
return this.send(command, optionsOrCb);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
deleteVoiceConnectorTerminationCredentials(args, optionsOrCb, cb) {
|
|
389
|
+
const command = new DeleteVoiceConnectorTerminationCredentialsCommand_1.DeleteVoiceConnectorTerminationCredentialsCommand(args);
|
|
390
|
+
if (typeof optionsOrCb === "function") {
|
|
391
|
+
this.send(command, optionsOrCb);
|
|
392
|
+
}
|
|
393
|
+
else if (typeof cb === "function") {
|
|
394
|
+
if (typeof optionsOrCb !== "object")
|
|
395
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
396
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
397
|
+
}
|
|
398
|
+
else {
|
|
399
|
+
return this.send(command, optionsOrCb);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
disassociatePhoneNumbersFromVoiceConnector(args, optionsOrCb, cb) {
|
|
403
|
+
const command = new DisassociatePhoneNumbersFromVoiceConnectorCommand_1.DisassociatePhoneNumbersFromVoiceConnectorCommand(args);
|
|
404
|
+
if (typeof optionsOrCb === "function") {
|
|
405
|
+
this.send(command, optionsOrCb);
|
|
406
|
+
}
|
|
407
|
+
else if (typeof cb === "function") {
|
|
408
|
+
if (typeof optionsOrCb !== "object")
|
|
409
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
410
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
411
|
+
}
|
|
412
|
+
else {
|
|
413
|
+
return this.send(command, optionsOrCb);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
disassociatePhoneNumbersFromVoiceConnectorGroup(args, optionsOrCb, cb) {
|
|
417
|
+
const command = new DisassociatePhoneNumbersFromVoiceConnectorGroupCommand_1.DisassociatePhoneNumbersFromVoiceConnectorGroupCommand(args);
|
|
418
|
+
if (typeof optionsOrCb === "function") {
|
|
419
|
+
this.send(command, optionsOrCb);
|
|
420
|
+
}
|
|
421
|
+
else if (typeof cb === "function") {
|
|
422
|
+
if (typeof optionsOrCb !== "object")
|
|
423
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
424
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
425
|
+
}
|
|
426
|
+
else {
|
|
427
|
+
return this.send(command, optionsOrCb);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
getGlobalSettings(args, optionsOrCb, cb) {
|
|
431
|
+
const command = new GetGlobalSettingsCommand_1.GetGlobalSettingsCommand(args);
|
|
432
|
+
if (typeof optionsOrCb === "function") {
|
|
433
|
+
this.send(command, optionsOrCb);
|
|
434
|
+
}
|
|
435
|
+
else if (typeof cb === "function") {
|
|
436
|
+
if (typeof optionsOrCb !== "object")
|
|
437
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
438
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
439
|
+
}
|
|
440
|
+
else {
|
|
441
|
+
return this.send(command, optionsOrCb);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
getPhoneNumber(args, optionsOrCb, cb) {
|
|
445
|
+
const command = new GetPhoneNumberCommand_1.GetPhoneNumberCommand(args);
|
|
446
|
+
if (typeof optionsOrCb === "function") {
|
|
447
|
+
this.send(command, optionsOrCb);
|
|
448
|
+
}
|
|
449
|
+
else if (typeof cb === "function") {
|
|
450
|
+
if (typeof optionsOrCb !== "object")
|
|
451
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
452
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
453
|
+
}
|
|
454
|
+
else {
|
|
455
|
+
return this.send(command, optionsOrCb);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
getPhoneNumberOrder(args, optionsOrCb, cb) {
|
|
459
|
+
const command = new GetPhoneNumberOrderCommand_1.GetPhoneNumberOrderCommand(args);
|
|
460
|
+
if (typeof optionsOrCb === "function") {
|
|
461
|
+
this.send(command, optionsOrCb);
|
|
462
|
+
}
|
|
463
|
+
else if (typeof cb === "function") {
|
|
464
|
+
if (typeof optionsOrCb !== "object")
|
|
465
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
466
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
467
|
+
}
|
|
468
|
+
else {
|
|
469
|
+
return this.send(command, optionsOrCb);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
getPhoneNumberSettings(args, optionsOrCb, cb) {
|
|
473
|
+
const command = new GetPhoneNumberSettingsCommand_1.GetPhoneNumberSettingsCommand(args);
|
|
474
|
+
if (typeof optionsOrCb === "function") {
|
|
475
|
+
this.send(command, optionsOrCb);
|
|
476
|
+
}
|
|
477
|
+
else if (typeof cb === "function") {
|
|
478
|
+
if (typeof optionsOrCb !== "object")
|
|
479
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
480
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
481
|
+
}
|
|
482
|
+
else {
|
|
483
|
+
return this.send(command, optionsOrCb);
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
getProxySession(args, optionsOrCb, cb) {
|
|
487
|
+
const command = new GetProxySessionCommand_1.GetProxySessionCommand(args);
|
|
488
|
+
if (typeof optionsOrCb === "function") {
|
|
489
|
+
this.send(command, optionsOrCb);
|
|
490
|
+
}
|
|
491
|
+
else if (typeof cb === "function") {
|
|
492
|
+
if (typeof optionsOrCb !== "object")
|
|
493
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
494
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
495
|
+
}
|
|
496
|
+
else {
|
|
497
|
+
return this.send(command, optionsOrCb);
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
getSipMediaApplication(args, optionsOrCb, cb) {
|
|
501
|
+
const command = new GetSipMediaApplicationCommand_1.GetSipMediaApplicationCommand(args);
|
|
502
|
+
if (typeof optionsOrCb === "function") {
|
|
503
|
+
this.send(command, optionsOrCb);
|
|
504
|
+
}
|
|
505
|
+
else if (typeof cb === "function") {
|
|
506
|
+
if (typeof optionsOrCb !== "object")
|
|
507
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
508
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
509
|
+
}
|
|
510
|
+
else {
|
|
511
|
+
return this.send(command, optionsOrCb);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
getSipMediaApplicationAlexaSkillConfiguration(args, optionsOrCb, cb) {
|
|
515
|
+
const command = new GetSipMediaApplicationAlexaSkillConfigurationCommand_1.GetSipMediaApplicationAlexaSkillConfigurationCommand(args);
|
|
516
|
+
if (typeof optionsOrCb === "function") {
|
|
517
|
+
this.send(command, optionsOrCb);
|
|
518
|
+
}
|
|
519
|
+
else if (typeof cb === "function") {
|
|
520
|
+
if (typeof optionsOrCb !== "object")
|
|
521
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
522
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
523
|
+
}
|
|
524
|
+
else {
|
|
525
|
+
return this.send(command, optionsOrCb);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
getSipMediaApplicationLoggingConfiguration(args, optionsOrCb, cb) {
|
|
529
|
+
const command = new GetSipMediaApplicationLoggingConfigurationCommand_1.GetSipMediaApplicationLoggingConfigurationCommand(args);
|
|
530
|
+
if (typeof optionsOrCb === "function") {
|
|
531
|
+
this.send(command, optionsOrCb);
|
|
532
|
+
}
|
|
533
|
+
else if (typeof cb === "function") {
|
|
534
|
+
if (typeof optionsOrCb !== "object")
|
|
535
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
536
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
537
|
+
}
|
|
538
|
+
else {
|
|
539
|
+
return this.send(command, optionsOrCb);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
getSipRule(args, optionsOrCb, cb) {
|
|
543
|
+
const command = new GetSipRuleCommand_1.GetSipRuleCommand(args);
|
|
544
|
+
if (typeof optionsOrCb === "function") {
|
|
545
|
+
this.send(command, optionsOrCb);
|
|
546
|
+
}
|
|
547
|
+
else if (typeof cb === "function") {
|
|
548
|
+
if (typeof optionsOrCb !== "object")
|
|
549
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
550
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
551
|
+
}
|
|
552
|
+
else {
|
|
553
|
+
return this.send(command, optionsOrCb);
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
getVoiceConnector(args, optionsOrCb, cb) {
|
|
557
|
+
const command = new GetVoiceConnectorCommand_1.GetVoiceConnectorCommand(args);
|
|
558
|
+
if (typeof optionsOrCb === "function") {
|
|
559
|
+
this.send(command, optionsOrCb);
|
|
560
|
+
}
|
|
561
|
+
else if (typeof cb === "function") {
|
|
562
|
+
if (typeof optionsOrCb !== "object")
|
|
563
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
564
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
565
|
+
}
|
|
566
|
+
else {
|
|
567
|
+
return this.send(command, optionsOrCb);
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
getVoiceConnectorEmergencyCallingConfiguration(args, optionsOrCb, cb) {
|
|
571
|
+
const command = new GetVoiceConnectorEmergencyCallingConfigurationCommand_1.GetVoiceConnectorEmergencyCallingConfigurationCommand(args);
|
|
572
|
+
if (typeof optionsOrCb === "function") {
|
|
573
|
+
this.send(command, optionsOrCb);
|
|
574
|
+
}
|
|
575
|
+
else if (typeof cb === "function") {
|
|
576
|
+
if (typeof optionsOrCb !== "object")
|
|
577
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
578
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
579
|
+
}
|
|
580
|
+
else {
|
|
581
|
+
return this.send(command, optionsOrCb);
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
getVoiceConnectorGroup(args, optionsOrCb, cb) {
|
|
585
|
+
const command = new GetVoiceConnectorGroupCommand_1.GetVoiceConnectorGroupCommand(args);
|
|
586
|
+
if (typeof optionsOrCb === "function") {
|
|
587
|
+
this.send(command, optionsOrCb);
|
|
588
|
+
}
|
|
589
|
+
else if (typeof cb === "function") {
|
|
590
|
+
if (typeof optionsOrCb !== "object")
|
|
591
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
592
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
593
|
+
}
|
|
594
|
+
else {
|
|
595
|
+
return this.send(command, optionsOrCb);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
getVoiceConnectorLoggingConfiguration(args, optionsOrCb, cb) {
|
|
599
|
+
const command = new GetVoiceConnectorLoggingConfigurationCommand_1.GetVoiceConnectorLoggingConfigurationCommand(args);
|
|
600
|
+
if (typeof optionsOrCb === "function") {
|
|
601
|
+
this.send(command, optionsOrCb);
|
|
602
|
+
}
|
|
603
|
+
else if (typeof cb === "function") {
|
|
604
|
+
if (typeof optionsOrCb !== "object")
|
|
605
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
606
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
607
|
+
}
|
|
608
|
+
else {
|
|
609
|
+
return this.send(command, optionsOrCb);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
getVoiceConnectorOrigination(args, optionsOrCb, cb) {
|
|
613
|
+
const command = new GetVoiceConnectorOriginationCommand_1.GetVoiceConnectorOriginationCommand(args);
|
|
614
|
+
if (typeof optionsOrCb === "function") {
|
|
615
|
+
this.send(command, optionsOrCb);
|
|
616
|
+
}
|
|
617
|
+
else if (typeof cb === "function") {
|
|
618
|
+
if (typeof optionsOrCb !== "object")
|
|
619
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
620
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
621
|
+
}
|
|
622
|
+
else {
|
|
623
|
+
return this.send(command, optionsOrCb);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
getVoiceConnectorProxy(args, optionsOrCb, cb) {
|
|
627
|
+
const command = new GetVoiceConnectorProxyCommand_1.GetVoiceConnectorProxyCommand(args);
|
|
628
|
+
if (typeof optionsOrCb === "function") {
|
|
629
|
+
this.send(command, optionsOrCb);
|
|
630
|
+
}
|
|
631
|
+
else if (typeof cb === "function") {
|
|
632
|
+
if (typeof optionsOrCb !== "object")
|
|
633
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
634
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
635
|
+
}
|
|
636
|
+
else {
|
|
637
|
+
return this.send(command, optionsOrCb);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
getVoiceConnectorStreamingConfiguration(args, optionsOrCb, cb) {
|
|
641
|
+
const command = new GetVoiceConnectorStreamingConfigurationCommand_1.GetVoiceConnectorStreamingConfigurationCommand(args);
|
|
642
|
+
if (typeof optionsOrCb === "function") {
|
|
643
|
+
this.send(command, optionsOrCb);
|
|
644
|
+
}
|
|
645
|
+
else if (typeof cb === "function") {
|
|
646
|
+
if (typeof optionsOrCb !== "object")
|
|
647
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
648
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
649
|
+
}
|
|
650
|
+
else {
|
|
651
|
+
return this.send(command, optionsOrCb);
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
getVoiceConnectorTermination(args, optionsOrCb, cb) {
|
|
655
|
+
const command = new GetVoiceConnectorTerminationCommand_1.GetVoiceConnectorTerminationCommand(args);
|
|
656
|
+
if (typeof optionsOrCb === "function") {
|
|
657
|
+
this.send(command, optionsOrCb);
|
|
658
|
+
}
|
|
659
|
+
else if (typeof cb === "function") {
|
|
660
|
+
if (typeof optionsOrCb !== "object")
|
|
661
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
662
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
663
|
+
}
|
|
664
|
+
else {
|
|
665
|
+
return this.send(command, optionsOrCb);
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
getVoiceConnectorTerminationHealth(args, optionsOrCb, cb) {
|
|
669
|
+
const command = new GetVoiceConnectorTerminationHealthCommand_1.GetVoiceConnectorTerminationHealthCommand(args);
|
|
670
|
+
if (typeof optionsOrCb === "function") {
|
|
671
|
+
this.send(command, optionsOrCb);
|
|
672
|
+
}
|
|
673
|
+
else if (typeof cb === "function") {
|
|
674
|
+
if (typeof optionsOrCb !== "object")
|
|
675
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
676
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
677
|
+
}
|
|
678
|
+
else {
|
|
679
|
+
return this.send(command, optionsOrCb);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
listAvailableVoiceConnectorRegions(args, optionsOrCb, cb) {
|
|
683
|
+
const command = new ListAvailableVoiceConnectorRegionsCommand_1.ListAvailableVoiceConnectorRegionsCommand(args);
|
|
684
|
+
if (typeof optionsOrCb === "function") {
|
|
685
|
+
this.send(command, optionsOrCb);
|
|
686
|
+
}
|
|
687
|
+
else if (typeof cb === "function") {
|
|
688
|
+
if (typeof optionsOrCb !== "object")
|
|
689
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
690
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
691
|
+
}
|
|
692
|
+
else {
|
|
693
|
+
return this.send(command, optionsOrCb);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
listPhoneNumberOrders(args, optionsOrCb, cb) {
|
|
697
|
+
const command = new ListPhoneNumberOrdersCommand_1.ListPhoneNumberOrdersCommand(args);
|
|
698
|
+
if (typeof optionsOrCb === "function") {
|
|
699
|
+
this.send(command, optionsOrCb);
|
|
700
|
+
}
|
|
701
|
+
else if (typeof cb === "function") {
|
|
702
|
+
if (typeof optionsOrCb !== "object")
|
|
703
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
704
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
705
|
+
}
|
|
706
|
+
else {
|
|
707
|
+
return this.send(command, optionsOrCb);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
listPhoneNumbers(args, optionsOrCb, cb) {
|
|
711
|
+
const command = new ListPhoneNumbersCommand_1.ListPhoneNumbersCommand(args);
|
|
712
|
+
if (typeof optionsOrCb === "function") {
|
|
713
|
+
this.send(command, optionsOrCb);
|
|
714
|
+
}
|
|
715
|
+
else if (typeof cb === "function") {
|
|
716
|
+
if (typeof optionsOrCb !== "object")
|
|
717
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
718
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
719
|
+
}
|
|
720
|
+
else {
|
|
721
|
+
return this.send(command, optionsOrCb);
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
listProxySessions(args, optionsOrCb, cb) {
|
|
725
|
+
const command = new ListProxySessionsCommand_1.ListProxySessionsCommand(args);
|
|
726
|
+
if (typeof optionsOrCb === "function") {
|
|
727
|
+
this.send(command, optionsOrCb);
|
|
728
|
+
}
|
|
729
|
+
else if (typeof cb === "function") {
|
|
730
|
+
if (typeof optionsOrCb !== "object")
|
|
731
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
732
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
733
|
+
}
|
|
734
|
+
else {
|
|
735
|
+
return this.send(command, optionsOrCb);
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
listSipMediaApplications(args, optionsOrCb, cb) {
|
|
739
|
+
const command = new ListSipMediaApplicationsCommand_1.ListSipMediaApplicationsCommand(args);
|
|
740
|
+
if (typeof optionsOrCb === "function") {
|
|
741
|
+
this.send(command, optionsOrCb);
|
|
742
|
+
}
|
|
743
|
+
else if (typeof cb === "function") {
|
|
744
|
+
if (typeof optionsOrCb !== "object")
|
|
745
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
746
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
747
|
+
}
|
|
748
|
+
else {
|
|
749
|
+
return this.send(command, optionsOrCb);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
listSipRules(args, optionsOrCb, cb) {
|
|
753
|
+
const command = new ListSipRulesCommand_1.ListSipRulesCommand(args);
|
|
754
|
+
if (typeof optionsOrCb === "function") {
|
|
755
|
+
this.send(command, optionsOrCb);
|
|
756
|
+
}
|
|
757
|
+
else if (typeof cb === "function") {
|
|
758
|
+
if (typeof optionsOrCb !== "object")
|
|
759
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
760
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
761
|
+
}
|
|
762
|
+
else {
|
|
763
|
+
return this.send(command, optionsOrCb);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
listSupportedPhoneNumberCountries(args, optionsOrCb, cb) {
|
|
767
|
+
const command = new ListSupportedPhoneNumberCountriesCommand_1.ListSupportedPhoneNumberCountriesCommand(args);
|
|
768
|
+
if (typeof optionsOrCb === "function") {
|
|
769
|
+
this.send(command, optionsOrCb);
|
|
770
|
+
}
|
|
771
|
+
else if (typeof cb === "function") {
|
|
772
|
+
if (typeof optionsOrCb !== "object")
|
|
773
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
774
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
775
|
+
}
|
|
776
|
+
else {
|
|
777
|
+
return this.send(command, optionsOrCb);
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
listVoiceConnectorGroups(args, optionsOrCb, cb) {
|
|
781
|
+
const command = new ListVoiceConnectorGroupsCommand_1.ListVoiceConnectorGroupsCommand(args);
|
|
782
|
+
if (typeof optionsOrCb === "function") {
|
|
783
|
+
this.send(command, optionsOrCb);
|
|
784
|
+
}
|
|
785
|
+
else if (typeof cb === "function") {
|
|
786
|
+
if (typeof optionsOrCb !== "object")
|
|
787
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
788
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
789
|
+
}
|
|
790
|
+
else {
|
|
791
|
+
return this.send(command, optionsOrCb);
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
listVoiceConnectors(args, optionsOrCb, cb) {
|
|
795
|
+
const command = new ListVoiceConnectorsCommand_1.ListVoiceConnectorsCommand(args);
|
|
796
|
+
if (typeof optionsOrCb === "function") {
|
|
797
|
+
this.send(command, optionsOrCb);
|
|
798
|
+
}
|
|
799
|
+
else if (typeof cb === "function") {
|
|
800
|
+
if (typeof optionsOrCb !== "object")
|
|
801
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
802
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
803
|
+
}
|
|
804
|
+
else {
|
|
805
|
+
return this.send(command, optionsOrCb);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
listVoiceConnectorTerminationCredentials(args, optionsOrCb, cb) {
|
|
809
|
+
const command = new ListVoiceConnectorTerminationCredentialsCommand_1.ListVoiceConnectorTerminationCredentialsCommand(args);
|
|
810
|
+
if (typeof optionsOrCb === "function") {
|
|
811
|
+
this.send(command, optionsOrCb);
|
|
812
|
+
}
|
|
813
|
+
else if (typeof cb === "function") {
|
|
814
|
+
if (typeof optionsOrCb !== "object")
|
|
815
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
816
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
817
|
+
}
|
|
818
|
+
else {
|
|
819
|
+
return this.send(command, optionsOrCb);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
putSipMediaApplicationAlexaSkillConfiguration(args, optionsOrCb, cb) {
|
|
823
|
+
const command = new PutSipMediaApplicationAlexaSkillConfigurationCommand_1.PutSipMediaApplicationAlexaSkillConfigurationCommand(args);
|
|
824
|
+
if (typeof optionsOrCb === "function") {
|
|
825
|
+
this.send(command, optionsOrCb);
|
|
826
|
+
}
|
|
827
|
+
else if (typeof cb === "function") {
|
|
828
|
+
if (typeof optionsOrCb !== "object")
|
|
829
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
830
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
831
|
+
}
|
|
832
|
+
else {
|
|
833
|
+
return this.send(command, optionsOrCb);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
putSipMediaApplicationLoggingConfiguration(args, optionsOrCb, cb) {
|
|
837
|
+
const command = new PutSipMediaApplicationLoggingConfigurationCommand_1.PutSipMediaApplicationLoggingConfigurationCommand(args);
|
|
838
|
+
if (typeof optionsOrCb === "function") {
|
|
839
|
+
this.send(command, optionsOrCb);
|
|
840
|
+
}
|
|
841
|
+
else if (typeof cb === "function") {
|
|
842
|
+
if (typeof optionsOrCb !== "object")
|
|
843
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
844
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
845
|
+
}
|
|
846
|
+
else {
|
|
847
|
+
return this.send(command, optionsOrCb);
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
putVoiceConnectorEmergencyCallingConfiguration(args, optionsOrCb, cb) {
|
|
851
|
+
const command = new PutVoiceConnectorEmergencyCallingConfigurationCommand_1.PutVoiceConnectorEmergencyCallingConfigurationCommand(args);
|
|
852
|
+
if (typeof optionsOrCb === "function") {
|
|
853
|
+
this.send(command, optionsOrCb);
|
|
854
|
+
}
|
|
855
|
+
else if (typeof cb === "function") {
|
|
856
|
+
if (typeof optionsOrCb !== "object")
|
|
857
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
858
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
859
|
+
}
|
|
860
|
+
else {
|
|
861
|
+
return this.send(command, optionsOrCb);
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
putVoiceConnectorLoggingConfiguration(args, optionsOrCb, cb) {
|
|
865
|
+
const command = new PutVoiceConnectorLoggingConfigurationCommand_1.PutVoiceConnectorLoggingConfigurationCommand(args);
|
|
866
|
+
if (typeof optionsOrCb === "function") {
|
|
867
|
+
this.send(command, optionsOrCb);
|
|
868
|
+
}
|
|
869
|
+
else if (typeof cb === "function") {
|
|
870
|
+
if (typeof optionsOrCb !== "object")
|
|
871
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
872
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
873
|
+
}
|
|
874
|
+
else {
|
|
875
|
+
return this.send(command, optionsOrCb);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
putVoiceConnectorOrigination(args, optionsOrCb, cb) {
|
|
879
|
+
const command = new PutVoiceConnectorOriginationCommand_1.PutVoiceConnectorOriginationCommand(args);
|
|
880
|
+
if (typeof optionsOrCb === "function") {
|
|
881
|
+
this.send(command, optionsOrCb);
|
|
882
|
+
}
|
|
883
|
+
else if (typeof cb === "function") {
|
|
884
|
+
if (typeof optionsOrCb !== "object")
|
|
885
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
886
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
887
|
+
}
|
|
888
|
+
else {
|
|
889
|
+
return this.send(command, optionsOrCb);
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
putVoiceConnectorProxy(args, optionsOrCb, cb) {
|
|
893
|
+
const command = new PutVoiceConnectorProxyCommand_1.PutVoiceConnectorProxyCommand(args);
|
|
894
|
+
if (typeof optionsOrCb === "function") {
|
|
895
|
+
this.send(command, optionsOrCb);
|
|
896
|
+
}
|
|
897
|
+
else if (typeof cb === "function") {
|
|
898
|
+
if (typeof optionsOrCb !== "object")
|
|
899
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
900
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
901
|
+
}
|
|
902
|
+
else {
|
|
903
|
+
return this.send(command, optionsOrCb);
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
putVoiceConnectorStreamingConfiguration(args, optionsOrCb, cb) {
|
|
907
|
+
const command = new PutVoiceConnectorStreamingConfigurationCommand_1.PutVoiceConnectorStreamingConfigurationCommand(args);
|
|
908
|
+
if (typeof optionsOrCb === "function") {
|
|
909
|
+
this.send(command, optionsOrCb);
|
|
910
|
+
}
|
|
911
|
+
else if (typeof cb === "function") {
|
|
912
|
+
if (typeof optionsOrCb !== "object")
|
|
913
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
914
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
915
|
+
}
|
|
916
|
+
else {
|
|
917
|
+
return this.send(command, optionsOrCb);
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
putVoiceConnectorTermination(args, optionsOrCb, cb) {
|
|
921
|
+
const command = new PutVoiceConnectorTerminationCommand_1.PutVoiceConnectorTerminationCommand(args);
|
|
922
|
+
if (typeof optionsOrCb === "function") {
|
|
923
|
+
this.send(command, optionsOrCb);
|
|
924
|
+
}
|
|
925
|
+
else if (typeof cb === "function") {
|
|
926
|
+
if (typeof optionsOrCb !== "object")
|
|
927
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
928
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
929
|
+
}
|
|
930
|
+
else {
|
|
931
|
+
return this.send(command, optionsOrCb);
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
putVoiceConnectorTerminationCredentials(args, optionsOrCb, cb) {
|
|
935
|
+
const command = new PutVoiceConnectorTerminationCredentialsCommand_1.PutVoiceConnectorTerminationCredentialsCommand(args);
|
|
936
|
+
if (typeof optionsOrCb === "function") {
|
|
937
|
+
this.send(command, optionsOrCb);
|
|
938
|
+
}
|
|
939
|
+
else if (typeof cb === "function") {
|
|
940
|
+
if (typeof optionsOrCb !== "object")
|
|
941
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
942
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
943
|
+
}
|
|
944
|
+
else {
|
|
945
|
+
return this.send(command, optionsOrCb);
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
restorePhoneNumber(args, optionsOrCb, cb) {
|
|
949
|
+
const command = new RestorePhoneNumberCommand_1.RestorePhoneNumberCommand(args);
|
|
950
|
+
if (typeof optionsOrCb === "function") {
|
|
951
|
+
this.send(command, optionsOrCb);
|
|
952
|
+
}
|
|
953
|
+
else if (typeof cb === "function") {
|
|
954
|
+
if (typeof optionsOrCb !== "object")
|
|
955
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
956
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
957
|
+
}
|
|
958
|
+
else {
|
|
959
|
+
return this.send(command, optionsOrCb);
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
searchAvailablePhoneNumbers(args, optionsOrCb, cb) {
|
|
963
|
+
const command = new SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand(args);
|
|
964
|
+
if (typeof optionsOrCb === "function") {
|
|
965
|
+
this.send(command, optionsOrCb);
|
|
966
|
+
}
|
|
967
|
+
else if (typeof cb === "function") {
|
|
968
|
+
if (typeof optionsOrCb !== "object")
|
|
969
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
970
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
971
|
+
}
|
|
972
|
+
else {
|
|
973
|
+
return this.send(command, optionsOrCb);
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
updateGlobalSettings(args, optionsOrCb, cb) {
|
|
977
|
+
const command = new UpdateGlobalSettingsCommand_1.UpdateGlobalSettingsCommand(args);
|
|
978
|
+
if (typeof optionsOrCb === "function") {
|
|
979
|
+
this.send(command, optionsOrCb);
|
|
980
|
+
}
|
|
981
|
+
else if (typeof cb === "function") {
|
|
982
|
+
if (typeof optionsOrCb !== "object")
|
|
983
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
984
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
985
|
+
}
|
|
986
|
+
else {
|
|
987
|
+
return this.send(command, optionsOrCb);
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
updatePhoneNumber(args, optionsOrCb, cb) {
|
|
991
|
+
const command = new UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand(args);
|
|
992
|
+
if (typeof optionsOrCb === "function") {
|
|
993
|
+
this.send(command, optionsOrCb);
|
|
994
|
+
}
|
|
995
|
+
else if (typeof cb === "function") {
|
|
996
|
+
if (typeof optionsOrCb !== "object")
|
|
997
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
998
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
999
|
+
}
|
|
1000
|
+
else {
|
|
1001
|
+
return this.send(command, optionsOrCb);
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
updatePhoneNumberSettings(args, optionsOrCb, cb) {
|
|
1005
|
+
const command = new UpdatePhoneNumberSettingsCommand_1.UpdatePhoneNumberSettingsCommand(args);
|
|
1006
|
+
if (typeof optionsOrCb === "function") {
|
|
1007
|
+
this.send(command, optionsOrCb);
|
|
1008
|
+
}
|
|
1009
|
+
else if (typeof cb === "function") {
|
|
1010
|
+
if (typeof optionsOrCb !== "object")
|
|
1011
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1012
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1013
|
+
}
|
|
1014
|
+
else {
|
|
1015
|
+
return this.send(command, optionsOrCb);
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
updateProxySession(args, optionsOrCb, cb) {
|
|
1019
|
+
const command = new UpdateProxySessionCommand_1.UpdateProxySessionCommand(args);
|
|
1020
|
+
if (typeof optionsOrCb === "function") {
|
|
1021
|
+
this.send(command, optionsOrCb);
|
|
1022
|
+
}
|
|
1023
|
+
else if (typeof cb === "function") {
|
|
1024
|
+
if (typeof optionsOrCb !== "object")
|
|
1025
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1026
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1027
|
+
}
|
|
1028
|
+
else {
|
|
1029
|
+
return this.send(command, optionsOrCb);
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
updateSipMediaApplication(args, optionsOrCb, cb) {
|
|
1033
|
+
const command = new UpdateSipMediaApplicationCommand_1.UpdateSipMediaApplicationCommand(args);
|
|
1034
|
+
if (typeof optionsOrCb === "function") {
|
|
1035
|
+
this.send(command, optionsOrCb);
|
|
1036
|
+
}
|
|
1037
|
+
else if (typeof cb === "function") {
|
|
1038
|
+
if (typeof optionsOrCb !== "object")
|
|
1039
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1040
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1041
|
+
}
|
|
1042
|
+
else {
|
|
1043
|
+
return this.send(command, optionsOrCb);
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
updateSipMediaApplicationCall(args, optionsOrCb, cb) {
|
|
1047
|
+
const command = new UpdateSipMediaApplicationCallCommand_1.UpdateSipMediaApplicationCallCommand(args);
|
|
1048
|
+
if (typeof optionsOrCb === "function") {
|
|
1049
|
+
this.send(command, optionsOrCb);
|
|
1050
|
+
}
|
|
1051
|
+
else if (typeof cb === "function") {
|
|
1052
|
+
if (typeof optionsOrCb !== "object")
|
|
1053
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1054
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1055
|
+
}
|
|
1056
|
+
else {
|
|
1057
|
+
return this.send(command, optionsOrCb);
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
updateSipRule(args, optionsOrCb, cb) {
|
|
1061
|
+
const command = new UpdateSipRuleCommand_1.UpdateSipRuleCommand(args);
|
|
1062
|
+
if (typeof optionsOrCb === "function") {
|
|
1063
|
+
this.send(command, optionsOrCb);
|
|
1064
|
+
}
|
|
1065
|
+
else if (typeof cb === "function") {
|
|
1066
|
+
if (typeof optionsOrCb !== "object")
|
|
1067
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1068
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1069
|
+
}
|
|
1070
|
+
else {
|
|
1071
|
+
return this.send(command, optionsOrCb);
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
updateVoiceConnector(args, optionsOrCb, cb) {
|
|
1075
|
+
const command = new UpdateVoiceConnectorCommand_1.UpdateVoiceConnectorCommand(args);
|
|
1076
|
+
if (typeof optionsOrCb === "function") {
|
|
1077
|
+
this.send(command, optionsOrCb);
|
|
1078
|
+
}
|
|
1079
|
+
else if (typeof cb === "function") {
|
|
1080
|
+
if (typeof optionsOrCb !== "object")
|
|
1081
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1082
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1083
|
+
}
|
|
1084
|
+
else {
|
|
1085
|
+
return this.send(command, optionsOrCb);
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
updateVoiceConnectorGroup(args, optionsOrCb, cb) {
|
|
1089
|
+
const command = new UpdateVoiceConnectorGroupCommand_1.UpdateVoiceConnectorGroupCommand(args);
|
|
1090
|
+
if (typeof optionsOrCb === "function") {
|
|
1091
|
+
this.send(command, optionsOrCb);
|
|
1092
|
+
}
|
|
1093
|
+
else if (typeof cb === "function") {
|
|
1094
|
+
if (typeof optionsOrCb !== "object")
|
|
1095
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1096
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1097
|
+
}
|
|
1098
|
+
else {
|
|
1099
|
+
return this.send(command, optionsOrCb);
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
validateE911Address(args, optionsOrCb, cb) {
|
|
1103
|
+
const command = new ValidateE911AddressCommand_1.ValidateE911AddressCommand(args);
|
|
1104
|
+
if (typeof optionsOrCb === "function") {
|
|
1105
|
+
this.send(command, optionsOrCb);
|
|
1106
|
+
}
|
|
1107
|
+
else if (typeof cb === "function") {
|
|
1108
|
+
if (typeof optionsOrCb !== "object")
|
|
1109
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1110
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1111
|
+
}
|
|
1112
|
+
else {
|
|
1113
|
+
return this.send(command, optionsOrCb);
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
exports.ChimeSDKVoice = ChimeSDKVoice;
|