put_voice_connector_origination

put_voice_connector_origination(**kwargs)

See also: AWS API Documentation

Request Syntax

response = client.put_voice_connector_origination(
    VoiceConnectorId='string',
    Origination={
        'Routes': [
            {
                'Host': 'string',
                'Port': 123,
                'Protocol': 'TCP'|'UDP',
                'Priority': 123,
                'Weight': 123
            },
        ],
        'Disabled': True|False
    }
)
Parameters
  • VoiceConnectorId (string) -- [REQUIRED]
  • Origination (dict) --

    [REQUIRED]

    • Routes (list) --
      • (dict) --
        • Host (string) --
        • Port (integer) --
        • Protocol (string) --
        • Priority (integer) --
        • Weight (integer) --
    • Disabled (boolean) --
Return type

dict

Returns

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) --

Exceptions

  • ChimeSDKVoice.Client.exceptions.UnauthorizedClientException
  • ChimeSDKVoice.Client.exceptions.NotFoundException
  • ChimeSDKVoice.Client.exceptions.ForbiddenException
  • ChimeSDKVoice.Client.exceptions.BadRequestException
  • ChimeSDKVoice.Client.exceptions.ThrottledClientException
  • ChimeSDKVoice.Client.exceptions.ServiceUnavailableException
  • ChimeSDKVoice.Client.exceptions.ServiceFailureException