{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam/json-schema/amazon-iam-get-sshpublic-key-request-schema.json",
  "title": "GetSSHPublicKeyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-ssh-public-key-api-openapi.yml#/components/schemas/GetSSHPublicKeyRequest",
  "type": "object",
  "properties": {
    "UserName": {
      "type": "string",
      "description": "The name of the IAM user associated with the SSH public key. 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: _+=,.@-"
    },
    "SSHPublicKeyId": {
      "type": "string",
      "description": "The unique identifier for the SSH public key. This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit."
    },
    "Encoding": {
      "type": "string",
      "enum": [
        "SSH",
        "PEM"
      ],
      "description": "Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use SSH. To retrieve the public key in PEM format, use PEM."
    }
  },
  "required": [
    "UserName",
    "SSHPublicKeyId",
    "Encoding"
  ]
}