@aws-sdk/client-glue 3.1008.0 → 3.1010.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/README.md +26 -46
- package/dist-cjs/schemas/schemas_0.js +2 -2
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/commands/BatchGetPartitionCommand.d.ts +16 -0
- package/dist-types/commands/CreateDataQualityRulesetCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +41 -41
- package/dist-types/models/models_1.d.ts +41 -21
- package/dist-types/models/models_2.d.ts +23 -33
- package/dist-types/ts3.4/commands/CreateDataQualityRulesetCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +9 -9
- package/dist-types/ts3.4/models/models_1.d.ts +9 -5
- package/dist-types/ts3.4/models/models_2.d.ts +6 -8
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -10,8 +10,9 @@ AWS SDK for JavaScript Glue Client for Node.js, Browser and React Native.
|
|
|
10
10
|
<p>Defines the public endpoint for the Glue service.</p>
|
|
11
11
|
|
|
12
12
|
## Installing
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
|
|
14
|
+
To install this package, use the CLI of your favorite package manager:
|
|
15
|
+
|
|
15
16
|
- `npm install @aws-sdk/client-glue`
|
|
16
17
|
- `yarn add @aws-sdk/client-glue`
|
|
17
18
|
- `pnpm add @aws-sdk/client-glue`
|
|
@@ -36,15 +37,15 @@ import { GlueClient, ListJobsCommand } from "@aws-sdk/client-glue";
|
|
|
36
37
|
|
|
37
38
|
### Usage
|
|
38
39
|
|
|
39
|
-
To send a request
|
|
40
|
+
To send a request:
|
|
40
41
|
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
42
|
+
- Instantiate a client with configuration (e.g. credentials, region).
|
|
43
|
+
- See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
|
|
44
|
+
- See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
|
|
45
|
+
- Instantiate a command with input parameters.
|
|
46
|
+
- Call the `send` operation on the client, providing the command object as input.
|
|
45
47
|
|
|
46
48
|
```js
|
|
47
|
-
// a client can be shared by different commands.
|
|
48
49
|
const client = new GlueClient({ region: "REGION" });
|
|
49
50
|
|
|
50
51
|
const params = { /** input parameters */ };
|
|
@@ -53,7 +54,7 @@ const command = new ListJobsCommand(params);
|
|
|
53
54
|
|
|
54
55
|
#### Async/await
|
|
55
56
|
|
|
56
|
-
We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
|
57
|
+
We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
|
57
58
|
operator to wait for the promise returned by send operation as follows:
|
|
58
59
|
|
|
59
60
|
```js
|
|
@@ -68,26 +69,9 @@ try {
|
|
|
68
69
|
}
|
|
69
70
|
```
|
|
70
71
|
|
|
71
|
-
Async-await is clean, concise, intuitive, easy to debug and has better error handling
|
|
72
|
-
as compared to using Promise chains or callbacks.
|
|
73
|
-
|
|
74
72
|
#### Promises
|
|
75
73
|
|
|
76
|
-
You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
|
|
77
|
-
to execute send operation.
|
|
78
|
-
|
|
79
|
-
```js
|
|
80
|
-
client.send(command).then(
|
|
81
|
-
(data) => {
|
|
82
|
-
// process data.
|
|
83
|
-
},
|
|
84
|
-
(error) => {
|
|
85
|
-
// error handling.
|
|
86
|
-
}
|
|
87
|
-
);
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
Promises can also be called using `.catch()` and `.finally()` as follows:
|
|
74
|
+
You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
|
|
91
75
|
|
|
92
76
|
```js
|
|
93
77
|
client
|
|
@@ -103,27 +87,21 @@ client
|
|
|
103
87
|
});
|
|
104
88
|
```
|
|
105
89
|
|
|
106
|
-
####
|
|
107
|
-
|
|
108
|
-
We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
|
|
109
|
-
but they are supported by the send operation.
|
|
90
|
+
#### Aggregated client
|
|
110
91
|
|
|
111
|
-
|
|
112
|
-
// callbacks.
|
|
113
|
-
client.send(command, (err, data) => {
|
|
114
|
-
// process err and data.
|
|
115
|
-
});
|
|
116
|
-
```
|
|
92
|
+
The aggregated client class is exported from the same package, but without the "Client" suffix.
|
|
117
93
|
|
|
118
|
-
|
|
94
|
+
`Glue` extends `GlueClient` and additionally supports all operations, waiters, and paginators as methods.
|
|
95
|
+
This style may be familiar to you from the AWS SDK for JavaScript v2.
|
|
119
96
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
97
|
+
If you are bundling the AWS SDK, we recommend using only the bare-bones client (`GlueClient`).
|
|
98
|
+
More details are in the blog post on
|
|
99
|
+
[modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
|
|
123
100
|
|
|
124
101
|
```ts
|
|
125
|
-
import
|
|
126
|
-
|
|
102
|
+
import { Glue } from "@aws-sdk/client-glue";
|
|
103
|
+
|
|
104
|
+
const client = new Glue({ region: "REGION" });
|
|
127
105
|
|
|
128
106
|
// async/await.
|
|
129
107
|
try {
|
|
@@ -143,7 +121,7 @@ client
|
|
|
143
121
|
// error handling.
|
|
144
122
|
});
|
|
145
123
|
|
|
146
|
-
// callbacks.
|
|
124
|
+
// callbacks (not recommended).
|
|
147
125
|
client.listJobs(params, (err, data) => {
|
|
148
126
|
// process err and data.
|
|
149
127
|
});
|
|
@@ -171,12 +149,14 @@ try {
|
|
|
171
149
|
}
|
|
172
150
|
```
|
|
173
151
|
|
|
152
|
+
See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
|
|
153
|
+
|
|
174
154
|
## Getting Help
|
|
175
155
|
|
|
176
156
|
Please use these community resources for getting help.
|
|
177
|
-
We use
|
|
157
|
+
We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
|
|
178
158
|
|
|
179
|
-
- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
|
|
159
|
+
- Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
|
|
180
160
|
or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
|
|
181
161
|
- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
|
|
182
162
|
on AWS Developer Blog.
|
|
@@ -2971,8 +2971,8 @@ exports.BatchGetJobsResponse$ = [3, n0, _BGJRa,
|
|
|
2971
2971
|
];
|
|
2972
2972
|
exports.BatchGetPartitionRequest$ = [3, n0, _BGPR,
|
|
2973
2973
|
0,
|
|
2974
|
-
[_DN, _TN, _PTG, _CI],
|
|
2975
|
-
[0, 0, () => BatchGetPartitionValueList, 0], 3
|
|
2974
|
+
[_DN, _TN, _PTG, _CI, _ACu, _QSC],
|
|
2975
|
+
[0, 0, () => BatchGetPartitionValueList, 0, () => exports.AuditContext$, () => exports.QuerySessionContext$], 3
|
|
2976
2976
|
];
|
|
2977
2977
|
exports.BatchGetPartitionResponse$ = [3, n0, _BGPRa,
|
|
2978
2978
|
0,
|
|
@@ -2943,8 +2943,8 @@ export var BatchGetJobsResponse$ = [3, n0, _BGJRa,
|
|
|
2943
2943
|
];
|
|
2944
2944
|
export var BatchGetPartitionRequest$ = [3, n0, _BGPR,
|
|
2945
2945
|
0,
|
|
2946
|
-
[_DN, _TN, _PTG, _CI],
|
|
2947
|
-
[0, 0, () => BatchGetPartitionValueList, 0], 3
|
|
2946
|
+
[_DN, _TN, _PTG, _CI, _ACu, _QSC],
|
|
2947
|
+
[0, 0, () => BatchGetPartitionValueList, 0, () => AuditContext$, () => QuerySessionContext$], 3
|
|
2948
2948
|
];
|
|
2949
2949
|
export var BatchGetPartitionResponse$ = [3, n0, _BGPRa,
|
|
2950
2950
|
0,
|
|
@@ -47,6 +47,22 @@ declare const BatchGetPartitionCommand_base: {
|
|
|
47
47
|
* ],
|
|
48
48
|
* },
|
|
49
49
|
* ],
|
|
50
|
+
* AuditContext: { // AuditContext
|
|
51
|
+
* AdditionalAuditContext: "STRING_VALUE",
|
|
52
|
+
* RequestedColumns: [ // AuditColumnNamesList
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* AllColumnsRequested: true || false,
|
|
56
|
+
* },
|
|
57
|
+
* QuerySessionContext: { // QuerySessionContext
|
|
58
|
+
* QueryId: "STRING_VALUE",
|
|
59
|
+
* QueryStartTime: new Date("TIMESTAMP"),
|
|
60
|
+
* ClusterId: "STRING_VALUE",
|
|
61
|
+
* QueryAuthorizationId: "STRING_VALUE",
|
|
62
|
+
* AdditionalContext: { // AdditionalContextMap
|
|
63
|
+
* "<keys>": "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
50
66
|
* };
|
|
51
67
|
* const command = new BatchGetPartitionCommand(input);
|
|
52
68
|
* const response = await client.send(command);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import type { CreateDataQualityRulesetRequest } from "../models/
|
|
5
|
-
import type { CreateDataQualityRulesetResponse } from "../models/models_1";
|
|
4
|
+
import type { CreateDataQualityRulesetRequest, CreateDataQualityRulesetResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -6336,6 +6336,37 @@ export interface SourceControlDetails {
|
|
|
6336
6336
|
*/
|
|
6337
6337
|
AuthToken?: string | undefined;
|
|
6338
6338
|
}
|
|
6339
|
+
/**
|
|
6340
|
+
* <p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>
|
|
6341
|
+
* @public
|
|
6342
|
+
*/
|
|
6343
|
+
export interface QuerySessionContext {
|
|
6344
|
+
/**
|
|
6345
|
+
* <p>A unique identifier generated by the query engine for the query.</p>
|
|
6346
|
+
* @public
|
|
6347
|
+
*/
|
|
6348
|
+
QueryId?: string | undefined;
|
|
6349
|
+
/**
|
|
6350
|
+
* <p>A timestamp provided by the query engine for when the query started.</p>
|
|
6351
|
+
* @public
|
|
6352
|
+
*/
|
|
6353
|
+
QueryStartTime?: Date | undefined;
|
|
6354
|
+
/**
|
|
6355
|
+
* <p>An identifier string for the consumer cluster.</p>
|
|
6356
|
+
* @public
|
|
6357
|
+
*/
|
|
6358
|
+
ClusterId?: string | undefined;
|
|
6359
|
+
/**
|
|
6360
|
+
* <p>A cryptographically generated query identifier generated by Glue or Lake Formation.</p>
|
|
6361
|
+
* @public
|
|
6362
|
+
*/
|
|
6363
|
+
QueryAuthorizationId?: string | undefined;
|
|
6364
|
+
/**
|
|
6365
|
+
* <p>An opaque string-string map passed by the query engine.</p>
|
|
6366
|
+
* @public
|
|
6367
|
+
*/
|
|
6368
|
+
AdditionalContext?: Record<string, string> | undefined;
|
|
6369
|
+
}
|
|
6339
6370
|
/**
|
|
6340
6371
|
* @public
|
|
6341
6372
|
*/
|
|
@@ -6361,6 +6392,16 @@ export interface BatchGetPartitionRequest {
|
|
|
6361
6392
|
* @public
|
|
6362
6393
|
*/
|
|
6363
6394
|
PartitionsToGet: PartitionValueList[] | undefined;
|
|
6395
|
+
/**
|
|
6396
|
+
* <p>A structure containing the Lake Formation audit context.</p>
|
|
6397
|
+
* @public
|
|
6398
|
+
*/
|
|
6399
|
+
AuditContext?: AuditContext | undefined;
|
|
6400
|
+
/**
|
|
6401
|
+
* <p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>
|
|
6402
|
+
* @public
|
|
6403
|
+
*/
|
|
6404
|
+
QuerySessionContext?: QuerySessionContext | undefined;
|
|
6364
6405
|
}
|
|
6365
6406
|
/**
|
|
6366
6407
|
* <p>Represents a slice of table data.</p>
|
|
@@ -9048,44 +9089,3 @@ export interface DataQualityTargetTable {
|
|
|
9048
9089
|
*/
|
|
9049
9090
|
CatalogId?: string | undefined;
|
|
9050
9091
|
}
|
|
9051
|
-
/**
|
|
9052
|
-
* <p>A request to create a data quality ruleset.</p>
|
|
9053
|
-
* @public
|
|
9054
|
-
*/
|
|
9055
|
-
export interface CreateDataQualityRulesetRequest {
|
|
9056
|
-
/**
|
|
9057
|
-
* <p>A unique name for the data quality ruleset.</p>
|
|
9058
|
-
* @public
|
|
9059
|
-
*/
|
|
9060
|
-
Name: string | undefined;
|
|
9061
|
-
/**
|
|
9062
|
-
* <p>A description of the data quality ruleset.</p>
|
|
9063
|
-
* @public
|
|
9064
|
-
*/
|
|
9065
|
-
Description?: string | undefined;
|
|
9066
|
-
/**
|
|
9067
|
-
* <p>A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide.</p>
|
|
9068
|
-
* @public
|
|
9069
|
-
*/
|
|
9070
|
-
Ruleset: string | undefined;
|
|
9071
|
-
/**
|
|
9072
|
-
* <p>A list of tags applied to the data quality ruleset.</p>
|
|
9073
|
-
* @public
|
|
9074
|
-
*/
|
|
9075
|
-
Tags?: Record<string, string> | undefined;
|
|
9076
|
-
/**
|
|
9077
|
-
* <p>A target table associated with the data quality ruleset.</p>
|
|
9078
|
-
* @public
|
|
9079
|
-
*/
|
|
9080
|
-
TargetTable?: DataQualityTargetTable | undefined;
|
|
9081
|
-
/**
|
|
9082
|
-
* <p>The name of the security configuration created with the data quality encryption option.</p>
|
|
9083
|
-
* @public
|
|
9084
|
-
*/
|
|
9085
|
-
DataQualitySecurityConfiguration?: string | undefined;
|
|
9086
|
-
/**
|
|
9087
|
-
* <p>Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.</p>
|
|
9088
|
-
* @public
|
|
9089
|
-
*/
|
|
9090
|
-
ClientToken?: string | undefined;
|
|
9091
|
-
}
|
|
@@ -1,6 +1,47 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import { AllowFullTableExternalDataAccessEnum, AuthenticationType, BlueprintRunState, CatalogEncryptionMode, CloudWatchEncryptionMode, ColumnStatisticsState, ColumnStatisticsType, Compatibility, ComputationType, ComputeEnvironment, ConnectionPropertyKey, ConnectionStatus, ConnectionType, CsvHeaderOption, CsvSerdeOption, DatabaseAttributes, DataFormat, DataOperation, DataQualityEncryptionMode, DataQualityModelStatus, DQCompositeRuleEvaluationMethod, ExecutionStatus, FieldDataType, FieldFilterOperator, FunctionType, HTTPMethod, IcebergNullOrder, IcebergSortDirection, IcebergStructTypeEnum, InclusionAnnotationValue, IntegrationStatus, JobBookmarksEncryptionMode, Language, LastRefreshType, MaterializedViewRefreshState, MaterializedViewRefreshType, MetadataOperation, MLUserDataEncryptionModeString, PrincipalType, PropertyLocation, PropertyType, RegistryStatus, ResourceShareType, ResourceType, S3EncryptionMode, ScheduleType, SchemaStatus, SchemaVersionStatus, SessionStatus, SettingSource, TableOptimizerType, TaskStatusType, TransformType, TriggerType, UnnestSpec, ViewDialect, WorkerType } from "./enums";
|
|
3
3
|
import { type AuthConfiguration, type AuthenticationConfiguration, type Blueprint, type ConnectionsList, type DatabaseIdentifier, type DataQualityAggregatedMetrics, type DataQualityTargetTable, type ErrorDetail, type EventBatchingCondition, type FederatedCatalog, type FederatedDatabase, type PartitionInput, type PhysicalConnectionRequirements, type Predicate, type Schedule, type SchemaId, type StorageDescriptor, type TableOptimizerConfiguration, type TargetRedshiftCatalog, Action, Column, Crawler, DataQualityAnalyzerResult, DataQualityObservation, DataQualityRuleResult, DataSource, DevEndpoint, GlueTable, JobRun, PrincipalPermissions, Property } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>A request to create a data quality ruleset.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface CreateDataQualityRulesetRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>A unique name for the data quality ruleset.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
Name: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>A description of the data quality ruleset.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
Description?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
Ruleset: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>A list of tags applied to the data quality ruleset.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
Tags?: Record<string, string> | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>A target table associated with the data quality ruleset.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
TargetTable?: DataQualityTargetTable | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The name of the security configuration created with the data quality encryption option.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
DataQualitySecurityConfiguration?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
ClientToken?: string | undefined;
|
|
44
|
+
}
|
|
4
45
|
/**
|
|
5
46
|
* @public
|
|
6
47
|
*/
|
|
@@ -7421,24 +7462,3 @@ export interface ExportLabelsTaskRunProperties {
|
|
|
7421
7462
|
*/
|
|
7422
7463
|
OutputS3Path?: string | undefined;
|
|
7423
7464
|
}
|
|
7424
|
-
/**
|
|
7425
|
-
* <p>Specifies configuration properties for a Find Matches task run.</p>
|
|
7426
|
-
* @public
|
|
7427
|
-
*/
|
|
7428
|
-
export interface FindMatchesTaskRunProperties {
|
|
7429
|
-
/**
|
|
7430
|
-
* <p>The job ID for the Find Matches task run.</p>
|
|
7431
|
-
* @public
|
|
7432
|
-
*/
|
|
7433
|
-
JobId?: string | undefined;
|
|
7434
|
-
/**
|
|
7435
|
-
* <p>The name assigned to the job for the Find Matches task run.</p>
|
|
7436
|
-
* @public
|
|
7437
|
-
*/
|
|
7438
|
-
JobName?: string | undefined;
|
|
7439
|
-
/**
|
|
7440
|
-
* <p>The job run ID for the Find Matches task run.</p>
|
|
7441
|
-
* @public
|
|
7442
|
-
*/
|
|
7443
|
-
JobRunId?: string | undefined;
|
|
7444
|
-
}
|
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
import { AuthenticationType, BackfillErrorCode, Comparator, Compatibility, ConnectionPropertyKey, ConnectionType, ConnectorOAuth2GrantType, ContentType, CrawlerHistoryState, CsvHeaderOption, CsvSerdeOption, DataFormat, EnableHybridValues, ExecutionClass, ExistCondition, FieldName, FilterOperator, FunctionType, HTTPMethod, InclusionAnnotationValue, IntegrationStatus, IntegrationType, Language, LastRefreshType, PartitionIndexStatus, Permission, PermissionType, PrincipalType, RegistryStatus, ResourceShareType, ResourceState, SchemaDiffType, SchemaStatus, SchemaVersionStatus, Sort, SortDirectionType, StatementState, StatisticEvaluationLevel, TableAttributes, TableOptimizerType, TaskRunSortColumnType, TaskStatusType, TaskType, TransformSortColumnType, TransformStatusType, TransformType, ViewDialect, WorkerType } from "./enums";
|
|
2
|
-
import { type AuditContext, type AuthenticationConfigurationInput, type CatalogInput, type ConnectionInput, type CrawlerTargets, type DatabaseInput, type DataQualityTargetTable, type ErrorDetail, type LakeFormationConfiguration, type LineageConfiguration, type NotificationProperty, type RecrawlPolicy, type SchemaChangePolicy, type SchemaId, type TableOptimizer, type TimestampedInclusionAnnotation, type Workflow, CustomEntityType, DataSource, GlueTable, Partition, PartitionValueList, StatisticAnnotation, TableOptimizerRun, Trigger, WorkflowRun } from "./models_0";
|
|
3
|
-
import { type Capabilities, type DataCatalogEncryptionSettings, type DataQualityEvaluationRunAdditionalRunOptions, type EncryptionConfiguration, type ExportLabelsTaskRunProperties, type
|
|
2
|
+
import { type AuditContext, type AuthenticationConfigurationInput, type CatalogInput, type ConnectionInput, type CrawlerTargets, type DatabaseInput, type DataQualityTargetTable, type ErrorDetail, type LakeFormationConfiguration, type LineageConfiguration, type NotificationProperty, type QuerySessionContext, type RecrawlPolicy, type SchemaChangePolicy, type SchemaId, type TableOptimizer, type TimestampedInclusionAnnotation, type Workflow, CustomEntityType, DataSource, GlueTable, Partition, PartitionValueList, StatisticAnnotation, TableOptimizerRun, Trigger, WorkflowRun } from "./models_0";
|
|
3
|
+
import { type Capabilities, type DataCatalogEncryptionSettings, type DataQualityEvaluationRunAdditionalRunOptions, type EncryptionConfiguration, type ExportLabelsTaskRunProperties, type IntegrationConfig, type JobBookmarkEntry, type Location, type ProfileConfiguration, type RegistryId, type RestConfiguration, type SourceProcessingProperties, type TargetProcessingProperties, type TransformEncryption, type TransformParameters, CatalogEntry, ColumnStatistics, ConnectorProperty, IntegrationError, MappingEntry, MaterializedViewRefreshTaskRun, ResourceUri, Session, Tag } from "./models_1";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Specifies configuration properties for a Find Matches task run.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface FindMatchesTaskRunProperties {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The job ID for the Find Matches task run.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
JobId?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The name assigned to the job for the Find Matches task run.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
JobName?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The job run ID for the Find Matches task run.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
JobRunId?: string | undefined;
|
|
24
|
+
}
|
|
4
25
|
/**
|
|
5
26
|
* <p>Specifies configuration properties for an importing labels task run.</p>
|
|
6
27
|
* @public
|
|
@@ -2299,37 +2320,6 @@ export interface GetTriggersResponse {
|
|
|
2299
2320
|
*/
|
|
2300
2321
|
NextToken?: string | undefined;
|
|
2301
2322
|
}
|
|
2302
|
-
/**
|
|
2303
|
-
* <p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>
|
|
2304
|
-
* @public
|
|
2305
|
-
*/
|
|
2306
|
-
export interface QuerySessionContext {
|
|
2307
|
-
/**
|
|
2308
|
-
* <p>A unique identifier generated by the query engine for the query.</p>
|
|
2309
|
-
* @public
|
|
2310
|
-
*/
|
|
2311
|
-
QueryId?: string | undefined;
|
|
2312
|
-
/**
|
|
2313
|
-
* <p>A timestamp provided by the query engine for when the query started.</p>
|
|
2314
|
-
* @public
|
|
2315
|
-
*/
|
|
2316
|
-
QueryStartTime?: Date | undefined;
|
|
2317
|
-
/**
|
|
2318
|
-
* <p>An identifier string for the consumer cluster.</p>
|
|
2319
|
-
* @public
|
|
2320
|
-
*/
|
|
2321
|
-
ClusterId?: string | undefined;
|
|
2322
|
-
/**
|
|
2323
|
-
* <p>A cryptographically generated query identifier generated by Glue or Lake Formation.</p>
|
|
2324
|
-
* @public
|
|
2325
|
-
*/
|
|
2326
|
-
QueryAuthorizationId?: string | undefined;
|
|
2327
|
-
/**
|
|
2328
|
-
* <p>An opaque string-string map passed by the query engine.</p>
|
|
2329
|
-
* @public
|
|
2330
|
-
*/
|
|
2331
|
-
AdditionalContext?: Record<string, string> | undefined;
|
|
2332
|
-
}
|
|
2333
2323
|
/**
|
|
2334
2324
|
* @public
|
|
2335
2325
|
*/
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../GlueClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
CreateDataQualityRulesetRequest,
|
|
10
|
+
CreateDataQualityRulesetResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface CreateDataQualityRulesetCommandInput
|
|
@@ -1434,11 +1434,20 @@ export interface SourceControlDetails {
|
|
|
1434
1434
|
AuthStrategy?: SourceControlAuthStrategy | undefined;
|
|
1435
1435
|
AuthToken?: string | undefined;
|
|
1436
1436
|
}
|
|
1437
|
+
export interface QuerySessionContext {
|
|
1438
|
+
QueryId?: string | undefined;
|
|
1439
|
+
QueryStartTime?: Date | undefined;
|
|
1440
|
+
ClusterId?: string | undefined;
|
|
1441
|
+
QueryAuthorizationId?: string | undefined;
|
|
1442
|
+
AdditionalContext?: Record<string, string> | undefined;
|
|
1443
|
+
}
|
|
1437
1444
|
export interface BatchGetPartitionRequest {
|
|
1438
1445
|
CatalogId?: string | undefined;
|
|
1439
1446
|
DatabaseName: string | undefined;
|
|
1440
1447
|
TableName: string | undefined;
|
|
1441
1448
|
PartitionsToGet: PartitionValueList[] | undefined;
|
|
1449
|
+
AuditContext?: AuditContext | undefined;
|
|
1450
|
+
QuerySessionContext?: QuerySessionContext | undefined;
|
|
1442
1451
|
}
|
|
1443
1452
|
export interface Partition {
|
|
1444
1453
|
Values?: string[] | undefined;
|
|
@@ -2005,12 +2014,3 @@ export interface DataQualityTargetTable {
|
|
|
2005
2014
|
DatabaseName: string | undefined;
|
|
2006
2015
|
CatalogId?: string | undefined;
|
|
2007
2016
|
}
|
|
2008
|
-
export interface CreateDataQualityRulesetRequest {
|
|
2009
|
-
Name: string | undefined;
|
|
2010
|
-
Description?: string | undefined;
|
|
2011
|
-
Ruleset: string | undefined;
|
|
2012
|
-
Tags?: Record<string, string> | undefined;
|
|
2013
|
-
TargetTable?: DataQualityTargetTable | undefined;
|
|
2014
|
-
DataQualitySecurityConfiguration?: string | undefined;
|
|
2015
|
-
ClientToken?: string | undefined;
|
|
2016
|
-
}
|
|
@@ -91,6 +91,15 @@ import {
|
|
|
91
91
|
PrincipalPermissions,
|
|
92
92
|
Property,
|
|
93
93
|
} from "./models_0";
|
|
94
|
+
export interface CreateDataQualityRulesetRequest {
|
|
95
|
+
Name: string | undefined;
|
|
96
|
+
Description?: string | undefined;
|
|
97
|
+
Ruleset: string | undefined;
|
|
98
|
+
Tags?: Record<string, string> | undefined;
|
|
99
|
+
TargetTable?: DataQualityTargetTable | undefined;
|
|
100
|
+
DataQualitySecurityConfiguration?: string | undefined;
|
|
101
|
+
ClientToken?: string | undefined;
|
|
102
|
+
}
|
|
94
103
|
export interface CreateDataQualityRulesetResponse {
|
|
95
104
|
Name?: string | undefined;
|
|
96
105
|
}
|
|
@@ -1682,8 +1691,3 @@ export interface GetMLTaskRunRequest {
|
|
|
1682
1691
|
export interface ExportLabelsTaskRunProperties {
|
|
1683
1692
|
OutputS3Path?: string | undefined;
|
|
1684
1693
|
}
|
|
1685
|
-
export interface FindMatchesTaskRunProperties {
|
|
1686
|
-
JobId?: string | undefined;
|
|
1687
|
-
JobName?: string | undefined;
|
|
1688
|
-
JobRunId?: string | undefined;
|
|
1689
|
-
}
|
|
@@ -60,6 +60,7 @@ import {
|
|
|
60
60
|
LakeFormationConfiguration,
|
|
61
61
|
LineageConfiguration,
|
|
62
62
|
NotificationProperty,
|
|
63
|
+
QuerySessionContext,
|
|
63
64
|
RecrawlPolicy,
|
|
64
65
|
SchemaChangePolicy,
|
|
65
66
|
SchemaId,
|
|
@@ -82,7 +83,6 @@ import {
|
|
|
82
83
|
DataQualityEvaluationRunAdditionalRunOptions,
|
|
83
84
|
EncryptionConfiguration,
|
|
84
85
|
ExportLabelsTaskRunProperties,
|
|
85
|
-
FindMatchesTaskRunProperties,
|
|
86
86
|
IntegrationConfig,
|
|
87
87
|
JobBookmarkEntry,
|
|
88
88
|
Location,
|
|
@@ -103,6 +103,11 @@ import {
|
|
|
103
103
|
Session,
|
|
104
104
|
Tag,
|
|
105
105
|
} from "./models_1";
|
|
106
|
+
export interface FindMatchesTaskRunProperties {
|
|
107
|
+
JobId?: string | undefined;
|
|
108
|
+
JobName?: string | undefined;
|
|
109
|
+
JobRunId?: string | undefined;
|
|
110
|
+
}
|
|
106
111
|
export interface ImportLabelsTaskRunProperties {
|
|
107
112
|
InputS3Path?: string | undefined;
|
|
108
113
|
Replace?: boolean | undefined;
|
|
@@ -569,13 +574,6 @@ export interface GetTriggersResponse {
|
|
|
569
574
|
Triggers?: Trigger[] | undefined;
|
|
570
575
|
NextToken?: string | undefined;
|
|
571
576
|
}
|
|
572
|
-
export interface QuerySessionContext {
|
|
573
|
-
QueryId?: string | undefined;
|
|
574
|
-
QueryStartTime?: Date | undefined;
|
|
575
|
-
ClusterId?: string | undefined;
|
|
576
|
-
QueryAuthorizationId?: string | undefined;
|
|
577
|
-
AdditionalContext?: Record<string, string> | undefined;
|
|
578
|
-
}
|
|
579
577
|
export interface GetUnfilteredPartitionMetadataRequest {
|
|
580
578
|
Region?: string | undefined;
|
|
581
579
|
CatalogId: string | undefined;
|
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.1010.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-glue",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.23.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.12.
|
|
49
|
-
"@smithy/types": "^4.13.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "^3.973.20",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.21",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.21",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.8",
|
|
31
|
+
"@aws-sdk/types": "^3.973.6",
|
|
32
|
+
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.7",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.11",
|
|
36
|
+
"@smithy/core": "^3.23.11",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.15",
|
|
38
|
+
"@smithy/hash-node": "^4.2.12",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.12",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.12",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.25",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.42",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.14",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.12",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.12",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.16",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
48
|
+
"@smithy/smithy-client": "^4.12.5",
|
|
49
|
+
"@smithy/types": "^4.13.1",
|
|
50
|
+
"@smithy/url-parser": "^4.2.12",
|
|
51
51
|
"@smithy/util-base64": "^4.3.2",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.3.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.41",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.44",
|
|
56
|
+
"@smithy/util-endpoints": "^3.3.3",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.12",
|
|
58
|
+
"@smithy/util-retry": "^4.2.12",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.2",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|