{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-service-catalog/json-schema/amazon-service-catalog-update-provisioned-product-output-schema.json",
  "title": "UpdateProvisionedProductOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-service-catalog-provisioned-products-api-openapi.yml#/components/schemas/UpdateProvisionedProductOutput",
  "type": "object",
  "properties": {
    "RecordDetail": {
      "$ref": "#/$defs/RecordDetail"
    }
  },
  "$defs": {
    "RecordDetail": {
      "type": "object",
      "properties": {
        "RecordId": {
          "type": "string",
          "description": "The identifier of the record."
        },
        "ProvisionedProductName": {
          "type": "string",
          "description": "The user-friendly name of the provisioned product."
        },
        "Status": {
          "type": "string",
          "enum": [
            "CREATED",
            "IN_PROGRESS",
            "IN_PROGRESS_IN_ERROR",
            "SUCCEEDED",
            "FAILED"
          ],
          "description": "The status of the provisioned product. CREATED - The request was created but the operation has not started. IN_PROGRESS - The requested operation is in progress. IN_PROGRESS_IN_ERROR - The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback. SUCCEEDED - The requested operation has successfully completed. FAILED - The requested operation has unsuccessfully completed. Investigate using the error messages returned."
        },
        "CreatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UTC time stamp of the creation time."
        },
        "UpdatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time when the record was last updated."
        },
        "ProvisionedProductType": {
          "type": "string",
          "description": "The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL."
        },
        "RecordType": {
          "type": "string",
          "description": "The record type. PROVISION_PRODUCT UPDATE_PROVISIONED_PRODUCT TERMINATE_PROVISIONED_PRODUCT"
        },
        "ProvisionedProductId": {
          "type": "string",
          "description": "The identifier of the provisioned product."
        },
        "ProductId": {
          "type": "string",
          "description": "The product identifier."
        },
        "ProvisioningArtifactId": {
          "type": "string",
          "description": "The identifier of the provisioning artifact."
        },
        "PathId": {
          "type": "string",
          "description": "The path identifier."
        },
        "RecordErrors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RecordError"
          },
          "description": "The errors that occurred."
        },
        "RecordTags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RecordTag"
          },
          "description": "One or more tags."
        },
        "LaunchRoleArn": {
          "type": "string",
          "description": "The ARN of the launch role associated with the provisioned product."
        }
      }
    },
    "RecordError": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "description": "The numeric value of the error."
        },
        "Description": {
          "type": "string",
          "description": "The description of the error."
        }
      }
    },
    "RecordTag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key for this tag."
        },
        "Value": {
          "type": "string",
          "description": "The value for this tag."
        }
      }
    }
  }
}