ConnectCampaignService / Client / update_campaign_outbound_call_config

update_campaign_outbound_call_config#

ConnectCampaignService.Client.update_campaign_outbound_call_config(**kwargs)#

Updates the outbound call config of a campaign. This API is idempotent.

See also: AWS API Documentation

Request Syntax

response = client.update_campaign_outbound_call_config(
    id='string',
    connectContactFlowId='string',
    connectSourcePhoneNumber='string',
    answerMachineDetectionConfig={
        'enableAnswerMachineDetection': True|False,
        'awaitAnswerMachinePrompt': True|False
    }
)
Parameters:
  • id (string) –

    [REQUIRED]

    Identifier representing a Campaign

  • connectContactFlowId (string) – The identifier of the contact flow for the outbound call.

  • connectSourcePhoneNumber (string) – The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.

  • answerMachineDetectionConfig (dict) –

    Answering Machine Detection config

    • enableAnswerMachineDetection (boolean) – [REQUIRED]

      Enable or disable answering machine detection

    • awaitAnswerMachinePrompt (boolean) –

      Enable or disable await answer machine prompt

Returns:

None

Exceptions

  • ConnectCampaignService.Client.exceptions.InternalServerException

  • ConnectCampaignService.Client.exceptions.ResourceNotFoundException

  • ConnectCampaignService.Client.exceptions.ValidationException

  • ConnectCampaignService.Client.exceptions.ConflictException

  • ConnectCampaignService.Client.exceptions.AccessDeniedException

  • ConnectCampaignService.Client.exceptions.ThrottlingException