{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-service-catalog/json-schema/amazon-service-catalog-search-provisioned-products-output-schema.json",
  "title": "SearchProvisionedProductsOutput",
  "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/SearchProvisionedProductsOutput",
  "type": "object",
  "properties": {
    "ProvisionedProducts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProvisionedProductAttribute"
      },
      "description": "Information about the provisioned products."
    },
    "TotalResultsCount": {
      "type": "integer",
      "description": "The number of provisioned products found."
    },
    "NextPageToken": {
      "type": "string",
      "description": "The page token to use to retrieve the next set of results. If there are no additional results, this value is null."
    }
  },
  "$defs": {
    "ProvisionedProductAttribute": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The user-friendly name of the provisioned product."
        },
        "Arn": {
          "type": "string",
          "description": "The ARN of the provisioned product."
        },
        "Type": {
          "type": "string",
          "description": "The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL."
        },
        "Id": {
          "type": "string",
          "description": "The identifier of the provisioned product."
        },
        "Status": {
          "type": "string",
          "enum": [
            "AVAILABLE",
            "UNDER_CHANGE",
            "TAINTED",
            "ERROR",
            "PLAN_IN_PROGRESS"
          ],
          "description": "The current status of the provisioned product. AVAILABLE - Stable state, ready to perform any operation. The most recent operation succeeded and completed. UNDER_CHANGE - Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations. TAINTED - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version. ERROR - An unexpected error occurred. The provision"
        },
        "StatusMessage": {
          "type": "string",
          "description": "The current status message of the provisioned product."
        },
        "CreatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UTC time stamp of the creation time."
        },
        "IdempotencyToken": {
          "type": "string",
          "description": "A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request."
        },
        "LastRecordId": {
          "type": "string",
          "description": "The record identifier of the last request performed on this provisioned product."
        },
        "LastProvisioningRecordId": {
          "type": "string",
          "description": "The record identifier of the last request performed on this provisioned product of the following types: ProvisionProduct UpdateProvisionedProduct ExecuteProvisionedProductPlan TerminateProvisionedProduct"
        },
        "LastSuccessfulProvisioningRecordId": {
          "type": "string",
          "description": "The record identifier of the last successful request performed on this provisioned product of the following types: ProvisionProduct UpdateProvisionedProduct ExecuteProvisionedProductPlan TerminateProvisionedProduct"
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "One or more tags."
        },
        "PhysicalId": {
          "type": "string",
          "description": "The assigned identifier for the resource, such as an EC2 instance ID or an S3 bucket name."
        },
        "ProductId": {
          "type": "string",
          "description": "The product identifier."
        },
        "ProductName": {
          "type": "string",
          "description": "The name of the product."
        },
        "ProvisioningArtifactId": {
          "type": "string",
          "description": "The identifier of the provisioning artifact."
        },
        "ProvisioningArtifactName": {
          "type": "string",
          "description": "The name of the provisioning artifact."
        },
        "UserArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the user."
        },
        "UserArnSession": {
          "type": "string",
          "description": "The ARN of the user in the session. This ARN might contain a session ID."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key."
        },
        "Value": {
          "type": "string",
          "description": "The value for this key."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}