machinelearning:Predict

Write

machinelearning:Predict is a Write access-level action in the machinelearning service. Generates a prediction for the observation using the specified ML Model

Resource types

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

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:Predict. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in machinelearning

View all machinelearning actions →