@aws-sdk/client-glue 3.588.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/GlueClient.d.ts +4 -4
- 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/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/GlueClient.d.ts +1 -1
- 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/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +4 -4
|
@@ -2,12 +2,13 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
3
|
import {
|
|
4
4
|
Action,
|
|
5
|
+
AuthenticationConfiguration,
|
|
6
|
+
AuthenticationConfigurationInput,
|
|
5
7
|
Blueprint,
|
|
6
8
|
Column,
|
|
7
|
-
ConnectionPropertyKey,
|
|
8
9
|
ConnectionsList,
|
|
9
|
-
ConnectionType,
|
|
10
10
|
Crawler,
|
|
11
|
+
CrawlerTargets,
|
|
11
12
|
CsvHeaderOption,
|
|
12
13
|
CsvSerdeOption,
|
|
13
14
|
DataFormat,
|
|
@@ -20,11 +21,14 @@ import {
|
|
|
20
21
|
EventBatchingCondition,
|
|
21
22
|
GlueTable,
|
|
22
23
|
JobRun,
|
|
24
|
+
LakeFormationConfiguration,
|
|
25
|
+
LineageConfiguration,
|
|
23
26
|
Partition,
|
|
24
27
|
PartitionInput,
|
|
25
28
|
PartitionValueList,
|
|
26
|
-
PhysicalConnectionRequirements,
|
|
27
29
|
Predicate,
|
|
30
|
+
RecrawlPolicy,
|
|
31
|
+
SchemaChangePolicy,
|
|
28
32
|
SchemaId,
|
|
29
33
|
StorageDescriptor,
|
|
30
34
|
TableOptimizerConfiguration,
|
|
@@ -33,6 +37,115 @@ import {
|
|
|
33
37
|
TriggerType,
|
|
34
38
|
WorkerType,
|
|
35
39
|
} from "./models_0";
|
|
40
|
+
export declare const ConnectionPropertyKey: {
|
|
41
|
+
readonly CONFIG_FILES: "CONFIG_FILES";
|
|
42
|
+
readonly CONNECTION_URL: "CONNECTION_URL";
|
|
43
|
+
readonly CONNECTOR_CLASS_NAME: "CONNECTOR_CLASS_NAME";
|
|
44
|
+
readonly CONNECTOR_TYPE: "CONNECTOR_TYPE";
|
|
45
|
+
readonly CONNECTOR_URL: "CONNECTOR_URL";
|
|
46
|
+
readonly CUSTOM_JDBC_CERT: "CUSTOM_JDBC_CERT";
|
|
47
|
+
readonly CUSTOM_JDBC_CERT_STRING: "CUSTOM_JDBC_CERT_STRING";
|
|
48
|
+
readonly ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD: "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD";
|
|
49
|
+
readonly ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD: "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD";
|
|
50
|
+
readonly ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD: "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD";
|
|
51
|
+
readonly ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD: "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD";
|
|
52
|
+
readonly ENCRYPTED_PASSWORD: "ENCRYPTED_PASSWORD";
|
|
53
|
+
readonly HOST: "HOST";
|
|
54
|
+
readonly INSTANCE_ID: "INSTANCE_ID";
|
|
55
|
+
readonly JDBC_CONNECTION_URL: "JDBC_CONNECTION_URL";
|
|
56
|
+
readonly JDBC_DRIVER_CLASS_NAME: "JDBC_DRIVER_CLASS_NAME";
|
|
57
|
+
readonly JDBC_DRIVER_JAR_URI: "JDBC_DRIVER_JAR_URI";
|
|
58
|
+
readonly JDBC_ENFORCE_SSL: "JDBC_ENFORCE_SSL";
|
|
59
|
+
readonly JDBC_ENGINE: "JDBC_ENGINE";
|
|
60
|
+
readonly JDBC_ENGINE_VERSION: "JDBC_ENGINE_VERSION";
|
|
61
|
+
readonly KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS";
|
|
62
|
+
readonly KAFKA_CLIENT_KEYSTORE: "KAFKA_CLIENT_KEYSTORE";
|
|
63
|
+
readonly KAFKA_CLIENT_KEYSTORE_PASSWORD: "KAFKA_CLIENT_KEYSTORE_PASSWORD";
|
|
64
|
+
readonly KAFKA_CLIENT_KEY_PASSWORD: "KAFKA_CLIENT_KEY_PASSWORD";
|
|
65
|
+
readonly KAFKA_CUSTOM_CERT: "KAFKA_CUSTOM_CERT";
|
|
66
|
+
readonly KAFKA_SASL_GSSAPI_KEYTAB: "KAFKA_SASL_GSSAPI_KEYTAB";
|
|
67
|
+
readonly KAFKA_SASL_GSSAPI_KRB5_CONF: "KAFKA_SASL_GSSAPI_KRB5_CONF";
|
|
68
|
+
readonly KAFKA_SASL_GSSAPI_PRINCIPAL: "KAFKA_SASL_GSSAPI_PRINCIPAL";
|
|
69
|
+
readonly KAFKA_SASL_GSSAPI_SERVICE: "KAFKA_SASL_GSSAPI_SERVICE";
|
|
70
|
+
readonly KAFKA_SASL_MECHANISM: "KAFKA_SASL_MECHANISM";
|
|
71
|
+
readonly KAFKA_SASL_PLAIN_PASSWORD: "KAFKA_SASL_PLAIN_PASSWORD";
|
|
72
|
+
readonly KAFKA_SASL_PLAIN_USERNAME: "KAFKA_SASL_PLAIN_USERNAME";
|
|
73
|
+
readonly KAFKA_SASL_SCRAM_PASSWORD: "KAFKA_SASL_SCRAM_PASSWORD";
|
|
74
|
+
readonly KAFKA_SASL_SCRAM_SECRETS_ARN: "KAFKA_SASL_SCRAM_SECRETS_ARN";
|
|
75
|
+
readonly KAFKA_SASL_SCRAM_USERNAME: "KAFKA_SASL_SCRAM_USERNAME";
|
|
76
|
+
readonly KAFKA_SKIP_CUSTOM_CERT_VALIDATION: "KAFKA_SKIP_CUSTOM_CERT_VALIDATION";
|
|
77
|
+
readonly KAFKA_SSL_ENABLED: "KAFKA_SSL_ENABLED";
|
|
78
|
+
readonly PASSWORD: "PASSWORD";
|
|
79
|
+
readonly PORT: "PORT";
|
|
80
|
+
readonly ROLE_ARN: "ROLE_ARN";
|
|
81
|
+
readonly SECRET_ID: "SECRET_ID";
|
|
82
|
+
readonly SKIP_CUSTOM_JDBC_CERT_VALIDATION: "SKIP_CUSTOM_JDBC_CERT_VALIDATION";
|
|
83
|
+
readonly USER_NAME: "USERNAME";
|
|
84
|
+
};
|
|
85
|
+
export type ConnectionPropertyKey =
|
|
86
|
+
(typeof ConnectionPropertyKey)[keyof typeof ConnectionPropertyKey];
|
|
87
|
+
export declare const ConnectionType: {
|
|
88
|
+
readonly CUSTOM: "CUSTOM";
|
|
89
|
+
readonly JDBC: "JDBC";
|
|
90
|
+
readonly KAFKA: "KAFKA";
|
|
91
|
+
readonly MARKETPLACE: "MARKETPLACE";
|
|
92
|
+
readonly MONGODB: "MONGODB";
|
|
93
|
+
readonly NETWORK: "NETWORK";
|
|
94
|
+
readonly SALESFORCE: "SALESFORCE";
|
|
95
|
+
readonly SFTP: "SFTP";
|
|
96
|
+
};
|
|
97
|
+
export type ConnectionType =
|
|
98
|
+
(typeof ConnectionType)[keyof typeof ConnectionType];
|
|
99
|
+
export interface PhysicalConnectionRequirements {
|
|
100
|
+
SubnetId?: string;
|
|
101
|
+
SecurityGroupIdList?: string[];
|
|
102
|
+
AvailabilityZone?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface ConnectionInput {
|
|
105
|
+
Name: string | undefined;
|
|
106
|
+
Description?: string;
|
|
107
|
+
ConnectionType: ConnectionType | undefined;
|
|
108
|
+
MatchCriteria?: string[];
|
|
109
|
+
ConnectionProperties:
|
|
110
|
+
| Partial<Record<ConnectionPropertyKey, string>>
|
|
111
|
+
| undefined;
|
|
112
|
+
PhysicalConnectionRequirements?: PhysicalConnectionRequirements;
|
|
113
|
+
AuthenticationConfiguration?: AuthenticationConfigurationInput;
|
|
114
|
+
ValidateCredentials?: boolean;
|
|
115
|
+
}
|
|
116
|
+
export interface CreateConnectionRequest {
|
|
117
|
+
CatalogId?: string;
|
|
118
|
+
ConnectionInput: ConnectionInput | undefined;
|
|
119
|
+
Tags?: Record<string, string>;
|
|
120
|
+
}
|
|
121
|
+
export declare const ConnectionStatus: {
|
|
122
|
+
readonly FAILED: "FAILED";
|
|
123
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
124
|
+
readonly READY: "READY";
|
|
125
|
+
};
|
|
126
|
+
export type ConnectionStatus =
|
|
127
|
+
(typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
128
|
+
export interface CreateConnectionResponse {
|
|
129
|
+
CreateConnectionStatus?: ConnectionStatus;
|
|
130
|
+
}
|
|
131
|
+
export interface CreateCrawlerRequest {
|
|
132
|
+
Name: string | undefined;
|
|
133
|
+
Role: string | undefined;
|
|
134
|
+
DatabaseName?: string;
|
|
135
|
+
Description?: string;
|
|
136
|
+
Targets: CrawlerTargets | undefined;
|
|
137
|
+
Schedule?: string;
|
|
138
|
+
Classifiers?: string[];
|
|
139
|
+
TablePrefix?: string;
|
|
140
|
+
SchemaChangePolicy?: SchemaChangePolicy;
|
|
141
|
+
RecrawlPolicy?: RecrawlPolicy;
|
|
142
|
+
LineageConfiguration?: LineageConfiguration;
|
|
143
|
+
LakeFormationConfiguration?: LakeFormationConfiguration;
|
|
144
|
+
Configuration?: string;
|
|
145
|
+
CrawlerSecurityConfiguration?: string;
|
|
146
|
+
Tags?: Record<string, string>;
|
|
147
|
+
}
|
|
148
|
+
export interface CreateCrawlerResponse {}
|
|
36
149
|
export interface CreateCustomEntityTypeRequest {
|
|
37
150
|
Name: string | undefined;
|
|
38
151
|
RegexString: string | undefined;
|
|
@@ -1019,6 +1132,10 @@ export interface Connection {
|
|
|
1019
1132
|
CreationTime?: Date;
|
|
1020
1133
|
LastUpdatedTime?: Date;
|
|
1021
1134
|
LastUpdatedBy?: string;
|
|
1135
|
+
Status?: ConnectionStatus;
|
|
1136
|
+
StatusReason?: string;
|
|
1137
|
+
LastConnectionValidationTime?: Date;
|
|
1138
|
+
AuthenticationConfiguration?: AuthenticationConfiguration;
|
|
1022
1139
|
}
|
|
1023
1140
|
export interface GetConnectionResponse {
|
|
1024
1141
|
Connection?: Connection;
|
|
@@ -1647,46 +1764,3 @@ export interface GetSchemaByDefinitionResponse {
|
|
|
1647
1764
|
Status?: SchemaVersionStatus;
|
|
1648
1765
|
CreatedTime?: string;
|
|
1649
1766
|
}
|
|
1650
|
-
export interface SchemaVersionNumber {
|
|
1651
|
-
LatestVersion?: boolean;
|
|
1652
|
-
VersionNumber?: number;
|
|
1653
|
-
}
|
|
1654
|
-
export interface GetSchemaVersionInput {
|
|
1655
|
-
SchemaId?: SchemaId;
|
|
1656
|
-
SchemaVersionId?: string;
|
|
1657
|
-
SchemaVersionNumber?: SchemaVersionNumber;
|
|
1658
|
-
}
|
|
1659
|
-
export interface GetSchemaVersionResponse {
|
|
1660
|
-
SchemaVersionId?: string;
|
|
1661
|
-
SchemaDefinition?: string;
|
|
1662
|
-
DataFormat?: DataFormat;
|
|
1663
|
-
SchemaArn?: string;
|
|
1664
|
-
VersionNumber?: number;
|
|
1665
|
-
Status?: SchemaVersionStatus;
|
|
1666
|
-
CreatedTime?: string;
|
|
1667
|
-
}
|
|
1668
|
-
export declare const SchemaDiffType: {
|
|
1669
|
-
readonly SYNTAX_DIFF: "SYNTAX_DIFF";
|
|
1670
|
-
};
|
|
1671
|
-
export type SchemaDiffType =
|
|
1672
|
-
(typeof SchemaDiffType)[keyof typeof SchemaDiffType];
|
|
1673
|
-
export interface GetSchemaVersionsDiffInput {
|
|
1674
|
-
SchemaId: SchemaId | undefined;
|
|
1675
|
-
FirstSchemaVersionNumber: SchemaVersionNumber | undefined;
|
|
1676
|
-
SecondSchemaVersionNumber: SchemaVersionNumber | undefined;
|
|
1677
|
-
SchemaDiffType: SchemaDiffType | undefined;
|
|
1678
|
-
}
|
|
1679
|
-
export interface GetSchemaVersionsDiffResponse {
|
|
1680
|
-
Diff?: string;
|
|
1681
|
-
}
|
|
1682
|
-
export interface GetSecurityConfigurationRequest {
|
|
1683
|
-
Name: string | undefined;
|
|
1684
|
-
}
|
|
1685
|
-
export interface SecurityConfiguration {
|
|
1686
|
-
Name?: string;
|
|
1687
|
-
CreatedTimeStamp?: Date;
|
|
1688
|
-
EncryptionConfiguration?: EncryptionConfiguration;
|
|
1689
|
-
}
|
|
1690
|
-
export interface GetSecurityConfigurationResponse {
|
|
1691
|
-
SecurityConfiguration?: SecurityConfiguration;
|
|
1692
|
-
}
|
|
@@ -14,7 +14,6 @@ import {
|
|
|
14
14
|
CatalogKinesisSource,
|
|
15
15
|
CatalogSource,
|
|
16
16
|
Column,
|
|
17
|
-
ConnectionInput,
|
|
18
17
|
ConnectionsList,
|
|
19
18
|
ConnectorDataSource,
|
|
20
19
|
ConnectorDataTarget,
|
|
@@ -23,6 +22,7 @@ import {
|
|
|
23
22
|
CsvSerdeOption,
|
|
24
23
|
CustomCode,
|
|
25
24
|
CustomEntityType,
|
|
25
|
+
DataFormat,
|
|
26
26
|
DataSource,
|
|
27
27
|
DirectJDBCSource,
|
|
28
28
|
DirectKafkaSource,
|
|
@@ -113,10 +113,12 @@ import {
|
|
|
113
113
|
import {
|
|
114
114
|
ColumnStatistics,
|
|
115
115
|
Compatibility,
|
|
116
|
+
ConnectionInput,
|
|
116
117
|
DatabaseInput,
|
|
117
118
|
DataCatalogEncryptionSettings,
|
|
118
119
|
DataQualityEvaluationRunAdditionalRunOptions,
|
|
119
120
|
DataQualityTargetTable,
|
|
121
|
+
EncryptionConfiguration,
|
|
120
122
|
JobBookmarkEntry,
|
|
121
123
|
Permission,
|
|
122
124
|
PrincipalType,
|
|
@@ -125,9 +127,7 @@ import {
|
|
|
125
127
|
ResourceShareType,
|
|
126
128
|
ResourceUri,
|
|
127
129
|
SchemaStatus,
|
|
128
|
-
SchemaVersionNumber,
|
|
129
130
|
SchemaVersionStatus,
|
|
130
|
-
SecurityConfiguration,
|
|
131
131
|
Segment,
|
|
132
132
|
Session,
|
|
133
133
|
TableIdentifier,
|
|
@@ -137,6 +137,49 @@ import {
|
|
|
137
137
|
TransformSortCriteria,
|
|
138
138
|
UserDefinedFunctionInput,
|
|
139
139
|
} from "./models_1";
|
|
140
|
+
export interface SchemaVersionNumber {
|
|
141
|
+
LatestVersion?: boolean;
|
|
142
|
+
VersionNumber?: number;
|
|
143
|
+
}
|
|
144
|
+
export interface GetSchemaVersionInput {
|
|
145
|
+
SchemaId?: SchemaId;
|
|
146
|
+
SchemaVersionId?: string;
|
|
147
|
+
SchemaVersionNumber?: SchemaVersionNumber;
|
|
148
|
+
}
|
|
149
|
+
export interface GetSchemaVersionResponse {
|
|
150
|
+
SchemaVersionId?: string;
|
|
151
|
+
SchemaDefinition?: string;
|
|
152
|
+
DataFormat?: DataFormat;
|
|
153
|
+
SchemaArn?: string;
|
|
154
|
+
VersionNumber?: number;
|
|
155
|
+
Status?: SchemaVersionStatus;
|
|
156
|
+
CreatedTime?: string;
|
|
157
|
+
}
|
|
158
|
+
export declare const SchemaDiffType: {
|
|
159
|
+
readonly SYNTAX_DIFF: "SYNTAX_DIFF";
|
|
160
|
+
};
|
|
161
|
+
export type SchemaDiffType =
|
|
162
|
+
(typeof SchemaDiffType)[keyof typeof SchemaDiffType];
|
|
163
|
+
export interface GetSchemaVersionsDiffInput {
|
|
164
|
+
SchemaId: SchemaId | undefined;
|
|
165
|
+
FirstSchemaVersionNumber: SchemaVersionNumber | undefined;
|
|
166
|
+
SecondSchemaVersionNumber: SchemaVersionNumber | undefined;
|
|
167
|
+
SchemaDiffType: SchemaDiffType | undefined;
|
|
168
|
+
}
|
|
169
|
+
export interface GetSchemaVersionsDiffResponse {
|
|
170
|
+
Diff?: string;
|
|
171
|
+
}
|
|
172
|
+
export interface GetSecurityConfigurationRequest {
|
|
173
|
+
Name: string | undefined;
|
|
174
|
+
}
|
|
175
|
+
export interface SecurityConfiguration {
|
|
176
|
+
Name?: string;
|
|
177
|
+
CreatedTimeStamp?: Date;
|
|
178
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
179
|
+
}
|
|
180
|
+
export interface GetSecurityConfigurationResponse {
|
|
181
|
+
SecurityConfiguration?: SecurityConfiguration;
|
|
182
|
+
}
|
|
140
183
|
export interface GetSecurityConfigurationsRequest {
|
|
141
184
|
MaxResults?: number;
|
|
142
185
|
NextToken?: string;
|
|
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: GlueClientConfig) => {
|
|
|
20
20
|
serviceId: string;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
23
24
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
24
25
|
import("@smithy/types").UserAgent
|
|
25
26
|
>;
|
|
26
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
27
27
|
credentialDefaultProvider: (
|
|
28
28
|
input: any
|
|
29
29
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-glue",
|
|
3
3
|
"description": "AWS SDK for JavaScript Glue Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.591.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-glue",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.590.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.590.0",
|
|
25
25
|
"@aws-sdk/core": "3.588.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.590.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|