Skip to content

update existing groundtruth workforce

1

Hi team,

Is it possible to update the organization name and contact email for an existing SageMaker Ground Truth workforce?

I would like to modify these two fields in the invitation email sent by the Cognito user pool that backs the Ground Truth Workforce.

It seems that the CLI command does not offer options to change these values, and there also doesn't appear to be a CDK construct available for updating the workforce.

2 Answers
1
Accepted Answer

As the re:Post Agent bot said, there's no direct option for this in the UpdateWorkforce API - but it's not actually configured in the CreateWorkforce API either as far as I can tell.

I believe you should be able to update the behaviour you want for these parameters as follows:

  1. Open the Amazon Cognito Console
  2. Find your sagemaker-groundtruth-user-pool (should be created already)
  3. Within the SMGT user pool, go to the Messaging tab

On this tab, you'll see editable configurations for the emails that get sent for user management tasks like new sign-ups, etc. In particular, the Invitation message mentions both your organization name and the email to contact for any additional support.

There might be some other settings floating around where the org name & contact email get used, but the invitation message is the only one I've noticed so far!

AWS
EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

1

Unfortunately, it is not directly possible to update the 'organization name' and 'contact email' for an existing SageMaker Ground Truth workforce using the AWS CLI or CDK constructs.

The update-workforce and update-workteam commands in the AWS CLI do not provide options to modify these specific fields. These commands primarily focus on updating other aspects of the workforce or work team, such as IP restrictions, OIDC configurations, member definitions, or descriptions.

For a Cognito-backed workforce, these fields are typically set when the workforce is initially created and are associated with the Cognito user pool. Changing them would require modifications to the underlying Cognito configuration, which is not directly exposed through the SageMaker Ground Truth API or CLI commands.

If you need to change these values, you might need to consider creating a new workforce with the desired organization name and contact email. Alternatively, you may need to work directly with AWS support to explore potential options for modifying these fields in your existing workforce configuration.

It's worth noting that while you can't change these specific fields easily, you can update other aspects of your workforce, such as adding or removing team members, changing descriptions, or modifying access configurations using the available AWS CLI commands or API operations.
Sources
update-workteam — AWS CLI 2.18.11 Command Reference
Use IP-restricted presigned URLs to enhance security in Amazon SageMaker Ground Truth | AWS Machine Learning Blog

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.