2020/04/06 - Amazon Chime - 8 new api methods
Changes Amazon Chime proxy phone sessions let you provide two users with a shared phone number to communicate via voice or text for up to 12 hours without revealing personal phone numbers. When users call or message the provided phone number, they are connected to the other party and their private phone numbers are replaced with the shared number in Caller ID.
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.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.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.delete_voice_connector_proxy( VoiceConnectorId='string' )
string
[REQUIRED]
None
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.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.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.delete_proxy_session( VoiceConnectorId='string', ProxySessionId='string' )
string
[REQUIRED]
string
[REQUIRED]
None