Chilkat Online Tools

ModifyEndpoint Swift Example

AWS Database Migration Service

func chilkatTest() {
    // This example requires the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    let rest = CkoRest()
    var success: Bool

    let authAws = CkoAuthAws()
    authAws.AccessKey = "AWS_ACCESS_KEY"
    authAws.SecretKey = "AWS_SECRET_KEY"

    // Don't forget to change the region to your particular region. (Also make the same change in the call to Connect below.)
    authAws.Region = "us-west-2"
    authAws.ServiceName = "dms"
    // SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
    rest.SetAuthAws(authAws)

    // URL: https://dms.us-west-2.amazonaws.com/
    // Use the same region as specified above.
    success = rest.Connect("dms.us-west-2.amazonaws.com", port: 443, tls: true, autoReconnect: true)
    if success != true {
        print("ConnectFailReason: \(rest.ConnectFailReason.intValue)")
        print("\(rest.LastErrorText)")
        return
    }

    // The following code creates the JSON request body.
    // The JSON created by this code is shown below.

    // Use this online tool to generate code from sample JSON:
    // Generate Code to Create JSON

    let json = CkoJsonObject()
    json.UpdateString("CertificateArn", value: "string")
    json.UpdateString("DatabaseName", value: "string")
    json.UpdateString("DmsTransferSettings.BucketName", value: "string")
    json.UpdateString("DmsTransferSettings.ServiceAccessRoleArn", value: "string")
    json.UpdateString("DocDbSettings.DatabaseName", value: "string")
    json.UpdateInt("DocDbSettings.DocsToInvestigate", value: 123)
    json.UpdateInt("DocDbSettings.ExtractDocId", value: 123)
    json.UpdateString("DocDbSettings.KmsKeyId", value: "string")
    json.UpdateString("DocDbSettings.NestingLevel", value: "string")
    json.UpdateString("DocDbSettings.Password", value: "string")
    json.UpdateInt("DocDbSettings.Port", value: 123)
    json.UpdateString("DocDbSettings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("DocDbSettings.SecretsManagerSecretId", value: "string")
    json.UpdateString("DocDbSettings.ServerName", value: "string")
    json.UpdateString("DocDbSettings.Username", value: "string")
    json.UpdateString("DynamoDbSettings.ServiceAccessRoleArn", value: "string")
    json.UpdateString("ElasticsearchSettings.EndpointUri", value: "string")
    json.UpdateInt("ElasticsearchSettings.ErrorRetryDuration", value: 123)
    json.UpdateInt("ElasticsearchSettings.FullLoadErrorPercentage", value: 123)
    json.UpdateString("ElasticsearchSettings.ServiceAccessRoleArn", value: "string")
    json.UpdateString("EndpointArn", value: "string")
    json.UpdateString("EndpointIdentifier", value: "string")
    json.UpdateString("EndpointType", value: "string")
    json.UpdateString("EngineName", value: "string")
    json.UpdateInt("ExactSettings", value: 123)
    json.UpdateString("ExternalTableDefinition", value: "string")
    json.UpdateString("ExtraConnectionAttributes", value: "string")
    json.UpdateString("GcpMySQLSettings.AfterConnectScript", value: "string")
    json.UpdateInt("GcpMySQLSettings.CleanSourceMetadataOnMismatch", value: 123)
    json.UpdateString("GcpMySQLSettings.DatabaseName", value: "string")
    json.UpdateInt("GcpMySQLSettings.EventsPollInterval", value: 123)
    json.UpdateInt("GcpMySQLSettings.MaxFileSize", value: 123)
    json.UpdateInt("GcpMySQLSettings.ParallelLoadThreads", value: 123)
    json.UpdateString("GcpMySQLSettings.Password", value: "string")
    json.UpdateInt("GcpMySQLSettings.Port", value: 123)
    json.UpdateString("GcpMySQLSettings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("GcpMySQLSettings.SecretsManagerSecretId", value: "string")
    json.UpdateString("GcpMySQLSettings.ServerName", value: "string")
    json.UpdateString("GcpMySQLSettings.ServerTimezone", value: "string")
    json.UpdateString("GcpMySQLSettings.TargetDbType", value: "string")
    json.UpdateString("GcpMySQLSettings.Username", value: "string")
    json.UpdateString("IBMDb2Settings.CurrentLsn", value: "string")
    json.UpdateString("IBMDb2Settings.DatabaseName", value: "string")
    json.UpdateInt("IBMDb2Settings.MaxKBytesPerRead", value: 123)
    json.UpdateString("IBMDb2Settings.Password", value: "string")
    json.UpdateInt("IBMDb2Settings.Port", value: 123)
    json.UpdateString("IBMDb2Settings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("IBMDb2Settings.SecretsManagerSecretId", value: "string")
    json.UpdateString("IBMDb2Settings.ServerName", value: "string")
    json.UpdateInt("IBMDb2Settings.SetDataCaptureChanges", value: 123)
    json.UpdateString("IBMDb2Settings.Username", value: "string")
    json.UpdateString("KafkaSettings.Broker", value: "string")
    json.UpdateInt("KafkaSettings.IncludeControlDetails", value: 123)
    json.UpdateInt("KafkaSettings.IncludeNullAndEmpty", value: 123)
    json.UpdateInt("KafkaSettings.IncludePartitionValue", value: 123)
    json.UpdateInt("KafkaSettings.IncludeTableAlterOperations", value: 123)
    json.UpdateInt("KafkaSettings.IncludeTransactionDetails", value: 123)
    json.UpdateString("KafkaSettings.MessageFormat", value: "string")
    json.UpdateInt("KafkaSettings.MessageMaxBytes", value: 123)
    json.UpdateInt("KafkaSettings.NoHexPrefix", value: 123)
    json.UpdateInt("KafkaSettings.PartitionIncludeSchemaTable", value: 123)
    json.UpdateString("KafkaSettings.SaslPassword", value: "string")
    json.UpdateString("KafkaSettings.SaslUsername", value: "string")
    json.UpdateString("KafkaSettings.SecurityProtocol", value: "string")
    json.UpdateString("KafkaSettings.SslCaCertificateArn", value: "string")
    json.UpdateString("KafkaSettings.SslClientCertificateArn", value: "string")
    json.UpdateString("KafkaSettings.SslClientKeyArn", value: "string")
    json.UpdateString("KafkaSettings.SslClientKeyPassword", value: "string")
    json.UpdateString("KafkaSettings.Topic", value: "string")
    json.UpdateInt("KinesisSettings.IncludeControlDetails", value: 123)
    json.UpdateInt("KinesisSettings.IncludeNullAndEmpty", value: 123)
    json.UpdateInt("KinesisSettings.IncludePartitionValue", value: 123)
    json.UpdateInt("KinesisSettings.IncludeTableAlterOperations", value: 123)
    json.UpdateInt("KinesisSettings.IncludeTransactionDetails", value: 123)
    json.UpdateString("KinesisSettings.MessageFormat", value: "string")
    json.UpdateInt("KinesisSettings.NoHexPrefix", value: 123)
    json.UpdateInt("KinesisSettings.PartitionIncludeSchemaTable", value: 123)
    json.UpdateString("KinesisSettings.ServiceAccessRoleArn", value: "string")
    json.UpdateString("KinesisSettings.StreamArn", value: "string")
    json.UpdateInt("MicrosoftSQLServerSettings.BcpPacketSize", value: 123)
    json.UpdateString("MicrosoftSQLServerSettings.ControlTablesFileGroup", value: "string")
    json.UpdateString("MicrosoftSQLServerSettings.DatabaseName", value: "string")
    json.UpdateString("MicrosoftSQLServerSettings.Password", value: "string")
    json.UpdateInt("MicrosoftSQLServerSettings.Port", value: 123)
    json.UpdateInt("MicrosoftSQLServerSettings.QuerySingleAlwaysOnNode", value: 123)
    json.UpdateInt("MicrosoftSQLServerSettings.ReadBackupOnly", value: 123)
    json.UpdateString("MicrosoftSQLServerSettings.SafeguardPolicy", value: "string")
    json.UpdateString("MicrosoftSQLServerSettings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("MicrosoftSQLServerSettings.SecretsManagerSecretId", value: "string")
    json.UpdateString("MicrosoftSQLServerSettings.ServerName", value: "string")
    json.UpdateInt("MicrosoftSQLServerSettings.UseBcpFullLoad", value: 123)
    json.UpdateString("MicrosoftSQLServerSettings.Username", value: "string")
    json.UpdateInt("MicrosoftSQLServerSettings.UseThirdPartyBackupDevice", value: 123)
    json.UpdateString("MongoDbSettings.AuthMechanism", value: "string")
    json.UpdateString("MongoDbSettings.AuthSource", value: "string")
    json.UpdateString("MongoDbSettings.AuthType", value: "string")
    json.UpdateString("MongoDbSettings.DatabaseName", value: "string")
    json.UpdateString("MongoDbSettings.DocsToInvestigate", value: "string")
    json.UpdateString("MongoDbSettings.ExtractDocId", value: "string")
    json.UpdateString("MongoDbSettings.KmsKeyId", value: "string")
    json.UpdateString("MongoDbSettings.NestingLevel", value: "string")
    json.UpdateString("MongoDbSettings.Password", value: "string")
    json.UpdateInt("MongoDbSettings.Port", value: 123)
    json.UpdateString("MongoDbSettings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("MongoDbSettings.SecretsManagerSecretId", value: "string")
    json.UpdateString("MongoDbSettings.ServerName", value: "string")
    json.UpdateString("MongoDbSettings.Username", value: "string")
    json.UpdateString("MySQLSettings.AfterConnectScript", value: "string")
    json.UpdateInt("MySQLSettings.CleanSourceMetadataOnMismatch", value: 123)
    json.UpdateString("MySQLSettings.DatabaseName", value: "string")
    json.UpdateInt("MySQLSettings.EventsPollInterval", value: 123)
    json.UpdateInt("MySQLSettings.MaxFileSize", value: 123)
    json.UpdateInt("MySQLSettings.ParallelLoadThreads", value: 123)
    json.UpdateString("MySQLSettings.Password", value: "string")
    json.UpdateInt("MySQLSettings.Port", value: 123)
    json.UpdateString("MySQLSettings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("MySQLSettings.SecretsManagerSecretId", value: "string")
    json.UpdateString("MySQLSettings.ServerName", value: "string")
    json.UpdateString("MySQLSettings.ServerTimezone", value: "string")
    json.UpdateString("MySQLSettings.TargetDbType", value: "string")
    json.UpdateString("MySQLSettings.Username", value: "string")
    json.UpdateInt("NeptuneSettings.ErrorRetryDuration", value: 123)
    json.UpdateInt("NeptuneSettings.IamAuthEnabled", value: 123)
    json.UpdateInt("NeptuneSettings.MaxFileSize", value: 123)
    json.UpdateInt("NeptuneSettings.MaxRetryCount", value: 123)
    json.UpdateString("NeptuneSettings.S3BucketFolder", value: "string")
    json.UpdateString("NeptuneSettings.S3BucketName", value: "string")
    json.UpdateString("NeptuneSettings.ServiceAccessRoleArn", value: "string")
    json.UpdateInt("OracleSettings.AccessAlternateDirectly", value: 123)
    json.UpdateInt("OracleSettings.AdditionalArchivedLogDestId", value: 123)
    json.UpdateInt("OracleSettings.AddSupplementalLogging", value: 123)
    json.UpdateInt("OracleSettings.AllowSelectNestedTables", value: 123)
    json.UpdateInt("OracleSettings.ArchivedLogDestId", value: 123)
    json.UpdateInt("OracleSettings.ArchivedLogsOnly", value: 123)
    json.UpdateString("OracleSettings.AsmPassword", value: "string")
    json.UpdateString("OracleSettings.AsmServer", value: "string")
    json.UpdateString("OracleSettings.AsmUser", value: "string")
    json.UpdateString("OracleSettings.CharLengthSemantics", value: "string")
    json.UpdateString("OracleSettings.DatabaseName", value: "string")
    json.UpdateInt("OracleSettings.DirectPathNoLog", value: 123)
    json.UpdateInt("OracleSettings.DirectPathParallelLoad", value: 123)
    json.UpdateInt("OracleSettings.EnableHomogenousTablespace", value: 123)
ERROR: Undefined variable(number)
ERROR: Undefined variable(number)
ERROR: Undefined variable(number)
ERROR: Undefined variable(number)
ERROR: Undefined variable(number)
ERROR: Undefined variable(number)
    json.UpdateInt("OracleSettings.ExtraArchivedLogDestIds[0]", value: number)ERROR: Undefined variable(number)
ERROR: Undefined variable(number)

    json.UpdateInt("OracleSettings.FailTasksOnLobTruncation", value: 123)
    json.UpdateInt("OracleSettings.NumberDatatypeScale", value: 123)
    json.UpdateString("OracleSettings.OraclePathPrefix", value: "string")
    json.UpdateInt("OracleSettings.ParallelAsmReadThreads", value: 123)
    json.UpdateString("OracleSettings.Password", value: "string")
    json.UpdateInt("OracleSettings.Port", value: 123)
    json.UpdateInt("OracleSettings.ReadAheadBlocks", value: 123)
    json.UpdateInt("OracleSettings.ReadTableSpaceName", value: 123)
    json.UpdateInt("OracleSettings.ReplacePathPrefix", value: 123)
    json.UpdateInt("OracleSettings.RetryInterval", value: 123)
    json.UpdateString("OracleSettings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("OracleSettings.SecretsManagerOracleAsmAccessRoleArn", value: "string")
    json.UpdateString("OracleSettings.SecretsManagerOracleAsmSecretId", value: "string")
    json.UpdateString("OracleSettings.SecretsManagerSecretId", value: "string")
    json.UpdateString("OracleSettings.SecurityDbEncryption", value: "string")
    json.UpdateString("OracleSettings.SecurityDbEncryptionName", value: "string")
    json.UpdateString("OracleSettings.ServerName", value: "string")
    json.UpdateString("OracleSettings.SpatialDataOptionToGeoJsonFunctionName", value: "string")
    json.UpdateInt("OracleSettings.StandbyDelayTime", value: 123)
    json.UpdateInt("OracleSettings.UseAlternateFolderForOnline", value: 123)
    json.UpdateInt("OracleSettings.UseBFile", value: 123)
    json.UpdateInt("OracleSettings.UseDirectPathFullLoad", value: 123)
    json.UpdateInt("OracleSettings.UseLogminerReader", value: 123)
    json.UpdateString("OracleSettings.UsePathPrefix", value: "string")
    json.UpdateString("OracleSettings.Username", value: "string")
    json.UpdateString("Password", value: "string")
    json.UpdateInt("Port", value: 123)
    json.UpdateString("PostgreSQLSettings.AfterConnectScript", value: "string")
    json.UpdateInt("PostgreSQLSettings.CaptureDdls", value: 123)
    json.UpdateString("PostgreSQLSettings.DatabaseName", value: "string")
    json.UpdateString("PostgreSQLSettings.DdlArtifactsSchema", value: "string")
    json.UpdateInt("PostgreSQLSettings.ExecuteTimeout", value: 123)
    json.UpdateInt("PostgreSQLSettings.FailTasksOnLobTruncation", value: 123)
    json.UpdateInt("PostgreSQLSettings.HeartbeatEnable", value: 123)
    json.UpdateInt("PostgreSQLSettings.HeartbeatFrequency", value: 123)
    json.UpdateString("PostgreSQLSettings.HeartbeatSchema", value: "string")
    json.UpdateInt("PostgreSQLSettings.MaxFileSize", value: 123)
    json.UpdateString("PostgreSQLSettings.Password", value: "string")
    json.UpdateString("PostgreSQLSettings.PluginName", value: "string")
    json.UpdateInt("PostgreSQLSettings.Port", value: 123)
    json.UpdateString("PostgreSQLSettings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("PostgreSQLSettings.SecretsManagerSecretId", value: "string")
    json.UpdateString("PostgreSQLSettings.ServerName", value: "string")
    json.UpdateString("PostgreSQLSettings.SlotName", value: "string")
    json.UpdateString("PostgreSQLSettings.Username", value: "string")
    json.UpdateString("RedisSettings.AuthPassword", value: "string")
    json.UpdateString("RedisSettings.AuthType", value: "string")
    json.UpdateString("RedisSettings.AuthUserName", value: "string")
    json.UpdateInt("RedisSettings.Port", value: 123)
    json.UpdateString("RedisSettings.ServerName", value: "string")
    json.UpdateString("RedisSettings.SslCaCertificateArn", value: "string")
    json.UpdateString("RedisSettings.SslSecurityProtocol", value: "string")
    json.UpdateInt("RedshiftSettings.AcceptAnyDate", value: 123)
    json.UpdateString("RedshiftSettings.AfterConnectScript", value: "string")
    json.UpdateString("RedshiftSettings.BucketFolder", value: "string")
    json.UpdateString("RedshiftSettings.BucketName", value: "string")
    json.UpdateInt("RedshiftSettings.CaseSensitiveNames", value: 123)
    json.UpdateInt("RedshiftSettings.CompUpdate", value: 123)
    json.UpdateInt("RedshiftSettings.ConnectionTimeout", value: 123)
    json.UpdateString("RedshiftSettings.DatabaseName", value: "string")
    json.UpdateString("RedshiftSettings.DateFormat", value: "string")
    json.UpdateInt("RedshiftSettings.EmptyAsNull", value: 123)
    json.UpdateString("RedshiftSettings.EncryptionMode", value: "string")
    json.UpdateInt("RedshiftSettings.ExplicitIds", value: 123)
    json.UpdateInt("RedshiftSettings.FileTransferUploadStreams", value: 123)
    json.UpdateInt("RedshiftSettings.LoadTimeout", value: 123)
    json.UpdateInt("RedshiftSettings.MaxFileSize", value: 123)
    json.UpdateString("RedshiftSettings.Password", value: "string")
    json.UpdateInt("RedshiftSettings.Port", value: 123)
    json.UpdateInt("RedshiftSettings.RemoveQuotes", value: 123)
    json.UpdateString("RedshiftSettings.ReplaceChars", value: "string")
    json.UpdateString("RedshiftSettings.ReplaceInvalidChars", value: "string")
    json.UpdateString("RedshiftSettings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("RedshiftSettings.SecretsManagerSecretId", value: "string")
    json.UpdateString("RedshiftSettings.ServerName", value: "string")
    json.UpdateString("RedshiftSettings.ServerSideEncryptionKmsKeyId", value: "string")
    json.UpdateString("RedshiftSettings.ServiceAccessRoleArn", value: "string")
    json.UpdateString("RedshiftSettings.TimeFormat", value: "string")
    json.UpdateInt("RedshiftSettings.TrimBlanks", value: 123)
    json.UpdateInt("RedshiftSettings.TruncateColumns", value: 123)
    json.UpdateString("RedshiftSettings.Username", value: "string")
    json.UpdateInt("RedshiftSettings.WriteBufferSize", value: 123)
    json.UpdateInt("S3Settings.AddColumnName", value: 123)
    json.UpdateString("S3Settings.BucketFolder", value: "string")
    json.UpdateString("S3Settings.BucketName", value: "string")
    json.UpdateString("S3Settings.CannedAclForObjects", value: "string")
    json.UpdateInt("S3Settings.CdcInsertsAndUpdates", value: 123)
    json.UpdateInt("S3Settings.CdcInsertsOnly", value: 123)
    json.UpdateInt("S3Settings.CdcMaxBatchInterval", value: 123)
    json.UpdateInt("S3Settings.CdcMinFileSize", value: 123)
    json.UpdateString("S3Settings.CdcPath", value: "string")
    json.UpdateString("S3Settings.CompressionType", value: "string")
    json.UpdateString("S3Settings.CsvDelimiter", value: "string")
    json.UpdateString("S3Settings.CsvNoSupValue", value: "string")
    json.UpdateString("S3Settings.CsvNullValue", value: "string")
    json.UpdateString("S3Settings.CsvRowDelimiter", value: "string")
    json.UpdateString("S3Settings.DataFormat", value: "string")
    json.UpdateInt("S3Settings.DataPageSize", value: 123)
    json.UpdateString("S3Settings.DatePartitionDelimiter", value: "string")
    json.UpdateInt("S3Settings.DatePartitionEnabled", value: 123)
    json.UpdateString("S3Settings.DatePartitionSequence", value: "string")
    json.UpdateString("S3Settings.DatePartitionTimezone", value: "string")
    json.UpdateInt("S3Settings.DictPageSizeLimit", value: 123)
    json.UpdateInt("S3Settings.EnableStatistics", value: 123)
    json.UpdateString("S3Settings.EncodingType", value: "string")
    json.UpdateString("S3Settings.EncryptionMode", value: "string")
    json.UpdateString("S3Settings.ExternalTableDefinition", value: "string")
    json.UpdateInt("S3Settings.IgnoreHeaderRows", value: 123)
    json.UpdateInt("S3Settings.IncludeOpForFullLoad", value: 123)
    json.UpdateInt("S3Settings.MaxFileSize", value: 123)
    json.UpdateInt("S3Settings.ParquetTimestampInMillisecond", value: 123)
    json.UpdateString("S3Settings.ParquetVersion", value: "string")
    json.UpdateInt("S3Settings.PreserveTransactions", value: 123)
    json.UpdateInt("S3Settings.Rfc4180", value: 123)
    json.UpdateInt("S3Settings.RowGroupLength", value: 123)
    json.UpdateString("S3Settings.ServerSideEncryptionKmsKeyId", value: "string")
    json.UpdateString("S3Settings.ServiceAccessRoleArn", value: "string")
    json.UpdateString("S3Settings.TimestampColumnName", value: "string")
    json.UpdateInt("S3Settings.UseCsvNoSupValue", value: 123)
    json.UpdateInt("S3Settings.UseTaskStartTimeForFullLoadTimestamp", value: 123)
    json.UpdateString("ServerName", value: "string")
    json.UpdateString("ServiceAccessRoleArn", value: "string")
    json.UpdateString("SslMode", value: "string")
    json.UpdateString("SybaseSettings.DatabaseName", value: "string")
    json.UpdateString("SybaseSettings.Password", value: "string")
    json.UpdateInt("SybaseSettings.Port", value: 123)
    json.UpdateString("SybaseSettings.SecretsManagerAccessRoleArn", value: "string")
    json.UpdateString("SybaseSettings.SecretsManagerSecretId", value: "string")
    json.UpdateString("SybaseSettings.ServerName", value: "string")
    json.UpdateString("SybaseSettings.Username", value: "string")
    json.UpdateString("Username", value: "string")

    // The JSON request body created by the above code:

    // {
    //   "CertificateArn": "string",
    //   "DatabaseName": "string",
    //   "DmsTransferSettings": {
    //     "BucketName": "string",
    //     "ServiceAccessRoleArn": "string"
    //   },
    //   "DocDbSettings": {
    //     "DatabaseName": "string",
    //     "DocsToInvestigate": number,
    //     "ExtractDocId": boolean,
    //     "KmsKeyId": "string",
    //     "NestingLevel": "string",
    //     "Password": "string",
    //     "Port": number,
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerSecretId": "string",
    //     "ServerName": "string",
    //     "Username": "string"
    //   },
    //   "DynamoDbSettings": {
    //     "ServiceAccessRoleArn": "string"
    //   },
    //   "ElasticsearchSettings": {
    //     "EndpointUri": "string",
    //     "ErrorRetryDuration": number,
    //     "FullLoadErrorPercentage": number,
    //     "ServiceAccessRoleArn": "string"
    //   },
    //   "EndpointArn": "string",
    //   "EndpointIdentifier": "string",
    //   "EndpointType": "string",
    //   "EngineName": "string",
    //   "ExactSettings": boolean,
    //   "ExternalTableDefinition": "string",
    //   "ExtraConnectionAttributes": "string",
    //   "GcpMySQLSettings": {
    //     "AfterConnectScript": "string",
    //     "CleanSourceMetadataOnMismatch": boolean,
    //     "DatabaseName": "string",
    //     "EventsPollInterval": number,
    //     "MaxFileSize": number,
    //     "ParallelLoadThreads": number,
    //     "Password": "string",
    //     "Port": number,
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerSecretId": "string",
    //     "ServerName": "string",
    //     "ServerTimezone": "string",
    //     "TargetDbType": "string",
    //     "Username": "string"
    //   },
    //   "IBMDb2Settings": {
    //     "CurrentLsn": "string",
    //     "DatabaseName": "string",
    //     "MaxKBytesPerRead": number,
    //     "Password": "string",
    //     "Port": number,
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerSecretId": "string",
    //     "ServerName": "string",
    //     "SetDataCaptureChanges": boolean,
    //     "Username": "string"
    //   },
    //   "KafkaSettings": {
    //     "Broker": "string",
    //     "IncludeControlDetails": boolean,
    //     "IncludeNullAndEmpty": boolean,
    //     "IncludePartitionValue": boolean,
    //     "IncludeTableAlterOperations": boolean,
    //     "IncludeTransactionDetails": boolean,
    //     "MessageFormat": "string",
    //     "MessageMaxBytes": number,
    //     "NoHexPrefix": boolean,
    //     "PartitionIncludeSchemaTable": boolean,
    //     "SaslPassword": "string",
    //     "SaslUsername": "string",
    //     "SecurityProtocol": "string",
    //     "SslCaCertificateArn": "string",
    //     "SslClientCertificateArn": "string",
    //     "SslClientKeyArn": "string",
    //     "SslClientKeyPassword": "string",
    //     "Topic": "string"
    //   },
    //   "KinesisSettings": {
    //     "IncludeControlDetails": boolean,
    //     "IncludeNullAndEmpty": boolean,
    //     "IncludePartitionValue": boolean,
    //     "IncludeTableAlterOperations": boolean,
    //     "IncludeTransactionDetails": boolean,
    //     "MessageFormat": "string",
    //     "NoHexPrefix": boolean,
    //     "PartitionIncludeSchemaTable": boolean,
    //     "ServiceAccessRoleArn": "string",
    //     "StreamArn": "string"
    //   },
    //   "MicrosoftSQLServerSettings": {
    //     "BcpPacketSize": number,
    //     "ControlTablesFileGroup": "string",
    //     "DatabaseName": "string",
    //     "Password": "string",
    //     "Port": number,
    //     "QuerySingleAlwaysOnNode": boolean,
    //     "ReadBackupOnly": boolean,
    //     "SafeguardPolicy": "string",
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerSecretId": "string",
    //     "ServerName": "string",
    //     "UseBcpFullLoad": boolean,
    //     "Username": "string",
    //     "UseThirdPartyBackupDevice": boolean
    //   },
    //   "MongoDbSettings": {
    //     "AuthMechanism": "string",
    //     "AuthSource": "string",
    //     "AuthType": "string",
    //     "DatabaseName": "string",
    //     "DocsToInvestigate": "string",
    //     "ExtractDocId": "string",
    //     "KmsKeyId": "string",
    //     "NestingLevel": "string",
    //     "Password": "string",
    //     "Port": number,
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerSecretId": "string",
    //     "ServerName": "string",
    //     "Username": "string"
    //   },
    //   "MySQLSettings": {
    //     "AfterConnectScript": "string",
    //     "CleanSourceMetadataOnMismatch": boolean,
    //     "DatabaseName": "string",
    //     "EventsPollInterval": number,
    //     "MaxFileSize": number,
    //     "ParallelLoadThreads": number,
    //     "Password": "string",
    //     "Port": number,
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerSecretId": "string",
    //     "ServerName": "string",
    //     "ServerTimezone": "string",
    //     "TargetDbType": "string",
    //     "Username": "string"
    //   },
    //   "NeptuneSettings": {
    //     "ErrorRetryDuration": number,
    //     "IamAuthEnabled": boolean,
    //     "MaxFileSize": number,
    //     "MaxRetryCount": number,
    //     "S3BucketFolder": "string",
    //     "S3BucketName": "string",
    //     "ServiceAccessRoleArn": "string"
    //   },
    //   "OracleSettings": {
    //     "AccessAlternateDirectly": boolean,
    //     "AdditionalArchivedLogDestId": number,
    //     "AddSupplementalLogging": boolean,
    //     "AllowSelectNestedTables": boolean,
    //     "ArchivedLogDestId": number,
    //     "ArchivedLogsOnly": boolean,
    //     "AsmPassword": "string",
    //     "AsmServer": "string",
    //     "AsmUser": "string",
    //     "CharLengthSemantics": "string",
    //     "DatabaseName": "string",
    //     "DirectPathNoLog": boolean,
    //     "DirectPathParallelLoad": boolean,
    //     "EnableHomogenousTablespace": boolean,
    //     "ExtraArchivedLogDestIds": [
    //       number
    //     ],
    //     "FailTasksOnLobTruncation": boolean,
    //     "NumberDatatypeScale": number,
    //     "OraclePathPrefix": "string",
    //     "ParallelAsmReadThreads": number,
    //     "Password": "string",
    //     "Port": number,
    //     "ReadAheadBlocks": number,
    //     "ReadTableSpaceName": boolean,
    //     "ReplacePathPrefix": boolean,
    //     "RetryInterval": number,
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerOracleAsmAccessRoleArn": "string",
    //     "SecretsManagerOracleAsmSecretId": "string",
    //     "SecretsManagerSecretId": "string",
    //     "SecurityDbEncryption": "string",
    //     "SecurityDbEncryptionName": "string",
    //     "ServerName": "string",
    //     "SpatialDataOptionToGeoJsonFunctionName": "string",
    //     "StandbyDelayTime": number,
    //     "UseAlternateFolderForOnline": boolean,
    //     "UseBFile": boolean,
    //     "UseDirectPathFullLoad": boolean,
    //     "UseLogminerReader": boolean,
    //     "UsePathPrefix": "string",
    //     "Username": "string"
    //   },
    //   "Password": "string",
    //   "Port": number,
    //   "PostgreSQLSettings": {
    //     "AfterConnectScript": "string",
    //     "CaptureDdls": boolean,
    //     "DatabaseName": "string",
    //     "DdlArtifactsSchema": "string",
    //     "ExecuteTimeout": number,
    //     "FailTasksOnLobTruncation": boolean,
    //     "HeartbeatEnable": boolean,
    //     "HeartbeatFrequency": number,
    //     "HeartbeatSchema": "string",
    //     "MaxFileSize": number,
    //     "Password": "string",
    //     "PluginName": "string",
    //     "Port": number,
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerSecretId": "string",
    //     "ServerName": "string",
    //     "SlotName": "string",
    //     "Username": "string"
    //   },
    //   "RedisSettings": {
    //     "AuthPassword": "string",
    //     "AuthType": "string",
    //     "AuthUserName": "string",
    //     "Port": number,
    //     "ServerName": "string",
    //     "SslCaCertificateArn": "string",
    //     "SslSecurityProtocol": "string"
    //   },
    //   "RedshiftSettings": {
    //     "AcceptAnyDate": boolean,
    //     "AfterConnectScript": "string",
    //     "BucketFolder": "string",
    //     "BucketName": "string",
    //     "CaseSensitiveNames": boolean,
    //     "CompUpdate": boolean,
    //     "ConnectionTimeout": number,
    //     "DatabaseName": "string",
    //     "DateFormat": "string",
    //     "EmptyAsNull": boolean,
    //     "EncryptionMode": "string",
    //     "ExplicitIds": boolean,
    //     "FileTransferUploadStreams": number,
    //     "LoadTimeout": number,
    //     "MaxFileSize": number,
    //     "Password": "string",
    //     "Port": number,
    //     "RemoveQuotes": boolean,
    //     "ReplaceChars": "string",
    //     "ReplaceInvalidChars": "string",
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerSecretId": "string",
    //     "ServerName": "string",
    //     "ServerSideEncryptionKmsKeyId": "string",
    //     "ServiceAccessRoleArn": "string",
    //     "TimeFormat": "string",
    //     "TrimBlanks": boolean,
    //     "TruncateColumns": boolean,
    //     "Username": "string",
    //     "WriteBufferSize": number
    //   },
    //   "S3Settings": {
    //     "AddColumnName": boolean,
    //     "BucketFolder": "string",
    //     "BucketName": "string",
    //     "CannedAclForObjects": "string",
    //     "CdcInsertsAndUpdates": boolean,
    //     "CdcInsertsOnly": boolean,
    //     "CdcMaxBatchInterval": number,
    //     "CdcMinFileSize": number,
    //     "CdcPath": "string",
    //     "CompressionType": "string",
    //     "CsvDelimiter": "string",
    //     "CsvNoSupValue": "string",
    //     "CsvNullValue": "string",
    //     "CsvRowDelimiter": "string",
    //     "DataFormat": "string",
    //     "DataPageSize": number,
    //     "DatePartitionDelimiter": "string",
    //     "DatePartitionEnabled": boolean,
    //     "DatePartitionSequence": "string",
    //     "DatePartitionTimezone": "string",
    //     "DictPageSizeLimit": number,
    //     "EnableStatistics": boolean,
    //     "EncodingType": "string",
    //     "EncryptionMode": "string",
    //     "ExternalTableDefinition": "string",
    //     "IgnoreHeaderRows": number,
    //     "IncludeOpForFullLoad": boolean,
    //     "MaxFileSize": number,
    //     "ParquetTimestampInMillisecond": boolean,
    //     "ParquetVersion": "string",
    //     "PreserveTransactions": boolean,
    //     "Rfc4180": boolean,
    //     "RowGroupLength": number,
    //     "ServerSideEncryptionKmsKeyId": "string",
    //     "ServiceAccessRoleArn": "string",
    //     "TimestampColumnName": "string",
    //     "UseCsvNoSupValue": boolean,
    //     "UseTaskStartTimeForFullLoadTimestamp": boolean
    //   },
    //   "ServerName": "string",
    //   "ServiceAccessRoleArn": "string",
    //   "SslMode": "string",
    //   "SybaseSettings": {
    //     "DatabaseName": "string",
    //     "Password": "string",
    //     "Port": number,
    //     "SecretsManagerAccessRoleArn": "string",
    //     "SecretsManagerSecretId": "string",
    //     "ServerName": "string",
    //     "Username": "string"
    //   },
    //   "Username": "string"
    // }

    rest.AddHeader("Content-Type", value: "application/x-amz-json-1.1")
    rest.AddHeader("X-Amz-Target", value: "AmazonDMSv20160101.ModifyEndpoint")

    let sbRequestBody = CkoStringBuilder()
    json.EmitSb(sbRequestBody)
    let sbResponseBody = CkoStringBuilder()
    success = rest.FullRequestSb("POST", uriPath: "/", requestBody: sbRequestBody, responseBody: sbResponseBody)
    if success != true {
        print("\(rest.LastErrorText)")
        return
    }

    var respStatusCode: Int = rest.ResponseStatusCode.intValue
    print("response status code = \(respStatusCode)")
    if respStatusCode != 200 {
        print("Response Header:")
        print("\(rest.ResponseHeader)")
        print("Response Body:")
        print("\(sbResponseBody.GetAsString())")
        return
    }

    let jResp = CkoJsonObject()
    jResp.LoadSb(sbResponseBody)

    // The following code parses the JSON response.
    // A sample JSON response is shown below the sample code.

    // Use this online tool to generate parsing code from sample JSON:
    // Generate Parsing Code from JSON

    var intVal: Int

    var CertificateArn: String? = jResp.StringOf("Endpoint.CertificateArn")
    var DatabaseName: String? = jResp.StringOf("Endpoint.DatabaseName")
    var BucketName: String? = jResp.StringOf("Endpoint.DmsTransferSettings.BucketName")
    var ServiceAccessRoleArn: String? = jResp.StringOf("Endpoint.DmsTransferSettings.ServiceAccessRoleArn")
    var DocDbSettingsDatabaseName: String? = jResp.StringOf("Endpoint.DocDbSettings.DatabaseName")
    var DocsToInvestigate: Int = jResp.IntOf("Endpoint.DocDbSettings.DocsToInvestigate").intValue
    var ExtractDocId: Int = jResp.IntOf("Endpoint.DocDbSettings.ExtractDocId").intValue
    var KmsKeyId: String? = jResp.StringOf("Endpoint.DocDbSettings.KmsKeyId")
    var NestingLevel: String? = jResp.StringOf("Endpoint.DocDbSettings.NestingLevel")
    var Password: String? = jResp.StringOf("Endpoint.DocDbSettings.Password")
    var Port: Int = jResp.IntOf("Endpoint.DocDbSettings.Port").intValue
    var SecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.DocDbSettings.SecretsManagerAccessRoleArn")
    var SecretsManagerSecretId: String? = jResp.StringOf("Endpoint.DocDbSettings.SecretsManagerSecretId")
    var ServerName: String? = jResp.StringOf("Endpoint.DocDbSettings.ServerName")
    var Username: String? = jResp.StringOf("Endpoint.DocDbSettings.Username")
    var DynamoDbSettingsServiceAccessRoleArn: String? = jResp.StringOf("Endpoint.DynamoDbSettings.ServiceAccessRoleArn")
    var EndpointUri: String? = jResp.StringOf("Endpoint.ElasticsearchSettings.EndpointUri")
    var ErrorRetryDuration: Int = jResp.IntOf("Endpoint.ElasticsearchSettings.ErrorRetryDuration").intValue
    var FullLoadErrorPercentage: Int = jResp.IntOf("Endpoint.ElasticsearchSettings.FullLoadErrorPercentage").intValue
    var ElasticsearchSettingsServiceAccessRoleArn: String? = jResp.StringOf("Endpoint.ElasticsearchSettings.ServiceAccessRoleArn")
    var EndpointArn: String? = jResp.StringOf("Endpoint.EndpointArn")
    var EndpointIdentifier: String? = jResp.StringOf("Endpoint.EndpointIdentifier")
    var EndpointType: String? = jResp.StringOf("Endpoint.EndpointType")
    var EngineDisplayName: String? = jResp.StringOf("Endpoint.EngineDisplayName")
    var EngineName: String? = jResp.StringOf("Endpoint.EngineName")
    var ExternalId: String? = jResp.StringOf("Endpoint.ExternalId")
    var ExternalTableDefinition: String? = jResp.StringOf("Endpoint.ExternalTableDefinition")
    var ExtraConnectionAttributes: String? = jResp.StringOf("Endpoint.ExtraConnectionAttributes")
    var AfterConnectScript: String? = jResp.StringOf("Endpoint.GcpMySQLSettings.AfterConnectScript")
    var CleanSourceMetadataOnMismatch: Int = jResp.IntOf("Endpoint.GcpMySQLSettings.CleanSourceMetadataOnMismatch").intValue
    var GcpMySQLSettingsDatabaseName: String? = jResp.StringOf("Endpoint.GcpMySQLSettings.DatabaseName")
    var EventsPollInterval: Int = jResp.IntOf("Endpoint.GcpMySQLSettings.EventsPollInterval").intValue
    var MaxFileSize: Int = jResp.IntOf("Endpoint.GcpMySQLSettings.MaxFileSize").intValue
    var ParallelLoadThreads: Int = jResp.IntOf("Endpoint.GcpMySQLSettings.ParallelLoadThreads").intValue
    var GcpMySQLSettingsPassword: String? = jResp.StringOf("Endpoint.GcpMySQLSettings.Password")
    var GcpMySQLSettingsPort: Int = jResp.IntOf("Endpoint.GcpMySQLSettings.Port").intValue
    var GcpMySQLSettingsSecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.GcpMySQLSettings.SecretsManagerAccessRoleArn")
    var GcpMySQLSettingsSecretsManagerSecretId: String? = jResp.StringOf("Endpoint.GcpMySQLSettings.SecretsManagerSecretId")
    var GcpMySQLSettingsServerName: String? = jResp.StringOf("Endpoint.GcpMySQLSettings.ServerName")
    var ServerTimezone: String? = jResp.StringOf("Endpoint.GcpMySQLSettings.ServerTimezone")
    var TargetDbType: String? = jResp.StringOf("Endpoint.GcpMySQLSettings.TargetDbType")
    var GcpMySQLSettingsUsername: String? = jResp.StringOf("Endpoint.GcpMySQLSettings.Username")
    var CurrentLsn: String? = jResp.StringOf("Endpoint.IBMDb2Settings.CurrentLsn")
    var IBMDb2SettingsDatabaseName: String? = jResp.StringOf("Endpoint.IBMDb2Settings.DatabaseName")
    var MaxKBytesPerRead: Int = jResp.IntOf("Endpoint.IBMDb2Settings.MaxKBytesPerRead").intValue
    var IBMDb2SettingsPassword: String? = jResp.StringOf("Endpoint.IBMDb2Settings.Password")
    var IBMDb2SettingsPort: Int = jResp.IntOf("Endpoint.IBMDb2Settings.Port").intValue
    var IBMDb2SettingsSecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.IBMDb2Settings.SecretsManagerAccessRoleArn")
    var IBMDb2SettingsSecretsManagerSecretId: String? = jResp.StringOf("Endpoint.IBMDb2Settings.SecretsManagerSecretId")
    var IBMDb2SettingsServerName: String? = jResp.StringOf("Endpoint.IBMDb2Settings.ServerName")
    var SetDataCaptureChanges: Int = jResp.IntOf("Endpoint.IBMDb2Settings.SetDataCaptureChanges").intValue
    var IBMDb2SettingsUsername: String? = jResp.StringOf("Endpoint.IBMDb2Settings.Username")
    var Broker: String? = jResp.StringOf("Endpoint.KafkaSettings.Broker")
    var IncludeControlDetails: Int = jResp.IntOf("Endpoint.KafkaSettings.IncludeControlDetails").intValue
    var IncludeNullAndEmpty: Int = jResp.IntOf("Endpoint.KafkaSettings.IncludeNullAndEmpty").intValue
    var IncludePartitionValue: Int = jResp.IntOf("Endpoint.KafkaSettings.IncludePartitionValue").intValue
    var IncludeTableAlterOperations: Int = jResp.IntOf("Endpoint.KafkaSettings.IncludeTableAlterOperations").intValue
    var IncludeTransactionDetails: Int = jResp.IntOf("Endpoint.KafkaSettings.IncludeTransactionDetails").intValue
    var MessageFormat: String? = jResp.StringOf("Endpoint.KafkaSettings.MessageFormat")
    var MessageMaxBytes: Int = jResp.IntOf("Endpoint.KafkaSettings.MessageMaxBytes").intValue
    var NoHexPrefix: Int = jResp.IntOf("Endpoint.KafkaSettings.NoHexPrefix").intValue
    var PartitionIncludeSchemaTable: Int = jResp.IntOf("Endpoint.KafkaSettings.PartitionIncludeSchemaTable").intValue
    var SaslPassword: String? = jResp.StringOf("Endpoint.KafkaSettings.SaslPassword")
    var SaslUsername: String? = jResp.StringOf("Endpoint.KafkaSettings.SaslUsername")
    var SecurityProtocol: String? = jResp.StringOf("Endpoint.KafkaSettings.SecurityProtocol")
    var SslCaCertificateArn: String? = jResp.StringOf("Endpoint.KafkaSettings.SslCaCertificateArn")
    var SslClientCertificateArn: String? = jResp.StringOf("Endpoint.KafkaSettings.SslClientCertificateArn")
    var SslClientKeyArn: String? = jResp.StringOf("Endpoint.KafkaSettings.SslClientKeyArn")
    var SslClientKeyPassword: String? = jResp.StringOf("Endpoint.KafkaSettings.SslClientKeyPassword")
    var Topic: String? = jResp.StringOf("Endpoint.KafkaSettings.Topic")
    var KinesisSettingsIncludeControlDetails: Int = jResp.IntOf("Endpoint.KinesisSettings.IncludeControlDetails").intValue
    var KinesisSettingsIncludeNullAndEmpty: Int = jResp.IntOf("Endpoint.KinesisSettings.IncludeNullAndEmpty").intValue
    var KinesisSettingsIncludePartitionValue: Int = jResp.IntOf("Endpoint.KinesisSettings.IncludePartitionValue").intValue
    var KinesisSettingsIncludeTableAlterOperations: Int = jResp.IntOf("Endpoint.KinesisSettings.IncludeTableAlterOperations").intValue
    var KinesisSettingsIncludeTransactionDetails: Int = jResp.IntOf("Endpoint.KinesisSettings.IncludeTransactionDetails").intValue
    var KinesisSettingsMessageFormat: String? = jResp.StringOf("Endpoint.KinesisSettings.MessageFormat")
    var KinesisSettingsNoHexPrefix: Int = jResp.IntOf("Endpoint.KinesisSettings.NoHexPrefix").intValue
    var KinesisSettingsPartitionIncludeSchemaTable: Int = jResp.IntOf("Endpoint.KinesisSettings.PartitionIncludeSchemaTable").intValue
    var KinesisSettingsServiceAccessRoleArn: String? = jResp.StringOf("Endpoint.KinesisSettings.ServiceAccessRoleArn")
    var StreamArn: String? = jResp.StringOf("Endpoint.KinesisSettings.StreamArn")
    var EndpointKmsKeyId: String? = jResp.StringOf("Endpoint.KmsKeyId")
    var BcpPacketSize: Int = jResp.IntOf("Endpoint.MicrosoftSQLServerSettings.BcpPacketSize").intValue
    var ControlTablesFileGroup: String? = jResp.StringOf("Endpoint.MicrosoftSQLServerSettings.ControlTablesFileGroup")
    var MicrosoftSQLServerSettingsDatabaseName: String? = jResp.StringOf("Endpoint.MicrosoftSQLServerSettings.DatabaseName")
    var MicrosoftSQLServerSettingsPassword: String? = jResp.StringOf("Endpoint.MicrosoftSQLServerSettings.Password")
    var MicrosoftSQLServerSettingsPort: Int = jResp.IntOf("Endpoint.MicrosoftSQLServerSettings.Port").intValue
    var QuerySingleAlwaysOnNode: Int = jResp.IntOf("Endpoint.MicrosoftSQLServerSettings.QuerySingleAlwaysOnNode").intValue
    var ReadBackupOnly: Int = jResp.IntOf("Endpoint.MicrosoftSQLServerSettings.ReadBackupOnly").intValue
    var SafeguardPolicy: String? = jResp.StringOf("Endpoint.MicrosoftSQLServerSettings.SafeguardPolicy")
    var MicrosoftSQLServerSettingsSecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.MicrosoftSQLServerSettings.SecretsManagerAccessRoleArn")
    var MicrosoftSQLServerSettingsSecretsManagerSecretId: String? = jResp.StringOf("Endpoint.MicrosoftSQLServerSettings.SecretsManagerSecretId")
    var MicrosoftSQLServerSettingsServerName: String? = jResp.StringOf("Endpoint.MicrosoftSQLServerSettings.ServerName")
    var UseBcpFullLoad: Int = jResp.IntOf("Endpoint.MicrosoftSQLServerSettings.UseBcpFullLoad").intValue
    var MicrosoftSQLServerSettingsUsername: String? = jResp.StringOf("Endpoint.MicrosoftSQLServerSettings.Username")
    var UseThirdPartyBackupDevice: Int = jResp.IntOf("Endpoint.MicrosoftSQLServerSettings.UseThirdPartyBackupDevice").intValue
    var AuthMechanism: String? = jResp.StringOf("Endpoint.MongoDbSettings.AuthMechanism")
    var AuthSource: String? = jResp.StringOf("Endpoint.MongoDbSettings.AuthSource")
    var AuthType: String? = jResp.StringOf("Endpoint.MongoDbSettings.AuthType")
    var MongoDbSettingsDatabaseName: String? = jResp.StringOf("Endpoint.MongoDbSettings.DatabaseName")
    var MongoDbSettingsDocsToInvestigate: String? = jResp.StringOf("Endpoint.MongoDbSettings.DocsToInvestigate")
    var MongoDbSettingsExtractDocId: String? = jResp.StringOf("Endpoint.MongoDbSettings.ExtractDocId")
    var MongoDbSettingsKmsKeyId: String? = jResp.StringOf("Endpoint.MongoDbSettings.KmsKeyId")
    var MongoDbSettingsNestingLevel: String? = jResp.StringOf("Endpoint.MongoDbSettings.NestingLevel")
    var MongoDbSettingsPassword: String? = jResp.StringOf("Endpoint.MongoDbSettings.Password")
    var MongoDbSettingsPort: Int = jResp.IntOf("Endpoint.MongoDbSettings.Port").intValue
    var MongoDbSettingsSecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.MongoDbSettings.SecretsManagerAccessRoleArn")
    var MongoDbSettingsSecretsManagerSecretId: String? = jResp.StringOf("Endpoint.MongoDbSettings.SecretsManagerSecretId")
    var MongoDbSettingsServerName: String? = jResp.StringOf("Endpoint.MongoDbSettings.ServerName")
    var MongoDbSettingsUsername: String? = jResp.StringOf("Endpoint.MongoDbSettings.Username")
    var MySQLSettingsAfterConnectScript: String? = jResp.StringOf("Endpoint.MySQLSettings.AfterConnectScript")
    var MySQLSettingsCleanSourceMetadataOnMismatch: Int = jResp.IntOf("Endpoint.MySQLSettings.CleanSourceMetadataOnMismatch").intValue
    var MySQLSettingsDatabaseName: String? = jResp.StringOf("Endpoint.MySQLSettings.DatabaseName")
    var MySQLSettingsEventsPollInterval: Int = jResp.IntOf("Endpoint.MySQLSettings.EventsPollInterval").intValue
    var MySQLSettingsMaxFileSize: Int = jResp.IntOf("Endpoint.MySQLSettings.MaxFileSize").intValue
    var MySQLSettingsParallelLoadThreads: Int = jResp.IntOf("Endpoint.MySQLSettings.ParallelLoadThreads").intValue
    var MySQLSettingsPassword: String? = jResp.StringOf("Endpoint.MySQLSettings.Password")
    var MySQLSettingsPort: Int = jResp.IntOf("Endpoint.MySQLSettings.Port").intValue
    var MySQLSettingsSecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.MySQLSettings.SecretsManagerAccessRoleArn")
    var MySQLSettingsSecretsManagerSecretId: String? = jResp.StringOf("Endpoint.MySQLSettings.SecretsManagerSecretId")
    var MySQLSettingsServerName: String? = jResp.StringOf("Endpoint.MySQLSettings.ServerName")
    var MySQLSettingsServerTimezone: String? = jResp.StringOf("Endpoint.MySQLSettings.ServerTimezone")
    var MySQLSettingsTargetDbType: String? = jResp.StringOf("Endpoint.MySQLSettings.TargetDbType")
    var MySQLSettingsUsername: String? = jResp.StringOf("Endpoint.MySQLSettings.Username")
    var NeptuneSettingsErrorRetryDuration: Int = jResp.IntOf("Endpoint.NeptuneSettings.ErrorRetryDuration").intValue
    var IamAuthEnabled: Int = jResp.IntOf("Endpoint.NeptuneSettings.IamAuthEnabled").intValue
    var NeptuneSettingsMaxFileSize: Int = jResp.IntOf("Endpoint.NeptuneSettings.MaxFileSize").intValue
    var MaxRetryCount: Int = jResp.IntOf("Endpoint.NeptuneSettings.MaxRetryCount").intValue
    var S3BucketFolder: String? = jResp.StringOf("Endpoint.NeptuneSettings.S3BucketFolder")
    var S3BucketName: String? = jResp.StringOf("Endpoint.NeptuneSettings.S3BucketName")
    var NeptuneSettingsServiceAccessRoleArn: String? = jResp.StringOf("Endpoint.NeptuneSettings.ServiceAccessRoleArn")
    var AccessAlternateDirectly: Int = jResp.IntOf("Endpoint.OracleSettings.AccessAlternateDirectly").intValue
    var AdditionalArchivedLogDestId: Int = jResp.IntOf("Endpoint.OracleSettings.AdditionalArchivedLogDestId").intValue
    var AddSupplementalLogging: Int = jResp.IntOf("Endpoint.OracleSettings.AddSupplementalLogging").intValue
    var AllowSelectNestedTables: Int = jResp.IntOf("Endpoint.OracleSettings.AllowSelectNestedTables").intValue
    var ArchivedLogDestId: Int = jResp.IntOf("Endpoint.OracleSettings.ArchivedLogDestId").intValue
    var ArchivedLogsOnly: Int = jResp.IntOf("Endpoint.OracleSettings.ArchivedLogsOnly").intValue
    var AsmPassword: String? = jResp.StringOf("Endpoint.OracleSettings.AsmPassword")
    var AsmServer: String? = jResp.StringOf("Endpoint.OracleSettings.AsmServer")
    var AsmUser: String? = jResp.StringOf("Endpoint.OracleSettings.AsmUser")
    var CharLengthSemantics: String? = jResp.StringOf("Endpoint.OracleSettings.CharLengthSemantics")
    var OracleSettingsDatabaseName: String? = jResp.StringOf("Endpoint.OracleSettings.DatabaseName")
    var DirectPathNoLog: Int = jResp.IntOf("Endpoint.OracleSettings.DirectPathNoLog").intValue
    var DirectPathParallelLoad: Int = jResp.IntOf("Endpoint.OracleSettings.DirectPathParallelLoad").intValue
    var EnableHomogenousTablespace: Int = jResp.IntOf("Endpoint.OracleSettings.EnableHomogenousTablespace").intValue
    var FailTasksOnLobTruncation: Int = jResp.IntOf("Endpoint.OracleSettings.FailTasksOnLobTruncation").intValue
    var NumberDatatypeScale: Int = jResp.IntOf("Endpoint.OracleSettings.NumberDatatypeScale").intValue
    var OraclePathPrefix: String? = jResp.StringOf("Endpoint.OracleSettings.OraclePathPrefix")
    var ParallelAsmReadThreads: Int = jResp.IntOf("Endpoint.OracleSettings.ParallelAsmReadThreads").intValue
    var OracleSettingsPassword: String? = jResp.StringOf("Endpoint.OracleSettings.Password")
    var OracleSettingsPort: Int = jResp.IntOf("Endpoint.OracleSettings.Port").intValue
    var ReadAheadBlocks: Int = jResp.IntOf("Endpoint.OracleSettings.ReadAheadBlocks").intValue
    var ReadTableSpaceName: Int = jResp.IntOf("Endpoint.OracleSettings.ReadTableSpaceName").intValue
    var ReplacePathPrefix: Int = jResp.IntOf("Endpoint.OracleSettings.ReplacePathPrefix").intValue
    var RetryInterval: Int = jResp.IntOf("Endpoint.OracleSettings.RetryInterval").intValue
    var OracleSettingsSecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.OracleSettings.SecretsManagerAccessRoleArn")
    var SecretsManagerOracleAsmAccessRoleArn: String? = jResp.StringOf("Endpoint.OracleSettings.SecretsManagerOracleAsmAccessRoleArn")
    var SecretsManagerOracleAsmSecretId: String? = jResp.StringOf("Endpoint.OracleSettings.SecretsManagerOracleAsmSecretId")
    var OracleSettingsSecretsManagerSecretId: String? = jResp.StringOf("Endpoint.OracleSettings.SecretsManagerSecretId")
    var SecurityDbEncryption: String? = jResp.StringOf("Endpoint.OracleSettings.SecurityDbEncryption")
    var SecurityDbEncryptionName: String? = jResp.StringOf("Endpoint.OracleSettings.SecurityDbEncryptionName")
    var OracleSettingsServerName: String? = jResp.StringOf("Endpoint.OracleSettings.ServerName")
    var SpatialDataOptionToGeoJsonFunctionName: String? = jResp.StringOf("Endpoint.OracleSettings.SpatialDataOptionToGeoJsonFunctionName")
    var StandbyDelayTime: Int = jResp.IntOf("Endpoint.OracleSettings.StandbyDelayTime").intValue
    var UseAlternateFolderForOnline: Int = jResp.IntOf("Endpoint.OracleSettings.UseAlternateFolderForOnline").intValue
    var UseBFile: Int = jResp.IntOf("Endpoint.OracleSettings.UseBFile").intValue
    var UseDirectPathFullLoad: Int = jResp.IntOf("Endpoint.OracleSettings.UseDirectPathFullLoad").intValue
    var UseLogminerReader: Int = jResp.IntOf("Endpoint.OracleSettings.UseLogminerReader").intValue
    var UsePathPrefix: String? = jResp.StringOf("Endpoint.OracleSettings.UsePathPrefix")
    var OracleSettingsUsername: String? = jResp.StringOf("Endpoint.OracleSettings.Username")
    var EndpointPort: Int = jResp.IntOf("Endpoint.Port").intValue
    var PostgreSQLSettingsAfterConnectScript: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.AfterConnectScript")
    var CaptureDdls: Int = jResp.IntOf("Endpoint.PostgreSQLSettings.CaptureDdls").intValue
    var PostgreSQLSettingsDatabaseName: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.DatabaseName")
    var DdlArtifactsSchema: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.DdlArtifactsSchema")
    var ExecuteTimeout: Int = jResp.IntOf("Endpoint.PostgreSQLSettings.ExecuteTimeout").intValue
    var PostgreSQLSettingsFailTasksOnLobTruncation: Int = jResp.IntOf("Endpoint.PostgreSQLSettings.FailTasksOnLobTruncation").intValue
    var HeartbeatEnable: Int = jResp.IntOf("Endpoint.PostgreSQLSettings.HeartbeatEnable").intValue
    var HeartbeatFrequency: Int = jResp.IntOf("Endpoint.PostgreSQLSettings.HeartbeatFrequency").intValue
    var HeartbeatSchema: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.HeartbeatSchema")
    var PostgreSQLSettingsMaxFileSize: Int = jResp.IntOf("Endpoint.PostgreSQLSettings.MaxFileSize").intValue
    var PostgreSQLSettingsPassword: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.Password")
    var PluginName: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.PluginName")
    var PostgreSQLSettingsPort: Int = jResp.IntOf("Endpoint.PostgreSQLSettings.Port").intValue
    var PostgreSQLSettingsSecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.SecretsManagerAccessRoleArn")
    var PostgreSQLSettingsSecretsManagerSecretId: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.SecretsManagerSecretId")
    var PostgreSQLSettingsServerName: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.ServerName")
    var SlotName: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.SlotName")
    var PostgreSQLSettingsUsername: String? = jResp.StringOf("Endpoint.PostgreSQLSettings.Username")
    var AuthPassword: String? = jResp.StringOf("Endpoint.RedisSettings.AuthPassword")
    var RedisSettingsAuthType: String? = jResp.StringOf("Endpoint.RedisSettings.AuthType")
    var AuthUserName: String? = jResp.StringOf("Endpoint.RedisSettings.AuthUserName")
    var RedisSettingsPort: Int = jResp.IntOf("Endpoint.RedisSettings.Port").intValue
    var RedisSettingsServerName: String? = jResp.StringOf("Endpoint.RedisSettings.ServerName")
    var RedisSettingsSslCaCertificateArn: String? = jResp.StringOf("Endpoint.RedisSettings.SslCaCertificateArn")
    var SslSecurityProtocol: String? = jResp.StringOf("Endpoint.RedisSettings.SslSecurityProtocol")
    var AcceptAnyDate: Int = jResp.IntOf("Endpoint.RedshiftSettings.AcceptAnyDate").intValue
    var RedshiftSettingsAfterConnectScript: String? = jResp.StringOf("Endpoint.RedshiftSettings.AfterConnectScript")
    var BucketFolder: String? = jResp.StringOf("Endpoint.RedshiftSettings.BucketFolder")
    var RedshiftSettingsBucketName: String? = jResp.StringOf("Endpoint.RedshiftSettings.BucketName")
    var CaseSensitiveNames: Int = jResp.IntOf("Endpoint.RedshiftSettings.CaseSensitiveNames").intValue
    var CompUpdate: Int = jResp.IntOf("Endpoint.RedshiftSettings.CompUpdate").intValue
    var ConnectionTimeout: Int = jResp.IntOf("Endpoint.RedshiftSettings.ConnectionTimeout").intValue
    var RedshiftSettingsDatabaseName: String? = jResp.StringOf("Endpoint.RedshiftSettings.DatabaseName")
    var DateFormat: String? = jResp.StringOf("Endpoint.RedshiftSettings.DateFormat")
    var EmptyAsNull: Int = jResp.IntOf("Endpoint.RedshiftSettings.EmptyAsNull").intValue
    var EncryptionMode: String? = jResp.StringOf("Endpoint.RedshiftSettings.EncryptionMode")
    var ExplicitIds: Int = jResp.IntOf("Endpoint.RedshiftSettings.ExplicitIds").intValue
    var FileTransferUploadStreams: Int = jResp.IntOf("Endpoint.RedshiftSettings.FileTransferUploadStreams").intValue
    var LoadTimeout: Int = jResp.IntOf("Endpoint.RedshiftSettings.LoadTimeout").intValue
    var RedshiftSettingsMaxFileSize: Int = jResp.IntOf("Endpoint.RedshiftSettings.MaxFileSize").intValue
    var RedshiftSettingsPassword: String? = jResp.StringOf("Endpoint.RedshiftSettings.Password")
    var RedshiftSettingsPort: Int = jResp.IntOf("Endpoint.RedshiftSettings.Port").intValue
    var RemoveQuotes: Int = jResp.IntOf("Endpoint.RedshiftSettings.RemoveQuotes").intValue
    var ReplaceChars: String? = jResp.StringOf("Endpoint.RedshiftSettings.ReplaceChars")
    var ReplaceInvalidChars: String? = jResp.StringOf("Endpoint.RedshiftSettings.ReplaceInvalidChars")
    var RedshiftSettingsSecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.RedshiftSettings.SecretsManagerAccessRoleArn")
    var RedshiftSettingsSecretsManagerSecretId: String? = jResp.StringOf("Endpoint.RedshiftSettings.SecretsManagerSecretId")
    var RedshiftSettingsServerName: String? = jResp.StringOf("Endpoint.RedshiftSettings.ServerName")
    var ServerSideEncryptionKmsKeyId: String? = jResp.StringOf("Endpoint.RedshiftSettings.ServerSideEncryptionKmsKeyId")
    var RedshiftSettingsServiceAccessRoleArn: String? = jResp.StringOf("Endpoint.RedshiftSettings.ServiceAccessRoleArn")
    var TimeFormat: String? = jResp.StringOf("Endpoint.RedshiftSettings.TimeFormat")
    var TrimBlanks: Int = jResp.IntOf("Endpoint.RedshiftSettings.TrimBlanks").intValue
    var TruncateColumns: Int = jResp.IntOf("Endpoint.RedshiftSettings.TruncateColumns").intValue
    var RedshiftSettingsUsername: String? = jResp.StringOf("Endpoint.RedshiftSettings.Username")
    var WriteBufferSize: Int = jResp.IntOf("Endpoint.RedshiftSettings.WriteBufferSize").intValue
    var AddColumnName: Int = jResp.IntOf("Endpoint.S3Settings.AddColumnName").intValue
    var S3SettingsBucketFolder: String? = jResp.StringOf("Endpoint.S3Settings.BucketFolder")
    var S3SettingsBucketName: String? = jResp.StringOf("Endpoint.S3Settings.BucketName")
    var CannedAclForObjects: String? = jResp.StringOf("Endpoint.S3Settings.CannedAclForObjects")
    var CdcInsertsAndUpdates: Int = jResp.IntOf("Endpoint.S3Settings.CdcInsertsAndUpdates").intValue
    var CdcInsertsOnly: Int = jResp.IntOf("Endpoint.S3Settings.CdcInsertsOnly").intValue
    var CdcMaxBatchInterval: Int = jResp.IntOf("Endpoint.S3Settings.CdcMaxBatchInterval").intValue
    var CdcMinFileSize: Int = jResp.IntOf("Endpoint.S3Settings.CdcMinFileSize").intValue
    var CdcPath: String? = jResp.StringOf("Endpoint.S3Settings.CdcPath")
    var CompressionType: String? = jResp.StringOf("Endpoint.S3Settings.CompressionType")
    var CsvDelimiter: String? = jResp.StringOf("Endpoint.S3Settings.CsvDelimiter")
    var CsvNoSupValue: String? = jResp.StringOf("Endpoint.S3Settings.CsvNoSupValue")
    var CsvNullValue: String? = jResp.StringOf("Endpoint.S3Settings.CsvNullValue")
    var CsvRowDelimiter: String? = jResp.StringOf("Endpoint.S3Settings.CsvRowDelimiter")
    var DataFormat: String? = jResp.StringOf("Endpoint.S3Settings.DataFormat")
    var DataPageSize: Int = jResp.IntOf("Endpoint.S3Settings.DataPageSize").intValue
    var DatePartitionDelimiter: String? = jResp.StringOf("Endpoint.S3Settings.DatePartitionDelimiter")
    var DatePartitionEnabled: Int = jResp.IntOf("Endpoint.S3Settings.DatePartitionEnabled").intValue
    var DatePartitionSequence: String? = jResp.StringOf("Endpoint.S3Settings.DatePartitionSequence")
    var DatePartitionTimezone: String? = jResp.StringOf("Endpoint.S3Settings.DatePartitionTimezone")
    var DictPageSizeLimit: Int = jResp.IntOf("Endpoint.S3Settings.DictPageSizeLimit").intValue
    var EnableStatistics: Int = jResp.IntOf("Endpoint.S3Settings.EnableStatistics").intValue
    var EncodingType: String? = jResp.StringOf("Endpoint.S3Settings.EncodingType")
    var S3SettingsEncryptionMode: String? = jResp.StringOf("Endpoint.S3Settings.EncryptionMode")
    var S3SettingsExternalTableDefinition: String? = jResp.StringOf("Endpoint.S3Settings.ExternalTableDefinition")
    var IgnoreHeaderRows: Int = jResp.IntOf("Endpoint.S3Settings.IgnoreHeaderRows").intValue
    var IncludeOpForFullLoad: Int = jResp.IntOf("Endpoint.S3Settings.IncludeOpForFullLoad").intValue
    var S3SettingsMaxFileSize: Int = jResp.IntOf("Endpoint.S3Settings.MaxFileSize").intValue
    var ParquetTimestampInMillisecond: Int = jResp.IntOf("Endpoint.S3Settings.ParquetTimestampInMillisecond").intValue
    var ParquetVersion: String? = jResp.StringOf("Endpoint.S3Settings.ParquetVersion")
    var PreserveTransactions: Int = jResp.IntOf("Endpoint.S3Settings.PreserveTransactions").intValue
    var Rfc4180: Int = jResp.IntOf("Endpoint.S3Settings.Rfc4180").intValue
    var RowGroupLength: Int = jResp.IntOf("Endpoint.S3Settings.RowGroupLength").intValue
    var S3SettingsServerSideEncryptionKmsKeyId: String? = jResp.StringOf("Endpoint.S3Settings.ServerSideEncryptionKmsKeyId")
    var S3SettingsServiceAccessRoleArn: String? = jResp.StringOf("Endpoint.S3Settings.ServiceAccessRoleArn")
    var TimestampColumnName: String? = jResp.StringOf("Endpoint.S3Settings.TimestampColumnName")
    var UseCsvNoSupValue: Int = jResp.IntOf("Endpoint.S3Settings.UseCsvNoSupValue").intValue
    var UseTaskStartTimeForFullLoadTimestamp: Int = jResp.IntOf("Endpoint.S3Settings.UseTaskStartTimeForFullLoadTimestamp").intValue
    var EndpointServerName: String? = jResp.StringOf("Endpoint.ServerName")
    var EndpointServiceAccessRoleArn: String? = jResp.StringOf("Endpoint.ServiceAccessRoleArn")
    var SslMode: String? = jResp.StringOf("Endpoint.SslMode")
    var Status: String? = jResp.StringOf("Endpoint.Status")
    var SybaseSettingsDatabaseName: String? = jResp.StringOf("Endpoint.SybaseSettings.DatabaseName")
    var SybaseSettingsPassword: String? = jResp.StringOf("Endpoint.SybaseSettings.Password")
    var SybaseSettingsPort: Int = jResp.IntOf("Endpoint.SybaseSettings.Port").intValue
    var SybaseSettingsSecretsManagerAccessRoleArn: String? = jResp.StringOf("Endpoint.SybaseSettings.SecretsManagerAccessRoleArn")
    var SybaseSettingsSecretsManagerSecretId: String? = jResp.StringOf("Endpoint.SybaseSettings.SecretsManagerSecretId")
    var SybaseSettingsServerName: String? = jResp.StringOf("Endpoint.SybaseSettings.ServerName")
    var SybaseSettingsUsername: String? = jResp.StringOf("Endpoint.SybaseSettings.Username")
    var EndpointUsername: String? = jResp.StringOf("Endpoint.Username")
    var i: Int = 0
    var count_i: Int = jResp.SizeOfArray("Endpoint.OracleSettings.ExtraArchivedLogDestIds").intValue
    while i < count_i {
        jResp.I = i
        intVal = jResp.IntOf("Endpoint.OracleSettings.ExtraArchivedLogDestIds[i]").intValue
        i = i + 1
    }

    // A sample JSON response body parsed by the above code:

    // {
    //   "Endpoint": {
    //     "CertificateArn": "string",
    //     "DatabaseName": "string",
    //     "DmsTransferSettings": {
    //       "BucketName": "string",
    //       "ServiceAccessRoleArn": "string"
    //     },
    //     "DocDbSettings": {
    //       "DatabaseName": "string",
    //       "DocsToInvestigate": number,
    //       "ExtractDocId": boolean,
    //       "KmsKeyId": "string",
    //       "NestingLevel": "string",
    //       "Password": "string",
    //       "Port": number,
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerSecretId": "string",
    //       "ServerName": "string",
    //       "Username": "string"
    //     },
    //     "DynamoDbSettings": {
    //       "ServiceAccessRoleArn": "string"
    //     },
    //     "ElasticsearchSettings": {
    //       "EndpointUri": "string",
    //       "ErrorRetryDuration": number,
    //       "FullLoadErrorPercentage": number,
    //       "ServiceAccessRoleArn": "string"
    //     },
    //     "EndpointArn": "string",
    //     "EndpointIdentifier": "string",
    //     "EndpointType": "string",
    //     "EngineDisplayName": "string",
    //     "EngineName": "string",
    //     "ExternalId": "string",
    //     "ExternalTableDefinition": "string",
    //     "ExtraConnectionAttributes": "string",
    //     "GcpMySQLSettings": {
    //       "AfterConnectScript": "string",
    //       "CleanSourceMetadataOnMismatch": boolean,
    //       "DatabaseName": "string",
    //       "EventsPollInterval": number,
    //       "MaxFileSize": number,
    //       "ParallelLoadThreads": number,
    //       "Password": "string",
    //       "Port": number,
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerSecretId": "string",
    //       "ServerName": "string",
    //       "ServerTimezone": "string",
    //       "TargetDbType": "string",
    //       "Username": "string"
    //     },
    //     "IBMDb2Settings": {
    //       "CurrentLsn": "string",
    //       "DatabaseName": "string",
    //       "MaxKBytesPerRead": number,
    //       "Password": "string",
    //       "Port": number,
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerSecretId": "string",
    //       "ServerName": "string",
    //       "SetDataCaptureChanges": boolean,
    //       "Username": "string"
    //     },
    //     "KafkaSettings": {
    //       "Broker": "string",
    //       "IncludeControlDetails": boolean,
    //       "IncludeNullAndEmpty": boolean,
    //       "IncludePartitionValue": boolean,
    //       "IncludeTableAlterOperations": boolean,
    //       "IncludeTransactionDetails": boolean,
    //       "MessageFormat": "string",
    //       "MessageMaxBytes": number,
    //       "NoHexPrefix": boolean,
    //       "PartitionIncludeSchemaTable": boolean,
    //       "SaslPassword": "string",
    //       "SaslUsername": "string",
    //       "SecurityProtocol": "string",
    //       "SslCaCertificateArn": "string",
    //       "SslClientCertificateArn": "string",
    //       "SslClientKeyArn": "string",
    //       "SslClientKeyPassword": "string",
    //       "Topic": "string"
    //     },
    //     "KinesisSettings": {
    //       "IncludeControlDetails": boolean,
    //       "IncludeNullAndEmpty": boolean,
    //       "IncludePartitionValue": boolean,
    //       "IncludeTableAlterOperations": boolean,
    //       "IncludeTransactionDetails": boolean,
    //       "MessageFormat": "string",
    //       "NoHexPrefix": boolean,
    //       "PartitionIncludeSchemaTable": boolean,
    //       "ServiceAccessRoleArn": "string",
    //       "StreamArn": "string"
    //     },
    //     "KmsKeyId": "string",
    //     "MicrosoftSQLServerSettings": {
    //       "BcpPacketSize": number,
    //       "ControlTablesFileGroup": "string",
    //       "DatabaseName": "string",
    //       "Password": "string",
    //       "Port": number,
    //       "QuerySingleAlwaysOnNode": boolean,
    //       "ReadBackupOnly": boolean,
    //       "SafeguardPolicy": "string",
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerSecretId": "string",
    //       "ServerName": "string",
    //       "UseBcpFullLoad": boolean,
    //       "Username": "string",
    //       "UseThirdPartyBackupDevice": boolean
    //     },
    //     "MongoDbSettings": {
    //       "AuthMechanism": "string",
    //       "AuthSource": "string",
    //       "AuthType": "string",
    //       "DatabaseName": "string",
    //       "DocsToInvestigate": "string",
    //       "ExtractDocId": "string",
    //       "KmsKeyId": "string",
    //       "NestingLevel": "string",
    //       "Password": "string",
    //       "Port": number,
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerSecretId": "string",
    //       "ServerName": "string",
    //       "Username": "string"
    //     },
    //     "MySQLSettings": {
    //       "AfterConnectScript": "string",
    //       "CleanSourceMetadataOnMismatch": boolean,
    //       "DatabaseName": "string",
    //       "EventsPollInterval": number,
    //       "MaxFileSize": number,
    //       "ParallelLoadThreads": number,
    //       "Password": "string",
    //       "Port": number,
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerSecretId": "string",
    //       "ServerName": "string",
    //       "ServerTimezone": "string",
    //       "TargetDbType": "string",
    //       "Username": "string"
    //     },
    //     "NeptuneSettings": {
    //       "ErrorRetryDuration": number,
    //       "IamAuthEnabled": boolean,
    //       "MaxFileSize": number,
    //       "MaxRetryCount": number,
    //       "S3BucketFolder": "string",
    //       "S3BucketName": "string",
    //       "ServiceAccessRoleArn": "string"
    //     },
    //     "OracleSettings": {
    //       "AccessAlternateDirectly": boolean,
    //       "AdditionalArchivedLogDestId": number,
    //       "AddSupplementalLogging": boolean,
    //       "AllowSelectNestedTables": boolean,
    //       "ArchivedLogDestId": number,
    //       "ArchivedLogsOnly": boolean,
    //       "AsmPassword": "string",
    //       "AsmServer": "string",
    //       "AsmUser": "string",
    //       "CharLengthSemantics": "string",
    //       "DatabaseName": "string",
    //       "DirectPathNoLog": boolean,
    //       "DirectPathParallelLoad": boolean,
    //       "EnableHomogenousTablespace": boolean,
    //       "ExtraArchivedLogDestIds": [
    //         number
    //       ],
    //       "FailTasksOnLobTruncation": boolean,
    //       "NumberDatatypeScale": number,
    //       "OraclePathPrefix": "string",
    //       "ParallelAsmReadThreads": number,
    //       "Password": "string",
    //       "Port": number,
    //       "ReadAheadBlocks": number,
    //       "ReadTableSpaceName": boolean,
    //       "ReplacePathPrefix": boolean,
    //       "RetryInterval": number,
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerOracleAsmAccessRoleArn": "string",
    //       "SecretsManagerOracleAsmSecretId": "string",
    //       "SecretsManagerSecretId": "string",
    //       "SecurityDbEncryption": "string",
    //       "SecurityDbEncryptionName": "string",
    //       "ServerName": "string",
    //       "SpatialDataOptionToGeoJsonFunctionName": "string",
    //       "StandbyDelayTime": number,
    //       "UseAlternateFolderForOnline": boolean,
    //       "UseBFile": boolean,
    //       "UseDirectPathFullLoad": boolean,
    //       "UseLogminerReader": boolean,
    //       "UsePathPrefix": "string",
    //       "Username": "string"
    //     },
    //     "Port": number,
    //     "PostgreSQLSettings": {
    //       "AfterConnectScript": "string",
    //       "CaptureDdls": boolean,
    //       "DatabaseName": "string",
    //       "DdlArtifactsSchema": "string",
    //       "ExecuteTimeout": number,
    //       "FailTasksOnLobTruncation": boolean,
    //       "HeartbeatEnable": boolean,
    //       "HeartbeatFrequency": number,
    //       "HeartbeatSchema": "string",
    //       "MaxFileSize": number,
    //       "Password": "string",
    //       "PluginName": "string",
    //       "Port": number,
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerSecretId": "string",
    //       "ServerName": "string",
    //       "SlotName": "string",
    //       "Username": "string"
    //     },
    //     "RedisSettings": {
    //       "AuthPassword": "string",
    //       "AuthType": "string",
    //       "AuthUserName": "string",
    //       "Port": number,
    //       "ServerName": "string",
    //       "SslCaCertificateArn": "string",
    //       "SslSecurityProtocol": "string"
    //     },
    //     "RedshiftSettings": {
    //       "AcceptAnyDate": boolean,
    //       "AfterConnectScript": "string",
    //       "BucketFolder": "string",
    //       "BucketName": "string",
    //       "CaseSensitiveNames": boolean,
    //       "CompUpdate": boolean,
    //       "ConnectionTimeout": number,
    //       "DatabaseName": "string",
    //       "DateFormat": "string",
    //       "EmptyAsNull": boolean,
    //       "EncryptionMode": "string",
    //       "ExplicitIds": boolean,
    //       "FileTransferUploadStreams": number,
    //       "LoadTimeout": number,
    //       "MaxFileSize": number,
    //       "Password": "string",
    //       "Port": number,
    //       "RemoveQuotes": boolean,
    //       "ReplaceChars": "string",
    //       "ReplaceInvalidChars": "string",
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerSecretId": "string",
    //       "ServerName": "string",
    //       "ServerSideEncryptionKmsKeyId": "string",
    //       "ServiceAccessRoleArn": "string",
    //       "TimeFormat": "string",
    //       "TrimBlanks": boolean,
    //       "TruncateColumns": boolean,
    //       "Username": "string",
    //       "WriteBufferSize": number
    //     },
    //     "S3Settings": {
    //       "AddColumnName": boolean,
    //       "BucketFolder": "string",
    //       "BucketName": "string",
    //       "CannedAclForObjects": "string",
    //       "CdcInsertsAndUpdates": boolean,
    //       "CdcInsertsOnly": boolean,
    //       "CdcMaxBatchInterval": number,
    //       "CdcMinFileSize": number,
    //       "CdcPath": "string",
    //       "CompressionType": "string",
    //       "CsvDelimiter": "string",
    //       "CsvNoSupValue": "string",
    //       "CsvNullValue": "string",
    //       "CsvRowDelimiter": "string",
    //       "DataFormat": "string",
    //       "DataPageSize": number,
    //       "DatePartitionDelimiter": "string",
    //       "DatePartitionEnabled": boolean,
    //       "DatePartitionSequence": "string",
    //       "DatePartitionTimezone": "string",
    //       "DictPageSizeLimit": number,
    //       "EnableStatistics": boolean,
    //       "EncodingType": "string",
    //       "EncryptionMode": "string",
    //       "ExternalTableDefinition": "string",
    //       "IgnoreHeaderRows": number,
    //       "IncludeOpForFullLoad": boolean,
    //       "MaxFileSize": number,
    //       "ParquetTimestampInMillisecond": boolean,
    //       "ParquetVersion": "string",
    //       "PreserveTransactions": boolean,
    //       "Rfc4180": boolean,
    //       "RowGroupLength": number,
    //       "ServerSideEncryptionKmsKeyId": "string",
    //       "ServiceAccessRoleArn": "string",
    //       "TimestampColumnName": "string",
    //       "UseCsvNoSupValue": boolean,
    //       "UseTaskStartTimeForFullLoadTimestamp": boolean
    //     },
    //     "ServerName": "string",
    //     "ServiceAccessRoleArn": "string",
    //     "SslMode": "string",
    //     "Status": "string",
    //     "SybaseSettings": {
    //       "DatabaseName": "string",
    //       "Password": "string",
    //       "Port": number,
    //       "SecretsManagerAccessRoleArn": "string",
    //       "SecretsManagerSecretId": "string",
    //       "ServerName": "string",
    //       "Username": "string"
    //     },
    //     "Username": "string"
    //   }
    // }

}