{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudformation/json-schema/amazon-cloudformation-get-template-summary-input-schema.json",
  "title": "GetTemplateSummaryInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudformation-operations-api-openapi.yml#/components/schemas/GetTemplateSummaryInput",
  "type": "object",
  "properties": {
    "TemplateBody": {
      "type": "string",
      "description": "Structure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL."
    },
    "TemplateURL": {
      "type": "string",
      "description": "The URL of a file that contains the template body. The URL must point to a template (max size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL."
    },
    "StackName": {
      "type": "string",
      "description": "The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL."
    },
    "StackSetName": {
      "type": "string",
      "description": "The name or unique ID of the StackSet from which the stack was created. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL."
    },
    "CallAs": {
      "type": "string",
      "enum": [
        "SELF",
        "DELEGATED_ADMIN"
      ],
      "description": "[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, SELF is specified. Use SELF for StackSets with self-managed permissions. If you are signed in to the management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFor"
    },
    "TemplateSummaryConfig": {
      "$ref": "#/$defs/TemplateSummaryConfig"
    }
  },
  "$defs": {
    "TemplateSummaryConfig": {
      "type": "object",
      "properties": {
        "TreatUnrecognizedResourceTypesAsWarnings": {
          "type": "boolean",
          "description": "If set to True, any unrecognized resource types generate warnings and not an error. Any unrecognized resource types are returned in the Warnings output parameter."
        }
      }
    }
  }
}