@aws-sdk/client-glue 3.590.0 → 3.591.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +38 -6
- package/dist-es/models/models_0.js +15 -53
- package/dist-es/models/models_1.js +60 -3
- package/dist-es/models/models_2.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +4 -0
- package/dist-types/commands/CreateConnectionCommand.d.ts +25 -3
- package/dist-types/commands/CreateCrawlerCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectionCommand.d.ts +19 -1
- package/dist-types/commands/GetConnectionsCommand.d.ts +20 -2
- package/dist-types/commands/GetSchemaVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetSchemaVersionsDiffCommand.d.ts +1 -1
- package/dist-types/commands/GetSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectionCommand.d.ts +21 -1
- package/dist-types/models/models_0.d.ts +162 -342
- package/dist-types/models/models_1.d.ts +400 -184
- package/dist-types/models/models_2.d.ts +190 -8
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateCrawlerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSchemaVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSchemaVersionsDiffCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +50 -96
- package/dist-types/ts3.4/models/models_1.d.ts +120 -46
- package/dist-types/ts3.4/models/models_2.d.ts +46 -3
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __export(src_exports, {
|
|
|
25
25
|
AdditionalOptionKeys: () => AdditionalOptionKeys,
|
|
26
26
|
AggFunction: () => AggFunction,
|
|
27
27
|
AlreadyExistsException: () => AlreadyExistsException,
|
|
28
|
+
AuthenticationType: () => AuthenticationType,
|
|
28
29
|
BackfillErrorCode: () => BackfillErrorCode,
|
|
29
30
|
BatchCreatePartitionCommand: () => BatchCreatePartitionCommand,
|
|
30
31
|
BatchDeleteConnectionCommand: () => BatchDeleteConnectionCommand,
|
|
@@ -66,6 +67,7 @@ __export(src_exports, {
|
|
|
66
67
|
ConditionCheckFailureException: () => ConditionCheckFailureException,
|
|
67
68
|
ConflictException: () => ConflictException,
|
|
68
69
|
ConnectionPropertyKey: () => ConnectionPropertyKey,
|
|
70
|
+
ConnectionStatus: () => ConnectionStatus,
|
|
69
71
|
ConnectionType: () => ConnectionType,
|
|
70
72
|
CrawlState: () => CrawlState,
|
|
71
73
|
CrawlerHistoryState: () => CrawlerHistoryState,
|
|
@@ -266,6 +268,7 @@ __export(src_exports, {
|
|
|
266
268
|
MetadataOperation: () => MetadataOperation,
|
|
267
269
|
NoScheduleException: () => NoScheduleException,
|
|
268
270
|
NodeType: () => NodeType,
|
|
271
|
+
OAuth2GrantType: () => OAuth2GrantType,
|
|
269
272
|
OperationTimeoutException: () => OperationTimeoutException,
|
|
270
273
|
ParamType: () => ParamType,
|
|
271
274
|
ParquetCompressionType: () => ParquetCompressionType,
|
|
@@ -646,6 +649,16 @@ var _AlreadyExistsException = class _AlreadyExistsException extends GlueServiceE
|
|
|
646
649
|
};
|
|
647
650
|
__name(_AlreadyExistsException, "AlreadyExistsException");
|
|
648
651
|
var AlreadyExistsException = _AlreadyExistsException;
|
|
652
|
+
var AuthenticationType = {
|
|
653
|
+
BASIC: "BASIC",
|
|
654
|
+
CUSTOM: "CUSTOM",
|
|
655
|
+
OAUTH2: "OAUTH2"
|
|
656
|
+
};
|
|
657
|
+
var OAuth2GrantType = {
|
|
658
|
+
AUTHORIZATION_CODE: "AUTHORIZATION_CODE",
|
|
659
|
+
CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS",
|
|
660
|
+
JWT_BEARER: "JWT_BEARER"
|
|
661
|
+
};
|
|
649
662
|
var _EntityNotFoundException = class _EntityNotFoundException extends GlueServiceException {
|
|
650
663
|
/**
|
|
651
664
|
* @internal
|
|
@@ -1016,10 +1029,15 @@ var SourceControlProvider = {
|
|
|
1016
1029
|
GITLAB: "GITLAB"
|
|
1017
1030
|
};
|
|
1018
1031
|
var FederationSourceErrorCode = {
|
|
1032
|
+
AccessDeniedException: "AccessDeniedException",
|
|
1033
|
+
EntityNotFoundException: "EntityNotFoundException",
|
|
1019
1034
|
InternalServiceException: "InternalServiceException",
|
|
1035
|
+
InvalidCredentialsException: "InvalidCredentialsException",
|
|
1036
|
+
InvalidInputException: "InvalidInputException",
|
|
1020
1037
|
InvalidResponseException: "InvalidResponseException",
|
|
1021
1038
|
OperationNotSupportedException: "OperationNotSupportedException",
|
|
1022
1039
|
OperationTimeoutException: "OperationTimeoutException",
|
|
1040
|
+
PartialFailureException: "PartialFailureException",
|
|
1023
1041
|
ThrottlingException: "ThrottlingException"
|
|
1024
1042
|
};
|
|
1025
1043
|
var _FederationSourceException = class _FederationSourceException extends GlueServiceException {
|
|
@@ -1183,6 +1201,8 @@ var CsvSerdeOption = {
|
|
|
1183
1201
|
None: "None",
|
|
1184
1202
|
OpenCSVSerDe: "OpenCSVSerDe"
|
|
1185
1203
|
};
|
|
1204
|
+
|
|
1205
|
+
// src/models/models_1.ts
|
|
1186
1206
|
var ConnectionPropertyKey = {
|
|
1187
1207
|
CONFIG_FILES: "CONFIG_FILES",
|
|
1188
1208
|
CONNECTION_URL: "CONNECTION_URL",
|
|
@@ -1223,6 +1243,7 @@ var ConnectionPropertyKey = {
|
|
|
1223
1243
|
KAFKA_SSL_ENABLED: "KAFKA_SSL_ENABLED",
|
|
1224
1244
|
PASSWORD: "PASSWORD",
|
|
1225
1245
|
PORT: "PORT",
|
|
1246
|
+
ROLE_ARN: "ROLE_ARN",
|
|
1226
1247
|
SECRET_ID: "SECRET_ID",
|
|
1227
1248
|
SKIP_CUSTOM_JDBC_CERT_VALIDATION: "SKIP_CUSTOM_JDBC_CERT_VALIDATION",
|
|
1228
1249
|
USER_NAME: "USERNAME"
|
|
@@ -1234,10 +1255,14 @@ var ConnectionType = {
|
|
|
1234
1255
|
MARKETPLACE: "MARKETPLACE",
|
|
1235
1256
|
MONGODB: "MONGODB",
|
|
1236
1257
|
NETWORK: "NETWORK",
|
|
1258
|
+
SALESFORCE: "SALESFORCE",
|
|
1237
1259
|
SFTP: "SFTP"
|
|
1238
1260
|
};
|
|
1239
|
-
|
|
1240
|
-
|
|
1261
|
+
var ConnectionStatus = {
|
|
1262
|
+
FAILED: "FAILED",
|
|
1263
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1264
|
+
READY: "READY"
|
|
1265
|
+
};
|
|
1241
1266
|
var _IdempotentParameterMismatchException = class _IdempotentParameterMismatchException extends GlueServiceException {
|
|
1242
1267
|
/**
|
|
1243
1268
|
* @internal
|
|
@@ -1537,12 +1562,12 @@ var PartitionIndexStatus = {
|
|
|
1537
1562
|
DELETING: "DELETING",
|
|
1538
1563
|
FAILED: "FAILED"
|
|
1539
1564
|
};
|
|
1540
|
-
var SchemaDiffType = {
|
|
1541
|
-
SYNTAX_DIFF: "SYNTAX_DIFF"
|
|
1542
|
-
};
|
|
1543
1565
|
|
|
1544
1566
|
// src/models/models_2.ts
|
|
1545
1567
|
|
|
1568
|
+
var SchemaDiffType = {
|
|
1569
|
+
SYNTAX_DIFF: "SYNTAX_DIFF"
|
|
1570
|
+
};
|
|
1546
1571
|
var StatementState = {
|
|
1547
1572
|
AVAILABLE: "AVAILABLE",
|
|
1548
1573
|
CANCELLED: "CANCELLED",
|
|
@@ -7495,15 +7520,19 @@ var de_ColumnStatisticsTaskRunsList = /* @__PURE__ */ __name((output, context) =
|
|
|
7495
7520
|
}, "de_ColumnStatisticsTaskRunsList");
|
|
7496
7521
|
var de_Connection = /* @__PURE__ */ __name((output, context) => {
|
|
7497
7522
|
return (0, import_smithy_client.take)(output, {
|
|
7523
|
+
AuthenticationConfiguration: import_smithy_client._json,
|
|
7498
7524
|
ConnectionProperties: import_smithy_client._json,
|
|
7499
7525
|
ConnectionType: import_smithy_client.expectString,
|
|
7500
7526
|
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
7501
7527
|
Description: import_smithy_client.expectString,
|
|
7528
|
+
LastConnectionValidationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
7502
7529
|
LastUpdatedBy: import_smithy_client.expectString,
|
|
7503
7530
|
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
7504
7531
|
MatchCriteria: import_smithy_client._json,
|
|
7505
7532
|
Name: import_smithy_client.expectString,
|
|
7506
|
-
PhysicalConnectionRequirements: import_smithy_client._json
|
|
7533
|
+
PhysicalConnectionRequirements: import_smithy_client._json,
|
|
7534
|
+
Status: import_smithy_client.expectString,
|
|
7535
|
+
StatusReason: import_smithy_client.expectString
|
|
7507
7536
|
});
|
|
7508
7537
|
}, "de_Connection");
|
|
7509
7538
|
var de_ConnectionList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -13215,6 +13244,8 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
|
|
|
13215
13244
|
AdditionalOptionKeys,
|
|
13216
13245
|
AggFunction,
|
|
13217
13246
|
AlreadyExistsException,
|
|
13247
|
+
AuthenticationType,
|
|
13248
|
+
OAuth2GrantType,
|
|
13218
13249
|
EntityNotFoundException,
|
|
13219
13250
|
GlueEncryptionException,
|
|
13220
13251
|
InternalServiceException,
|
|
@@ -13279,6 +13310,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
|
|
|
13279
13310
|
CsvSerdeOption,
|
|
13280
13311
|
ConnectionPropertyKey,
|
|
13281
13312
|
ConnectionType,
|
|
13313
|
+
ConnectionStatus,
|
|
13282
13314
|
IdempotentParameterMismatchException,
|
|
13283
13315
|
ConcurrentModificationException,
|
|
13284
13316
|
Permission,
|
|
@@ -46,6 +46,16 @@ export class AlreadyExistsException extends __BaseException {
|
|
|
46
46
|
this.Message = opts.Message;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
+
export const AuthenticationType = {
|
|
50
|
+
BASIC: "BASIC",
|
|
51
|
+
CUSTOM: "CUSTOM",
|
|
52
|
+
OAUTH2: "OAUTH2",
|
|
53
|
+
};
|
|
54
|
+
export const OAuth2GrantType = {
|
|
55
|
+
AUTHORIZATION_CODE: "AUTHORIZATION_CODE",
|
|
56
|
+
CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS",
|
|
57
|
+
JWT_BEARER: "JWT_BEARER",
|
|
58
|
+
};
|
|
49
59
|
export class EntityNotFoundException extends __BaseException {
|
|
50
60
|
constructor(opts) {
|
|
51
61
|
super({
|
|
@@ -381,10 +391,15 @@ export const SourceControlProvider = {
|
|
|
381
391
|
GITLAB: "GITLAB",
|
|
382
392
|
};
|
|
383
393
|
export const FederationSourceErrorCode = {
|
|
394
|
+
AccessDeniedException: "AccessDeniedException",
|
|
395
|
+
EntityNotFoundException: "EntityNotFoundException",
|
|
384
396
|
InternalServiceException: "InternalServiceException",
|
|
397
|
+
InvalidCredentialsException: "InvalidCredentialsException",
|
|
398
|
+
InvalidInputException: "InvalidInputException",
|
|
385
399
|
InvalidResponseException: "InvalidResponseException",
|
|
386
400
|
OperationNotSupportedException: "OperationNotSupportedException",
|
|
387
401
|
OperationTimeoutException: "OperationTimeoutException",
|
|
402
|
+
PartialFailureException: "PartialFailureException",
|
|
388
403
|
ThrottlingException: "ThrottlingException",
|
|
389
404
|
};
|
|
390
405
|
export class FederationSourceException extends __BaseException {
|
|
@@ -528,56 +543,3 @@ export const CsvSerdeOption = {
|
|
|
528
543
|
None: "None",
|
|
529
544
|
OpenCSVSerDe: "OpenCSVSerDe",
|
|
530
545
|
};
|
|
531
|
-
export const ConnectionPropertyKey = {
|
|
532
|
-
CONFIG_FILES: "CONFIG_FILES",
|
|
533
|
-
CONNECTION_URL: "CONNECTION_URL",
|
|
534
|
-
CONNECTOR_CLASS_NAME: "CONNECTOR_CLASS_NAME",
|
|
535
|
-
CONNECTOR_TYPE: "CONNECTOR_TYPE",
|
|
536
|
-
CONNECTOR_URL: "CONNECTOR_URL",
|
|
537
|
-
CUSTOM_JDBC_CERT: "CUSTOM_JDBC_CERT",
|
|
538
|
-
CUSTOM_JDBC_CERT_STRING: "CUSTOM_JDBC_CERT_STRING",
|
|
539
|
-
ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD: "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD",
|
|
540
|
-
ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD: "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD",
|
|
541
|
-
ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD: "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD",
|
|
542
|
-
ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD: "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD",
|
|
543
|
-
ENCRYPTED_PASSWORD: "ENCRYPTED_PASSWORD",
|
|
544
|
-
HOST: "HOST",
|
|
545
|
-
INSTANCE_ID: "INSTANCE_ID",
|
|
546
|
-
JDBC_CONNECTION_URL: "JDBC_CONNECTION_URL",
|
|
547
|
-
JDBC_DRIVER_CLASS_NAME: "JDBC_DRIVER_CLASS_NAME",
|
|
548
|
-
JDBC_DRIVER_JAR_URI: "JDBC_DRIVER_JAR_URI",
|
|
549
|
-
JDBC_ENFORCE_SSL: "JDBC_ENFORCE_SSL",
|
|
550
|
-
JDBC_ENGINE: "JDBC_ENGINE",
|
|
551
|
-
JDBC_ENGINE_VERSION: "JDBC_ENGINE_VERSION",
|
|
552
|
-
KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS",
|
|
553
|
-
KAFKA_CLIENT_KEYSTORE: "KAFKA_CLIENT_KEYSTORE",
|
|
554
|
-
KAFKA_CLIENT_KEYSTORE_PASSWORD: "KAFKA_CLIENT_KEYSTORE_PASSWORD",
|
|
555
|
-
KAFKA_CLIENT_KEY_PASSWORD: "KAFKA_CLIENT_KEY_PASSWORD",
|
|
556
|
-
KAFKA_CUSTOM_CERT: "KAFKA_CUSTOM_CERT",
|
|
557
|
-
KAFKA_SASL_GSSAPI_KEYTAB: "KAFKA_SASL_GSSAPI_KEYTAB",
|
|
558
|
-
KAFKA_SASL_GSSAPI_KRB5_CONF: "KAFKA_SASL_GSSAPI_KRB5_CONF",
|
|
559
|
-
KAFKA_SASL_GSSAPI_PRINCIPAL: "KAFKA_SASL_GSSAPI_PRINCIPAL",
|
|
560
|
-
KAFKA_SASL_GSSAPI_SERVICE: "KAFKA_SASL_GSSAPI_SERVICE",
|
|
561
|
-
KAFKA_SASL_MECHANISM: "KAFKA_SASL_MECHANISM",
|
|
562
|
-
KAFKA_SASL_PLAIN_PASSWORD: "KAFKA_SASL_PLAIN_PASSWORD",
|
|
563
|
-
KAFKA_SASL_PLAIN_USERNAME: "KAFKA_SASL_PLAIN_USERNAME",
|
|
564
|
-
KAFKA_SASL_SCRAM_PASSWORD: "KAFKA_SASL_SCRAM_PASSWORD",
|
|
565
|
-
KAFKA_SASL_SCRAM_SECRETS_ARN: "KAFKA_SASL_SCRAM_SECRETS_ARN",
|
|
566
|
-
KAFKA_SASL_SCRAM_USERNAME: "KAFKA_SASL_SCRAM_USERNAME",
|
|
567
|
-
KAFKA_SKIP_CUSTOM_CERT_VALIDATION: "KAFKA_SKIP_CUSTOM_CERT_VALIDATION",
|
|
568
|
-
KAFKA_SSL_ENABLED: "KAFKA_SSL_ENABLED",
|
|
569
|
-
PASSWORD: "PASSWORD",
|
|
570
|
-
PORT: "PORT",
|
|
571
|
-
SECRET_ID: "SECRET_ID",
|
|
572
|
-
SKIP_CUSTOM_JDBC_CERT_VALIDATION: "SKIP_CUSTOM_JDBC_CERT_VALIDATION",
|
|
573
|
-
USER_NAME: "USERNAME",
|
|
574
|
-
};
|
|
575
|
-
export const ConnectionType = {
|
|
576
|
-
CUSTOM: "CUSTOM",
|
|
577
|
-
JDBC: "JDBC",
|
|
578
|
-
KAFKA: "KAFKA",
|
|
579
|
-
MARKETPLACE: "MARKETPLACE",
|
|
580
|
-
MONGODB: "MONGODB",
|
|
581
|
-
NETWORK: "NETWORK",
|
|
582
|
-
SFTP: "SFTP",
|
|
583
|
-
};
|
|
@@ -1,4 +1,64 @@
|
|
|
1
1
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
2
|
+
export const ConnectionPropertyKey = {
|
|
3
|
+
CONFIG_FILES: "CONFIG_FILES",
|
|
4
|
+
CONNECTION_URL: "CONNECTION_URL",
|
|
5
|
+
CONNECTOR_CLASS_NAME: "CONNECTOR_CLASS_NAME",
|
|
6
|
+
CONNECTOR_TYPE: "CONNECTOR_TYPE",
|
|
7
|
+
CONNECTOR_URL: "CONNECTOR_URL",
|
|
8
|
+
CUSTOM_JDBC_CERT: "CUSTOM_JDBC_CERT",
|
|
9
|
+
CUSTOM_JDBC_CERT_STRING: "CUSTOM_JDBC_CERT_STRING",
|
|
10
|
+
ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD: "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD",
|
|
11
|
+
ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD: "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD",
|
|
12
|
+
ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD: "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD",
|
|
13
|
+
ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD: "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD",
|
|
14
|
+
ENCRYPTED_PASSWORD: "ENCRYPTED_PASSWORD",
|
|
15
|
+
HOST: "HOST",
|
|
16
|
+
INSTANCE_ID: "INSTANCE_ID",
|
|
17
|
+
JDBC_CONNECTION_URL: "JDBC_CONNECTION_URL",
|
|
18
|
+
JDBC_DRIVER_CLASS_NAME: "JDBC_DRIVER_CLASS_NAME",
|
|
19
|
+
JDBC_DRIVER_JAR_URI: "JDBC_DRIVER_JAR_URI",
|
|
20
|
+
JDBC_ENFORCE_SSL: "JDBC_ENFORCE_SSL",
|
|
21
|
+
JDBC_ENGINE: "JDBC_ENGINE",
|
|
22
|
+
JDBC_ENGINE_VERSION: "JDBC_ENGINE_VERSION",
|
|
23
|
+
KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS",
|
|
24
|
+
KAFKA_CLIENT_KEYSTORE: "KAFKA_CLIENT_KEYSTORE",
|
|
25
|
+
KAFKA_CLIENT_KEYSTORE_PASSWORD: "KAFKA_CLIENT_KEYSTORE_PASSWORD",
|
|
26
|
+
KAFKA_CLIENT_KEY_PASSWORD: "KAFKA_CLIENT_KEY_PASSWORD",
|
|
27
|
+
KAFKA_CUSTOM_CERT: "KAFKA_CUSTOM_CERT",
|
|
28
|
+
KAFKA_SASL_GSSAPI_KEYTAB: "KAFKA_SASL_GSSAPI_KEYTAB",
|
|
29
|
+
KAFKA_SASL_GSSAPI_KRB5_CONF: "KAFKA_SASL_GSSAPI_KRB5_CONF",
|
|
30
|
+
KAFKA_SASL_GSSAPI_PRINCIPAL: "KAFKA_SASL_GSSAPI_PRINCIPAL",
|
|
31
|
+
KAFKA_SASL_GSSAPI_SERVICE: "KAFKA_SASL_GSSAPI_SERVICE",
|
|
32
|
+
KAFKA_SASL_MECHANISM: "KAFKA_SASL_MECHANISM",
|
|
33
|
+
KAFKA_SASL_PLAIN_PASSWORD: "KAFKA_SASL_PLAIN_PASSWORD",
|
|
34
|
+
KAFKA_SASL_PLAIN_USERNAME: "KAFKA_SASL_PLAIN_USERNAME",
|
|
35
|
+
KAFKA_SASL_SCRAM_PASSWORD: "KAFKA_SASL_SCRAM_PASSWORD",
|
|
36
|
+
KAFKA_SASL_SCRAM_SECRETS_ARN: "KAFKA_SASL_SCRAM_SECRETS_ARN",
|
|
37
|
+
KAFKA_SASL_SCRAM_USERNAME: "KAFKA_SASL_SCRAM_USERNAME",
|
|
38
|
+
KAFKA_SKIP_CUSTOM_CERT_VALIDATION: "KAFKA_SKIP_CUSTOM_CERT_VALIDATION",
|
|
39
|
+
KAFKA_SSL_ENABLED: "KAFKA_SSL_ENABLED",
|
|
40
|
+
PASSWORD: "PASSWORD",
|
|
41
|
+
PORT: "PORT",
|
|
42
|
+
ROLE_ARN: "ROLE_ARN",
|
|
43
|
+
SECRET_ID: "SECRET_ID",
|
|
44
|
+
SKIP_CUSTOM_JDBC_CERT_VALIDATION: "SKIP_CUSTOM_JDBC_CERT_VALIDATION",
|
|
45
|
+
USER_NAME: "USERNAME",
|
|
46
|
+
};
|
|
47
|
+
export const ConnectionType = {
|
|
48
|
+
CUSTOM: "CUSTOM",
|
|
49
|
+
JDBC: "JDBC",
|
|
50
|
+
KAFKA: "KAFKA",
|
|
51
|
+
MARKETPLACE: "MARKETPLACE",
|
|
52
|
+
MONGODB: "MONGODB",
|
|
53
|
+
NETWORK: "NETWORK",
|
|
54
|
+
SALESFORCE: "SALESFORCE",
|
|
55
|
+
SFTP: "SFTP",
|
|
56
|
+
};
|
|
57
|
+
export const ConnectionStatus = {
|
|
58
|
+
FAILED: "FAILED",
|
|
59
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
60
|
+
READY: "READY",
|
|
61
|
+
};
|
|
2
62
|
export class IdempotentParameterMismatchException extends __BaseException {
|
|
3
63
|
constructor(opts) {
|
|
4
64
|
super({
|
|
@@ -258,6 +318,3 @@ export const PartitionIndexStatus = {
|
|
|
258
318
|
DELETING: "DELETING",
|
|
259
319
|
FAILED: "FAILED",
|
|
260
320
|
};
|
|
261
|
-
export const SchemaDiffType = {
|
|
262
|
-
SYNTAX_DIFF: "SYNTAX_DIFF",
|
|
263
|
-
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
|
+
export const SchemaDiffType = {
|
|
4
|
+
SYNTAX_DIFF: "SYNTAX_DIFF",
|
|
5
|
+
};
|
|
3
6
|
export const StatementState = {
|
|
4
7
|
AVAILABLE: "AVAILABLE",
|
|
5
8
|
CANCELLED: "CANCELLED",
|
|
@@ -5641,15 +5641,19 @@ const de_ColumnStatisticsTaskRunsList = (output, context) => {
|
|
|
5641
5641
|
};
|
|
5642
5642
|
const de_Connection = (output, context) => {
|
|
5643
5643
|
return take(output, {
|
|
5644
|
+
AuthenticationConfiguration: _json,
|
|
5644
5645
|
ConnectionProperties: _json,
|
|
5645
5646
|
ConnectionType: __expectString,
|
|
5646
5647
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5647
5648
|
Description: __expectString,
|
|
5649
|
+
LastConnectionValidationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5648
5650
|
LastUpdatedBy: __expectString,
|
|
5649
5651
|
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5650
5652
|
MatchCriteria: _json,
|
|
5651
5653
|
Name: __expectString,
|
|
5652
5654
|
PhysicalConnectionRequirements: _json,
|
|
5655
|
+
Status: __expectString,
|
|
5656
|
+
StatusReason: __expectString,
|
|
5653
5657
|
});
|
|
5654
5658
|
};
|
|
5655
5659
|
const de_ConnectionList = (output, context) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { CreateConnectionRequest, CreateConnectionResponse } from "../models/
|
|
4
|
+
import { CreateConnectionRequest, CreateConnectionResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -39,7 +39,7 @@ declare const CreateConnectionCommand_base: {
|
|
|
39
39
|
* ConnectionInput: { // ConnectionInput
|
|
40
40
|
* Name: "STRING_VALUE", // required
|
|
41
41
|
* Description: "STRING_VALUE",
|
|
42
|
-
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM", // required
|
|
42
|
+
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE", // required
|
|
43
43
|
* MatchCriteria: [ // MatchCriteria
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
@@ -53,6 +53,26 @@ declare const CreateConnectionCommand_base: {
|
|
|
53
53
|
* ],
|
|
54
54
|
* AvailabilityZone: "STRING_VALUE",
|
|
55
55
|
* },
|
|
56
|
+
* AuthenticationConfiguration: { // AuthenticationConfigurationInput
|
|
57
|
+
* AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
|
|
58
|
+
* SecretArn: "STRING_VALUE",
|
|
59
|
+
* OAuth2Properties: { // OAuth2PropertiesInput
|
|
60
|
+
* OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
|
|
61
|
+
* OAuth2ClientApplication: { // OAuth2ClientApplication
|
|
62
|
+
* UserManagedClientApplicationClientId: "STRING_VALUE",
|
|
63
|
+
* AWSManagedClientApplicationReference: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* TokenUrl: "STRING_VALUE",
|
|
66
|
+
* TokenUrlParametersMap: { // TokenUrlParametersMap
|
|
67
|
+
* "<keys>": "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* AuthorizationCodeProperties: { // AuthorizationCodeProperties
|
|
70
|
+
* AuthorizationCode: "STRING_VALUE",
|
|
71
|
+
* RedirectUri: "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* ValidateCredentials: true || false,
|
|
56
76
|
* },
|
|
57
77
|
* Tags: { // TagsMap
|
|
58
78
|
* "<keys>": "STRING_VALUE",
|
|
@@ -60,7 +80,9 @@ declare const CreateConnectionCommand_base: {
|
|
|
60
80
|
* };
|
|
61
81
|
* const command = new CreateConnectionCommand(input);
|
|
62
82
|
* const response = await client.send(command);
|
|
63
|
-
* // {
|
|
83
|
+
* // { // CreateConnectionResponse
|
|
84
|
+
* // CreateConnectionStatus: "READY" || "IN_PROGRESS" || "FAILED",
|
|
85
|
+
* // };
|
|
64
86
|
*
|
|
65
87
|
* ```
|
|
66
88
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { CreateCrawlerRequest, CreateCrawlerResponse } from "../models/
|
|
4
|
+
import { CreateCrawlerRequest, CreateCrawlerResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -44,7 +44,7 @@ declare const GetConnectionCommand_base: {
|
|
|
44
44
|
* // Connection: { // Connection
|
|
45
45
|
* // Name: "STRING_VALUE",
|
|
46
46
|
* // Description: "STRING_VALUE",
|
|
47
|
-
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM",
|
|
47
|
+
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE",
|
|
48
48
|
* // MatchCriteria: [ // MatchCriteria
|
|
49
49
|
* // "STRING_VALUE",
|
|
50
50
|
* // ],
|
|
@@ -61,6 +61,24 @@ declare const GetConnectionCommand_base: {
|
|
|
61
61
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
62
62
|
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
63
63
|
* // LastUpdatedBy: "STRING_VALUE",
|
|
64
|
+
* // Status: "READY" || "IN_PROGRESS" || "FAILED",
|
|
65
|
+
* // StatusReason: "STRING_VALUE",
|
|
66
|
+
* // LastConnectionValidationTime: new Date("TIMESTAMP"),
|
|
67
|
+
* // AuthenticationConfiguration: { // AuthenticationConfiguration
|
|
68
|
+
* // AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
|
|
69
|
+
* // SecretArn: "STRING_VALUE",
|
|
70
|
+
* // OAuth2Properties: { // OAuth2Properties
|
|
71
|
+
* // OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
|
|
72
|
+
* // OAuth2ClientApplication: { // OAuth2ClientApplication
|
|
73
|
+
* // UserManagedClientApplicationClientId: "STRING_VALUE",
|
|
74
|
+
* // AWSManagedClientApplicationReference: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // TokenUrl: "STRING_VALUE",
|
|
77
|
+
* // TokenUrlParametersMap: { // TokenUrlParametersMap
|
|
78
|
+
* // "<keys>": "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
64
82
|
* // },
|
|
65
83
|
* // };
|
|
66
84
|
*
|
|
@@ -39,7 +39,7 @@ declare const GetConnectionsCommand_base: {
|
|
|
39
39
|
* MatchCriteria: [ // MatchCriteria
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
|
-
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM",
|
|
42
|
+
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE",
|
|
43
43
|
* },
|
|
44
44
|
* HidePassword: true || false,
|
|
45
45
|
* NextToken: "STRING_VALUE",
|
|
@@ -52,7 +52,7 @@ declare const GetConnectionsCommand_base: {
|
|
|
52
52
|
* // { // Connection
|
|
53
53
|
* // Name: "STRING_VALUE",
|
|
54
54
|
* // Description: "STRING_VALUE",
|
|
55
|
-
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM",
|
|
55
|
+
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE",
|
|
56
56
|
* // MatchCriteria: [ // MatchCriteria
|
|
57
57
|
* // "STRING_VALUE",
|
|
58
58
|
* // ],
|
|
@@ -69,6 +69,24 @@ declare const GetConnectionsCommand_base: {
|
|
|
69
69
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
70
70
|
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
71
71
|
* // LastUpdatedBy: "STRING_VALUE",
|
|
72
|
+
* // Status: "READY" || "IN_PROGRESS" || "FAILED",
|
|
73
|
+
* // StatusReason: "STRING_VALUE",
|
|
74
|
+
* // LastConnectionValidationTime: new Date("TIMESTAMP"),
|
|
75
|
+
* // AuthenticationConfiguration: { // AuthenticationConfiguration
|
|
76
|
+
* // AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
|
|
77
|
+
* // SecretArn: "STRING_VALUE",
|
|
78
|
+
* // OAuth2Properties: { // OAuth2Properties
|
|
79
|
+
* // OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
|
|
80
|
+
* // OAuth2ClientApplication: { // OAuth2ClientApplication
|
|
81
|
+
* // UserManagedClientApplicationClientId: "STRING_VALUE",
|
|
82
|
+
* // AWSManagedClientApplicationReference: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // TokenUrl: "STRING_VALUE",
|
|
85
|
+
* // TokenUrlParametersMap: { // TokenUrlParametersMap
|
|
86
|
+
* // "<keys>": "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
72
90
|
* // },
|
|
73
91
|
* // ],
|
|
74
92
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { GetSchemaVersionInput, GetSchemaVersionResponse } from "../models/
|
|
4
|
+
import { GetSchemaVersionInput, GetSchemaVersionResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { GetSchemaVersionsDiffInput, GetSchemaVersionsDiffResponse } from "../models/
|
|
4
|
+
import { GetSchemaVersionsDiffInput, GetSchemaVersionsDiffResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { GetSecurityConfigurationRequest, GetSecurityConfigurationResponse } from "../models/
|
|
4
|
+
import { GetSecurityConfigurationRequest, GetSecurityConfigurationResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -39,7 +39,7 @@ declare const UpdateConnectionCommand_base: {
|
|
|
39
39
|
* ConnectionInput: { // ConnectionInput
|
|
40
40
|
* Name: "STRING_VALUE", // required
|
|
41
41
|
* Description: "STRING_VALUE",
|
|
42
|
-
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM", // required
|
|
42
|
+
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE", // required
|
|
43
43
|
* MatchCriteria: [ // MatchCriteria
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
@@ -53,6 +53,26 @@ declare const UpdateConnectionCommand_base: {
|
|
|
53
53
|
* ],
|
|
54
54
|
* AvailabilityZone: "STRING_VALUE",
|
|
55
55
|
* },
|
|
56
|
+
* AuthenticationConfiguration: { // AuthenticationConfigurationInput
|
|
57
|
+
* AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
|
|
58
|
+
* SecretArn: "STRING_VALUE",
|
|
59
|
+
* OAuth2Properties: { // OAuth2PropertiesInput
|
|
60
|
+
* OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
|
|
61
|
+
* OAuth2ClientApplication: { // OAuth2ClientApplication
|
|
62
|
+
* UserManagedClientApplicationClientId: "STRING_VALUE",
|
|
63
|
+
* AWSManagedClientApplicationReference: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* TokenUrl: "STRING_VALUE",
|
|
66
|
+
* TokenUrlParametersMap: { // TokenUrlParametersMap
|
|
67
|
+
* "<keys>": "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* AuthorizationCodeProperties: { // AuthorizationCodeProperties
|
|
70
|
+
* AuthorizationCode: "STRING_VALUE",
|
|
71
|
+
* RedirectUri: "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* ValidateCredentials: true || false,
|
|
56
76
|
* },
|
|
57
77
|
* };
|
|
58
78
|
* const command = new UpdateConnectionCommand(input);
|