2022/11/18 - Amazon Chime SDK Voice - 74 new api methods
Changes Amazon Chime Voice Connector, Voice Connector Group and PSTN Audio Service APIs are now available in the Amazon Chime SDK Voice namespace. See https://docs.aws.amazon.com/chime-sdk/latest/dg/sdk-available-regions.html for more details.
See also: AWS API Documentation
Request Syntax
client.update_proxy_session(
VoiceConnectorId='string',
ProxySessionId='string',
Capabilities=[
'Voice'|'SMS',
],
ExpiryMinutes=123
)
string
[REQUIRED]
string
[REQUIRED]
list
[REQUIRED]
(string) --
integer
dict
Response Syntax
{
'ProxySession': {
'VoiceConnectorId': 'string',
'ProxySessionId': 'string',
'Name': 'string',
'Status': 'Open'|'InProgress'|'Closed',
'ExpiryMinutes': 123,
'Capabilities': [
'Voice'|'SMS',
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'EndedTimestamp': datetime(2015, 1, 1),
'Participants': [
{
'PhoneNumber': 'string',
'ProxyPhoneNumber': 'string'
},
],
'NumberSelectionBehavior': 'PreferSticky'|'AvoidSticky',
'GeoMatchLevel': 'Country'|'AreaCode',
'GeoMatchParams': {
'Country': 'string',
'AreaCode': 'string'
}
}
}
Response Structure
(dict) --
ProxySession (dict) --
VoiceConnectorId (string) --
ProxySessionId (string) --
Name (string) --
Status (string) --
ExpiryMinutes (integer) --
Capabilities (list) --
(string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
EndedTimestamp (datetime) --
Participants (list) --
(dict) --
PhoneNumber (string) --
ProxyPhoneNumber (string) --
NumberSelectionBehavior (string) --
GeoMatchLevel (string) --
GeoMatchParams (dict) --
Country (string) --
AreaCode (string) --
See also: AWS API Documentation
Request Syntax
client.put_sip_media_application_alexa_skill_configuration(
SipMediaApplicationId='string',
SipMediaApplicationAlexaSkillConfiguration={
'AlexaSkillStatus': 'ACTIVE'|'INACTIVE',
'AlexaSkillIds': [
'string',
]
}
)
string
[REQUIRED]
dict
AlexaSkillStatus (string) -- [REQUIRED]
AlexaSkillIds (list) -- [REQUIRED]
(string) --
dict
Response Syntax
{
'SipMediaApplicationAlexaSkillConfiguration': {
'AlexaSkillStatus': 'ACTIVE'|'INACTIVE',
'AlexaSkillIds': [
'string',
]
}
}
Response Structure
(dict) --
SipMediaApplicationAlexaSkillConfiguration (dict) --
AlexaSkillStatus (string) --
AlexaSkillIds (list) --
(string) --
See also: AWS API Documentation
Request Syntax
client.restore_phone_number(
PhoneNumberId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'PhoneNumber': {
'PhoneNumberId': 'string',
'E164PhoneNumber': 'string',
'Country': 'string',
'Type': 'Local'|'TollFree',
'ProductType': 'VoiceConnector'|'SipMediaApplicationDialIn',
'Status': 'Cancelled'|'PortinCancelRequested'|'PortinInProgress'|'AcquireInProgress'|'AcquireFailed'|'Unassigned'|'Assigned'|'ReleaseInProgress'|'DeleteInProgress'|'ReleaseFailed'|'DeleteFailed',
'Capabilities': {
'InboundCall': True|False,
'OutboundCall': True|False,
'InboundSMS': True|False,
'OutboundSMS': True|False,
'InboundMMS': True|False,
'OutboundMMS': True|False
},
'Associations': [
{
'Value': 'string',
'Name': 'VoiceConnectorId'|'VoiceConnectorGroupId'|'SipRuleId',
'AssociatedTimestamp': datetime(2015, 1, 1)
},
],
'CallingName': 'string',
'CallingNameStatus': 'Unassigned'|'UpdateInProgress'|'UpdateSucceeded'|'UpdateFailed',
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'DeletionTimestamp': datetime(2015, 1, 1),
'OrderId': 'string'
}
}
Response Structure
(dict) --
PhoneNumber (dict) --
PhoneNumberId (string) --
E164PhoneNumber (string) --
Country (string) --
Type (string) --
ProductType (string) --
Status (string) --
Capabilities (dict) --
InboundCall (boolean) --
OutboundCall (boolean) --
InboundSMS (boolean) --
OutboundSMS (boolean) --
InboundMMS (boolean) --
OutboundMMS (boolean) --
Associations (list) --
(dict) --
Value (string) --
Name (string) --
AssociatedTimestamp (datetime) --
CallingName (string) --
CallingNameStatus (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
DeletionTimestamp (datetime) --
OrderId (string) --
See also: AWS API Documentation
Request Syntax
client.delete_sip_rule(
SipRuleId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.disassociate_phone_numbers_from_voice_connector(
VoiceConnectorId='string',
E164PhoneNumbers=[
'string',
]
)
string
[REQUIRED]
list
[REQUIRED]
(string) --
dict
Response Syntax
{
'PhoneNumberErrors': [
{
'PhoneNumberId': 'string',
'ErrorCode': 'BadRequest'|'Conflict'|'Forbidden'|'NotFound'|'PreconditionFailed'|'ResourceLimitExceeded'|'ServiceFailure'|'AccessDenied'|'ServiceUnavailable'|'Throttled'|'Throttling'|'Unauthorized'|'Unprocessable'|'VoiceConnectorGroupAssociationsExist'|'PhoneNumberAssociationsExist'|'Gone',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) --
PhoneNumberErrors (list) --
(dict) --
PhoneNumberId (string) --
ErrorCode (string) --
ErrorMessage (string) --
See also: AWS API Documentation
Request Syntax
client.associate_phone_numbers_with_voice_connector(
VoiceConnectorId='string',
E164PhoneNumbers=[
'string',
],
ForceAssociate=True|False
)
string
[REQUIRED]
list
[REQUIRED]
(string) --
boolean
dict
Response Syntax
{
'PhoneNumberErrors': [
{
'PhoneNumberId': 'string',
'ErrorCode': 'BadRequest'|'Conflict'|'Forbidden'|'NotFound'|'PreconditionFailed'|'ResourceLimitExceeded'|'ServiceFailure'|'AccessDenied'|'ServiceUnavailable'|'Throttled'|'Throttling'|'Unauthorized'|'Unprocessable'|'VoiceConnectorGroupAssociationsExist'|'PhoneNumberAssociationsExist'|'Gone',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) --
PhoneNumberErrors (list) --
(dict) --
PhoneNumberId (string) --
ErrorCode (string) --
ErrorMessage (string) --
See also: AWS API Documentation
Request Syntax
client.delete_voice_connector_group(
VoiceConnectorGroupId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_emergency_calling_configuration(
VoiceConnectorId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'EmergencyCallingConfiguration': {
'DNIS': [
{
'EmergencyPhoneNumber': 'string',
'TestPhoneNumber': 'string',
'CallingCountry': 'string'
},
]
}
}
Response Structure
(dict) --
EmergencyCallingConfiguration (dict) --
DNIS (list) --
(dict) --
EmergencyPhoneNumber (string) --
TestPhoneNumber (string) --
CallingCountry (string) --
See also: AWS API Documentation
Request Syntax
client.delete_voice_connector(
VoiceConnectorId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.get_sip_media_application_logging_configuration(
SipMediaApplicationId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'SipMediaApplicationLoggingConfiguration': {
'EnableSipMediaApplicationMessageLogs': True|False
}
}
Response Structure
(dict) --
SipMediaApplicationLoggingConfiguration (dict) --
EnableSipMediaApplicationMessageLogs (boolean) --
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_logging_configuration(
VoiceConnectorId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'LoggingConfiguration': {
'EnableSIPLogs': True|False
}
}
Response Structure
(dict) --
LoggingConfiguration (dict) --
EnableSIPLogs (boolean) --
See also: AWS API Documentation
Request Syntax
client.list_voice_connector_groups(
NextToken='string',
MaxResults=123
)
string
integer
dict
Response Syntax
{
'VoiceConnectorGroups': [
{
'VoiceConnectorGroupId': 'string',
'Name': 'string',
'VoiceConnectorItems': [
{
'VoiceConnectorId': 'string',
'Priority': 123
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'VoiceConnectorGroupArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VoiceConnectorGroups (list) --
(dict) --
VoiceConnectorGroupId (string) --
Name (string) --
VoiceConnectorItems (list) --
(dict) --
VoiceConnectorId (string) --
Priority (integer) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
VoiceConnectorGroupArn (string) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.get_proxy_session(
VoiceConnectorId='string',
ProxySessionId='string'
)
string
[REQUIRED]
string
[REQUIRED]
dict
Response Syntax
{
'ProxySession': {
'VoiceConnectorId': 'string',
'ProxySessionId': 'string',
'Name': 'string',
'Status': 'Open'|'InProgress'|'Closed',
'ExpiryMinutes': 123,
'Capabilities': [
'Voice'|'SMS',
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'EndedTimestamp': datetime(2015, 1, 1),
'Participants': [
{
'PhoneNumber': 'string',
'ProxyPhoneNumber': 'string'
},
],
'NumberSelectionBehavior': 'PreferSticky'|'AvoidSticky',
'GeoMatchLevel': 'Country'|'AreaCode',
'GeoMatchParams': {
'Country': 'string',
'AreaCode': 'string'
}
}
}
Response Structure
(dict) --
ProxySession (dict) --
VoiceConnectorId (string) --
ProxySessionId (string) --
Name (string) --
Status (string) --
ExpiryMinutes (integer) --
Capabilities (list) --
(string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
EndedTimestamp (datetime) --
Participants (list) --
(dict) --
PhoneNumber (string) --
ProxyPhoneNumber (string) --
NumberSelectionBehavior (string) --
GeoMatchLevel (string) --
GeoMatchParams (dict) --
Country (string) --
AreaCode (string) --
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_origination(
VoiceConnectorId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'Origination': {
'Routes': [
{
'Host': 'string',
'Port': 123,
'Protocol': 'TCP'|'UDP',
'Priority': 123,
'Weight': 123
},
],
'Disabled': True|False
}
}
Response Structure
(dict) --
Origination (dict) --
Routes (list) --
(dict) --
Host (string) --
Port (integer) --
Protocol (string) --
Priority (integer) --
Weight (integer) --
Disabled (boolean) --
See also: AWS API Documentation
Request Syntax
client.update_sip_media_application_call(
SipMediaApplicationId='string',
TransactionId='string',
Arguments={
'string': 'string'
}
)
string
[REQUIRED]
string
[REQUIRED]
dict
[REQUIRED]
(string) --
(string) --
dict
Response Syntax
{
'SipMediaApplicationCall': {
'TransactionId': 'string'
}
}
Response Structure
(dict) --
SipMediaApplicationCall (dict) --
TransactionId (string) --
See also: AWS API Documentation
Request Syntax
client.update_phone_number(
PhoneNumberId='string',
ProductType='VoiceConnector'|'SipMediaApplicationDialIn',
CallingName='string'
)
string
[REQUIRED]
string
string
dict
Response Syntax
{
'PhoneNumber': {
'PhoneNumberId': 'string',
'E164PhoneNumber': 'string',
'Country': 'string',
'Type': 'Local'|'TollFree',
'ProductType': 'VoiceConnector'|'SipMediaApplicationDialIn',
'Status': 'Cancelled'|'PortinCancelRequested'|'PortinInProgress'|'AcquireInProgress'|'AcquireFailed'|'Unassigned'|'Assigned'|'ReleaseInProgress'|'DeleteInProgress'|'ReleaseFailed'|'DeleteFailed',
'Capabilities': {
'InboundCall': True|False,
'OutboundCall': True|False,
'InboundSMS': True|False,
'OutboundSMS': True|False,
'InboundMMS': True|False,
'OutboundMMS': True|False
},
'Associations': [
{
'Value': 'string',
'Name': 'VoiceConnectorId'|'VoiceConnectorGroupId'|'SipRuleId',
'AssociatedTimestamp': datetime(2015, 1, 1)
},
],
'CallingName': 'string',
'CallingNameStatus': 'Unassigned'|'UpdateInProgress'|'UpdateSucceeded'|'UpdateFailed',
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'DeletionTimestamp': datetime(2015, 1, 1),
'OrderId': 'string'
}
}
Response Structure
(dict) --
PhoneNumber (dict) --
PhoneNumberId (string) --
E164PhoneNumber (string) --
Country (string) --
Type (string) --
ProductType (string) --
Status (string) --
Capabilities (dict) --
InboundCall (boolean) --
OutboundCall (boolean) --
InboundSMS (boolean) --
OutboundSMS (boolean) --
InboundMMS (boolean) --
OutboundMMS (boolean) --
Associations (list) --
(dict) --
Value (string) --
Name (string) --
AssociatedTimestamp (datetime) --
CallingName (string) --
CallingNameStatus (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
DeletionTimestamp (datetime) --
OrderId (string) --
See also: AWS API Documentation
Request Syntax
client.delete_voice_connector_emergency_calling_configuration(
VoiceConnectorId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.delete_voice_connector_origination(
VoiceConnectorId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.list_available_voice_connector_regions()
dict
Response Syntax
{
'VoiceConnectorRegions': [
'us-east-1'|'us-west-2'|'ca-central-1'|'eu-central-1'|'eu-west-1'|'eu-west-2'|'ap-northeast-2'|'ap-northeast-1'|'ap-southeast-1'|'ap-southeast-2',
]
}
Response Structure
(dict) --
VoiceConnectorRegions (list) --
(string) --
See also: AWS API Documentation
Request Syntax
client.delete_voice_connector_termination_credentials(
VoiceConnectorId='string',
Usernames=[
'string',
]
)
string
[REQUIRED]
list
[REQUIRED]
(string) --
None
See also: AWS API Documentation
Request Syntax
client.update_phone_number_settings(
CallingName='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.validate_e911_address(
AwsAccountId='string',
StreetNumber='string',
StreetInfo='string',
City='string',
State='string',
Country='string',
PostalCode='string'
)
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
dict
Response Syntax
{
'ValidationResult': 123,
'AddressExternalId': 'string',
'Address': {
'streetName': 'string',
'streetSuffix': 'string',
'postDirectional': 'string',
'preDirectional': 'string',
'streetNumber': 'string',
'city': 'string',
'state': 'string',
'postalCode': 'string',
'postalCodePlus4': 'string',
'country': 'string'
},
'CandidateAddressList': [
{
'streetInfo': 'string',
'streetNumber': 'string',
'city': 'string',
'state': 'string',
'postalCode': 'string',
'postalCodePlus4': 'string',
'country': 'string'
},
]
}
Response Structure
(dict) --
ValidationResult (integer) --
AddressExternalId (string) --
Address (dict) --
streetName (string) --
streetSuffix (string) --
postDirectional (string) --
preDirectional (string) --
streetNumber (string) --
city (string) --
state (string) --
postalCode (string) --
postalCodePlus4 (string) --
country (string) --
CandidateAddressList (list) --
(dict) --
streetInfo (string) --
streetNumber (string) --
city (string) --
state (string) --
postalCode (string) --
postalCodePlus4 (string) --
country (string) --
See also: AWS API Documentation
Request Syntax
client.list_phone_numbers(
Status='string',
ProductType='VoiceConnector'|'SipMediaApplicationDialIn',
FilterName='VoiceConnectorId'|'VoiceConnectorGroupId'|'SipRuleId',
FilterValue='string',
MaxResults=123,
NextToken='string'
)
string
string
string
string
integer
string
dict
Response Syntax
{
'PhoneNumbers': [
{
'PhoneNumberId': 'string',
'E164PhoneNumber': 'string',
'Country': 'string',
'Type': 'Local'|'TollFree',
'ProductType': 'VoiceConnector'|'SipMediaApplicationDialIn',
'Status': 'Cancelled'|'PortinCancelRequested'|'PortinInProgress'|'AcquireInProgress'|'AcquireFailed'|'Unassigned'|'Assigned'|'ReleaseInProgress'|'DeleteInProgress'|'ReleaseFailed'|'DeleteFailed',
'Capabilities': {
'InboundCall': True|False,
'OutboundCall': True|False,
'InboundSMS': True|False,
'OutboundSMS': True|False,
'InboundMMS': True|False,
'OutboundMMS': True|False
},
'Associations': [
{
'Value': 'string',
'Name': 'VoiceConnectorId'|'VoiceConnectorGroupId'|'SipRuleId',
'AssociatedTimestamp': datetime(2015, 1, 1)
},
],
'CallingName': 'string',
'CallingNameStatus': 'Unassigned'|'UpdateInProgress'|'UpdateSucceeded'|'UpdateFailed',
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'DeletionTimestamp': datetime(2015, 1, 1),
'OrderId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
PhoneNumbers (list) --
(dict) --
PhoneNumberId (string) --
E164PhoneNumber (string) --
Country (string) --
Type (string) --
ProductType (string) --
Status (string) --
Capabilities (dict) --
InboundCall (boolean) --
OutboundCall (boolean) --
InboundSMS (boolean) --
OutboundSMS (boolean) --
InboundMMS (boolean) --
OutboundMMS (boolean) --
Associations (list) --
(dict) --
Value (string) --
Name (string) --
AssociatedTimestamp (datetime) --
CallingName (string) --
CallingNameStatus (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
DeletionTimestamp (datetime) --
OrderId (string) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.get_voice_connector(
VoiceConnectorId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'VoiceConnector': {
'VoiceConnectorId': 'string',
'AwsRegion': 'us-east-1'|'us-west-2'|'ca-central-1'|'eu-central-1'|'eu-west-1'|'eu-west-2'|'ap-northeast-2'|'ap-northeast-1'|'ap-southeast-1'|'ap-southeast-2',
'Name': 'string',
'OutboundHostName': 'string',
'RequireEncryption': True|False,
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'VoiceConnectorArn': 'string'
}
}
Response Structure
(dict) --
VoiceConnector (dict) --
VoiceConnectorId (string) --
AwsRegion (string) --
Name (string) --
OutboundHostName (string) --
RequireEncryption (boolean) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
VoiceConnectorArn (string) --
See also: AWS API Documentation
Request Syntax
client.create_sip_media_application(
AwsRegion='string',
Name='string',
Endpoints=[
{
'LambdaArn': 'string'
},
]
)
string
[REQUIRED]
string
[REQUIRED]
list
[REQUIRED]
(dict) --
LambdaArn (string) --
dict
Response Syntax
{
'SipMediaApplication': {
'SipMediaApplicationId': 'string',
'AwsRegion': 'string',
'Name': 'string',
'Endpoints': [
{
'LambdaArn': 'string'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
}
}
Response Structure
(dict) --
SipMediaApplication (dict) --
SipMediaApplicationId (string) --
AwsRegion (string) --
Name (string) --
Endpoints (list) --
(dict) --
LambdaArn (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.delete_phone_number(
PhoneNumberId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.disassociate_phone_numbers_from_voice_connector_group(
VoiceConnectorGroupId='string',
E164PhoneNumbers=[
'string',
]
)
string
[REQUIRED]
list
[REQUIRED]
(string) --
dict
Response Syntax
{
'PhoneNumberErrors': [
{
'PhoneNumberId': 'string',
'ErrorCode': 'BadRequest'|'Conflict'|'Forbidden'|'NotFound'|'PreconditionFailed'|'ResourceLimitExceeded'|'ServiceFailure'|'AccessDenied'|'ServiceUnavailable'|'Throttled'|'Throttling'|'Unauthorized'|'Unprocessable'|'VoiceConnectorGroupAssociationsExist'|'PhoneNumberAssociationsExist'|'Gone',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) --
PhoneNumberErrors (list) --
(dict) --
PhoneNumberId (string) --
ErrorCode (string) --
ErrorMessage (string) --
See also: AWS API Documentation
Request Syntax
client.create_voice_connector(
Name='string',
AwsRegion='us-east-1'|'us-west-2'|'ca-central-1'|'eu-central-1'|'eu-west-1'|'eu-west-2'|'ap-northeast-2'|'ap-northeast-1'|'ap-southeast-1'|'ap-southeast-2',
RequireEncryption=True|False
)
string
[REQUIRED]
string
boolean
[REQUIRED]
dict
Response Syntax
{
'VoiceConnector': {
'VoiceConnectorId': 'string',
'AwsRegion': 'us-east-1'|'us-west-2'|'ca-central-1'|'eu-central-1'|'eu-west-1'|'eu-west-2'|'ap-northeast-2'|'ap-northeast-1'|'ap-southeast-1'|'ap-southeast-2',
'Name': 'string',
'OutboundHostName': 'string',
'RequireEncryption': True|False,
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'VoiceConnectorArn': 'string'
}
}
Response Structure
(dict) --
VoiceConnector (dict) --
VoiceConnectorId (string) --
AwsRegion (string) --
Name (string) --
OutboundHostName (string) --
RequireEncryption (boolean) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
VoiceConnectorArn (string) --
See also: AWS API Documentation
Request Syntax
client.get_phone_number_settings()
dict
Response Syntax
{
'CallingName': 'string',
'CallingNameUpdatedTimestamp': datetime(2015, 1, 1)
}
Response Structure
(dict) --
CallingName (string) --
CallingNameUpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_proxy(
VoiceConnectorId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'Proxy': {
'DefaultSessionExpiryMinutes': 123,
'Disabled': True|False,
'FallBackPhoneNumber': 'string',
'PhoneNumberCountries': [
'string',
]
}
}
Response Structure
(dict) --
Proxy (dict) --
DefaultSessionExpiryMinutes (integer) --
Disabled (boolean) --
FallBackPhoneNumber (string) --
PhoneNumberCountries (list) --
(string) --
See also: AWS API Documentation
Request Syntax
client.update_voice_connector_group(
VoiceConnectorGroupId='string',
Name='string',
VoiceConnectorItems=[
{
'VoiceConnectorId': 'string',
'Priority': 123
},
]
)
string
[REQUIRED]
string
[REQUIRED]
list
[REQUIRED]
(dict) --
VoiceConnectorId (string) -- [REQUIRED]
Priority (integer) -- [REQUIRED]
dict
Response Syntax
{
'VoiceConnectorGroup': {
'VoiceConnectorGroupId': 'string',
'Name': 'string',
'VoiceConnectorItems': [
{
'VoiceConnectorId': 'string',
'Priority': 123
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'VoiceConnectorGroupArn': 'string'
}
}
Response Structure
(dict) --
VoiceConnectorGroup (dict) --
VoiceConnectorGroupId (string) --
Name (string) --
VoiceConnectorItems (list) --
(dict) --
VoiceConnectorId (string) --
Priority (integer) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
VoiceConnectorGroupArn (string) --
See also: AWS API Documentation
Request Syntax
client.get_sip_rule(
SipRuleId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'SipRule': {
'SipRuleId': 'string',
'Name': 'string',
'Disabled': True|False,
'TriggerType': 'ToPhoneNumber'|'RequestUriHostname',
'TriggerValue': 'string',
'TargetApplications': [
{
'SipMediaApplicationId': 'string',
'Priority': 123,
'AwsRegion': 'string'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
}
}
Response Structure
(dict) --
SipRule (dict) --
SipRuleId (string) --
Name (string) --
Disabled (boolean) --
TriggerType (string) --
TriggerValue (string) --
TargetApplications (list) --
(dict) --
SipMediaApplicationId (string) --
Priority (integer) --
AwsRegion (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.get_sip_media_application(
SipMediaApplicationId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'SipMediaApplication': {
'SipMediaApplicationId': 'string',
'AwsRegion': 'string',
'Name': 'string',
'Endpoints': [
{
'LambdaArn': 'string'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
}
}
Response Structure
(dict) --
SipMediaApplication (dict) --
SipMediaApplicationId (string) --
AwsRegion (string) --
Name (string) --
Endpoints (list) --
(dict) --
LambdaArn (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.update_sip_rule(
SipRuleId='string',
Name='string',
Disabled=True|False,
TargetApplications=[
{
'SipMediaApplicationId': 'string',
'Priority': 123,
'AwsRegion': 'string'
},
]
)
string
[REQUIRED]
string
[REQUIRED]
boolean
list
(dict) --
SipMediaApplicationId (string) --
Priority (integer) --
AwsRegion (string) --
dict
Response Syntax
{
'SipRule': {
'SipRuleId': 'string',
'Name': 'string',
'Disabled': True|False,
'TriggerType': 'ToPhoneNumber'|'RequestUriHostname',
'TriggerValue': 'string',
'TargetApplications': [
{
'SipMediaApplicationId': 'string',
'Priority': 123,
'AwsRegion': 'string'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
}
}
Response Structure
(dict) --
SipRule (dict) --
SipRuleId (string) --
Name (string) --
Disabled (boolean) --
TriggerType (string) --
TriggerValue (string) --
TargetApplications (list) --
(dict) --
SipMediaApplicationId (string) --
Priority (integer) --
AwsRegion (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.put_sip_media_application_logging_configuration(
SipMediaApplicationId='string',
SipMediaApplicationLoggingConfiguration={
'EnableSipMediaApplicationMessageLogs': True|False
}
)
string
[REQUIRED]
dict
EnableSipMediaApplicationMessageLogs (boolean) --
dict
Response Syntax
{
'SipMediaApplicationLoggingConfiguration': {
'EnableSipMediaApplicationMessageLogs': True|False
}
}
Response Structure
(dict) --
SipMediaApplicationLoggingConfiguration (dict) --
EnableSipMediaApplicationMessageLogs (boolean) --
See also: AWS API Documentation
Request Syntax
client.batch_delete_phone_number(
PhoneNumberIds=[
'string',
]
)
list
[REQUIRED]
(string) --
dict
Response Syntax
{
'PhoneNumberErrors': [
{
'PhoneNumberId': 'string',
'ErrorCode': 'BadRequest'|'Conflict'|'Forbidden'|'NotFound'|'PreconditionFailed'|'ResourceLimitExceeded'|'ServiceFailure'|'AccessDenied'|'ServiceUnavailable'|'Throttled'|'Throttling'|'Unauthorized'|'Unprocessable'|'VoiceConnectorGroupAssociationsExist'|'PhoneNumberAssociationsExist'|'Gone',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) --
PhoneNumberErrors (list) --
(dict) --
PhoneNumberId (string) --
ErrorCode (string) --
ErrorMessage (string) --
See also: AWS API Documentation
Request Syntax
client.create_phone_number_order(
ProductType='VoiceConnector'|'SipMediaApplicationDialIn',
E164PhoneNumbers=[
'string',
]
)
string
[REQUIRED]
list
[REQUIRED]
(string) --
dict
Response Syntax
{
'PhoneNumberOrder': {
'PhoneNumberOrderId': 'string',
'ProductType': 'VoiceConnector'|'SipMediaApplicationDialIn',
'Status': 'Processing'|'Successful'|'Failed'|'Partial'|'PendingDocuments'|'Submitted'|'FOC'|'ChangeRequested'|'Exception'|'CancelRequested'|'Cancelled',
'OrderType': 'New'|'Porting',
'OrderedPhoneNumbers': [
{
'E164PhoneNumber': 'string',
'Status': 'Processing'|'Acquired'|'Failed'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
}
}
Response Structure
(dict) --
PhoneNumberOrder (dict) --
PhoneNumberOrderId (string) --
ProductType (string) --
Status (string) --
OrderType (string) --
OrderedPhoneNumbers (list) --
(dict) --
E164PhoneNumber (string) --
Status (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.put_voice_connector_origination(
VoiceConnectorId='string',
Origination={
'Routes': [
{
'Host': 'string',
'Port': 123,
'Protocol': 'TCP'|'UDP',
'Priority': 123,
'Weight': 123
},
],
'Disabled': True|False
}
)
string
[REQUIRED]
dict
[REQUIRED]
Routes (list) --
(dict) --
Host (string) --
Port (integer) --
Protocol (string) --
Priority (integer) --
Weight (integer) --
Disabled (boolean) --
dict
Response Syntax
{
'Origination': {
'Routes': [
{
'Host': 'string',
'Port': 123,
'Protocol': 'TCP'|'UDP',
'Priority': 123,
'Weight': 123
},
],
'Disabled': True|False
}
}
Response Structure
(dict) --
Origination (dict) --
Routes (list) --
(dict) --
Host (string) --
Port (integer) --
Protocol (string) --
Priority (integer) --
Weight (integer) --
Disabled (boolean) --
See also: AWS API Documentation
Request Syntax
client.create_voice_connector_group(
Name='string',
VoiceConnectorItems=[
{
'VoiceConnectorId': 'string',
'Priority': 123
},
]
)
string
[REQUIRED]
list
(dict) --
VoiceConnectorId (string) -- [REQUIRED]
Priority (integer) -- [REQUIRED]
dict
Response Syntax
{
'VoiceConnectorGroup': {
'VoiceConnectorGroupId': 'string',
'Name': 'string',
'VoiceConnectorItems': [
{
'VoiceConnectorId': 'string',
'Priority': 123
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'VoiceConnectorGroupArn': 'string'
}
}
Response Structure
(dict) --
VoiceConnectorGroup (dict) --
VoiceConnectorGroupId (string) --
Name (string) --
VoiceConnectorItems (list) --
(dict) --
VoiceConnectorId (string) --
Priority (integer) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
VoiceConnectorGroupArn (string) --
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_termination_health(
VoiceConnectorId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'TerminationHealth': {
'Timestamp': datetime(2015, 1, 1),
'Source': 'string'
}
}
Response Structure
(dict) --
TerminationHealth (dict) --
Timestamp (datetime) --
Source (string) --
See also: AWS API Documentation
Request Syntax
client.list_voice_connector_termination_credentials(
VoiceConnectorId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'Usernames': [
'string',
]
}
Response Structure
(dict) --
Usernames (list) --
(string) --
See also: AWS API Documentation
Request Syntax
client.put_voice_connector_termination(
VoiceConnectorId='string',
Termination={
'CpsLimit': 123,
'DefaultPhoneNumber': 'string',
'CallingRegions': [
'string',
],
'CidrAllowedList': [
'string',
],
'Disabled': True|False
}
)
string
[REQUIRED]
dict
[REQUIRED]
CpsLimit (integer) --
DefaultPhoneNumber (string) --
CallingRegions (list) --
(string) --
CidrAllowedList (list) --
(string) --
Disabled (boolean) --
dict
Response Syntax
{
'Termination': {
'CpsLimit': 123,
'DefaultPhoneNumber': 'string',
'CallingRegions': [
'string',
],
'CidrAllowedList': [
'string',
],
'Disabled': True|False
}
}
Response Structure
(dict) --
Termination (dict) --
CpsLimit (integer) --
DefaultPhoneNumber (string) --
CallingRegions (list) --
(string) --
CidrAllowedList (list) --
(string) --
Disabled (boolean) --
See also: AWS API Documentation
Request Syntax
client.put_voice_connector_termination_credentials(
VoiceConnectorId='string',
Credentials=[
{
'Username': 'string',
'Password': 'string'
},
]
)
string
[REQUIRED]
list
(dict) --
Username (string) --
Password (string) --
None
See also: AWS API Documentation
Request Syntax
client.delete_voice_connector_streaming_configuration(
VoiceConnectorId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.delete_voice_connector_proxy(
VoiceConnectorId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.create_sip_rule(
Name='string',
TriggerType='ToPhoneNumber'|'RequestUriHostname',
TriggerValue='string',
Disabled=True|False,
TargetApplications=[
{
'SipMediaApplicationId': 'string',
'Priority': 123,
'AwsRegion': 'string'
},
]
)
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
boolean
list
(dict) --
SipMediaApplicationId (string) --
Priority (integer) --
AwsRegion (string) --
dict
Response Syntax
{
'SipRule': {
'SipRuleId': 'string',
'Name': 'string',
'Disabled': True|False,
'TriggerType': 'ToPhoneNumber'|'RequestUriHostname',
'TriggerValue': 'string',
'TargetApplications': [
{
'SipMediaApplicationId': 'string',
'Priority': 123,
'AwsRegion': 'string'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
}
}
Response Structure
(dict) --
SipRule (dict) --
SipRuleId (string) --
Name (string) --
Disabled (boolean) --
TriggerType (string) --
TriggerValue (string) --
TargetApplications (list) --
(dict) --
SipMediaApplicationId (string) --
Priority (integer) --
AwsRegion (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_group(
VoiceConnectorGroupId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'VoiceConnectorGroup': {
'VoiceConnectorGroupId': 'string',
'Name': 'string',
'VoiceConnectorItems': [
{
'VoiceConnectorId': 'string',
'Priority': 123
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'VoiceConnectorGroupArn': 'string'
}
}
Response Structure
(dict) --
VoiceConnectorGroup (dict) --
VoiceConnectorGroupId (string) --
Name (string) --
VoiceConnectorItems (list) --
(dict) --
VoiceConnectorId (string) --
Priority (integer) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
VoiceConnectorGroupArn (string) --
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_streaming_configuration(
VoiceConnectorId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'StreamingConfiguration': {
'DataRetentionInHours': 123,
'Disabled': True|False,
'StreamingNotificationTargets': [
{
'NotificationTarget': 'EventBridge'|'SNS'|'SQS'
},
]
}
}
Response Structure
(dict) --
StreamingConfiguration (dict) --
DataRetentionInHours (integer) --
Disabled (boolean) --
StreamingNotificationTargets (list) --
(dict) --
NotificationTarget (string) --
See also: AWS API Documentation
Request Syntax
client.list_supported_phone_number_countries(
ProductType='VoiceConnector'|'SipMediaApplicationDialIn'
)
string
[REQUIRED]
dict
Response Syntax
{
'PhoneNumberCountries': [
{
'CountryCode': 'string',
'SupportedPhoneNumberTypes': [
'Local'|'TollFree',
]
},
]
}
Response Structure
(dict) --
PhoneNumberCountries (list) --
(dict) --
CountryCode (string) --
SupportedPhoneNumberTypes (list) --
(string) --
See also: AWS API Documentation
Request Syntax
client.update_sip_media_application(
SipMediaApplicationId='string',
Name='string',
Endpoints=[
{
'LambdaArn': 'string'
},
]
)
string
[REQUIRED]
string
list
(dict) --
LambdaArn (string) --
dict
Response Syntax
{
'SipMediaApplication': {
'SipMediaApplicationId': 'string',
'AwsRegion': 'string',
'Name': 'string',
'Endpoints': [
{
'LambdaArn': 'string'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
}
}
Response Structure
(dict) --
SipMediaApplication (dict) --
SipMediaApplicationId (string) --
AwsRegion (string) --
Name (string) --
Endpoints (list) --
(dict) --
LambdaArn (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.create_proxy_session(
VoiceConnectorId='string',
ParticipantPhoneNumbers=[
'string',
],
Name='string',
ExpiryMinutes=123,
Capabilities=[
'Voice'|'SMS',
],
NumberSelectionBehavior='PreferSticky'|'AvoidSticky',
GeoMatchLevel='Country'|'AreaCode',
GeoMatchParams={
'Country': 'string',
'AreaCode': 'string'
}
)
string
[REQUIRED]
list
[REQUIRED]
(string) --
string
integer
list
[REQUIRED]
(string) --
string
string
dict
Country (string) -- [REQUIRED]
AreaCode (string) -- [REQUIRED]
dict
Response Syntax
{
'ProxySession': {
'VoiceConnectorId': 'string',
'ProxySessionId': 'string',
'Name': 'string',
'Status': 'Open'|'InProgress'|'Closed',
'ExpiryMinutes': 123,
'Capabilities': [
'Voice'|'SMS',
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'EndedTimestamp': datetime(2015, 1, 1),
'Participants': [
{
'PhoneNumber': 'string',
'ProxyPhoneNumber': 'string'
},
],
'NumberSelectionBehavior': 'PreferSticky'|'AvoidSticky',
'GeoMatchLevel': 'Country'|'AreaCode',
'GeoMatchParams': {
'Country': 'string',
'AreaCode': 'string'
}
}
}
Response Structure
(dict) --
ProxySession (dict) --
VoiceConnectorId (string) --
ProxySessionId (string) --
Name (string) --
Status (string) --
ExpiryMinutes (integer) --
Capabilities (list) --
(string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
EndedTimestamp (datetime) --
Participants (list) --
(dict) --
PhoneNumber (string) --
ProxyPhoneNumber (string) --
NumberSelectionBehavior (string) --
GeoMatchLevel (string) --
GeoMatchParams (dict) --
Country (string) --
AreaCode (string) --
See also: AWS API Documentation
Request Syntax
client.put_voice_connector_streaming_configuration(
VoiceConnectorId='string',
StreamingConfiguration={
'DataRetentionInHours': 123,
'Disabled': True|False,
'StreamingNotificationTargets': [
{
'NotificationTarget': 'EventBridge'|'SNS'|'SQS'
},
]
}
)
string
[REQUIRED]
dict
[REQUIRED]
DataRetentionInHours (integer) -- [REQUIRED]
Disabled (boolean) -- [REQUIRED]
StreamingNotificationTargets (list) --
(dict) --
NotificationTarget (string) --
dict
Response Syntax
{
'StreamingConfiguration': {
'DataRetentionInHours': 123,
'Disabled': True|False,
'StreamingNotificationTargets': [
{
'NotificationTarget': 'EventBridge'|'SNS'|'SQS'
},
]
}
}
Response Structure
(dict) --
StreamingConfiguration (dict) --
DataRetentionInHours (integer) --
Disabled (boolean) --
StreamingNotificationTargets (list) --
(dict) --
NotificationTarget (string) --
See also: AWS API Documentation
Request Syntax
client.list_proxy_sessions(
VoiceConnectorId='string',
Status='Open'|'InProgress'|'Closed',
NextToken='string',
MaxResults=123
)
string
[REQUIRED]
string
string
integer
dict
Response Syntax
{
'ProxySessions': [
{
'VoiceConnectorId': 'string',
'ProxySessionId': 'string',
'Name': 'string',
'Status': 'Open'|'InProgress'|'Closed',
'ExpiryMinutes': 123,
'Capabilities': [
'Voice'|'SMS',
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'EndedTimestamp': datetime(2015, 1, 1),
'Participants': [
{
'PhoneNumber': 'string',
'ProxyPhoneNumber': 'string'
},
],
'NumberSelectionBehavior': 'PreferSticky'|'AvoidSticky',
'GeoMatchLevel': 'Country'|'AreaCode',
'GeoMatchParams': {
'Country': 'string',
'AreaCode': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ProxySessions (list) --
(dict) --
VoiceConnectorId (string) --
ProxySessionId (string) --
Name (string) --
Status (string) --
ExpiryMinutes (integer) --
Capabilities (list) --
(string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
EndedTimestamp (datetime) --
Participants (list) --
(dict) --
PhoneNumber (string) --
ProxyPhoneNumber (string) --
NumberSelectionBehavior (string) --
GeoMatchLevel (string) --
GeoMatchParams (dict) --
Country (string) --
AreaCode (string) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.create_sip_media_application_call(
FromPhoneNumber='string',
ToPhoneNumber='string',
SipMediaApplicationId='string',
SipHeaders={
'string': 'string'
},
ArgumentsMap={
'string': 'string'
}
)
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
dict
(string) --
(string) --
dict
(string) --
(string) --
dict
Response Syntax
{
'SipMediaApplicationCall': {
'TransactionId': 'string'
}
}
Response Structure
(dict) --
SipMediaApplicationCall (dict) --
TransactionId (string) --
See also: AWS API Documentation
Request Syntax
client.list_voice_connectors(
NextToken='string',
MaxResults=123
)
string
integer
dict
Response Syntax
{
'VoiceConnectors': [
{
'VoiceConnectorId': 'string',
'AwsRegion': 'us-east-1'|'us-west-2'|'ca-central-1'|'eu-central-1'|'eu-west-1'|'eu-west-2'|'ap-northeast-2'|'ap-northeast-1'|'ap-southeast-1'|'ap-southeast-2',
'Name': 'string',
'OutboundHostName': 'string',
'RequireEncryption': True|False,
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'VoiceConnectorArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VoiceConnectors (list) --
(dict) --
VoiceConnectorId (string) --
AwsRegion (string) --
Name (string) --
OutboundHostName (string) --
RequireEncryption (boolean) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
VoiceConnectorArn (string) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.get_phone_number_order(
PhoneNumberOrderId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'PhoneNumberOrder': {
'PhoneNumberOrderId': 'string',
'ProductType': 'VoiceConnector'|'SipMediaApplicationDialIn',
'Status': 'Processing'|'Successful'|'Failed'|'Partial'|'PendingDocuments'|'Submitted'|'FOC'|'ChangeRequested'|'Exception'|'CancelRequested'|'Cancelled',
'OrderType': 'New'|'Porting',
'OrderedPhoneNumbers': [
{
'E164PhoneNumber': 'string',
'Status': 'Processing'|'Acquired'|'Failed'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
}
}
Response Structure
(dict) --
PhoneNumberOrder (dict) --
PhoneNumberOrderId (string) --
ProductType (string) --
Status (string) --
OrderType (string) --
OrderedPhoneNumbers (list) --
(dict) --
E164PhoneNumber (string) --
Status (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.update_global_settings(
VoiceConnector={
'CdrBucket': 'string'
}
)
dict
CdrBucket (string) --
None
See also: AWS API Documentation
Request Syntax
client.batch_update_phone_number(
UpdatePhoneNumberRequestItems=[
{
'PhoneNumberId': 'string',
'ProductType': 'VoiceConnector'|'SipMediaApplicationDialIn',
'CallingName': 'string'
},
]
)
list
[REQUIRED]
(dict) --
PhoneNumberId (string) -- [REQUIRED]
ProductType (string) --
CallingName (string) --
dict
Response Syntax
{
'PhoneNumberErrors': [
{
'PhoneNumberId': 'string',
'ErrorCode': 'BadRequest'|'Conflict'|'Forbidden'|'NotFound'|'PreconditionFailed'|'ResourceLimitExceeded'|'ServiceFailure'|'AccessDenied'|'ServiceUnavailable'|'Throttled'|'Throttling'|'Unauthorized'|'Unprocessable'|'VoiceConnectorGroupAssociationsExist'|'PhoneNumberAssociationsExist'|'Gone',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) --
PhoneNumberErrors (list) --
(dict) --
PhoneNumberId (string) --
ErrorCode (string) --
ErrorMessage (string) --
See also: AWS API Documentation
Request Syntax
client.delete_voice_connector_termination(
VoiceConnectorId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.get_global_settings()
dict
Response Syntax
{
'VoiceConnector': {
'CdrBucket': 'string'
}
}
Response Structure
(dict) --
VoiceConnector (dict) --
CdrBucket (string) --
See also: AWS API Documentation
Request Syntax
client.get_sip_media_application_alexa_skill_configuration(
SipMediaApplicationId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'SipMediaApplicationAlexaSkillConfiguration': {
'AlexaSkillStatus': 'ACTIVE'|'INACTIVE',
'AlexaSkillIds': [
'string',
]
}
}
Response Structure
(dict) --
SipMediaApplicationAlexaSkillConfiguration (dict) --
AlexaSkillStatus (string) --
AlexaSkillIds (list) --
(string) --
See also: AWS API Documentation
Request Syntax
client.put_voice_connector_proxy(
VoiceConnectorId='string',
DefaultSessionExpiryMinutes=123,
PhoneNumberPoolCountries=[
'string',
],
FallBackPhoneNumber='string',
Disabled=True|False
)
string
[REQUIRED]
integer
[REQUIRED]
list
[REQUIRED]
(string) --
string
boolean
dict
Response Syntax
{
'Proxy': {
'DefaultSessionExpiryMinutes': 123,
'Disabled': True|False,
'FallBackPhoneNumber': 'string',
'PhoneNumberCountries': [
'string',
]
}
}
Response Structure
(dict) --
Proxy (dict) --
DefaultSessionExpiryMinutes (integer) --
Disabled (boolean) --
FallBackPhoneNumber (string) --
PhoneNumberCountries (list) --
(string) --
See also: AWS API Documentation
Request Syntax
client.update_voice_connector(
VoiceConnectorId='string',
Name='string',
RequireEncryption=True|False
)
string
[REQUIRED]
string
[REQUIRED]
boolean
[REQUIRED]
dict
Response Syntax
{
'VoiceConnector': {
'VoiceConnectorId': 'string',
'AwsRegion': 'us-east-1'|'us-west-2'|'ca-central-1'|'eu-central-1'|'eu-west-1'|'eu-west-2'|'ap-northeast-2'|'ap-northeast-1'|'ap-southeast-1'|'ap-southeast-2',
'Name': 'string',
'OutboundHostName': 'string',
'RequireEncryption': True|False,
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'VoiceConnectorArn': 'string'
}
}
Response Structure
(dict) --
VoiceConnector (dict) --
VoiceConnectorId (string) --
AwsRegion (string) --
Name (string) --
OutboundHostName (string) --
RequireEncryption (boolean) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
VoiceConnectorArn (string) --
See also: AWS API Documentation
Request Syntax
client.put_voice_connector_emergency_calling_configuration(
VoiceConnectorId='string',
EmergencyCallingConfiguration={
'DNIS': [
{
'EmergencyPhoneNumber': 'string',
'TestPhoneNumber': 'string',
'CallingCountry': 'string'
},
]
}
)
string
[REQUIRED]
dict
[REQUIRED]
DNIS (list) --
(dict) --
EmergencyPhoneNumber (string) -- [REQUIRED]
TestPhoneNumber (string) --
CallingCountry (string) -- [REQUIRED]
dict
Response Syntax
{
'EmergencyCallingConfiguration': {
'DNIS': [
{
'EmergencyPhoneNumber': 'string',
'TestPhoneNumber': 'string',
'CallingCountry': 'string'
},
]
}
}
Response Structure
(dict) --
EmergencyCallingConfiguration (dict) --
DNIS (list) --
(dict) --
EmergencyPhoneNumber (string) --
TestPhoneNumber (string) --
CallingCountry (string) --
See also: AWS API Documentation
Request Syntax
client.get_phone_number(
PhoneNumberId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'PhoneNumber': {
'PhoneNumberId': 'string',
'E164PhoneNumber': 'string',
'Country': 'string',
'Type': 'Local'|'TollFree',
'ProductType': 'VoiceConnector'|'SipMediaApplicationDialIn',
'Status': 'Cancelled'|'PortinCancelRequested'|'PortinInProgress'|'AcquireInProgress'|'AcquireFailed'|'Unassigned'|'Assigned'|'ReleaseInProgress'|'DeleteInProgress'|'ReleaseFailed'|'DeleteFailed',
'Capabilities': {
'InboundCall': True|False,
'OutboundCall': True|False,
'InboundSMS': True|False,
'OutboundSMS': True|False,
'InboundMMS': True|False,
'OutboundMMS': True|False
},
'Associations': [
{
'Value': 'string',
'Name': 'VoiceConnectorId'|'VoiceConnectorGroupId'|'SipRuleId',
'AssociatedTimestamp': datetime(2015, 1, 1)
},
],
'CallingName': 'string',
'CallingNameStatus': 'Unassigned'|'UpdateInProgress'|'UpdateSucceeded'|'UpdateFailed',
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'DeletionTimestamp': datetime(2015, 1, 1),
'OrderId': 'string'
}
}
Response Structure
(dict) --
PhoneNumber (dict) --
PhoneNumberId (string) --
E164PhoneNumber (string) --
Country (string) --
Type (string) --
ProductType (string) --
Status (string) --
Capabilities (dict) --
InboundCall (boolean) --
OutboundCall (boolean) --
InboundSMS (boolean) --
OutboundSMS (boolean) --
InboundMMS (boolean) --
OutboundMMS (boolean) --
Associations (list) --
(dict) --
Value (string) --
Name (string) --
AssociatedTimestamp (datetime) --
CallingName (string) --
CallingNameStatus (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
DeletionTimestamp (datetime) --
OrderId (string) --
See also: AWS API Documentation
Request Syntax
client.associate_phone_numbers_with_voice_connector_group(
VoiceConnectorGroupId='string',
E164PhoneNumbers=[
'string',
],
ForceAssociate=True|False
)
string
[REQUIRED]
list
[REQUIRED]
(string) --
boolean
dict
Response Syntax
{
'PhoneNumberErrors': [
{
'PhoneNumberId': 'string',
'ErrorCode': 'BadRequest'|'Conflict'|'Forbidden'|'NotFound'|'PreconditionFailed'|'ResourceLimitExceeded'|'ServiceFailure'|'AccessDenied'|'ServiceUnavailable'|'Throttled'|'Throttling'|'Unauthorized'|'Unprocessable'|'VoiceConnectorGroupAssociationsExist'|'PhoneNumberAssociationsExist'|'Gone',
'ErrorMessage': 'string'
},
]
}
Response Structure
(dict) --
PhoneNumberErrors (list) --
(dict) --
PhoneNumberId (string) --
ErrorCode (string) --
ErrorMessage (string) --
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_termination(
VoiceConnectorId='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'Termination': {
'CpsLimit': 123,
'DefaultPhoneNumber': 'string',
'CallingRegions': [
'string',
],
'CidrAllowedList': [
'string',
],
'Disabled': True|False
}
}
Response Structure
(dict) --
Termination (dict) --
CpsLimit (integer) --
DefaultPhoneNumber (string) --
CallingRegions (list) --
(string) --
CidrAllowedList (list) --
(string) --
Disabled (boolean) --
See also: AWS API Documentation
Request Syntax
client.put_voice_connector_logging_configuration(
VoiceConnectorId='string',
LoggingConfiguration={
'EnableSIPLogs': True|False
}
)
string
[REQUIRED]
dict
[REQUIRED]
EnableSIPLogs (boolean) --
dict
Response Syntax
{
'LoggingConfiguration': {
'EnableSIPLogs': True|False
}
}
Response Structure
(dict) --
LoggingConfiguration (dict) --
EnableSIPLogs (boolean) --
See also: AWS API Documentation
Request Syntax
client.delete_sip_media_application(
SipMediaApplicationId='string'
)
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.list_sip_media_applications(
MaxResults=123,
NextToken='string'
)
integer
string
dict
Response Syntax
{
'SipMediaApplications': [
{
'SipMediaApplicationId': 'string',
'AwsRegion': 'string',
'Name': 'string',
'Endpoints': [
{
'LambdaArn': 'string'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SipMediaApplications (list) --
(dict) --
SipMediaApplicationId (string) --
AwsRegion (string) --
Name (string) --
Endpoints (list) --
(dict) --
LambdaArn (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.list_sip_rules(
SipMediaApplicationId='string',
MaxResults=123,
NextToken='string'
)
string
integer
string
dict
Response Syntax
{
'SipRules': [
{
'SipRuleId': 'string',
'Name': 'string',
'Disabled': True|False,
'TriggerType': 'ToPhoneNumber'|'RequestUriHostname',
'TriggerValue': 'string',
'TargetApplications': [
{
'SipMediaApplicationId': 'string',
'Priority': 123,
'AwsRegion': 'string'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SipRules (list) --
(dict) --
SipRuleId (string) --
Name (string) --
Disabled (boolean) --
TriggerType (string) --
TriggerValue (string) --
TargetApplications (list) --
(dict) --
SipMediaApplicationId (string) --
Priority (integer) --
AwsRegion (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.search_available_phone_numbers(
AreaCode='string',
City='string',
Country='string',
State='string',
TollFreePrefix='string',
PhoneNumberType='Local'|'TollFree',
MaxResults=123,
NextToken='string'
)
string
string
string
string
string
string
integer
string
dict
Response Syntax
{
'E164PhoneNumbers': [
'string',
],
'NextToken': 'string'
}
Response Structure
(dict) --
E164PhoneNumbers (list) --
(string) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.delete_proxy_session(
VoiceConnectorId='string',
ProxySessionId='string'
)
string
[REQUIRED]
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.list_phone_number_orders(
NextToken='string',
MaxResults=123
)
string
integer
dict
Response Syntax
{
'PhoneNumberOrders': [
{
'PhoneNumberOrderId': 'string',
'ProductType': 'VoiceConnector'|'SipMediaApplicationDialIn',
'Status': 'Processing'|'Successful'|'Failed'|'Partial'|'PendingDocuments'|'Submitted'|'FOC'|'ChangeRequested'|'Exception'|'CancelRequested'|'Cancelled',
'OrderType': 'New'|'Porting',
'OrderedPhoneNumbers': [
{
'E164PhoneNumber': 'string',
'Status': 'Processing'|'Acquired'|'Failed'
},
],
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
PhoneNumberOrders (list) --
(dict) --
PhoneNumberOrderId (string) --
ProductType (string) --
Status (string) --
OrderType (string) --
OrderedPhoneNumbers (list) --
(dict) --
E164PhoneNumber (string) --
Status (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
NextToken (string) --