@aws-sdk/client-glue 3.907.0 → 3.910.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/commands/GetTableCommand.d.ts +7 -0
- package/dist-types/commands/GetTablesCommand.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/models/models_2.d.ts +10 -0
- package/dist-types/models/models_3.d.ts +5 -6
- package/dist-types/ts3.4/models/models_2.d.ts +2 -0
- package/package.json +35 -35
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://glue-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://glue-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://glue.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://glue.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -7704,6 +7704,7 @@ const se_GetPartitionsRequest = (input, context) => {
|
|
|
7704
7704
|
};
|
|
7705
7705
|
const se_GetTableRequest = (input, context) => {
|
|
7706
7706
|
return smithyClient.take(input, {
|
|
7707
|
+
AuditContext: smithyClient._json,
|
|
7707
7708
|
CatalogId: [],
|
|
7708
7709
|
DatabaseName: [],
|
|
7709
7710
|
IncludeStatusDetails: [],
|
|
@@ -7715,6 +7716,7 @@ const se_GetTableRequest = (input, context) => {
|
|
|
7715
7716
|
const se_GetTablesRequest = (input, context) => {
|
|
7716
7717
|
return smithyClient.take(input, {
|
|
7717
7718
|
AttributesToGet: smithyClient._json,
|
|
7719
|
+
AuditContext: smithyClient._json,
|
|
7718
7720
|
CatalogId: [],
|
|
7719
7721
|
DatabaseName: [],
|
|
7720
7722
|
Expression: [],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://glue-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://glue-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://glue.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://glue.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -5896,6 +5896,7 @@ const se_GetPartitionsRequest = (input, context) => {
|
|
|
5896
5896
|
};
|
|
5897
5897
|
const se_GetTableRequest = (input, context) => {
|
|
5898
5898
|
return take(input, {
|
|
5899
|
+
AuditContext: _json,
|
|
5899
5900
|
CatalogId: [],
|
|
5900
5901
|
DatabaseName: [],
|
|
5901
5902
|
IncludeStatusDetails: [],
|
|
@@ -5907,6 +5908,7 @@ const se_GetTableRequest = (input, context) => {
|
|
|
5907
5908
|
const se_GetTablesRequest = (input, context) => {
|
|
5908
5909
|
return take(input, {
|
|
5909
5910
|
AttributesToGet: _json,
|
|
5911
|
+
AuditContext: _json,
|
|
5910
5912
|
CatalogId: [],
|
|
5911
5913
|
DatabaseName: [],
|
|
5912
5914
|
Expression: [],
|
|
@@ -44,6 +44,13 @@ declare const GetTableCommand_base: {
|
|
|
44
44
|
* Name: "STRING_VALUE", // required
|
|
45
45
|
* TransactionId: "STRING_VALUE",
|
|
46
46
|
* QueryAsOfTime: new Date("TIMESTAMP"),
|
|
47
|
+
* AuditContext: { // AuditContext
|
|
48
|
+
* AdditionalAuditContext: "STRING_VALUE",
|
|
49
|
+
* RequestedColumns: [ // AuditColumnNamesList
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* AllColumnsRequested: true || false,
|
|
53
|
+
* },
|
|
47
54
|
* IncludeStatusDetails: true || false,
|
|
48
55
|
* };
|
|
49
56
|
* const command = new GetTableCommand(input);
|
|
@@ -46,6 +46,13 @@ declare const GetTablesCommand_base: {
|
|
|
46
46
|
* MaxResults: Number("int"),
|
|
47
47
|
* TransactionId: "STRING_VALUE",
|
|
48
48
|
* QueryAsOfTime: new Date("TIMESTAMP"),
|
|
49
|
+
* AuditContext: { // AuditContext
|
|
50
|
+
* AdditionalAuditContext: "STRING_VALUE",
|
|
51
|
+
* RequestedColumns: [ // AuditColumnNamesList
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* AllColumnsRequested: true || false,
|
|
55
|
+
* },
|
|
49
56
|
* IncludeStatusDetails: true || false,
|
|
50
57
|
* AttributesToGet: [ // TableAttributesList
|
|
51
58
|
* "NAME" || "TABLE_TYPE",
|
|
@@ -7841,7 +7841,7 @@ export interface TableOptimizerRun {
|
|
|
7841
7841
|
* <p>A <code>RunMetrics</code> object containing metrics for the optimizer run.</p>
|
|
7842
7842
|
* <p>This member is deprecated. See the individual metric members for compaction, retention, and orphan file deletion.</p>
|
|
7843
7843
|
*
|
|
7844
|
-
* @deprecated
|
|
7844
|
+
* @deprecated Metrics has been replaced by optimizer type specific metrics such as IcebergCompactionMetrics
|
|
7845
7845
|
* @public
|
|
7846
7846
|
*/
|
|
7847
7847
|
metrics?: RunMetrics | undefined;
|
|
@@ -211,7 +211,7 @@ export interface JobRun {
|
|
|
211
211
|
* For more information, see the <a href="https://aws.amazon.com/glue/pricing/">Glue
|
|
212
212
|
* pricing page</a>.</p>
|
|
213
213
|
*
|
|
214
|
-
* @deprecated
|
|
214
|
+
* @deprecated This property is deprecated, use MaxCapacity instead.
|
|
215
215
|
* @public
|
|
216
216
|
*/
|
|
217
217
|
AllocatedCapacity?: number | undefined;
|
|
@@ -4945,6 +4945,11 @@ export interface GetTableRequest {
|
|
|
4945
4945
|
* @public
|
|
4946
4946
|
*/
|
|
4947
4947
|
QueryAsOfTime?: Date | undefined;
|
|
4948
|
+
/**
|
|
4949
|
+
* <p>A structure containing the Lake Formation <a href="https://docs.aws.amazon.com/glue/latest/webapi/API_AuditContext.html">audit context</a>.</p>
|
|
4950
|
+
* @public
|
|
4951
|
+
*/
|
|
4952
|
+
AuditContext?: AuditContext | undefined;
|
|
4948
4953
|
/**
|
|
4949
4954
|
* <p>Specifies whether to include status details related to a request to create or update an Glue Data Catalog view.</p>
|
|
4950
4955
|
* @public
|
|
@@ -5212,6 +5217,11 @@ export interface GetTablesRequest {
|
|
|
5212
5217
|
* @public
|
|
5213
5218
|
*/
|
|
5214
5219
|
QueryAsOfTime?: Date | undefined;
|
|
5220
|
+
/**
|
|
5221
|
+
* <p>A structure containing the Lake Formation <a href="https://docs.aws.amazon.com/glue/latest/webapi/API_AuditContext.html">audit context</a>.</p>
|
|
5222
|
+
* @public
|
|
5223
|
+
*/
|
|
5224
|
+
AuditContext?: AuditContext | undefined;
|
|
5215
5225
|
/**
|
|
5216
5226
|
* <p>Specifies whether to include status details related to a request to create or update an Glue Data Catalog view.</p>
|
|
5217
5227
|
* @public
|
|
@@ -1395,7 +1395,7 @@ export interface StartJobRunRequest {
|
|
|
1395
1395
|
* For more information, see the <a href="https://aws.amazon.com/glue/pricing/">Glue
|
|
1396
1396
|
* pricing page</a>.</p>
|
|
1397
1397
|
*
|
|
1398
|
-
* @deprecated
|
|
1398
|
+
* @deprecated This property is deprecated, use MaxCapacity instead.
|
|
1399
1399
|
* @public
|
|
1400
1400
|
*/
|
|
1401
1401
|
AllocatedCapacity?: number | undefined;
|
|
@@ -3173,8 +3173,7 @@ export interface UpdateTableRequest {
|
|
|
3173
3173
|
*/
|
|
3174
3174
|
Force?: boolean | undefined;
|
|
3175
3175
|
/**
|
|
3176
|
-
* <p>Input parameters for updating open table format tables in GlueData Catalog,
|
|
3177
|
-
* serving as a wrapper for format-specific update operations such as Apache Iceberg.</p>
|
|
3176
|
+
* <p>Input parameters for updating open table format tables in GlueData Catalog, serving as a wrapper for format-specific update operations such as Apache Iceberg.</p>
|
|
3178
3177
|
* @public
|
|
3179
3178
|
*/
|
|
3180
3179
|
UpdateOpenTableFormatInput?: UpdateOpenTableFormatInput | undefined;
|
|
@@ -4313,7 +4312,7 @@ export interface CreateJobRequest {
|
|
|
4313
4312
|
* see the <a href="https://aws.amazon.com/glue/pricing/">Glue pricing
|
|
4314
4313
|
* page</a>.</p>
|
|
4315
4314
|
*
|
|
4316
|
-
* @deprecated
|
|
4315
|
+
* @deprecated This property is deprecated, use MaxCapacity instead.
|
|
4317
4316
|
* @public
|
|
4318
4317
|
*/
|
|
4319
4318
|
AllocatedCapacity?: number | undefined;
|
|
@@ -4570,7 +4569,7 @@ export interface Job {
|
|
|
4570
4569
|
* page</a>.</p>
|
|
4571
4570
|
* <p></p>
|
|
4572
4571
|
*
|
|
4573
|
-
* @deprecated
|
|
4572
|
+
* @deprecated This property is deprecated, use MaxCapacity instead.
|
|
4574
4573
|
* @public
|
|
4575
4574
|
*/
|
|
4576
4575
|
AllocatedCapacity?: number | undefined;
|
|
@@ -4812,7 +4811,7 @@ export interface JobUpdate {
|
|
|
4812
4811
|
* see the <a href="https://aws.amazon.com/glue/pricing/">Glue pricing
|
|
4813
4812
|
* page</a>.</p>
|
|
4814
4813
|
*
|
|
4815
|
-
* @deprecated
|
|
4814
|
+
* @deprecated This property is deprecated, use MaxCapacity instead.
|
|
4816
4815
|
* @public
|
|
4817
4816
|
*/
|
|
4818
4817
|
AllocatedCapacity?: number | undefined;
|
|
@@ -1190,6 +1190,7 @@ export interface GetTableRequest {
|
|
|
1190
1190
|
Name: string | undefined;
|
|
1191
1191
|
TransactionId?: string | undefined;
|
|
1192
1192
|
QueryAsOfTime?: Date | undefined;
|
|
1193
|
+
AuditContext?: AuditContext | undefined;
|
|
1193
1194
|
IncludeStatusDetails?: boolean | undefined;
|
|
1194
1195
|
}
|
|
1195
1196
|
export interface FederatedTable {
|
|
@@ -1260,6 +1261,7 @@ export interface GetTablesRequest {
|
|
|
1260
1261
|
MaxResults?: number | undefined;
|
|
1261
1262
|
TransactionId?: string | undefined;
|
|
1262
1263
|
QueryAsOfTime?: Date | undefined;
|
|
1264
|
+
AuditContext?: AuditContext | undefined;
|
|
1263
1265
|
IncludeStatusDetails?: boolean | undefined;
|
|
1264
1266
|
AttributesToGet?: TableAttributes[] | undefined;
|
|
1265
1267
|
}
|
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.910.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,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.3.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
50
|
-
"@smithy/util-base64": "^4.
|
|
23
|
+
"@aws-sdk/core": "3.910.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.910.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.910.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.910.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.910.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.910.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.910.0",
|
|
30
|
+
"@aws-sdk/types": "3.910.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.910.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.910.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.910.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.3.2",
|
|
35
|
+
"@smithy/core": "^3.16.1",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.3",
|
|
37
|
+
"@smithy/hash-node": "^4.2.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.3",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.3",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.2",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.2",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.2",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.1",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.2",
|
|
47
|
+
"@smithy/smithy-client": "^4.8.1",
|
|
48
|
+
"@smithy/types": "^4.7.1",
|
|
49
|
+
"@smithy/url-parser": "^4.2.2",
|
|
50
|
+
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
|
-
"@smithy/util-body-length-node": "^4.2.
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.2
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
52
|
+
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.2",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.3",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.2",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.2",
|
|
57
|
+
"@smithy/util-retry": "^4.2.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|