{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dms/json-schema/amazon-dms-modify-data-provider-message-schema.json",
  "title": "ModifyDataProviderMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dms-data-provider-api-openapi.yml#/components/schemas/ModifyDataProviderMessage",
  "type": "object",
  "properties": {
    "DataProviderIdentifier": {
      "type": "string",
      "description": "The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens."
    },
    "DataProviderName": {
      "type": "string",
      "description": "The name of the data provider."
    },
    "Description": {
      "type": "string",
      "description": "A user-friendly description of the data provider."
    },
    "Engine": {
      "type": "string",
      "description": "The type of database engine for the data provider. Valid values: aurora, aurora-postgresql, db2, db2-zos, docdb, mariadb, mongodb, mysql, oracle, postgres, redshift, sqlserver, and sybase. A value of aurora represents Amazon Aurora MySQL-Compatible Edition."
    },
    "Virtual": {
      "type": "boolean",
      "description": "Indicates whether the data provider is virtual."
    },
    "ExactSettings": {
      "type": "boolean",
      "description": "If this attribute is Y, the current call to ModifyDataProvider replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call to ModifyDataProvider does two things: It replaces any data provider settings that already exist with new values, for settings with the same names. It creates new data provider settings that you specify in the call, for settings with different names."
    },
    "Settings": {
      "$ref": "#/$defs/DataProviderSettings"
    }
  },
  "required": [
    "DataProviderIdentifier"
  ],
  "$defs": {
    "DataProviderSettings": {
      "type": "object",
      "properties": {
        "RedshiftSettings": {
          "$ref": "#/$defs/RedshiftDataProviderSettings"
        },
        "PostgreSqlSettings": {
          "$ref": "#/$defs/PostgreSqlDataProviderSettings"
        },
        "MySqlSettings": {
          "$ref": "#/$defs/MySqlDataProviderSettings"
        },
        "OracleSettings": {
          "$ref": "#/$defs/OracleDataProviderSettings"
        },
        "SybaseAseSettings": {
          "$ref": "#/$defs/SybaseAseDataProviderSettings"
        },
        "MicrosoftSqlServerSettings": {
          "$ref": "#/$defs/MicrosoftSqlServerDataProviderSettings"
        },
        "DocDbSettings": {
          "$ref": "#/$defs/DocDbDataProviderSettings"
        },
        "MariaDbSettings": {
          "$ref": "#/$defs/MariaDbDataProviderSettings"
        },
        "IbmDb2LuwSettings": {
          "$ref": "#/$defs/IbmDb2LuwDataProviderSettings"
        },
        "IbmDb2zOsSettings": {
          "$ref": "#/$defs/IbmDb2zOsDataProviderSettings"
        },
        "MongoDbSettings": {
          "$ref": "#/$defs/MongoDbDataProviderSettings"
        }
      },
      "description": "Exactly one member is set."
    },
    "DocDbDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the source DocumentDB server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the DocumentDB data provider."
        },
        "DatabaseName": {
          "type": "string",
          "description": "The database name on the DocumentDB data provider."
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the DocumentDB data provider. The default value is none."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        }
      }
    },
    "IbmDb2LuwDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the DB2 LUW server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the DB2 LUW data provider."
        },
        "DatabaseName": {
          "type": "string",
          "description": "The database name on the DB2 LUW data provider."
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the DB2 LUW data provider. The default value is none. Valid Values: none and verify-ca."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        },
        "EncryptionAlgorithm": {
          "type": "integer",
          "description": "The encryption algorithm used for securing the connection to the IBM DB2 LUW database server. You can provide an integer value corresponding to a specific encryption algorithm, or leave this parameter empty to use the default behavior."
        },
        "SecurityMechanism": {
          "type": "integer",
          "description": "The security mechanism used for authenticating the connection to the IBM DB2 LUW database server. You can provide an integer value corresponding to a specific security mechanism, or leave this parameter empty to use the default behavior."
        },
        "S3Path": {
          "type": "string",
          "description": "The path for the Amazon S3 bucket that the application uses for accessing the user-defined schema."
        },
        "S3AccessRoleArn": {
          "type": "string",
          "description": "The ARN for the role the application uses to access its Amazon S3 bucket."
        }
      }
    },
    "IbmDb2zOsDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the DB2 for z/OS server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the DB2 for z/OS data provider."
        },
        "DatabaseName": {
          "type": "string",
          "description": "The database name on the DB2 for z/OS data provider."
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the DB2 for z/OS data provider. The default value is none. Valid Values: none and verify-ca."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        },
        "S3Path": {
          "type": "string",
          "description": "The path for the Amazon S3 bucket that the application uses for accessing the user-defined schema."
        },
        "S3AccessRoleArn": {
          "type": "string",
          "description": "The ARN for the role the application uses to access its Amazon S3 bucket."
        }
      }
    },
    "MariaDbDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the MariaDB server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the MariaDB data provider"
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the MariaDB data provider. The default value is none."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        },
        "S3Path": {
          "type": "string",
          "description": "The path for the Amazon S3 bucket that the application uses for accessing the user-defined schema."
        },
        "S3AccessRoleArn": {
          "type": "string",
          "description": "The ARN for the role the application uses to access its Amazon S3 bucket."
        }
      }
    },
    "MicrosoftSqlServerDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the Microsoft SQL Server server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the Microsoft SQL Server data provider."
        },
        "DatabaseName": {
          "type": "string",
          "description": "The database name on the Microsoft SQL Server data provider."
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the Microsoft SQL Server data provider. The default value is none."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        },
        "S3Path": {
          "type": "string",
          "description": "The path for the Amazon S3 bucket that the application uses for accessing the user-defined schema."
        },
        "S3AccessRoleArn": {
          "type": "string",
          "description": "The ARN for the role the application uses to access its Amazon S3 bucket."
        }
      }
    },
    "MongoDbDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the MongoDB server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the MongoDB data provider."
        },
        "DatabaseName": {
          "type": "string",
          "description": "The database name on the MongoDB data provider."
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the MongoDB data provider. The default value is none."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        },
        "AuthType": {
          "type": "string",
          "enum": [
            "no",
            "password"
          ],
          "description": "The authentication type for the database connection. Valid values are PASSWORD or NO."
        },
        "AuthSource": {
          "type": "string",
          "description": "The MongoDB database name. This setting isn't used when AuthType is set to \"no\". The default is \"admin\"."
        },
        "AuthMechanism": {
          "type": "string",
          "enum": [
            "default",
            "mongodb_cr",
            "scram_sha_1"
          ],
          "description": "The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1."
        }
      }
    },
    "MySqlDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the MySQL server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the MySQL data provider."
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the MySQL data provider. The default value is none."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        },
        "S3Path": {
          "type": "string",
          "description": "The path for the Amazon S3 bucket that the application uses for accessing the user-defined schema."
        },
        "S3AccessRoleArn": {
          "type": "string",
          "description": "The ARN for the role the application uses to access its Amazon S3 bucket."
        }
      }
    },
    "OracleDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the Oracle server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the Oracle data provider."
        },
        "DatabaseName": {
          "type": "string",
          "description": "The database name on the Oracle data provider."
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the Oracle data provider. The default value is none."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        },
        "AsmServer": {
          "type": "string",
          "description": "The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from the asm_server value. You set asm_server as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database."
        },
        "SecretsManagerOracleAsmSecretId": {
          "type": "string",
          "description": "The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details. Required only if your data provider uses the Oracle ASM server."
        },
        "SecretsManagerOracleAsmAccessRoleArn": {
          "type": "string",
          "description": "The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details."
        },
        "SecretsManagerSecurityDbEncryptionSecretId": {
          "type": "string",
          "description": "The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader."
        },
        "SecretsManagerSecurityDbEncryptionAccessRoleArn": {
          "type": "string",
          "description": "The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password."
        },
        "S3Path": {
          "type": "string",
          "description": "The path for the Amazon S3 bucket that the application uses for accessing the user-defined schema."
        },
        "S3AccessRoleArn": {
          "type": "string",
          "description": "The ARN for the role the application uses to access its Amazon S3 bucket."
        }
      }
    },
    "PostgreSqlDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the PostgreSQL server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the PostgreSQL data provider."
        },
        "DatabaseName": {
          "type": "string",
          "description": "The database name on the PostgreSQL data provider."
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the PostgreSQL data provider. The default value is none."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        },
        "S3Path": {
          "type": "string",
          "description": "The path for the Amazon S3 bucket that the application uses for accessing the user-defined schema."
        },
        "S3AccessRoleArn": {
          "type": "string",
          "description": "The ARN for the role the application uses to access its Amazon S3 bucket."
        }
      }
    },
    "RedshiftDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the Amazon Redshift server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the Amazon Redshift data provider."
        },
        "DatabaseName": {
          "type": "string",
          "description": "The database name on the Amazon Redshift data provider."
        },
        "S3Path": {
          "type": "string",
          "description": "The path for the Amazon S3 bucket that the application uses for accessing the user-defined schema."
        },
        "S3AccessRoleArn": {
          "type": "string",
          "description": "The ARN for the role the application uses to access its Amazon S3 bucket."
        }
      }
    },
    "SybaseAseDataProviderSettings": {
      "type": "object",
      "properties": {
        "ServerName": {
          "type": "string",
          "description": "The name of the SAP ASE server."
        },
        "Port": {
          "type": "integer",
          "description": "The port value for the SAP ASE data provider."
        },
        "DatabaseName": {
          "type": "string",
          "description": "The database name on the SAP ASE data provider."
        },
        "SslMode": {
          "type": "string",
          "enum": [
            "none",
            "require",
            "verify-ca",
            "verify-full"
          ],
          "description": "The SSL mode used to connect to the SAP ASE data provider. The default value is none."
        },
        "EncryptPassword": {
          "type": "boolean",
          "description": "Specifies whether to encrypt the password when connecting to the Sybase ASE database. When set to true, the connection password is encrypted during transmission. Default is true."
        },
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate used for SSL connection."
        }
      }
    }
  }
}