machinelearning:GetMLModel

Read

machinelearning:GetMLModel is a Read access-level action in the machinelearning service. Returns an MLModel that includes detailed metadata, and data source information as well as the current status of the MLModel

Resource types

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

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

Related actions in machinelearning

View all machinelearning actions →