{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-fleetwise/json-schema/amazon-iot-fleetwise-get-encryption-configuration-response-schema.json",
  "title": "GetEncryptionConfigurationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-fleetwise-operations-api-openapi.yml#/components/schemas/GetEncryptionConfigurationResponse",
  "type": "object",
  "properties": {
    "kmsKeyId": {
      "type": "string",
      "description": "The ID of the KMS key that is used for encryption."
    },
    "encryptionStatus": {
      "type": "string",
      "enum": [
        "PENDING",
        "SUCCESS",
        "FAILURE"
      ],
      "description": "The encryption status."
    },
    "encryptionType": {
      "type": "string",
      "enum": [
        "KMS_BASED_ENCRYPTION",
        "FLEETWISE_DEFAULT_ENCRYPTION"
      ],
      "description": "The type of encryption. Set to KMS_BASED_ENCRYPTION to use a KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account."
    },
    "errorMessage": {
      "type": "string",
      "description": "The error message that describes why encryption settings couldn't be configured, if applicable."
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time)."
    },
    "lastModificationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time)."
    }
  },
  "required": [
    "encryptionStatus",
    "encryptionType"
  ]
}