{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-api-gateway/json-schema/aws-api-gateway-create-portal-response-schema.json",
  "title": "CreatePortalResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-api-gateway-portals-api-openapi.yml#/components/schemas/CreatePortalResponse",
  "type": "object",
  "properties": {
    "Authorization": {
      "$ref": "#/$defs/Authorization"
    },
    "EndpointConfiguration": {
      "$ref": "#/$defs/EndpointConfigurationResponse"
    },
    "IncludedPortalProductArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARNs of the portal products included in the portal."
    },
    "LastModified": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the portal configuration was last modified."
    },
    "LastPublished": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the portal was last published."
    },
    "LastPublishedDescription": {
      "type": "string",
      "description": "A user-written description of the changes made in the last published version of the portal."
    },
    "PortalArn": {
      "type": "string",
      "description": "The ARN of the portal."
    },
    "PortalContent": {
      "$ref": "#/$defs/PortalContent"
    },
    "PortalId": {
      "type": "string",
      "description": "The portal identifier."
    },
    "PublishStatus": {
      "type": "string",
      "enum": [
        "PUBLISHED",
        "PUBLISH_IN_PROGRESS",
        "PUBLISH_FAILED",
        "DISABLE_IN_PROGRESS",
        "DISABLE_FAILED",
        "DISABLED"
      ],
      "description": "The current publishing status of the portal."
    },
    "RumAppMonitorName": {
      "type": "string",
      "description": "The name of the Amazon CloudWatch RUM app monitor."
    },
    "StatusException": {
      "$ref": "#/$defs/StatusException"
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The collection of tags. Each tag element is associated with a given resource."
    }
  },
  "$defs": {
    "Authorization": {
      "type": "object",
      "properties": {
        "CognitoConfig": {
          "$ref": "#/$defs/CognitoConfig"
        },
        "None": {
          "$ref": "#/$defs/None"
        }
      }
    },
    "CognitoConfig": {
      "type": "object",
      "properties": {
        "AppClientId": {
          "type": "string",
          "description": "The app client ID."
        },
        "UserPoolArn": {
          "type": "string",
          "description": "The user pool ARN."
        },
        "UserPoolDomain": {
          "type": "string",
          "description": "The user pool domain."
        }
      },
      "required": [
        "AppClientId",
        "UserPoolArn",
        "UserPoolDomain"
      ]
    },
    "CustomColors": {
      "type": "object",
      "properties": {
        "AccentColor": {
          "type": "string",
          "description": "Represents the accent color."
        },
        "BackgroundColor": {
          "type": "string",
          "description": "Represents the background color."
        },
        "ErrorValidationColor": {
          "type": "string",
          "description": "The errorValidationColor."
        },
        "HeaderColor": {
          "type": "string",
          "description": "Represents the header color."
        },
        "NavigationColor": {
          "type": "string",
          "description": "Represents the navigation color."
        },
        "TextColor": {
          "type": "string",
          "description": "Represents the text color."
        }
      },
      "required": [
        "AccentColor",
        "BackgroundColor",
        "ErrorValidationColor",
        "HeaderColor",
        "NavigationColor",
        "TextColor"
      ]
    },
    "EndpointConfigurationResponse": {
      "type": "object",
      "properties": {
        "CertificateArn": {
          "type": "string",
          "description": "The ARN of the ACM certificate."
        },
        "DomainName": {
          "type": "string",
          "description": "The domain name."
        },
        "PortalDefaultDomainName": {
          "type": "string",
          "description": "The portal default domain name. This domain name is generated and managed by API Gateway."
        },
        "PortalDomainHostedZoneId": {
          "type": "string",
          "description": "The portal domain hosted zone identifier."
        }
      },
      "required": [
        "PortalDefaultDomainName",
        "PortalDomainHostedZoneId"
      ]
    },
    "None": {
      "type": "object",
      "properties": {}
    },
    "PortalContent": {
      "type": "object",
      "properties": {
        "Description": {
          "type": "string",
          "description": "A description of the portal."
        },
        "DisplayName": {
          "type": "string",
          "description": "The display name for the portal."
        },
        "Theme": {
          "$ref": "#/$defs/PortalTheme"
        }
      },
      "required": [
        "DisplayName",
        "Theme"
      ]
    },
    "PortalTheme": {
      "type": "object",
      "properties": {
        "CustomColors": {
          "$ref": "#/$defs/CustomColors"
        },
        "LogoLastUploaded": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the logo was last uploaded."
        }
      },
      "required": [
        "CustomColors"
      ]
    },
    "StatusException": {
      "type": "object",
      "properties": {
        "Exception": {
          "type": "string",
          "description": "The exception."
        },
        "Message": {
          "type": "string",
          "description": "The error message."
        }
      }
    }
  }
}