Manage automations - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Manage automations

In SageMaker Canvas, you can create automations that update your dataset or generate predictions from your model on a schedule. For example, you might receive new shipping data on a daily basis. You can set up an automatic update for your dataset and automatic batch predictions that run whenever the dataset is updated. Using these features, you can set up an automated workflow and reduce the amount of time you spend manually updating datasets and making predictions.

Note

You can only set up a maximum of 20 automatic configurations in your Canvas application. Automations are only active while you’re logged in to the Canvas application. If you log out of Canvas, your automatic jobs pause until you log back in.

The following sections describe how to view, edit, and delete configurations for existing automations. To learn how to set up automations, see the following topics:

View your automations

You can also view all of your auto update jobs by going to the left navigation pane of Canvas and choosing Automations. The Automations page combines automations for both automatic dataset updates and automatic batch predictions. From the Automationspage, you can see the following tabs:

  • All jobs – You can see every instance of a Dataset update or Batch prediction job that Canvas has done. For each job, you can see fields such as the associated Input dataset, the Configuration name of the associated auto update configuration, and the Status showing whether the job was successful or not. You can filter the jobs by configuration name:

    • For dataset update jobs, you can choose the latest version of the dataset, or the most recent job, to preview the dataset.

    • For batch prediction jobs, you can choose the More options icon ( ) to view or download the predictions for that job.

  • Configuration – You can see all of the Dataset update and Batch prediction configurations you’ve created. For each configuration, you can see fields such as the associated Input dataset and the Frequency of the jobs. You can also turn off or turn on the Auto update toggle to pause or resume automatic updates. If you choose the More options icon ( ) for a specific configuration, you can choose to View all jobs for the configuration, Update configuration, or Delete configuration.

Edit your automatic configurations

After setting up a configuration, you might want to make changes to it. For automatic dataset updates, you can update the Amazon S3 location for Canvas to import data, the frequency of the updates, and the starting time. For automatic batch predictions, you can change the dataset that the configuration tracks for updates. You can also turn off the automation to temporarily pause updates until you choose to resume them.

The following sections show you how to update each type of configuration.

Note

You can’t change the frequency for automatic batch predictions because automatic batch predictions run every time the target dataset is updated.

Edit your automatic dataset update configuration

You might want to make changes to your auto update configuration for a dataset, such as changing the frequency of the updates. You might also want to turn off your automatic update configuration to pause the updates to your dataset.

To make changes to your auto update configuration for a dataset, do the following:

  1. In the left navigation pane of Canvas, choose Automations.

  2. Choose the Configuration tab.

  3. For your auto update configuration, choose the More options icon ( ).

  4. In the dropdown menu, choose Update configuration. You are taken to the Auto updates tab of the dataset.

  5. Make your changes to the configuration. When you’re done making changes, choose Save.

To pause your dataset updates, turn off your automatic configuration. One way to turn off auto updates is by doing the following:

  1. In the left navigation pane of Canvas, choose Automations.

  2. Choose the Configuration tab.

  3. Find your configuration from the list and turn off the Auto update toggle.

Automatic updates for your dataset are now paused. You can turn this toggle back on at any time to resume the update schedule.

Edit your automatic batch prediction configuration

When you edit a batch prediction configuration, you can change the target dataset but not the frequency (since automatic batch predictions occur whenever the dataset is updated).

To make changes to your automatic batch predictions configuration, do the following:

  1. In the left navigation pane of Canvas, choose Automations.

  2. Choose the Configuration tab.

  3. For your auto update configuration, choose the More options icon ( ).

  4. In the dropdown menu, choose Update configuration. You are taken to the Auto updates tab of the dataset.

  5. The Automate batch prediction dialog box opens. You can select another dataset and choose Set up to save your changes.

Your automatic batch predictions configuration is now updated.

To pause your automatic batch predictions, turn off your automatic configuration. Use the following procedure to turn off your configuration:

  1. In the left navigation pane of Canvas, choose Automations.

  2. Choose the Configuration tab.

  3. Find your configuration from the list and turn off the Auto update toggle.

Automatic batch predictions for your dataset are now paused. You can turn this toggle back on at any time to resume the update schedule.

Delete an automatic configuration

You might want to delete a configuration to stop your automated workflow in SageMaker Canvas.

To delete a configuration for automatic dataset updates or automatic batch predictions, do the following:

  1. In the left navigation pane of Canvas, choose Automations.

  2. Choose the Configuration tab.

  3. Find your auto update configuration, and choose the More options icon ( ).

  4. Choose Delete configuration.

  5. In the dialog box that pops up, choose Delete.

Your auto update configuration is now deleted.