Chilkat Online Tools

DeleteEndpoint Android Example

AWS Database Migration Service

// Important: Don't forget to include the call to System.loadLibrary
// as shown at the bottom of this code sample.
package com.test;

import android.app.Activity;
import com.chilkatsoft.*;

import android.widget.TextView;
import android.os.Bundle;

public class SimpleActivity extends Activity {

  private static final String TAG = "Chilkat";

  // Called when the activity is first created.
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

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

    CkRest rest = new CkRest();
    boolean success;

    CkAuthAws authAws = new CkAuthAws();
    authAws.put_AccessKey("AWS_ACCESS_KEY");
    authAws.put_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.put_Region("us-west-2");
    authAws.put_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",443,true,true);
    if (success != true) {
        Log.i(TAG, "ConnectFailReason: " + String.valueOf(rest.get_ConnectFailReason()));
        Log.i(TAG, 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

    CkJsonObject json = new CkJsonObject();
    json.UpdateString("EndpointArn","string");

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

    // {
    //   "EndpointArn": "string"
    // }

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

    CkStringBuilder sbRequestBody = new CkStringBuilder();
    json.EmitSb(sbRequestBody);
    CkStringBuilder sbResponseBody = new CkStringBuilder();
    success = rest.FullRequestSb("POST","/",sbRequestBody,sbResponseBody);
    if (success != true) {
        Log.i(TAG, rest.lastErrorText());
        return;
        }

    int respStatusCode = rest.get_ResponseStatusCode();
    Log.i(TAG, "response status code = " + String.valueOf(respStatusCode));
    if (respStatusCode != 200) {
        Log.i(TAG, "Response Header:");
        Log.i(TAG, rest.responseHeader());
        Log.i(TAG, "Response Body:");
        Log.i(TAG, sbResponseBody.getAsString());
        return;
        }

    CkJsonObject jResp = new CkJsonObject();
    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

    int intVal;

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

  }

  static {
      System.loadLibrary("chilkat");

      // Note: If the incorrect library name is passed to System.loadLibrary,
      // then you will see the following error message at application startup:
      //"The application <your-application-name> has stopped unexpectedly. Please try again."
  }
}