{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-get-async-invoke-response-schema.json",
  "title": "GetAsyncInvokeResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-async-invoke-api-openapi.yml#/components/schemas/GetAsyncInvokeResponse",
  "type": "object",
  "properties": {
    "invocationArn": {
      "type": "string",
      "description": "The invocation's ARN."
    },
    "modelArn": {
      "type": "string",
      "description": "The invocation's model ARN."
    },
    "clientRequestToken": {
      "type": "string",
      "description": "The invocation's idempotency token."
    },
    "status": {
      "type": "string",
      "enum": [
        "InProgress",
        "Completed",
        "Failed"
      ],
      "description": "The invocation's status."
    },
    "failureMessage": {
      "type": "string",
      "description": "An error message."
    },
    "submitTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the invocation request was submitted."
    },
    "lastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The invocation's last modified time."
    },
    "endTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the invocation ended."
    },
    "outputDataConfig": {
      "$ref": "#/$defs/AsyncInvokeOutputDataConfig"
    }
  },
  "required": [
    "invocationArn",
    "modelArn",
    "status",
    "submitTime",
    "outputDataConfig"
  ],
  "$defs": {
    "AsyncInvokeOutputDataConfig": {
      "type": "object",
      "properties": {
        "s3OutputDataConfig": {
          "$ref": "#/$defs/AsyncInvokeS3OutputDataConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "AsyncInvokeS3OutputDataConfig": {
      "type": "object",
      "properties": {
        "s3Uri": {
          "type": "string",
          "description": "An object URI starting with s3://."
        },
        "kmsKeyId": {
          "type": "string",
          "description": "A KMS encryption key ID."
        },
        "bucketOwner": {
          "type": "string",
          "description": "If the bucket belongs to another AWS account, specify that account's ID."
        }
      },
      "required": [
        "s3Uri"
      ]
    }
  }
}