{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam/json-schema/amazon-iam-get-sshpublic-key-response-schema.json",
  "title": "GetSSHPublicKeyResponse",
  "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/GetSSHPublicKeyResponse",
  "type": "object",
  "properties": {
    "SSHPublicKey": {
      "$ref": "#/$defs/SSHPublicKey"
    }
  },
  "$defs": {
    "SSHPublicKey": {
      "type": "object",
      "properties": {
        "UserName": {
          "type": "string",
          "description": "The name of the IAM user associated with the SSH public key."
        },
        "SSHPublicKeyId": {
          "type": "string",
          "description": "The unique identifier for the SSH public key."
        },
        "Fingerprint": {
          "type": "string",
          "description": "The MD5 message digest of the SSH public key."
        },
        "SSHPublicKeyBody": {
          "type": "string",
          "description": "The SSH public key."
        },
        "Status": {
          "type": "string",
          "enum": [
            "Active",
            "Inactive",
            "Expired"
          ],
          "description": "The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used."
        },
        "UploadDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded."
        }
      },
      "required": [
        "UserName",
        "SSHPublicKeyId",
        "Fingerprint",
        "SSHPublicKeyBody",
        "Status"
      ]
    }
  }
}