start_data_source_run
Initiate a data source run in Amazon DataZone to update assets. Provide domain and data source identifiers to start the process.
Instructions
Starts a data source run in Amazon DataZone.
Args: domain_identifier (str): The identifier of the Amazon DataZone domain in which to start a data source run Pattern: ^dzd[-][a-zA-Z0-9-]{1,36}$ data_source_identifier (str): The identifier of the data source Pattern: ^[a-zA-Z0-9_-]{1,36}$ client_token (str, optional): A unique, case-sensitive identifier that is provided to ensure the idempotency of the request Length: 1-128 characters
Returns: Any: The API response containing: - createdAt: Timestamp when the data source run was created - dataSourceConfigurationSnapshot: Configuration snapshot of the data source - dataSourceId: Identifier of the data source - domainId: Identifier of the domain - errorMessage: Error details if the operation failed - id: Identifier of the data source run - projectId: Identifier of the project - runStatisticsForAssets: Statistics about the run including: - added: Number of assets added - failed: Number of assets that failed - skipped: Number of assets skipped - unchanged: Number of assets unchanged - updated: Number of assets updated - startedAt: Timestamp when the run started - status: Status of the run (REQUESTED, RUNNING, FAILED, PARTIALLY_SUCCEEDED, SUCCESS) - stoppedAt: Timestamp when the run stopped - type: Type of the run (PRIORITIZED, SCHEDULED) - updatedAt: Timestamp when the run was last updated
Example:
python response = await start_data_source_run( domain_identifier='dzd-1234567890', data_source_identifier='ds-1234567890', client_token='unique-token-123', )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_token | No | ||
| domain_identifier | Yes | ||
| data_source_identifier | Yes |