informatica.infacore.datasource.connection.Connection

class informatica.infacore.datasource.connection.Connection(connection_name: str, connector_type: str, connection_parameters: dict, connection_id: str, status_message: str)

Bases: object

Represents the connection to the data source instance that INFACore uses for the read or write operation.

You can call test() to validate the connection, or you can call list_data_objects() to fetch the available objects.

Methods

config()

Returns the details of the connection attributes for an existing connection.

edit([new_connection_name, ...])

Edits the connection name and attributes of an existing connection.

get_data_object(object_name)

Fetches the DataObject instance corresponding to the data object name you specified.

list_data_objects([path])

Lists the available data objects in the specified connection instance.

test()

Tests the connection and validates the connection details you specified.