:doc:`MigrationHub <../../mgh>` / Client / disassociate_discovered_resource

********************************
disassociate_discovered_resource
********************************



.. py:method:: MigrationHub.Client.disassociate_discovered_resource(**kwargs)

  

  Disassociate an Application Discovery Service discovered resource from a migration task.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResource>`_  


  **Request Syntax**
  ::

    response = client.disassociate_discovered_resource(
        ProgressUpdateStream='string',
        MigrationTaskName='string',
        ConfigurationId='string',
        DryRun=True|False
    )
    
  :type ProgressUpdateStream: string
  :param ProgressUpdateStream: **[REQUIRED]** 

    The name of the ProgressUpdateStream.

    

  
  :type MigrationTaskName: string
  :param MigrationTaskName: **[REQUIRED]** 

    The identifier given to the MigrationTask. *Do not store personal data in this field.*

    

  
  :type ConfigurationId: string
  :param ConfigurationId: **[REQUIRED]** 

    ConfigurationId of the Application Discovery Service resource to be disassociated.

    

  
  :type DryRun: boolean
  :param DryRun: 

    Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`MigrationHub.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`MigrationHub.Client.exceptions.InternalServerError`

  
  *   :py:class:`MigrationHub.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`MigrationHub.Client.exceptions.DryRunOperation`

  
  *   :py:class:`MigrationHub.Client.exceptions.UnauthorizedOperation`

  
  *   :py:class:`MigrationHub.Client.exceptions.InvalidInputException`

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

  
  *   :py:class:`MigrationHub.Client.exceptions.HomeRegionNotSetException`

  