{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-create-redshift-idc-application-result-schema.json",
  "title": "CreateRedshiftIdcApplicationResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-redshift-idc-application-api-openapi.yml#/components/schemas/CreateRedshiftIdcApplicationResult",
  "type": "object",
  "properties": {
    "RedshiftIdcApplication": {
      "$ref": "#/$defs/RedshiftIdcApplication"
    }
  },
  "$defs": {
    "AuthorizedTokenIssuer": {
      "type": "object",
      "properties": {
        "TrustedTokenIssuerArn": {
          "type": "string",
          "description": "The ARN for the authorized token issuer for integrating Amazon Redshift with IDC Identity Center."
        },
        "AuthorizedAudiencesList": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of audiences for the authorized token issuer for integrating Amazon Redshift with IDC Identity Center."
        }
      }
    },
    "Connect": {
      "type": "object",
      "properties": {
        "Authorization": {
          "type": "string",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "description": "Determines whether the Amazon Redshift connect integration is enabled or disabled for the application."
        }
      },
      "required": [
        "Authorization"
      ]
    },
    "LakeFormationQuery": {
      "type": "object",
      "properties": {
        "Authorization": {
          "type": "string",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "description": "Determines whether the query scope is enabled or disabled."
        }
      },
      "required": [
        "Authorization"
      ]
    },
    "LakeFormationScopeUnion": {
      "type": "object",
      "properties": {
        "LakeFormationQuery": {
          "$ref": "#/$defs/LakeFormationQuery"
        }
      },
      "description": "Exactly one member is set."
    },
    "ReadWriteAccess": {
      "type": "object",
      "properties": {
        "Authorization": {
          "type": "string",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "description": "Determines whether the read/write scope is enabled or disabled."
        }
      },
      "required": [
        "Authorization"
      ]
    },
    "RedshiftIdcApplication": {
      "type": "object",
      "properties": {
        "IdcInstanceArn": {
          "type": "string",
          "description": "The ARN for the IAM Identity Center instance that Redshift integrates with."
        },
        "RedshiftIdcApplicationName": {
          "type": "string",
          "description": "The name of the Redshift application in IAM Identity Center."
        },
        "RedshiftIdcApplicationArn": {
          "type": "string",
          "description": "The ARN for the Redshift application that integrates with IAM Identity Center."
        },
        "IdentityNamespace": {
          "type": "string",
          "description": "The identity namespace for the Amazon Redshift IAM Identity Center application. It determines which managed application verifies the connection token."
        },
        "IdcDisplayName": {
          "type": "string",
          "description": "The display name for the Amazon Redshift IAM Identity Center application. It appears on the console."
        },
        "IamRoleArn": {
          "type": "string",
          "description": "The ARN for the Amazon Redshift IAM Identity Center application. It has the required permissions to be assumed and invoke the IDC Identity Center API."
        },
        "IdcManagedApplicationArn": {
          "type": "string",
          "description": "The ARN for the Amazon Redshift IAM Identity Center application."
        },
        "IdcOnboardStatus": {
          "type": "string",
          "description": "The onboarding status for the Amazon Redshift IAM Identity Center application."
        },
        "AuthorizedTokenIssuerList": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AuthorizedTokenIssuer"
          },
          "description": "The authorized token issuer list for the Amazon Redshift IAM Identity Center application."
        },
        "ServiceIntegrations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ServiceIntegrationsUnion"
          },
          "description": "A list of service integrations for the Redshift IAM Identity Center application."
        },
        "ApplicationType": {
          "type": "string",
          "enum": [
            "None",
            "Lakehouse"
          ],
          "description": "The type of application being created. Valid values are None or Lakehouse. Use Lakehouse to enable Amazon Redshift federated permissions on cluster."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "A list of tags."
        },
        "SsoTagKeys": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of tags keys that Redshift Identity Center applications copy to IAM Identity Center. For each input key, the tag corresponding to the key-value pair is propagated."
        }
      }
    },
    "RedshiftScopeUnion": {
      "type": "object",
      "properties": {
        "Connect": {
          "$ref": "#/$defs/Connect"
        }
      },
      "description": "Exactly one member is set."
    },
    "S3AccessGrantsScopeUnion": {
      "type": "object",
      "properties": {
        "ReadWriteAccess": {
          "$ref": "#/$defs/ReadWriteAccess"
        }
      },
      "description": "Exactly one member is set."
    },
    "ServiceIntegrationsUnion": {
      "type": "object",
      "properties": {
        "LakeFormation": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LakeFormationScopeUnion"
          },
          "description": "A list of scopes set up for Lake Formation integration."
        },
        "S3AccessGrants": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/S3AccessGrantsScopeUnion"
          },
          "description": "A list of scopes set up for S3 Access Grants integration."
        },
        "Redshift": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RedshiftScopeUnion"
          },
          "description": "A list of scopes set up for Amazon Redshift integration."
        }
      },
      "description": "Exactly one member is set."
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key, or name, for the resource tag."
        },
        "Value": {
          "type": "string",
          "description": "The value for the resource tag."
        }
      }
    }
  }
}