:doc:`ConnectCampaignService <../../connectcampaigns>` / Client / update_campaign_outbound_call_config

************************************
update_campaign_outbound_call_config
************************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignOutboundCallConfig>`_  


  **Request Syntax**
  ::

    response = client.update_campaign_outbound_call_config(
        id='string',
        connectContactFlowId='string',
        connectSourcePhoneNumber='string',
        answerMachineDetectionConfig={
            'enableAnswerMachineDetection': True|False,
            'awaitAnswerMachinePrompt': True|False
        }
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    Identifier representing a Campaign

    

  
  :type connectContactFlowId: string
  :param connectContactFlowId: 

    The identifier of the contact flow for the outbound call.

    

  
  :type connectSourcePhoneNumber: string
  :param connectSourcePhoneNumber: 

    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.

    

  
  :type answerMachineDetectionConfig: dict
  :param answerMachineDetectionConfig: 

    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**
  
  *   :py:class:`ConnectCampaignService.Client.exceptions.InternalServerException`

  
  *   :py:class:`ConnectCampaignService.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ConnectCampaignService.Client.exceptions.ValidationException`

  
  *   :py:class:`ConnectCampaignService.Client.exceptions.ConflictException`

  
  *   :py:class:`ConnectCampaignService.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ConnectCampaignService.Client.exceptions.ThrottlingException`

  