sagemaker:InvokeEndpoint is a Read access-level action in the sagemaker service. Grants permission to invoke an endpoint. After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint
ARNs that sagemaker:InvokeEndpoint can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants sagemaker:InvokeEndpoint.
Filters access by a tag key and value pair
Filters access by a tag key and value pair
A minimal policy that allows sagemaker:InvokeEndpoint. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSagemakerInvokeEndpoint",
"Effect": "Allow",
"Action": "sagemaker:InvokeEndpoint",
"Resource": "*"
}
]
}