sagemaker:DeleteModel is a Write access-level action in the sagemaker service. Grants permission to delete a model created using the CreateModel API. The DeleteModel API deletes only the model entry in Amazon SageMaker that you created by calling the CreateModel API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model
ARNs that sagemaker:DeleteModel can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants sagemaker:DeleteModel.
Filters access by a tag key and value pair
Filters access by a tag key and value pair
A minimal policy that allows sagemaker:DeleteModel. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSagemakerDeleteModel",
"Effect": "Allow",
"Action": "sagemaker:DeleteModel",
"Resource": "*"
}
]
}