{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam/json-schema/amazon-iam-get-user-policy-request-schema.json",
  "title": "GetUserPolicyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-user-policy-api-openapi.yml#/components/schemas/GetUserPolicyRequest",
  "type": "object",
  "properties": {
    "UserName": {
      "type": "string",
      "description": "The name of the user who the policy is associated with. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-"
    },
    "PolicyName": {
      "type": "string",
      "description": "The name of the policy document to get. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-"
    }
  },
  "required": [
    "UserName",
    "PolicyName"
  ]
}