wisdom:GetAIAgent

Read

wisdom:GetAIAgent is a Read access-level action in the wisdom service. Grants permission to retrieve information about an ai agent

Resource types

ARNs that wisdom:GetAIAgent can be scoped to in an IAM policy.

arn:${Partition}:wisdom:${Region}:${Account}:ai-agent/${AssistantId}/${AIAgentId}
AIAgent

Condition keys

Keys you can use in the Condition block of a policy that grants wisdom:GetAIAgent.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWisdomGetAIAgent",
      "Effect": "Allow",
      "Action": "wisdom:GetAIAgent",
      "Resource": "*"
    }
  ]
}

Related actions in wisdom

View all wisdom actions →