{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-create-policy-engine-response-schema.json",
  "title": "CreatePolicyEngineResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-policy-engines-api-openapi.yml#/components/schemas/CreatePolicyEngineResponse",
  "type": "object",
  "properties": {
    "policyEngineId": {
      "type": "string",
      "description": "The unique identifier for the created policy engine. This system-generated identifier consists of the user name plus a 10-character generated suffix and is used for all subsequent policy engine operations."
    },
    "name": {
      "type": "string",
      "description": "The customer-assigned name of the created policy engine. This matches the name provided in the request and serves as the human-readable identifier."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the policy engine was created. This is automatically set by the service and used for auditing and lifecycle management."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the policy engine was last updated. For newly created policy engines, this matches the createdAt timestamp."
    },
    "policyEngineArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the created policy engine. This globally unique identifier can be used for cross-service references and IAM policy statements."
    },
    "status": {
      "type": "string",
      "enum": [
        "CREATING",
        "ACTIVE",
        "UPDATING",
        "DELETING",
        "CREATE_FAILED",
        "UPDATE_FAILED",
        "DELETE_FAILED"
      ],
      "description": "The current status of the policy engine. A status of ACTIVE indicates the policy engine is ready for use."
    },
    "encryptionKeyArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data."
    },
    "description": {
      "type": "string",
      "description": "A human-readable description of the policy engine's purpose."
    },
    "statusReasons": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Additional information about the policy engine status. This provides details about any failures or the current state of the policy engine creation process."
    }
  },
  "required": [
    "policyEngineId",
    "name",
    "createdAt",
    "updatedAt",
    "policyEngineArn",
    "status",
    "statusReasons"
  ]
}