{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudformation/json-schema/amazon-cloudformation-list-stack-set-operations-output-schema.json",
  "title": "ListStackSetOperationsOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudformation-stack-set-operation-api-openapi.yml#/components/schemas/ListStackSetOperationsOutput",
  "type": "object",
  "properties": {
    "Summaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/StackSetOperationSummary"
      },
      "description": "A list of StackSetOperationSummary structures that contain summary information about operations for the specified StackSet."
    },
    "NextToken": {
      "type": "string",
      "description": "If the request doesn't return all results, NextToken is set to a token. To retrieve the next set of results, call ListOperationResults again and assign that token to the request object's NextToken parameter. If there are no remaining results, NextToken is set to null."
    }
  },
  "$defs": {
    "StackSetOperationPreferences": {
      "type": "object",
      "properties": {
        "RegionConcurrencyType": {
          "type": "string",
          "enum": [
            "SEQUENTIAL",
            "PARALLEL"
          ],
          "description": "The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time."
        },
        "RegionOrder": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The order of the Regions where you want to perform the stack operation."
        },
        "FailureToleranceCount": {
          "type": "integer",
          "description": "The number of accounts per Region this operation can fail in before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions. You can specify either FailureToleranceCount or FailureTolerancePercentage, but not both. By default, 0 is specified."
        },
        "FailureTolerancePercentage": {
          "type": "integer",
          "description": "The percentage of accounts per Region this stack operation can fail in before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions. When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number. You can specify either FailureToleranceCount or FailureTolerancePercentage, but not both. By default, 0 is specified."
        },
        "MaxConcurrentCount": {
          "type": "integer",
          "description": "The maximum number of accounts in which to perform this operation at one time. This can depend on the value of FailureToleranceCount depending on your ConcurrencyMode. MaxConcurrentCount is at most one more than the FailureToleranceCount if you're using STRICT_FAILURE_TOLERANCE. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You can specify either MaxConcurrentCount or MaxConcurrentPercentage, but not both. By default, 1 is specif"
        },
        "MaxConcurrentPercentage": {
          "type": "integer",
          "description": "The maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You can specify either MaxConcurrentCount or"
        },
        "ConcurrencyMode": {
          "type": "string",
          "enum": [
            "STRICT_FAILURE_TOLERANCE",
            "SOFT_FAILURE_TOLERANCE"
          ],
          "description": "Specifies how the concurrency level behaves during the operation execution. STRICT_FAILURE_TOLERANCE: This option dynamically lowers the concurrency level to ensure the number of failed accounts never exceeds the value of FailureToleranceCount +1. The initial actual concurrency is set to the lower of either the value of the MaxConcurrentCount, or the value of FailureToleranceCount +1. The actual concurrency is then reduced proportionally by the number of failures. This is the default behavior. If failure tolerance or Maximum concurrent accounts are set to percentages, the behavior is similar. "
        }
      }
    },
    "StackSetOperationStatusDetails": {
      "type": "object",
      "properties": {
        "FailedStackInstancesCount": {
          "type": "integer",
          "description": "The number of stack instances for which the StackSet operation failed."
        }
      }
    },
    "StackSetOperationSummary": {
      "type": "object",
      "properties": {
        "OperationId": {
          "type": "string",
          "description": "The unique ID of the StackSet operation."
        },
        "Action": {
          "type": "string",
          "enum": [
            "CREATE",
            "UPDATE",
            "DELETE",
            "DETECT_DRIFT"
          ],
          "description": "The type of operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack instances that are associated with the specified StackSet. Update operations affect both the StackSet itself and all associated StackSet instances."
        },
        "Status": {
          "type": "string",
          "enum": [
            "RUNNING",
            "SUCCEEDED",
            "FAILED",
            "STOPPING",
            "STOPPED",
            "QUEUED"
          ],
          "description": "The overall status of the operation. FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions. QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of oper"
        },
        "CreationTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the operation was initiated. Note that the creation times for the StackSet operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks."
        },
        "EndTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the StackSet operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the StackSet operation was successful, or even attempted, in each account or Region."
        },
        "StatusReason": {
          "type": "string",
          "description": "The status of the operation in details."
        },
        "StatusDetails": {
          "$ref": "#/$defs/StackSetOperationStatusDetails"
        },
        "OperationPreferences": {
          "$ref": "#/$defs/StackSetOperationPreferences"
        }
      }
    }
  }
}