@aws-sdk/client-glue 3.907.0 → 3.908.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.
@@ -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": "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" }];
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": "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" }];
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",
@@ -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
@@ -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;
@@ -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.907.0",
4
+ "version": "3.908.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,38 +20,38 @@
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.907.0",
24
- "@aws-sdk/credential-provider-node": "3.907.0",
23
+ "@aws-sdk/core": "3.908.0",
24
+ "@aws-sdk/credential-provider-node": "3.908.0",
25
25
  "@aws-sdk/middleware-host-header": "3.901.0",
26
26
  "@aws-sdk/middleware-logger": "3.901.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.901.0",
28
- "@aws-sdk/middleware-user-agent": "3.907.0",
28
+ "@aws-sdk/middleware-user-agent": "3.908.0",
29
29
  "@aws-sdk/region-config-resolver": "3.901.0",
30
30
  "@aws-sdk/types": "3.901.0",
31
31
  "@aws-sdk/util-endpoints": "3.901.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.907.0",
33
- "@aws-sdk/util-user-agent-node": "3.907.0",
33
+ "@aws-sdk/util-user-agent-node": "3.908.0",
34
34
  "@smithy/config-resolver": "^4.3.0",
35
- "@smithy/core": "^3.14.0",
36
- "@smithy/fetch-http-handler": "^5.3.0",
35
+ "@smithy/core": "^3.15.0",
36
+ "@smithy/fetch-http-handler": "^5.3.1",
37
37
  "@smithy/hash-node": "^4.2.0",
38
38
  "@smithy/invalid-dependency": "^4.2.0",
39
39
  "@smithy/middleware-content-length": "^4.2.0",
40
- "@smithy/middleware-endpoint": "^4.3.0",
41
- "@smithy/middleware-retry": "^4.4.0",
40
+ "@smithy/middleware-endpoint": "^4.3.1",
41
+ "@smithy/middleware-retry": "^4.4.1",
42
42
  "@smithy/middleware-serde": "^4.2.0",
43
43
  "@smithy/middleware-stack": "^4.2.0",
44
44
  "@smithy/node-config-provider": "^4.3.0",
45
45
  "@smithy/node-http-handler": "^4.3.0",
46
46
  "@smithy/protocol-http": "^5.3.0",
47
- "@smithy/smithy-client": "^4.7.0",
47
+ "@smithy/smithy-client": "^4.7.1",
48
48
  "@smithy/types": "^4.6.0",
49
49
  "@smithy/url-parser": "^4.2.0",
50
- "@smithy/util-base64": "^4.2.0",
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.0",
53
- "@smithy/util-defaults-mode-browser": "^4.2.0",
54
- "@smithy/util-defaults-mode-node": "^4.2.0",
52
+ "@smithy/util-body-length-node": "^4.2.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.0",
54
+ "@smithy/util-defaults-mode-node": "^4.2.1",
55
55
  "@smithy/util-endpoints": "^3.2.0",
56
56
  "@smithy/util-middleware": "^4.2.0",
57
57
  "@smithy/util-retry": "^4.2.0",