{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-quicksight/json-schema/amazon-quicksight-update-oauth-client-application-request-schema.json",
  "title": "UpdateOAuthClientApplicationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-quicksight-oauth-client-applications-api-openapi.yml#/components/schemas/UpdateOAuthClientApplicationRequest",
  "type": "object",
  "properties": {
    "AwsAccountId": {
      "type": "string",
      "description": "The Amazon Web Services account ID."
    },
    "OAuthClientApplicationId": {
      "type": "string",
      "description": "The ID of the OAuthClientApplication that you want to update."
    },
    "Name": {
      "type": "string",
      "description": "The display name for the OAuthClientApplication."
    },
    "ClientId": {
      "type": "string",
      "description": "The client ID of the OAuth application that is registered with the identity provider."
    },
    "ClientSecret": {
      "type": "string",
      "description": "The client secret of the OAuth application that is registered with the identity provider."
    },
    "OAuthTokenEndpointUrl": {
      "type": "string",
      "description": "The token endpoint URL of the identity provider that is used to obtain access tokens."
    },
    "OAuthAuthorizationEndpointUrl": {
      "type": "string",
      "description": "The authorization endpoint URL of the identity provider that is used to obtain authorization codes."
    },
    "OAuthScopes": {
      "type": "string",
      "description": "The OAuth scopes that are requested when the OAuthClientApplication obtains an access token from the identity provider."
    },
    "DataSourceType": {
      "type": "string",
      "enum": [
        "ADOBE_ANALYTICS",
        "AMAZON_ELASTICSEARCH",
        "ATHENA",
        "AURORA",
        "AURORA_POSTGRESQL",
        "AWS_IOT_ANALYTICS",
        "GITHUB",
        "JIRA",
        "MARIADB",
        "MYSQL",
        "ORACLE",
        "POSTGRESQL",
        "PRESTO",
        "REDSHIFT",
        "S3",
        "S3_TABLES",
        "SALESFORCE",
        "SERVICENOW",
        "SNOWFLAKE",
        "SPARK",
        "SQLSERVER",
        "TERADATA",
        "TWITTER",
        "TIMESTREAM",
        "AMAZON_OPENSEARCH",
        "EXASOL",
        "DATABRICKS",
        "STARBURST",
        "TRINO",
        "BIGQUERY",
        "GOOGLESHEETS",
        "GOOGLE_DRIVE",
        "CONFLUENCE",
        "SHAREPOINT",
        "ONE_DRIVE",
        "WEB_CRAWLER",
        "S3_KNOWLEDGE_BASE",
        "QBUSINESS"
      ],
      "description": "The type of data source that the OAuthClientApplication is used with. Valid values are SNOWFLAKE."
    },
    "IdentityProviderVpcConnectionProperties": {
      "$ref": "#/$defs/VpcConnectionProperties"
    }
  },
  "required": [
    "AwsAccountId",
    "OAuthClientApplicationId",
    "Name"
  ],
  "$defs": {
    "VpcConnectionProperties": {
      "type": "object",
      "properties": {
        "VpcConnectionArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the VPC connection."
        }
      },
      "required": [
        "VpcConnectionArn"
      ]
    }
  }
}