A Preset connection requires a name and qualifiedName. For creation, specific settings are also required to distinguish it as a Preset connection rather than another type of connection. In addition, at least one of adminRoles, adminGroups, or adminUsers must be provided.
Retrieve the GUID for the admin role, to use later for defining the roles that can administer the connection.
Build up the minimum request to create a connection.
Provide a human-readable name for your connection, such as production or development.
Set the type of connection to Preset.
List the workspace roles that should be able to administer the connection (or null if none). All users with that workspace role (current and future) will be administrators of the connection. Note that the values here need to be the GUID(s) of the workspace role(s). At least one of adminRoles, adminGroups, or adminUsers must be provided.
List the group names that can administer this connection (or null if none). All users within that group (current and future) will be administrators of the connection. Note that the values here are the name(s) of the group(s). At least one of adminRoles, adminGroups, or adminUsers must be provided.
List the user names that can administer this connection (or null if none). Note that the values here are the username(s) of the user(s). At least one of adminRoles, adminGroups, or adminUsers must be provided.
Actually call Atlan to create the connection. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
Retrieve the qualifiedName for use in subsequent creation calls. (You'd probably want to do some null checking first.)
Retrieve the GUID for the admin role, to use later for defining the roles that can administer the connection.
Build up the minimum request to create a connection.
Provide a human-readable name for your connection, such as production or development.
Set the type of connection to Preset.
List the workspace roles that should be able to administer the connection (or None if none). All users with that workspace role (current and future) will be administrators of the connection. Note that the values here need to be the GUID(s) of the workspace role(s). At least one of admin_roles, admin_groups, or admin_users must be provided.
List the group names that can administer this connection (or None if none). All users within that group (current and future) will be administrators of the connection. Note that the values here are the name(s) of the group(s). At least one of admin_roles, admin_groups, or admin_users must be provided.
List the user names that can administer this connection (or None if none). Note that the values here are the username(s) of the user(s). At least one of admin_roles, admin_groups, or admin_users must be provided.
Actually call Atlan to create the connection.
Retrieve the qualified_name for use in subsequent creation calls. (You'd probably want to do some null checking first.)
Retrieve the GUID for the admin role, to use later for defining the roles that can administer the connection.
Build up the minimum request to create a connection.
Provide a human-readable name for your connection, such as production or development.
Set the type of connection to Preset.
List the workspace roles that should be able to administer the connection (or null if none). All users with that workspace role (current and future) will be administrators of the connection. Note that the values here need to be the GUID(s) of the workspace role(s). At least one of adminRoles, adminGroups, or adminUsers must be provided.
List the group names that can administer this connection (or null if none). All users within that group (current and future) will be administrators of the connection. Note that the values here are the name(s) of the group(s). At least one of adminRoles, adminGroups, or adminUsers must be provided.
List the user names that can administer this connection (or null if none). Note that the values here are the username(s) of the user(s). At least one of adminRoles, adminGroups, or adminUsers must be provided.
Actually call Atlan to create the connection. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
Retrieve the qualifiedName for use in subsequent creation calls. (You'd probably want to do some null checking first.)
Human-readable name for your connection, such as production or development.
The connectorName must be exactly preset.
The qualifiedName should follow the pattern: default/preset/<epoch>, where <epoch> is the time in milliseconds at which the connection is being created.
The category must be bi.
List any workspace roles that can administer this connection. All users with that workspace role (current and future) will be administrators of the connection. Note that the values here need to be the GUID(s) of the workspace role(s). At least one of adminRoles, adminGroups, or adminUsers must be provided.
List any groups that can administer this connection. All users within that group (current and future) will be administrators of the connection. Note that the values here are the name(s) of the group(s). At least one of adminRoles, adminGroups, or adminUsers must be provided.
List any users that can administer this connection. Note that the values here are the username(s) of the user(s). At least one of adminRoles, adminGroups, or adminUsers must be provided.
Access policies
Atlan creates the policies that grant access to a connection, including the ability to retrieve the connection and to create assets within it, asynchronously. It can take several seconds (even up to approximately 30 seconds) before these are in place after creating the connection.
You may therefore need to wait before you'll be able to create the assets below within the connection.
To confirm access, retrieve the connection after it has been created. The SDKs' retry loops will automatically retry until the connection can be successfully retrieved. At that point, your API token has permission to create the other assets.
Note: if you are reusing an existing connection rather than creating one via your API token, you must give your API token a persona that has access to that connection. Otherwise all attempts to create, read, update, or delete assets within that connection will fail due to a lack of permissions.
A Preset workspace requires a name and a qualifiedName. For creation, you also need to specify the connectionQualifiedName of the connection for the workspace.
Build up the minimum request to create a workspace.
Provide a human-readable name for your workspace.
Provide the qualifiedName of the connection for this workspace.
Actually call Atlan to create the workspace. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
Retrieve the created workspace for use in subsequent creation calls. (You'd probably want to do some null checking first.)
Build up the minimum request to create a workspace.
Provide a human-readable name for your workspace.
Provide the qualifiedName of the connection for this workspace.
Actually call Atlan to create the workspace. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
Retrieve the created workspace for use in subsequent creation calls. (You'd probably want to do some null checking first.)
The qualifiedName should follow the pattern: default/preset/<epoch>/<workspace_name>, where default/preset/<epoch> is the qualifiedName of the connection for this workspace and <workspace_name> is the name of the workspace.
The connectionQualifiedName must be the exact qualifiedName of the connection for this workspace.
A Preset collection requires a name and a qualifiedName. For creation, you also need to specify the connectionQualifiedName of the connection for the collection, and the names and qualifiedNames of the collection's ancestors.
Build up the minimum request to create a collection.
Provide a human-readable name for your collection.
Provide the workspace for this collection. If you did not already have the object, you could also use PresetWorkspace.refByGuid() with the GUID of the workspace, or PresetWorkspace.refByQualifiedName() with the qualifiedName of the workspace.
Actually call Atlan to create the collection. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
Retrieve the created collection for use in subsequent creation calls. (You'd probably want to do some null checking first.)
Build up the minimum request to create a collection.
Provide a human-readable name for your collection.
Provide the workspace for this collection. If you did not already have the object, you could also use PresetWorkspace.refByGuid() with the GUID of the workspace, or PresetWorkspace.refByQualifiedName() with the qualifiedName of the workspace.
Actually call Atlan to create the collection. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
Retrieve the created collection for use in subsequent creation calls. (You'd probably want to do some null checking first.)
The qualifiedName should follow the pattern: default/preset/<epoch>/<workspace_name>/<collection_name>, where default/preset/<epoch>/<workspace_name> is the qualifiedName of the workspace for this collection and <collection_name> is the name for this collection.
The connectionQualifiedName must be the exact qualifiedName of the connection for this collection.
The connectorName must be exactly preset.
The workspace in which this collection exists is embedded in the presetWorkspace attribute.
The typeName for this embedded reference must be PresetWorkspace.
To complete the reference, you must include a uniqueAttributes object with the qualifiedName of the workspace. Note: the workspace must already exist in Atlan before creating the collection.
The presetWorkspaceQualifiedName should be the qualifiedName of the workspace.
A Preset chart requires a name and a qualifiedName. For creation, you also need to specify the connectionQualifiedName of the connection for the chart, and the names and qualifiedNames of the chart's ancestors.
Actually call Atlan to create the chart. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
Actually call Atlan to create the chart. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
The qualifiedName should follow the pattern: default/preset/<epoch>/<workspace_name>/<collection_name>/<chart_name>, where default/preset/<epoch>/<workspace_name>/<collection_name> is the qualifiedName of the collection for this chart and <chart_name> is the name for this chart.
The connectionQualifiedName must be the exact qualifiedName of the connection for this chart.
The connectorName must be exactly preset.
The collection in which this chart exists is embedded in the presetDashboard attribute.
The typeName for this embedded reference must be PresetDashboard.
To complete the reference, you must include a uniqueAttributes object with the qualifiedName of the collection. Note: the collection must already exist in Atlan before creating the chart.
The presetDashboardQualifiedName should be the qualifiedName of the collection.
The presetWorkspaceQualifiedName should be the qualifiedName of the workspace.
A Preset dataset requires a name and a qualifiedName. For creation, you also need to specify the connectionQualifiedName of the connection for the dataset, and the names and qualifiedNames of the dataset's ancestors.
Actually call Atlan to create the dataset. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
Actually call Atlan to create the dataset. Because this operation will persist the asset in Atlan, you must provide it an AtlanClient through which to connect to the tenant.
The qualifiedName should follow the pattern: default/preset/<epoch>/<workspace_name>/<collection_name>/<dataset_name>, where default/preset/<epoch>/<workspace_name>/<collection_name> is the qualifiedName of the collection for this dataset and <dataset_name> is the name for this dataset.
The connectionQualifiedName must be the exact qualifiedName of the connection for this dataset.
The connectorName must be exactly preset.
The collection in which this dataset exists is embedded in the presetDashboard attribute.
The typeName for this embedded reference must be PresetDashboard.
To complete the reference, you must include a uniqueAttributes object with the qualifiedName of the collection. Note: the collection must already exist in Atlan before creating the dataset.
The presetDashboardQualifiedName should be the qualifiedName of the collection.
The presetWorkspaceQualifiedName should be the qualifiedName of the workspace.
A process provides lineage information for an asset. An asset can be both an input and an output for one or more processes. The lineage snippets provide more detail on creating and working with lineage.
Although if you want to delete everything in a connection, your better avenue is the packaged connection delete utility in the UI. ↩