:doc:`ConnectCampaignServiceV2 <../../connectcampaignsv2>` / Client / delete_connect_instance_config

******************************
delete_connect_instance_config
******************************



.. py:method:: ConnectCampaignServiceV2.Client.delete_connect_instance_config(**kwargs)

  

  Deletes a connect instance config from the specified AWS account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/DeleteConnectInstanceConfig>`_  


  **Request Syntax**
  ::

    response = client.delete_connect_instance_config(
        connectInstanceId='string',
        campaignDeletionPolicy='RETAIN_ALL'|'DELETE_ALL'
    )
    
  :type connectInstanceId: string
  :param connectInstanceId: **[REQUIRED]** 

    Amazon Connect Instance Id

    

  
  :type campaignDeletionPolicy: string
  :param campaignDeletionPolicy: 

    Enumeration of the policies to enact on existing campaigns during instance config deletion

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`ConnectCampaignServiceV2.Client.exceptions.InternalServerException`

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

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

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

  
  *   :py:class:`ConnectCampaignServiceV2.Client.exceptions.InvalidStateException`

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

  