{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam/json-schema/amazon-iam-list-sshpublic-keys-response-schema.json",
  "title": "ListSSHPublicKeysResponse",
  "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/ListSSHPublicKeysResponse",
  "type": "object",
  "properties": {
    "SSHPublicKeys": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SSHPublicKeyMetadata"
      },
      "description": "A list of the SSH public keys assigned to IAM user."
    },
    "IsTruncated": {
      "type": "boolean",
      "description": "A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results."
    },
    "Marker": {
      "type": "string",
      "description": "When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request."
    }
  },
  "$defs": {
    "SSHPublicKeyMetadata": {
      "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."
        },
        "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",
        "Status",
        "UploadDate"
      ]
    }
  }
}