Skip to content

Commit

Permalink
feat(client-database-migration-service): Add parameters to support fo…
Browse files Browse the repository at this point in the history
…r kerberos authentication. Add parameter for disabling the Unicode source filter with PostgreSQL settings. Add parameter to use large integer value with Kinesis/Kafka settings.
  • Loading branch information
awstools committed Dec 12, 2024
1 parent 5beb1c7 commit 97520fc
Show file tree
Hide file tree
Showing 19 changed files with 519 additions and 140 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* IncludeControlDetails: true || false,
* IncludeNullAndEmpty: true || false,
* NoHexPrefix: true || false,
* UseLargeIntegerValue: true || false,
* },
* KafkaSettings: { // KafkaSettings
* Broker: "STRING_VALUE",
Expand All @@ -174,6 +175,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* NoHexPrefix: true || false,
* SaslMechanism: "scram-sha-512" || "plain",
* SslEndpointIdentificationAlgorithm: "none" || "https",
* UseLargeIntegerValue: true || false,
* },
* ElasticsearchSettings: { // ElasticsearchSettings
* ServiceAccessRoleArn: "STRING_VALUE", // required
Expand Down Expand Up @@ -249,6 +251,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* MapLongVarcharAs: "wstring" || "clob" || "nclob",
* DatabaseMode: "default" || "babelfish",
* BabelfishDatabaseName: "STRING_VALUE",
* DisableUnicodeSourceFilter: true || false,
* },
* MySQLSettings: { // MySQLSettings
* AfterConnectScript: "STRING_VALUE",
Expand Down Expand Up @@ -313,6 +316,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* TrimSpaceInChar: true || false,
* ConvertTimestampWithZoneToUTC: true || false,
* OpenTransactionWindow: Number("int"),
* AuthenticationMethod: "password" || "kerberos",
* },
* SybaseSettings: { // SybaseSettings
* DatabaseName: "STRING_VALUE",
Expand Down Expand Up @@ -341,6 +345,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* TrimSpaceInChar: true || false,
* TlogAccessMode: "BackupOnly" || "PreferBackup" || "PreferTlog" || "TlogOnly",
* ForceLobLookup: true || false,
* AuthenticationMethod: "password" || "kerberos",
* },
* IBMDb2Settings: { // IBMDb2Settings
* DatabaseName: "STRING_VALUE",
Expand Down Expand Up @@ -507,6 +512,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* // IncludeControlDetails: true || false,
* // IncludeNullAndEmpty: true || false,
* // NoHexPrefix: true || false,
* // UseLargeIntegerValue: true || false,
* // },
* // KafkaSettings: { // KafkaSettings
* // Broker: "STRING_VALUE",
Expand All @@ -529,6 +535,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* // NoHexPrefix: true || false,
* // SaslMechanism: "scram-sha-512" || "plain",
* // SslEndpointIdentificationAlgorithm: "none" || "https",
* // UseLargeIntegerValue: true || false,
* // },
* // ElasticsearchSettings: { // ElasticsearchSettings
* // ServiceAccessRoleArn: "STRING_VALUE", // required
Expand Down Expand Up @@ -604,6 +611,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* // MapLongVarcharAs: "wstring" || "clob" || "nclob",
* // DatabaseMode: "default" || "babelfish",
* // BabelfishDatabaseName: "STRING_VALUE",
* // DisableUnicodeSourceFilter: true || false,
* // },
* // MySQLSettings: { // MySQLSettings
* // AfterConnectScript: "STRING_VALUE",
Expand Down Expand Up @@ -668,6 +676,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* // TrimSpaceInChar: true || false,
* // ConvertTimestampWithZoneToUTC: true || false,
* // OpenTransactionWindow: Number("int"),
* // AuthenticationMethod: "password" || "kerberos",
* // },
* // SybaseSettings: { // SybaseSettings
* // DatabaseName: "STRING_VALUE",
Expand Down Expand Up @@ -696,6 +705,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
* // TrimSpaceInChar: true || false,
* // TlogAccessMode: "BackupOnly" || "PreferBackup" || "PreferTlog" || "TlogOnly",
* // ForceLobLookup: true || false,
* // AuthenticationMethod: "password" || "kerberos",
* // },
* // IBMDb2Settings: { // IBMDb2Settings
* // DatabaseName: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ export interface CreateReplicationInstanceCommandOutput extends CreateReplicatio
* DnsNameServers: "STRING_VALUE",
* ResourceIdentifier: "STRING_VALUE",
* NetworkType: "STRING_VALUE",
* KerberosAuthenticationSettings: { // KerberosAuthenticationSettings
* KeyCacheSecretId: "STRING_VALUE",
* KeyCacheSecretIamArn: "STRING_VALUE",
* Krb5FileContents: "STRING_VALUE",
* },
* };
* const command = new CreateReplicationInstanceCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -138,6 +143,11 @@ export interface CreateReplicationInstanceCommandOutput extends CreateReplicatio
* // FreeUntil: new Date("TIMESTAMP"),
* // DnsNameServers: "STRING_VALUE",
* // NetworkType: "STRING_VALUE",
* // KerberosAuthenticationSettings: { // KerberosAuthenticationSettings
* // KeyCacheSecretId: "STRING_VALUE",
* // KeyCacheSecretIamArn: "STRING_VALUE",
* // Krb5FileContents: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
* // IncludeControlDetails: true || false,
* // IncludeNullAndEmpty: true || false,
* // NoHexPrefix: true || false,
* // UseLargeIntegerValue: true || false,
* // },
* // KafkaSettings: { // KafkaSettings
* // Broker: "STRING_VALUE",
Expand All @@ -173,6 +174,7 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
* // NoHexPrefix: true || false,
* // SaslMechanism: "scram-sha-512" || "plain",
* // SslEndpointIdentificationAlgorithm: "none" || "https",
* // UseLargeIntegerValue: true || false,
* // },
* // ElasticsearchSettings: { // ElasticsearchSettings
* // ServiceAccessRoleArn: "STRING_VALUE", // required
Expand Down Expand Up @@ -248,6 +250,7 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
* // MapLongVarcharAs: "wstring" || "clob" || "nclob",
* // DatabaseMode: "default" || "babelfish",
* // BabelfishDatabaseName: "STRING_VALUE",
* // DisableUnicodeSourceFilter: true || false,
* // },
* // MySQLSettings: { // MySQLSettings
* // AfterConnectScript: "STRING_VALUE",
Expand Down Expand Up @@ -312,6 +315,7 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
* // TrimSpaceInChar: true || false,
* // ConvertTimestampWithZoneToUTC: true || false,
* // OpenTransactionWindow: Number("int"),
* // AuthenticationMethod: "password" || "kerberos",
* // },
* // SybaseSettings: { // SybaseSettings
* // DatabaseName: "STRING_VALUE",
Expand Down Expand Up @@ -340,6 +344,7 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
* // TrimSpaceInChar: true || false,
* // TlogAccessMode: "BackupOnly" || "PreferBackup" || "PreferTlog" || "TlogOnly",
* // ForceLobLookup: true || false,
* // AuthenticationMethod: "password" || "kerberos",
* // },
* // IBMDb2Settings: { // IBMDb2Settings
* // DatabaseName: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ export interface DeleteEventSubscriptionCommandOutput extends DeleteEventSubscri
* @see {@link DeleteEventSubscriptionCommandOutput} for command's `response` shape.
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
*
* @throws {@link AccessDeniedFault} (client fault)
* <p>DMS was denied access to the endpoint. Check that the
* role is correctly configured.</p>
*
* @throws {@link InvalidResourceStateFault} (client fault)
* <p>The resource is in a state that prevents it from being used for database migration.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ export interface DeleteReplicationInstanceCommandOutput extends DeleteReplicatio
* // FreeUntil: new Date("TIMESTAMP"),
* // DnsNameServers: "STRING_VALUE",
* // NetworkType: "STRING_VALUE",
* // KerberosAuthenticationSettings: { // KerberosAuthenticationSettings
* // KeyCacheSecretId: "STRING_VALUE",
* // KeyCacheSecretIamArn: "STRING_VALUE",
* // Krb5FileContents: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ export interface DeleteReplicationSubnetGroupCommandOutput
* @see {@link DeleteReplicationSubnetGroupCommandOutput} for command's `response` shape.
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
*
* @throws {@link AccessDeniedFault} (client fault)
* <p>DMS was denied access to the endpoint. Check that the
* role is correctly configured.</p>
*
* @throws {@link InvalidResourceStateFault} (client fault)
* <p>The resource is in a state that prevents it from being used for database migration.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
* // IncludeControlDetails: true || false,
* // IncludeNullAndEmpty: true || false,
* // NoHexPrefix: true || false,
* // UseLargeIntegerValue: true || false,
* // },
* // KafkaSettings: { // KafkaSettings
* // Broker: "STRING_VALUE",
Expand All @@ -179,6 +180,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
* // NoHexPrefix: true || false,
* // SaslMechanism: "scram-sha-512" || "plain",
* // SslEndpointIdentificationAlgorithm: "none" || "https",
* // UseLargeIntegerValue: true || false,
* // },
* // ElasticsearchSettings: { // ElasticsearchSettings
* // ServiceAccessRoleArn: "STRING_VALUE", // required
Expand Down Expand Up @@ -254,6 +256,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
* // MapLongVarcharAs: "wstring" || "clob" || "nclob",
* // DatabaseMode: "default" || "babelfish",
* // BabelfishDatabaseName: "STRING_VALUE",
* // DisableUnicodeSourceFilter: true || false,
* // },
* // MySQLSettings: { // MySQLSettings
* // AfterConnectScript: "STRING_VALUE",
Expand Down Expand Up @@ -318,6 +321,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
* // TrimSpaceInChar: true || false,
* // ConvertTimestampWithZoneToUTC: true || false,
* // OpenTransactionWindow: Number("int"),
* // AuthenticationMethod: "password" || "kerberos",
* // },
* // SybaseSettings: { // SybaseSettings
* // DatabaseName: "STRING_VALUE",
Expand Down Expand Up @@ -346,6 +350,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
* // TrimSpaceInChar: true || false,
* // TlogAccessMode: "BackupOnly" || "PreferBackup" || "PreferTlog" || "TlogOnly",
* // ForceLobLookup: true || false,
* // AuthenticationMethod: "password" || "kerberos",
* // },
* // IBMDb2Settings: { // IBMDb2Settings
* // DatabaseName: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ export interface DescribeReplicationInstancesCommandOutput
* // FreeUntil: new Date("TIMESTAMP"),
* // DnsNameServers: "STRING_VALUE",
* // NetworkType: "STRING_VALUE",
* // KerberosAuthenticationSettings: { // KerberosAuthenticationSettings
* // KeyCacheSecretId: "STRING_VALUE",
* // KeyCacheSecretIamArn: "STRING_VALUE",
* // Krb5FileContents: "STRING_VALUE",
* // },
* // },
* // ],
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { commonParams } from "../endpoint/EndpointParameters";
import {
DescribeReplicationTaskAssessmentResultsMessage,
DescribeReplicationTaskAssessmentResultsResponse,
DescribeReplicationTaskAssessmentResultsResponseFilterSensitiveLog,
} from "../models/models_0";
import {
de_DescribeReplicationTaskAssessmentResultsCommand,
Expand Down Expand Up @@ -109,7 +110,7 @@ export class DescribeReplicationTaskAssessmentResultsCommand extends $Command
})
.s("AmazonDMSv20160101", "DescribeReplicationTaskAssessmentResults", {})
.n("DatabaseMigrationServiceClient", "DescribeReplicationTaskAssessmentResultsCommand")
.f(void 0, void 0)
.f(void 0, DescribeReplicationTaskAssessmentResultsResponseFilterSensitiveLog)
.ser(se_DescribeReplicationTaskAssessmentResultsCommand)
.de(de_DescribeReplicationTaskAssessmentResultsCommand)
.build() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ServiceOutputTypes,
} from "../DatabaseMigrationServiceClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeSchemasMessage, DescribeSchemasResponse } from "../models/models_0";
import { DescribeSchemasMessage, DescribeSchemasResponse } from "../models/models_1";
import { de_DescribeSchemasCommand, se_DescribeSchemasCommand } from "../protocols/Aws_json1_1";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import {
ServiceOutputTypes,
} from "../DatabaseMigrationServiceClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeTableStatisticsMessage } from "../models/models_0";
import { DescribeTableStatisticsResponse } from "../models/models_1";
import { DescribeTableStatisticsMessage, DescribeTableStatisticsResponse } from "../models/models_1";
import { de_DescribeTableStatisticsCommand, se_DescribeTableStatisticsCommand } from "../protocols/Aws_json1_1";

/**
Expand Down Expand Up @@ -99,6 +98,10 @@ export interface DescribeTableStatisticsCommandOutput extends DescribeTableStati
* @see {@link DescribeTableStatisticsCommandOutput} for command's `response` shape.
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
*
* @throws {@link AccessDeniedFault} (client fault)
* <p>DMS was denied access to the endpoint. Check that the
* role is correctly configured.</p>
*
* @throws {@link InvalidResourceStateFault} (client fault)
* <p>The resource is in a state that prevents it from being used for database migration.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* IncludeControlDetails: true || false,
* IncludeNullAndEmpty: true || false,
* NoHexPrefix: true || false,
* UseLargeIntegerValue: true || false,
* },
* KafkaSettings: { // KafkaSettings
* Broker: "STRING_VALUE",
Expand All @@ -167,6 +168,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* NoHexPrefix: true || false,
* SaslMechanism: "scram-sha-512" || "plain",
* SslEndpointIdentificationAlgorithm: "none" || "https",
* UseLargeIntegerValue: true || false,
* },
* ElasticsearchSettings: { // ElasticsearchSettings
* ServiceAccessRoleArn: "STRING_VALUE", // required
Expand Down Expand Up @@ -242,6 +244,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* MapLongVarcharAs: "wstring" || "clob" || "nclob",
* DatabaseMode: "default" || "babelfish",
* BabelfishDatabaseName: "STRING_VALUE",
* DisableUnicodeSourceFilter: true || false,
* },
* MySQLSettings: { // MySQLSettings
* AfterConnectScript: "STRING_VALUE",
Expand Down Expand Up @@ -306,6 +309,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* TrimSpaceInChar: true || false,
* ConvertTimestampWithZoneToUTC: true || false,
* OpenTransactionWindow: Number("int"),
* AuthenticationMethod: "password" || "kerberos",
* },
* SybaseSettings: { // SybaseSettings
* DatabaseName: "STRING_VALUE",
Expand Down Expand Up @@ -334,6 +338,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* TrimSpaceInChar: true || false,
* TlogAccessMode: "BackupOnly" || "PreferBackup" || "PreferTlog" || "TlogOnly",
* ForceLobLookup: true || false,
* AuthenticationMethod: "password" || "kerberos",
* },
* IBMDb2Settings: { // IBMDb2Settings
* DatabaseName: "STRING_VALUE",
Expand Down Expand Up @@ -500,6 +505,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* // IncludeControlDetails: true || false,
* // IncludeNullAndEmpty: true || false,
* // NoHexPrefix: true || false,
* // UseLargeIntegerValue: true || false,
* // },
* // KafkaSettings: { // KafkaSettings
* // Broker: "STRING_VALUE",
Expand All @@ -522,6 +528,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* // NoHexPrefix: true || false,
* // SaslMechanism: "scram-sha-512" || "plain",
* // SslEndpointIdentificationAlgorithm: "none" || "https",
* // UseLargeIntegerValue: true || false,
* // },
* // ElasticsearchSettings: { // ElasticsearchSettings
* // ServiceAccessRoleArn: "STRING_VALUE", // required
Expand Down Expand Up @@ -597,6 +604,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* // MapLongVarcharAs: "wstring" || "clob" || "nclob",
* // DatabaseMode: "default" || "babelfish",
* // BabelfishDatabaseName: "STRING_VALUE",
* // DisableUnicodeSourceFilter: true || false,
* // },
* // MySQLSettings: { // MySQLSettings
* // AfterConnectScript: "STRING_VALUE",
Expand Down Expand Up @@ -661,6 +669,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* // TrimSpaceInChar: true || false,
* // ConvertTimestampWithZoneToUTC: true || false,
* // OpenTransactionWindow: Number("int"),
* // AuthenticationMethod: "password" || "kerberos",
* // },
* // SybaseSettings: { // SybaseSettings
* // DatabaseName: "STRING_VALUE",
Expand Down Expand Up @@ -689,6 +698,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
* // TrimSpaceInChar: true || false,
* // TlogAccessMode: "BackupOnly" || "PreferBackup" || "PreferTlog" || "TlogOnly",
* // ForceLobLookup: true || false,
* // AuthenticationMethod: "password" || "kerberos",
* // },
* // IBMDb2Settings: { // IBMDb2Settings
* // DatabaseName: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ export interface ModifyEventSubscriptionCommandOutput extends ModifyEventSubscri
* @see {@link ModifyEventSubscriptionCommandOutput} for command's `response` shape.
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
*
* @throws {@link AccessDeniedFault} (client fault)
* <p>DMS was denied access to the endpoint. Check that the
* role is correctly configured.</p>
*
* @throws {@link KMSAccessDeniedFault} (client fault)
* <p>The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ export interface ModifyReplicationInstanceCommandOutput extends ModifyReplicatio
* AutoMinorVersionUpgrade: true || false,
* ReplicationInstanceIdentifier: "STRING_VALUE",
* NetworkType: "STRING_VALUE",
* KerberosAuthenticationSettings: { // KerberosAuthenticationSettings
* KeyCacheSecretId: "STRING_VALUE",
* KeyCacheSecretIamArn: "STRING_VALUE",
* Krb5FileContents: "STRING_VALUE",
* },
* };
* const command = new ModifyReplicationInstanceCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -121,6 +126,11 @@ export interface ModifyReplicationInstanceCommandOutput extends ModifyReplicatio
* // FreeUntil: new Date("TIMESTAMP"),
* // DnsNameServers: "STRING_VALUE",
* // NetworkType: "STRING_VALUE",
* // KerberosAuthenticationSettings: { // KerberosAuthenticationSettings
* // KeyCacheSecretId: "STRING_VALUE",
* // KeyCacheSecretIamArn: "STRING_VALUE",
* // Krb5FileContents: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Loading

0 comments on commit 97520fc

Please sign in to comment.