Skip to content

Commit 64d9e9f

Browse files
author
awstools
committed
feat(client-glue): This release adds tag as an input of CreateDatabase
1 parent 52a77f5 commit 64d9e9f

File tree

5 files changed

+79
-16
lines changed

5 files changed

+79
-16
lines changed

clients/client-glue/src/models/models_0.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,11 @@ export interface StorageDescriptor {
516516
*/
517517
Location?: string;
518518

519+
/**
520+
* <p>A list of locations that point to the path where a Delta table is located.</p>
521+
*/
519522
AdditionalLocations?: string[];
523+
520524
/**
521525
* <p>The input format: <code>SequenceFileInputFormat</code> (binary),
522526
* or <code>TextInputFormat</code>, or a custom format.</p>
@@ -7207,6 +7211,11 @@ export interface CreateDatabaseRequest {
72077211
* <p>The metadata for the database.</p>
72087212
*/
72097213
DatabaseInput: DatabaseInput | undefined;
7214+
7215+
/**
7216+
* <p>The tags you assign to the database.</p>
7217+
*/
7218+
Tags?: Record<string, string>;
72107219
}
72117220

72127221
export namespace CreateDatabaseRequest {

clients/client-glue/src/models/models_1.ts

Lines changed: 45 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,7 @@ export interface GetConnectionRequest {
21122112

21132113
/**
21142114
* <p>Allows you to retrieve the connection metadata without returning the password. For
2115-
* instance, the AWS Glue console uses this flag to retrieve the connection, and does not display
2115+
* instance, the Glue console uses this flag to retrieve the connection, and does not display
21162116
* the password. Set this parameter when the caller might not have permission to use the KMS
21172117
* key to decrypt the password, but it does have permission to access the rest of the connection
21182118
* properties.</p>
@@ -2235,35 +2235,35 @@ export interface Connection {
22352235
* </li>
22362236
* <li>
22372237
* <p>
2238-
* <code>KAFKA_BOOTSTRAP_SERVERS</code> - A comma-separated list of host and port pairs that are the addresses of the Apache Kafka brokers in a Kafka cluster to which a Kafka client will connect to and bootstrap itself.</p>
2238+
* <code>SECRET_ID</code> - The secret ID used for the secret manager of credentials.</p>
22392239
* </li>
22402240
* <li>
22412241
* <p>
2242-
* <code>KAFKA_SSL_ENABLED</code> - Whether to enable or disable SSL on an Apache Kafka connection. Default value is "true".</p>
2242+
* <code>CONNECTOR_URL</code> - The connector URL for a MARKETPLACE or CUSTOM connection.</p>
22432243
* </li>
22442244
* <li>
22452245
* <p>
2246-
* <code>KAFKA_CUSTOM_CERT</code> - The Amazon S3 URL for the private CA cert file (.pem format). The default is an empty string.</p>
2246+
* <code>CONNECTOR_TYPE</code> - The connector type for a MARKETPLACE or CUSTOM connection.</p>
22472247
* </li>
22482248
* <li>
22492249
* <p>
2250-
* <code>KAFKA_SKIP_CUSTOM_CERT_VALIDATION</code> - Whether to skip the validation of the CA cert file or not. Glue validates for three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is "false".</p>
2250+
* <code>CONNECTOR_CLASS_NAME</code> - The connector class name for a MARKETPLACE or CUSTOM connection.</p>
22512251
* </li>
22522252
* <li>
22532253
* <p>
2254-
* <code>SECRET_ID</code> - The secret ID used for the secret manager of credentials.</p>
2254+
* <code>KAFKA_BOOTSTRAP_SERVERS</code> - A comma-separated list of host and port pairs that are the addresses of the Apache Kafka brokers in a Kafka cluster to which a Kafka client will connect to and bootstrap itself.</p>
22552255
* </li>
22562256
* <li>
22572257
* <p>
2258-
* <code>CONNECTOR_URL</code> - The connector URL for a MARKETPLACE or CUSTOM connection.</p>
2258+
* <code>KAFKA_SSL_ENABLED</code> - Whether to enable or disable SSL on an Apache Kafka connection. Default value is "true".</p>
22592259
* </li>
22602260
* <li>
22612261
* <p>
2262-
* <code>CONNECTOR_TYPE</code> - The connector type for a MARKETPLACE or CUSTOM connection.</p>
2262+
* <code>KAFKA_CUSTOM_CERT</code> - The Amazon S3 URL for the private CA cert file (.pem format). The default is an empty string.</p>
22632263
* </li>
22642264
* <li>
22652265
* <p>
2266-
* <code>CONNECTOR_CLASS_NAME</code> - The connector class name for a MARKETPLACE or CUSTOM connection.</p>
2266+
* <code>KAFKA_SKIP_CUSTOM_CERT_VALIDATION</code> - Whether to skip the validation of the CA cert file or not. Glue validates for three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is "false".</p>
22672267
* </li>
22682268
* <li>
22692269
* <p>
@@ -2285,6 +2285,38 @@ export interface Connection {
22852285
* <p>
22862286
* <code>ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD</code> - The encrypted version of the Kafka client key password (if the user has the Glue encrypt passwords setting selected).</p>
22872287
* </li>
2288+
* <li>
2289+
* <p>
2290+
* <code>KAFKA_SASL_MECHANISM</code> - <code>"SCRAM-SHA-512"</code> or <code>"GSSAPI"</code>. These are the two supported <a href="https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml">SASL Mechanisms</a>.</p>
2291+
* </li>
2292+
* <li>
2293+
* <p>
2294+
* <code>KAFKA_SASL_SCRAM_USERNAME</code> - A plaintext username used to authenticate with the "SCRAM-SHA-512" mechanism.</p>
2295+
* </li>
2296+
* <li>
2297+
* <p>
2298+
* <code>KAFKA_SASL_SCRAM_PASSWORD</code> - A plaintext password used to authenticate with the "SCRAM-SHA-512" mechanism.</p>
2299+
* </li>
2300+
* <li>
2301+
* <p>
2302+
* <code>ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD</code> - The encrypted version of the Kafka SASL SCRAM password (if the user has the Glue encrypt passwords setting selected).</p>
2303+
* </li>
2304+
* <li>
2305+
* <p>
2306+
* <code>KAFKA_SASL_GSSAPI_KEYTAB</code> - The S3 location of a Kerberos <code>keytab</code> file. A keytab stores long-term keys for one or more principals. For more information, see <a href="https://web.mit.edu/kerberos/krb5-latest/doc/basic/keytab_def.html">MIT Kerberos Documentation: Keytab</a>.</p>
2307+
* </li>
2308+
* <li>
2309+
* <p>
2310+
* <code>KAFKA_SASL_GSSAPI_KRB5_CONF</code> - The S3 location of a Kerberos <code>krb5.conf</code> file. A krb5.conf stores Kerberos configuration information, such as the location of the KDC server. For more information, see <a href="https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html">MIT Kerberos Documentation: krb5.conf</a>.</p>
2311+
* </li>
2312+
* <li>
2313+
* <p>
2314+
* <code>KAFKA_SASL_GSSAPI_SERVICE</code> - The Kerberos service name, as set with <code>sasl.kerberos.service.name</code> in your <a href="https://kafka.apache.org/documentation/#brokerconfigs_sasl.kerberos.service.name">Kafka Configuration</a>.</p>
2315+
* </li>
2316+
* <li>
2317+
* <p>
2318+
* <code>KAFKA_SASL_GSSAPI_PRINCIPAL</code> - The name of the Kerberos princial used by Glue. For more information, see <a href="https://kafka.apache.org/documentation/#security_sasl_kerberos_clientconfig">Kafka Documentation: Configuring Kafka Brokers</a>.</p>
2319+
* </li>
22882320
* </ul>
22892321
*/
22902322
ConnectionProperties?: Record<string, string>;
@@ -2376,7 +2408,7 @@ export interface GetConnectionsRequest {
23762408

23772409
/**
23782410
* <p>Allows you to retrieve the connection metadata without returning the password. For
2379-
* instance, the AWS Glue console uses this flag to retrieve the connection, and does not display
2411+
* instance, the Glue console uses this flag to retrieve the connection, and does not display
23802412
* the password. Set this parameter when the caller might not have permission to use the KMS
23812413
* key to decrypt the password, but it does have permission to access the rest of the connection
23822414
* properties.</p>
@@ -5952,6 +5984,9 @@ export interface Table {
59525984
*/
59535985
CatalogId?: string;
59545986

5987+
/**
5988+
* <p>The ID of the table version.</p>
5989+
*/
59555990
VersionId?: string;
59565991
}
59575992

clients/client-glue/src/models/models_2.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,6 +2374,9 @@ export interface UpdateTableRequest {
23742374
*/
23752375
TransactionId?: string;
23762376

2377+
/**
2378+
* <p>The version ID at which to update the table contents. </p>
2379+
*/
23772380
VersionId?: string;
23782381
}
23792382

clients/client-glue/src/protocols/Aws_json1_1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15035,6 +15035,7 @@ const serializeAws_json1_1CreateDatabaseRequest = (input: CreateDatabaseRequest,
1503515035
input.DatabaseInput !== null && {
1503615036
DatabaseInput: serializeAws_json1_1DatabaseInput(input.DatabaseInput, context),
1503715037
}),
15038+
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsMap(input.Tags, context) }),
1503815039
};
1503915040
};
1504015041

0 commit comments

Comments
 (0)