{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam/json-schema/amazon-iam-list-service-specific-credentials-response-schema.json",
  "title": "ListServiceSpecificCredentialsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-service-specific-credential-api-openapi.yml#/components/schemas/ListServiceSpecificCredentialsResponse",
  "type": "object",
  "properties": {
    "ServiceSpecificCredentials": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ServiceSpecificCredentialMetadata"
      },
      "description": "A list of structures that each contain details about a service-specific credential."
    },
    "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."
    },
    "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."
    }
  },
  "$defs": {
    "ServiceSpecificCredentialMetadata": {
      "type": "object",
      "properties": {
        "UserName": {
          "type": "string",
          "description": "The name of the IAM user associated with the service-specific credential."
        },
        "Status": {
          "type": "string",
          "enum": [
            "Active",
            "Inactive",
            "Expired"
          ],
          "description": "The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not."
        },
        "ServiceUserName": {
          "type": "string",
          "description": "The generated user name for the service-specific credential."
        },
        "ServiceCredentialAlias": {
          "type": "string",
          "description": "For Bedrock API keys and CloudWatch Logs API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information."
        },
        "CreateDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time, in ISO 8601 date-time format, when the service-specific credential were created."
        },
        "ExpirationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the service specific credential expires. This field is only present for Bedrock API keys and CloudWatch Logs API keys that were created with an expiration period."
        },
        "ServiceSpecificCredentialId": {
          "type": "string",
          "description": "The unique identifier for the service-specific credential."
        },
        "ServiceName": {
          "type": "string",
          "description": "The name of the service associated with the service-specific credential."
        }
      },
      "required": [
        "UserName",
        "Status",
        "CreateDate",
        "ServiceSpecificCredentialId",
        "ServiceName"
      ]
    }
  }
}