Connect / Client / update_user_phone_config

update_user_phone_config#

Connect.Client.update_user_phone_config(**kwargs)#

Updates the phone configuration settings for the specified user.

See also: AWS API Documentation

Request Syntax

response = client.update_user_phone_config(
    PhoneConfig={
        'PhoneType': 'SOFT_PHONE'|'DESK_PHONE',
        'AutoAccept': True|False,
        'AfterContactWorkTimeLimit': 123,
        'DeskPhoneNumber': 'string'
    },
    UserId='string',
    InstanceId='string'
)
Parameters:
  • PhoneConfig (dict) –

    [REQUIRED]

    Information about phone configuration settings for the user.

    • PhoneType (string) – [REQUIRED]

      The phone type.

    • AutoAccept (boolean) –

      The Auto accept setting.

    • AfterContactWorkTimeLimit (integer) –

      The After Call Work (ACW) timeout setting, in seconds.

      Note

      When returned by a SearchUsers call, AfterContactWorkTimeLimit is returned in milliseconds.

    • DeskPhoneNumber (string) –

      The phone number for the user’s desk phone.

  • UserId (string) –

    [REQUIRED]

    The identifier of the user account.

  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Returns:

None

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException