machinelearning:DeleteTags

Tagging

machinelearning:DeleteTags is a Tagging access-level action in the machinelearning service. Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags

Resource types

ARNs that machinelearning:DeleteTags can be scoped to in an IAM policy.

arn:${Partition}:machinelearning:${Region}:${Account}:batchprediction/${BatchPredictionId}
batchprediction
arn:${Partition}:machinelearning:${Region}:${Account}:datasource/${DatasourceId}
datasource
arn:${Partition}:machinelearning:${Region}:${Account}:evaluation/${EvaluationId}
evaluation
arn:${Partition}:machinelearning:${Region}:${Account}:mlmodel/${MlModelId}
mlmodel

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows machinelearning:DeleteTags. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMachinelearningDeleteTags",
      "Effect": "Allow",
      "Action": "machinelearning:DeleteTags",
      "Resource": "*"
    }
  ]
}

Related actions in machinelearning

View all machinelearning actions →