:doc:`AppIntegrationsService <../../appintegrations>` / Client / update_data_integration_association

***********************************
update_data_integration_association
***********************************



.. py:method:: AppIntegrationsService.Client.update_data_integration_association(**kwargs)

  

  Updates and persists a DataIntegrationAssociation resource.

   

  .. note::

    

    Updating a DataIntegrationAssociation with ExecutionConfiguration will rerun the on-demand job.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateDataIntegrationAssociation>`_  


  **Request Syntax**
  ::

    response = client.update_data_integration_association(
        DataIntegrationIdentifier='string',
        DataIntegrationAssociationIdentifier='string',
        ExecutionConfiguration={
            'ExecutionMode': 'ON_DEMAND'|'SCHEDULED',
            'OnDemandConfiguration': {
                'StartTime': 'string',
                'EndTime': 'string'
            },
            'ScheduleConfiguration': {
                'FirstExecutionFrom': 'string',
                'Object': 'string',
                'ScheduleExpression': 'string'
            }
        }
    )
    
  :type DataIntegrationIdentifier: string
  :param DataIntegrationIdentifier: **[REQUIRED]** 

    A unique identifier for the DataIntegration.

    

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

    A unique identifier. of the DataIntegrationAssociation resource

    

  
  :type ExecutionConfiguration: dict
  :param ExecutionConfiguration: **[REQUIRED]** 

    The configuration for how the files should be pulled from the source.

    

  
    - **ExecutionMode** *(string) --* **[REQUIRED]** 

      The mode for data import/export execution.

      

    
    - **OnDemandConfiguration** *(dict) --* 

      The start and end time for data pull from the source.

      

    
      - **StartTime** *(string) --* **[REQUIRED]** 

        The start time for data pull from the source as an Unix/epoch string in milliseconds

        

      
      - **EndTime** *(string) --* 

        The end time for data pull from the source as an Unix/epoch string in milliseconds

        

      
    
    - **ScheduleConfiguration** *(dict) --* 

      The name of the data and how often it should be pulled from the source.

      

    
      - **FirstExecutionFrom** *(string) --* 

        The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.

        

      
      - **Object** *(string) --* 

        The name of the object to pull from the data source.

        

      
      - **ScheduleExpression** *(string) --* **[REQUIRED]** 

        How often the data should be pulled from data source.

        

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AppIntegrationsService.Client.exceptions.InternalServiceError`

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

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

  
  *   :py:class:`AppIntegrationsService.Client.exceptions.InvalidRequestException`

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

  