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