Skip to main content
Version: v2.7 print this page

Action Groups

How to create an Action Group?

  1. Select the Action Groups tab from the top navigation panel and click on + New Action Group
  2. Fill in the required fields (details listed below) and click on Create Action Group button.

Following fields are needed to create an Action Group:

PropertiesDetails
Action Group NameA name for the Action Group. This should be unique across the platform.
DescriptionDescription of the Action Group being created.
Upload API DefinitionThe API's defined for the Action Group. Only .json files are accepeted for this field.
Upload Lambda CodeThe business logic that the Action Group is designed to perform. Only .zip files are accepeted for this field.
Lambda HandlerThe lambda handler method for the Action Group lambda.
Attached LibrariesOptionally the user can also add created Agent Libraries to work with the Action Group lambda.

Below image shows how to create a new Action Group Create Action Group

Updating Action Group details

  1. Select the Action Group you want to edit and click on the Configuration tab.
  2. Click on the edit icon in the Metadata section and update the required details then click on Update Action Group button.

Below image shows edit an Action Group Edit an Action Group

Note

Action group creation/updation happens in the background once triggered, and may take some time to complete.

Downloading Action Group logs

Users will now be able to download the execution logs of the Action Group lambda for debugging. Start Time and End Time are expected as inputs from the user.

Below image shows how to download Action Group logs Download Action Group logs

Deleting an Action Group

  1. Select the Action Group that you want to delete and go to Configuration tab.
  2. Click on the delete icon in the Metadata section and click on the Delete Action Group button to confirm the deletion.

Below image shows how to delete an Action Group Delete an Action Group

Note

Action group deletion is only possible if there are no existing Agents associated with that Action Group.

Prebaked Action Groups

These are system generated action groups that are provided out-of-the-box for users to consume. These action groups also serve as references for users to build on top of. Users can consume from these action groups by creating an agent and attaching these action groups to the agent.

Note

Users are not permitted to edit or delete these action groups. However, you are allowed to download the definition files (lambda and api) and view the lambda logs for these action groups.

Prebaked action groups

Currently we provide two prebaked action groups :

  1. DatasetOperation : This action group is designed to perform operations on top of Amorphic datasets that the user has access to. User can ask for actions such as list all datasets, and its details and files inside them, create/clone a dataset and enable/disable/run dataprofiling job for a dataset. Prebaked action groups

  2. EtlOperations : This action group is designed to perform operations on top of ETL components in Amorphic (ex : jobs). User can ask for actions like list details of ETL jobs the user has access to, run a job and list its executions. Prebaked action groups