:doc:`Detective <../../detective>` / Client / update_datasource_packages

**************************
update_datasource_packages
**************************



.. py:method:: Detective.Client.update_datasource_packages(**kwargs)

  

  Starts a data source package for the Detective behavior graph.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateDatasourcePackages>`_  


  **Request Syntax**
  ::

    response = client.update_datasource_packages(
        GraphArn='string',
        DatasourcePackages=[
            'DETECTIVE_CORE'|'EKS_AUDIT'|'ASFF_SECURITYHUB_FINDING',
        ]
    )
    
  :type GraphArn: string
  :param GraphArn: **[REQUIRED]** 

    The ARN of the behavior graph.

    

  
  :type DatasourcePackages: list
  :param DatasourcePackages: **[REQUIRED]** 

    The data source package to start for the behavior graph.

    

  
    - *(string) --* 

    

  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Detective.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Detective.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`Detective.Client.exceptions.ServiceQuotaExceededException`

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

  