@aws-sdk/client-lakeformation 3.478.0 → 3.480.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.
@@ -483,6 +483,8 @@ const se_GetTemporaryGlueTableCredentialsCommand = async (input, context) => {
483
483
  AuditContext: (_) => (0, smithy_client_1._json)(_),
484
484
  DurationSeconds: [],
485
485
  Permissions: (_) => (0, smithy_client_1._json)(_),
486
+ QuerySessionContext: (_) => se_QuerySessionContext(_, context),
487
+ S3Path: [],
486
488
  SupportedPermissionTypes: (_) => (0, smithy_client_1._json)(_),
487
489
  TableArn: [],
488
490
  }));
@@ -2257,6 +2259,7 @@ const de_GetTemporaryGlueTableCredentialsCommand = async (output, context) => {
2257
2259
  Expiration: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2258
2260
  SecretAccessKey: smithy_client_1.expectString,
2259
2261
  SessionToken: smithy_client_1.expectString,
2262
+ VendedS3Path: smithy_client_1._json,
2260
2263
  });
2261
2264
  Object.assign(contents, doc);
2262
2265
  return contents;
@@ -3590,6 +3593,15 @@ const se_QueryPlanningContext = (input, context) => {
3590
3593
  TransactionId: [],
3591
3594
  });
3592
3595
  };
3596
+ const se_QuerySessionContext = (input, context) => {
3597
+ return (0, smithy_client_1.take)(input, {
3598
+ AdditionalContext: smithy_client_1._json,
3599
+ ClusterId: [],
3600
+ QueryAuthorizationId: [],
3601
+ QueryId: [],
3602
+ QueryStartTime: (_) => Math.round(_.getTime() / 1000),
3603
+ });
3604
+ };
3593
3605
  const de_LakeFormationOptInsInfo = (output, context) => {
3594
3606
  return (0, smithy_client_1.take)(output, {
3595
3607
  LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
@@ -449,6 +449,8 @@ export const se_GetTemporaryGlueTableCredentialsCommand = async (input, context)
449
449
  AuditContext: (_) => _json(_),
450
450
  DurationSeconds: [],
451
451
  Permissions: (_) => _json(_),
452
+ QuerySessionContext: (_) => se_QuerySessionContext(_, context),
453
+ S3Path: [],
452
454
  SupportedPermissionTypes: (_) => _json(_),
453
455
  TableArn: [],
454
456
  }));
@@ -2169,6 +2171,7 @@ export const de_GetTemporaryGlueTableCredentialsCommand = async (output, context
2169
2171
  Expiration: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2170
2172
  SecretAccessKey: __expectString,
2171
2173
  SessionToken: __expectString,
2174
+ VendedS3Path: _json,
2172
2175
  });
2173
2176
  Object.assign(contents, doc);
2174
2177
  return contents;
@@ -3477,6 +3480,15 @@ const se_QueryPlanningContext = (input, context) => {
3477
3480
  TransactionId: [],
3478
3481
  });
3479
3482
  };
3483
+ const se_QuerySessionContext = (input, context) => {
3484
+ return take(input, {
3485
+ AdditionalContext: _json,
3486
+ ClusterId: [],
3487
+ QueryAuthorizationId: [],
3488
+ QueryId: [],
3489
+ QueryStartTime: (_) => Math.round(_.getTime() / 1000),
3490
+ });
3491
+ };
3480
3492
  const de_LakeFormationOptInsInfo = (output, context) => {
3481
3493
  return take(output, {
3482
3494
  LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -42,6 +42,16 @@ export interface GetTemporaryGlueTableCredentialsCommandOutput extends GetTempor
42
42
  * SupportedPermissionTypes: [ // PermissionTypeList
43
43
  * "COLUMN_PERMISSION" || "CELL_FILTER_PERMISSION" || "NESTED_PERMISSION" || "NESTED_CELL_PERMISSION",
44
44
  * ],
45
+ * S3Path: "STRING_VALUE",
46
+ * QuerySessionContext: { // QuerySessionContext
47
+ * QueryId: "STRING_VALUE",
48
+ * QueryStartTime: new Date("TIMESTAMP"),
49
+ * ClusterId: "STRING_VALUE",
50
+ * QueryAuthorizationId: "STRING_VALUE",
51
+ * AdditionalContext: { // AdditionalContextMap
52
+ * "<keys>": "STRING_VALUE",
53
+ * },
54
+ * },
45
55
  * };
46
56
  * const command = new GetTemporaryGlueTableCredentialsCommand(input);
47
57
  * const response = await client.send(command);
@@ -50,6 +60,9 @@ export interface GetTemporaryGlueTableCredentialsCommandOutput extends GetTempor
50
60
  * // SecretAccessKey: "STRING_VALUE",
51
61
  * // SessionToken: "STRING_VALUE",
52
62
  * // Expiration: new Date("TIMESTAMP"),
63
+ * // VendedS3Path: [ // PathStringList
64
+ * // "STRING_VALUE",
65
+ * // ],
53
66
  * // };
54
67
  *
55
68
  * ```
@@ -947,7 +947,7 @@ export interface CreateLakeFormationIdentityCenterConfigurationRequest {
947
947
  /**
948
948
  * @public
949
949
  * <p>A list of the account IDs of Amazon Web Services accounts of third-party applications
950
- * that are allowed to to access data managed by Lake Formation.</p>
950
+ * that are allowed to access data managed by Lake Formation.</p>
951
951
  */
952
952
  ExternalFiltering?: ExternalFilteringConfiguration;
953
953
  }
@@ -2062,6 +2062,37 @@ export declare class PermissionTypeMismatchException extends __BaseException {
2062
2062
  */
2063
2063
  constructor(opts: __ExceptionOptionType<PermissionTypeMismatchException, __BaseException>);
2064
2064
  }
2065
+ /**
2066
+ * @public
2067
+ * <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>
2068
+ */
2069
+ export interface QuerySessionContext {
2070
+ /**
2071
+ * @public
2072
+ * <p>A unique identifier generated by the query engine for the query.</p>
2073
+ */
2074
+ QueryId?: string;
2075
+ /**
2076
+ * @public
2077
+ * <p>A timestamp provided by the query engine for when the query started.</p>
2078
+ */
2079
+ QueryStartTime?: Date;
2080
+ /**
2081
+ * @public
2082
+ * <p>An identifier string for the consumer cluster.</p>
2083
+ */
2084
+ ClusterId?: string;
2085
+ /**
2086
+ * @public
2087
+ * <p>A cryptographically generated query identifier generated by Glue or Lake Formation.</p>
2088
+ */
2089
+ QueryAuthorizationId?: string;
2090
+ /**
2091
+ * @public
2092
+ * <p>An opaque string-string map passed by the query engine.</p>
2093
+ */
2094
+ AdditionalContext?: Record<string, string>;
2095
+ }
2065
2096
  /**
2066
2097
  * @public
2067
2098
  */
@@ -2091,6 +2122,16 @@ export interface GetTemporaryGlueTableCredentialsRequest {
2091
2122
  * <p>A list of supported permission types for the table. Valid values are <code>COLUMN_PERMISSION</code> and <code>CELL_FILTER_PERMISSION</code>.</p>
2092
2123
  */
2093
2124
  SupportedPermissionTypes?: PermissionType[];
2125
+ /**
2126
+ * @public
2127
+ * <p>The Amazon S3 path for the table.</p>
2128
+ */
2129
+ S3Path?: string;
2130
+ /**
2131
+ * @public
2132
+ * <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>
2133
+ */
2134
+ QuerySessionContext?: QuerySessionContext;
2094
2135
  }
2095
2136
  /**
2096
2137
  * @public
@@ -2116,6 +2157,11 @@ export interface GetTemporaryGlueTableCredentialsResponse {
2116
2157
  * <p>The date and time when the temporary credentials expire.</p>
2117
2158
  */
2118
2159
  Expiration?: Date;
2160
+ /**
2161
+ * @public
2162
+ * <p>The Amazon S3 path for the temporary credentials.</p>
2163
+ */
2164
+ VendedS3Path?: string[];
2119
2165
  }
2120
2166
  /**
2121
2167
  * @public
@@ -600,18 +600,28 @@ export declare class PermissionTypeMismatchException extends __BaseException {
600
600
  >
601
601
  );
602
602
  }
603
+ export interface QuerySessionContext {
604
+ QueryId?: string;
605
+ QueryStartTime?: Date;
606
+ ClusterId?: string;
607
+ QueryAuthorizationId?: string;
608
+ AdditionalContext?: Record<string, string>;
609
+ }
603
610
  export interface GetTemporaryGlueTableCredentialsRequest {
604
611
  TableArn: string | undefined;
605
612
  Permissions?: Permission[];
606
613
  DurationSeconds?: number;
607
614
  AuditContext?: AuditContext;
608
615
  SupportedPermissionTypes?: PermissionType[];
616
+ S3Path?: string;
617
+ QuerySessionContext?: QuerySessionContext;
609
618
  }
610
619
  export interface GetTemporaryGlueTableCredentialsResponse {
611
620
  AccessKeyId?: string;
612
621
  SecretAccessKey?: string;
613
622
  SessionToken?: string;
614
623
  Expiration?: Date;
624
+ VendedS3Path?: string[];
615
625
  }
616
626
  export interface GetWorkUnitResultsRequest {
617
627
  QueryId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lakeformation",
3
3
  "description": "AWS SDK for JavaScript Lakeformation Client for Node.js, Browser and React Native",
4
- "version": "3.478.0",
4
+ "version": "3.480.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",