@aws-sdk/client-lakeformation 3.51.0 → 3.54.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.
@@ -1,12 +1,15 @@
1
1
 
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
3
  import { Readable } from "stream";
4
+ import { LakeFormationServiceException as __BaseException } from "./LakeFormationServiceException";
4
5
 
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
 
9
10
  Message?: string;
11
+
12
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
13
  }
11
14
 
12
15
  export interface LFTagPair {
@@ -220,39 +223,49 @@ export declare namespace AddLFTagsToResourceResponse {
220
223
  const filterSensitiveLog: (obj: AddLFTagsToResourceResponse) => any;
221
224
  }
222
225
 
223
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
224
- name: "ConcurrentModificationException";
225
- $fault: "client";
226
+ export declare class ConcurrentModificationException extends __BaseException {
227
+ readonly name: "ConcurrentModificationException";
228
+ readonly $fault: "client";
226
229
 
227
230
  Message?: string;
231
+
232
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
228
233
  }
229
234
 
230
- export interface EntityNotFoundException extends __SmithyException, $MetadataBearer {
231
- name: "EntityNotFoundException";
232
- $fault: "client";
235
+ export declare class EntityNotFoundException extends __BaseException {
236
+ readonly name: "EntityNotFoundException";
237
+ readonly $fault: "client";
233
238
 
234
239
  Message?: string;
240
+
241
+ constructor(opts: __ExceptionOptionType<EntityNotFoundException, __BaseException>);
235
242
  }
236
243
 
237
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
238
- name: "InternalServiceException";
239
- $fault: "server";
244
+ export declare class InternalServiceException extends __BaseException {
245
+ readonly name: "InternalServiceException";
246
+ readonly $fault: "server";
240
247
 
241
248
  Message?: string;
249
+
250
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
242
251
  }
243
252
 
244
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
245
- name: "InvalidInputException";
246
- $fault: "client";
253
+ export declare class InvalidInputException extends __BaseException {
254
+ readonly name: "InvalidInputException";
255
+ readonly $fault: "client";
247
256
 
248
257
  Message?: string;
258
+
259
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
249
260
  }
250
261
 
251
- export interface OperationTimeoutException extends __SmithyException, $MetadataBearer {
252
- name: "OperationTimeoutException";
253
- $fault: "client";
262
+ export declare class OperationTimeoutException extends __BaseException {
263
+ readonly name: "OperationTimeoutException";
264
+ readonly $fault: "client";
254
265
 
255
266
  Message?: string;
267
+
268
+ constructor(opts: __ExceptionOptionType<OperationTimeoutException, __BaseException>);
256
269
  }
257
270
 
258
271
  export interface AddObjectInput {
@@ -277,11 +290,13 @@ export declare namespace AllRowsWildcard {
277
290
  const filterSensitiveLog: (obj: AllRowsWildcard) => any;
278
291
  }
279
292
 
280
- export interface AlreadyExistsException extends __SmithyException, $MetadataBearer {
281
- name: "AlreadyExistsException";
282
- $fault: "client";
293
+ export declare class AlreadyExistsException extends __BaseException {
294
+ readonly name: "AlreadyExistsException";
295
+ readonly $fault: "client";
283
296
 
284
297
  Message?: string;
298
+
299
+ constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
285
300
  }
286
301
 
287
302
  export interface AuditContext {
@@ -397,18 +412,22 @@ export declare namespace CancelTransactionResponse {
397
412
  const filterSensitiveLog: (obj: CancelTransactionResponse) => any;
398
413
  }
399
414
 
400
- export interface TransactionCommitInProgressException extends __SmithyException, $MetadataBearer {
401
- name: "TransactionCommitInProgressException";
402
- $fault: "client";
415
+ export declare class TransactionCommitInProgressException extends __BaseException {
416
+ readonly name: "TransactionCommitInProgressException";
417
+ readonly $fault: "client";
403
418
 
404
419
  Message?: string;
420
+
421
+ constructor(opts: __ExceptionOptionType<TransactionCommitInProgressException, __BaseException>);
405
422
  }
406
423
 
407
- export interface TransactionCommittedException extends __SmithyException, $MetadataBearer {
408
- name: "TransactionCommittedException";
409
- $fault: "client";
424
+ export declare class TransactionCommittedException extends __BaseException {
425
+ readonly name: "TransactionCommittedException";
426
+ readonly $fault: "client";
410
427
 
411
428
  Message?: string;
429
+
430
+ constructor(opts: __ExceptionOptionType<TransactionCommittedException, __BaseException>);
412
431
  }
413
432
  export interface CommitTransactionRequest {
414
433
 
@@ -433,11 +452,13 @@ export declare namespace CommitTransactionResponse {
433
452
  const filterSensitiveLog: (obj: CommitTransactionResponse) => any;
434
453
  }
435
454
 
436
- export interface TransactionCanceledException extends __SmithyException, $MetadataBearer {
437
- name: "TransactionCanceledException";
438
- $fault: "client";
455
+ export declare class TransactionCanceledException extends __BaseException {
456
+ readonly name: "TransactionCanceledException";
457
+ readonly $fault: "client";
439
458
 
440
459
  Message?: string;
460
+
461
+ constructor(opts: __ExceptionOptionType<TransactionCanceledException, __BaseException>);
441
462
  }
442
463
 
443
464
  export interface RowFilter {
@@ -486,11 +507,13 @@ export declare namespace CreateDataCellsFilterResponse {
486
507
  const filterSensitiveLog: (obj: CreateDataCellsFilterResponse) => any;
487
508
  }
488
509
 
489
- export interface ResourceNumberLimitExceededException extends __SmithyException, $MetadataBearer {
490
- name: "ResourceNumberLimitExceededException";
491
- $fault: "client";
510
+ export declare class ResourceNumberLimitExceededException extends __BaseException {
511
+ readonly name: "ResourceNumberLimitExceededException";
512
+ readonly $fault: "client";
492
513
 
493
514
  Message?: string;
515
+
516
+ constructor(opts: __ExceptionOptionType<ResourceNumberLimitExceededException, __BaseException>);
494
517
  }
495
518
  export interface CreateLFTagRequest {
496
519
 
@@ -580,11 +603,13 @@ export declare namespace DeleteObjectsOnCancelResponse {
580
603
  const filterSensitiveLog: (obj: DeleteObjectsOnCancelResponse) => any;
581
604
  }
582
605
 
583
- export interface ResourceNotReadyException extends __SmithyException, $MetadataBearer {
584
- name: "ResourceNotReadyException";
585
- $fault: "client";
606
+ export declare class ResourceNotReadyException extends __BaseException {
607
+ readonly name: "ResourceNotReadyException";
608
+ readonly $fault: "client";
586
609
 
587
610
  Message?: string;
611
+
612
+ constructor(opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>);
588
613
  }
589
614
  export interface DeregisterResourceRequest {
590
615
 
@@ -821,11 +846,13 @@ export declare namespace GetQueryStateResponse {
821
846
  const filterSensitiveLog: (obj: GetQueryStateResponse) => any;
822
847
  }
823
848
 
824
- export interface ExpiredException extends __SmithyException, $MetadataBearer {
825
- name: "ExpiredException";
826
- $fault: "client";
849
+ export declare class ExpiredException extends __BaseException {
850
+ readonly name: "ExpiredException";
851
+ readonly $fault: "client";
827
852
 
828
853
  Message?: string;
854
+
855
+ constructor(opts: __ExceptionOptionType<ExpiredException, __BaseException>);
829
856
  }
830
857
  export interface GetQueryStatisticsRequest {
831
858
 
@@ -876,21 +903,25 @@ export declare namespace GetQueryStatisticsResponse {
876
903
  const filterSensitiveLog: (obj: GetQueryStatisticsResponse) => any;
877
904
  }
878
905
 
879
- export interface StatisticsNotReadyYetException extends __SmithyException, $MetadataBearer {
880
- name: "StatisticsNotReadyYetException";
881
- $fault: "client";
906
+ export declare class StatisticsNotReadyYetException extends __BaseException {
907
+ readonly name: "StatisticsNotReadyYetException";
908
+ readonly $fault: "client";
882
909
 
883
910
  Message?: string;
911
+
912
+ constructor(opts: __ExceptionOptionType<StatisticsNotReadyYetException, __BaseException>);
884
913
  }
885
914
 
886
- export interface ThrottledException extends __SmithyException, $MetadataBearer {
887
- name: "ThrottledException";
888
- $fault: "client";
915
+ export declare class ThrottledException extends __BaseException {
916
+ readonly name: "ThrottledException";
917
+ readonly $fault: "client";
889
918
  $retryable: {
890
- throttling: true;
919
+ throttling: boolean;
891
920
  };
892
921
 
893
922
  Message?: string;
923
+
924
+ constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
894
925
  }
895
926
  export interface GetResourceLFTagsRequest {
896
927
 
@@ -928,11 +959,13 @@ export declare namespace GetResourceLFTagsResponse {
928
959
  const filterSensitiveLog: (obj: GetResourceLFTagsResponse) => any;
929
960
  }
930
961
 
931
- export interface GlueEncryptionException extends __SmithyException, $MetadataBearer {
932
- name: "GlueEncryptionException";
933
- $fault: "client";
962
+ export declare class GlueEncryptionException extends __BaseException {
963
+ readonly name: "GlueEncryptionException";
964
+ readonly $fault: "client";
934
965
 
935
966
  Message?: string;
967
+
968
+ constructor(opts: __ExceptionOptionType<GlueEncryptionException, __BaseException>);
936
969
  }
937
970
  export interface GetTableObjectsRequest {
938
971
 
@@ -1036,11 +1069,13 @@ export declare namespace GetTemporaryGluePartitionCredentialsResponse {
1036
1069
  const filterSensitiveLog: (obj: GetTemporaryGluePartitionCredentialsResponse) => any;
1037
1070
  }
1038
1071
 
1039
- export interface PermissionTypeMismatchException extends __SmithyException, $MetadataBearer {
1040
- name: "PermissionTypeMismatchException";
1041
- $fault: "client";
1072
+ export declare class PermissionTypeMismatchException extends __BaseException {
1073
+ readonly name: "PermissionTypeMismatchException";
1074
+ readonly $fault: "client";
1042
1075
 
1043
1076
  Message?: string;
1077
+
1078
+ constructor(opts: __ExceptionOptionType<PermissionTypeMismatchException, __BaseException>);
1044
1079
  }
1045
1080
  export interface GetTemporaryGlueTableCredentialsRequest {
1046
1081
 
@@ -1132,11 +1167,13 @@ export declare namespace GetWorkUnitsResponse {
1132
1167
  const filterSensitiveLog: (obj: GetWorkUnitsResponse) => any;
1133
1168
  }
1134
1169
 
1135
- export interface WorkUnitsNotReadyYetException extends __SmithyException, $MetadataBearer {
1136
- name: "WorkUnitsNotReadyYetException";
1137
- $fault: "client";
1170
+ export declare class WorkUnitsNotReadyYetException extends __BaseException {
1171
+ readonly name: "WorkUnitsNotReadyYetException";
1172
+ readonly $fault: "client";
1138
1173
 
1139
1174
  Message?: string;
1175
+
1176
+ constructor(opts: __ExceptionOptionType<WorkUnitsNotReadyYetException, __BaseException>);
1140
1177
  }
1141
1178
  export interface GrantPermissionsRequest {
1142
1179
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
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.51.0",
4
+ "version": "3.54.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,40 +18,40 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",