I am using the sagemaker spark image in the create_training_job api but it is giving below error message
An error occurred (ValidationException) when calling the CreateTrainingJob operation: Access denied for repository: sagemaker-spark-processing in registry ID: 314815235551.
Image: 314815235551.dkr.ecr.us-east-2.amazonaws.com/sagemaker-spark-processing:3.1-cpu