{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/AwsAccountId",
  "/properties/CustomPermissionsName"
 ],
 "definitions": {
  "Capabilities": {
   "additionalProperties": false,
   "properties": {
    "Action": {
     "$ref": "#/definitions/CapabilityState"
    },
    "AddOrRunAnomalyDetectionForAnalyses": {
     "$ref": "#/definitions/CapabilityState"
    },
    "Analysis": {
     "$ref": "#/definitions/CapabilityState"
    },
    "Automate": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ChatAgent": {
     "$ref": "#/definitions/CapabilityState"
    },
    "CreateAndUpdateDashboardEmailReports": {
     "$ref": "#/definitions/CapabilityState"
    },
    "CreateAndUpdateDataSources": {
     "$ref": "#/definitions/CapabilityState"
    },
    "CreateAndUpdateDatasets": {
     "$ref": "#/definitions/CapabilityState"
    },
    "CreateAndUpdateThemes": {
     "$ref": "#/definitions/CapabilityState"
    },
    "CreateAndUpdateThresholdAlerts": {
     "$ref": "#/definitions/CapabilityState"
    },
    "CreateChatAgents": {
     "$ref": "#/definitions/CapabilityState"
    },
    "CreateSPICEDataset": {
     "$ref": "#/definitions/CapabilityState"
    },
    "CreateSharedFolders": {
     "$ref": "#/definitions/CapabilityState"
    },
    "Dashboard": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ExportToCsv": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ExportToCsvInScheduledReports": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ExportToExcel": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ExportToExcelInScheduledReports": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ExportToPdf": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ExportToPdfInScheduledReports": {
     "$ref": "#/definitions/CapabilityState"
    },
    "Flow": {
     "$ref": "#/definitions/CapabilityState"
    },
    "IncludeContentInScheduledReportsEmail": {
     "$ref": "#/definitions/CapabilityState"
    },
    "KnowledgeBase": {
     "$ref": "#/definitions/CapabilityState"
    },
    "PerformFlowUiTask": {
     "$ref": "#/definitions/CapabilityState"
    },
    "PrintReports": {
     "$ref": "#/definitions/CapabilityState"
    },
    "PublishWithoutApproval": {
     "$ref": "#/definitions/CapabilityState"
    },
    "RenameSharedFolders": {
     "$ref": "#/definitions/CapabilityState"
    },
    "Research": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ShareAnalyses": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ShareDashboards": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ShareDataSources": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ShareDatasets": {
     "$ref": "#/definitions/CapabilityState"
    },
    "Space": {
     "$ref": "#/definitions/CapabilityState"
    },
    "SubscribeDashboardEmailReports": {
     "$ref": "#/definitions/CapabilityState"
    },
    "UseAgentWebSearch": {
     "$ref": "#/definitions/CapabilityState"
    },
    "UseBedrockModels": {
     "$ref": "#/definitions/CapabilityState"
    },
    "ViewAccountSPICECapacity": {
     "$ref": "#/definitions/CapabilityState"
    }
   },
   "type": "object"
  },
  "CapabilityState": {
   "enum": [
    "DENY"
   ],
   "type": "string"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/AwsAccountId",
  "/properties/CustomPermissionsName"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "AwsAccountId": {
   "maxLength": 12,
   "minLength": 12,
   "pattern": "^[0-9]{12}$",
   "type": "string"
  },
  "Capabilities": {
   "$ref": "#/definitions/Capabilities"
  },
  "CustomPermissionsName": {
   "maxLength": 64,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9+=,.@_-]+$",
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 200,
   "minItems": 1,
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn"
 ],
 "required": [
  "AwsAccountId",
  "CustomPermissionsName"
 ],
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::QuickSight::CustomPermissions"
}
