{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam-access-analyzer/refs/heads/main/json-schema/iam-access-analyzer-job-details-schema.json",
"title": "JobDetails",
"description": "Contains details about the policy generation request.",
"type": "object",
"properties": {
"jobId": {
"allOf": [
{
"$ref": "#/components/schemas/JobId"
},
{
"description": "The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request."
}
]
},
"status": {
"allOf": [
{
"$ref": "#/components/schemas/JobStatus"
},
{
"description": "The status of the job request."
}
]
},
"startedOn": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "A timestamp of when the job was started."
}
]
},
"completedOn": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "A timestamp of when the job was completed."
}
]
},
"jobError": {
"allOf": [
{
"$ref": "#/components/schemas/JobError"
},
{
"description": "The job error for the policy generation request."
}
]
}
},
"required": [
"jobId",
"status",
"startedOn"
]
}