aws-external-anthropic:ListModels

List

aws-external-anthropic:ListModels is a List access-level action in the aws-external-anthropic service. Grants permission to list available models in a workspace

Resource types

ARNs that aws-external-anthropic:ListModels can be scoped to in an IAM policy.

arn:${Partition}:aws-external-anthropic:${Region}:${Account}:workspace/${ResourceId}
workspace

Condition keys

Keys you can use in the Condition block of a policy that grants aws-external-anthropic:ListModels.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows aws-external-anthropic:ListModels. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAwsexternalanthropicListModels",
      "Effect": "Allow",
      "Action": "aws-external-anthropic:ListModels",
      "Resource": "*"
    }
  ]
}

Related actions in aws-external-anthropic

View all aws-external-anthropic actions →