ChimeSDKVoice / Client / put_voice_connector_termination

put_voice_connector_termination#

ChimeSDKVoice.Client.put_voice_connector_termination(**kwargs)#

Updates a Voice Connector’s termination settings.

See also: AWS API Documentation

Request Syntax

response = client.put_voice_connector_termination(
    VoiceConnectorId='string',
    Termination={
        'CpsLimit': 123,
        'DefaultPhoneNumber': 'string',
        'CallingRegions': [
            'string',
        ],
        'CidrAllowedList': [
            'string',
        ],
        'Disabled': True|False
    }
)
Parameters:
  • VoiceConnectorId (string) –

    [REQUIRED]

    The Voice Connector ID.

  • Termination (dict) –

    [REQUIRED]

    The termination settings to be updated.

    • CpsLimit (integer) –

      The limit on calls per second. Max value based on account service quota. Default value of 1.

    • DefaultPhoneNumber (string) –

      The default outbound calling number.

    • CallingRegions (list) –

      The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.

      • (string) –

    • CidrAllowedList (list) –

      The IP addresses allowed to make calls, in CIDR format.

      • (string) –

    • Disabled (boolean) –

      When termination is disabled, outbound calls cannot be made.

Return type:

dict

Returns:

Response Syntax

{
    'Termination': {
        'CpsLimit': 123,
        'DefaultPhoneNumber': 'string',
        'CallingRegions': [
            'string',
        ],
        'CidrAllowedList': [
            'string',
        ],
        'Disabled': True|False
    }
}

Response Structure

  • (dict) –

    • Termination (dict) –

      The updated termination settings.

      • CpsLimit (integer) –

        The limit on calls per second. Max value based on account service quota. Default value of 1.

      • DefaultPhoneNumber (string) –

        The default outbound calling number.

      • CallingRegions (list) –

        The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.

        • (string) –

      • CidrAllowedList (list) –

        The IP addresses allowed to make calls, in CIDR format.

        • (string) –

      • Disabled (boolean) –

        When termination is disabled, outbound calls cannot be made.

Exceptions

  • ChimeSDKVoice.Client.exceptions.UnauthorizedClientException

  • ChimeSDKVoice.Client.exceptions.NotFoundException

  • ChimeSDKVoice.Client.exceptions.ForbiddenException

  • ChimeSDKVoice.Client.exceptions.BadRequestException

  • ChimeSDKVoice.Client.exceptions.AccessDeniedException

  • ChimeSDKVoice.Client.exceptions.ThrottledClientException

  • ChimeSDKVoice.Client.exceptions.ServiceUnavailableException

  • ChimeSDKVoice.Client.exceptions.ServiceFailureException