Chime / Client / update_voice_connector

update_voice_connector#

Chime.Client.update_voice_connector(**kwargs)#

Updates details for the specified Amazon Chime Voice Connector.

Warning

This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateVoiceConnector, in the Amazon Chime SDK.

Using the latest version requires migrating to a dedicated namespace. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.update_voice_connector(
    VoiceConnectorId='string',
    Name='string',
    RequireEncryption=True|False
)
Parameters:
  • VoiceConnectorId (string) –

    [REQUIRED]

    The Amazon Chime Voice Connector ID.

  • Name (string) –

    [REQUIRED]

    The name of the Amazon Chime Voice Connector.

  • RequireEncryption (boolean) –

    [REQUIRED]

    When enabled, requires encryption for the Amazon Chime Voice Connector.

Return type:

dict

Returns:

Response Syntax

{
    'VoiceConnector': {
        'VoiceConnectorId': 'string',
        'AwsRegion': 'us-east-1'|'us-west-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) –

      The updated Amazon Chime Voice Connector details.

      • VoiceConnectorId (string) –

        The Amazon Chime Voice Connector ID.

      • AwsRegion (string) –

        The AWS Region in which the Amazon Chime Voice Connector is created. Default: us-east-1.

      • Name (string) –

        The name of the Amazon Chime Voice Connector.

      • OutboundHostName (string) –

        The outbound host name for the Amazon Chime Voice Connector.

      • RequireEncryption (boolean) –

        Designates whether encryption is required for the Amazon Chime Voice Connector.

      • CreatedTimestamp (datetime) –

        The Amazon Chime Voice Connector creation timestamp, in ISO 8601 format.

      • UpdatedTimestamp (datetime) –

        The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format.

      • VoiceConnectorArn (string) –

        The ARN of the specified Amazon Chime Voice Connector.

Exceptions

  • Chime.Client.exceptions.UnauthorizedClientException

  • Chime.Client.exceptions.NotFoundException

  • Chime.Client.exceptions.ForbiddenException

  • Chime.Client.exceptions.BadRequestException

  • Chime.Client.exceptions.ThrottledClientException

  • Chime.Client.exceptions.ServiceUnavailableException

  • Chime.Client.exceptions.ServiceFailureException