informatica.infacore.datasource.datasource.DataSource

class informatica.infacore.datasource.datasource.DataSource(infacore_name: str, iics_name: str, iics_type: str, compute_engine: ComputeEngine)

Bases: object

Represents the data source or target from which you want to extract or load data.

You can choose from the following categories of data sources:
  • Relational Databases: For example, Oracle, MySQL, MS SQL, and PostgreSQL.

  • Cloud Data Warehouses: For example, Amazon Redshift, Databricks Delta, Google BigQuery, Hive, and Snowflake.

  • Cloud Data Lakes: For example, Amazon S3, Microsoft Azure Data Lake Store Gen1, Microsoft Azure Data Lake Store Gen2, and Google Cloud Storage.

  • SAAS Applications: For example, Marketo, Salesforce, SAP, and Zendesk.

For details about all the available data sources, see the following documentation: https://onlinehelp.informatica.com/IICS/dev/infacore/en/index.htm

Methods

config([mode])

Returns the connection attribute details required for creating the connection.

connect(connection_name, connection_parameters)

Creates a live connection with the data source instance you specified to read from or to write data.

get_connection(connection_name)

Gets the connection object of the specified connection from the selected data source.

list_connections()

Returns the list of existing connections in your Informatica Intelligent Cloud Services organization for the data source you selected.