@cdklabs/cdk-construct-connect-datalake 0.0.28 → 0.0.29

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.
Files changed (105) hide show
  1. package/.jsii +9 -9
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/package.json +1 -1
  6. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +47 -10
  7. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +2 -0
  8. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +7 -0
  9. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/ListEvaluationFormAIVersionsPaginator.js +4 -0
  10. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/index.js +1 -0
  11. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +32 -9
  12. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +7 -0
  13. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateRuleCommand.d.ts +23 -1
  14. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeRuleCommand.d.ts +23 -1
  15. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetContactMetricsCommand.d.ts +1 -2
  16. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListRulesCommand.d.ts +1 -1
  17. package/node_modules/@aws-sdk/client-connect/dist-types/commands/PauseContactCommand.d.ts +2 -1
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchRulesCommand.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-connect/dist-types/commands/StartChatContactCommand.d.ts +18 -0
  20. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateRuleCommand.d.ts +23 -1
  21. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  22. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateTestCaseCommand.d.ts +1 -2
  23. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +15 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +41 -11
  25. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +12 -23
  26. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +136 -114
  27. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +62 -195
  28. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +233 -4
  29. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/ListEvaluationFormAIVersionsPaginator.d.ts +7 -0
  30. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/index.d.ts +1 -0
  31. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +3 -0
  32. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +7 -0
  33. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetContactMetricsCommand.d.ts +1 -2
  34. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/PauseContactCommand.d.ts +2 -1
  35. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateTestCaseCommand.d.ts +1 -2
  37. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +8 -0
  38. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +7 -3
  39. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +4 -6
  40. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +7 -2
  41. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +12 -45
  42. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +48 -0
  43. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/ListEvaluationFormAIVersionsPaginator.d.ts +11 -0
  44. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/index.d.ts +1 -0
  45. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  46. package/node_modules/@aws-sdk/client-connect/package.json +1 -1
  47. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +25 -23
  48. package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +1 -0
  49. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +23 -22
  50. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchCreatePartitionCommand.d.ts +3 -0
  51. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchDeletePartitionCommand.d.ts +3 -0
  52. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchDeleteTableCommand.d.ts +3 -0
  53. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchGetCrawlersCommand.d.ts +1 -0
  54. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchUpdatePartitionCommand.d.ts +3 -0
  55. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateConnectionCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateCrawlerCommand.d.ts +1 -0
  57. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateTableCommand.d.ts +1 -0
  58. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteColumnStatisticsTaskSettingsCommand.d.ts +1 -0
  59. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetColumnStatisticsTaskRunsCommand.d.ts +1 -0
  60. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetColumnStatisticsTaskSettingsCommand.d.ts +1 -0
  61. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetConnectionCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetConnectionsCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetCrawlerCommand.d.ts +1 -0
  64. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetCrawlersCommand.d.ts +1 -0
  65. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableCommand.d.ts +2 -0
  66. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableVersionCommand.d.ts +2 -0
  67. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableVersionsCommand.d.ts +2 -0
  68. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTablesCommand.d.ts +2 -0
  69. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +2 -0
  70. package/node_modules/@aws-sdk/client-glue/dist-types/commands/SearchTablesCommand.d.ts +2 -0
  71. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartColumnStatisticsTaskRunScheduleCommand.d.ts +1 -0
  72. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopColumnStatisticsTaskRunCommand.d.ts +1 -0
  73. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopColumnStatisticsTaskRunScheduleCommand.d.ts +1 -0
  74. package/node_modules/@aws-sdk/client-glue/dist-types/commands/TestConnectionCommand.d.ts +1 -1
  75. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateConnectionCommand.d.ts +1 -1
  76. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCrawlerCommand.d.ts +1 -0
  77. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateTableCommand.d.ts +1 -0
  78. package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +1 -0
  79. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_0.d.ts +11 -2
  80. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +25 -0
  81. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +5 -0
  82. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +20 -0
  83. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +1 -0
  84. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_0.d.ts +1 -0
  85. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +5 -0
  86. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +1 -0
  87. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +4 -0
  88. package/node_modules/@aws-sdk/client-glue/package.json +1 -1
  89. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
  90. package/node_modules/@aws-sdk/client-lakeformation/package.json +1 -1
  91. package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
  92. package/node_modules/@aws-sdk/client-ram/package.json +1 -1
  93. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  94. package/node_modules/@aws-sdk/client-sts/package.json +1 -1
  95. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +33 -11
  96. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +3 -0
  97. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +33 -11
  98. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +3 -0
  99. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
  100. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
  101. package/node_modules/@smithy/core/package.json +1 -1
  102. package/node_modules/@types/aws-lambda/README.md +1 -1
  103. package/node_modules/@types/aws-lambda/package.json +2 -2
  104. package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -2
  105. package/package.json +11 -11
@@ -765,6 +765,7 @@ const createAggregatedClient = (commands, Client, options) => {
765
765
  };
766
766
 
767
767
  class ServiceException extends Error {
768
+ static shapeId = "smithy.ts.sdk.synthetic.nonamespace.client#ServiceException";
768
769
  $fault;
769
770
  $response;
770
771
  $retryable;
@@ -796,22 +797,43 @@ class ServiceException extends Error {
796
797
  if (this.prototype.isPrototypeOf(instance)) {
797
798
  return true;
798
799
  }
799
- const targetName = this.name;
800
- if (!targetName || !candidate.name) {
801
- return false;
800
+ const targetId = Object.prototype.hasOwnProperty.call(this, "shapeId")
801
+ ? this.shapeId
802
+ : undefined;
803
+ let candidateHasShapeId = false;
804
+ if (targetId) {
805
+ let proto = Object.getPrototypeOf(candidate);
806
+ while (proto && proto !== Object.prototype) {
807
+ const ctor = proto.constructor;
808
+ const candidateId = ctor !== ServiceException && Object.prototype.hasOwnProperty.call(ctor, "shapeId")
809
+ ? ctor?.shapeId
810
+ : undefined;
811
+ if (candidateId) {
812
+ candidateHasShapeId = true;
813
+ if (candidateId === targetId) {
814
+ return true;
815
+ }
816
+ }
817
+ proto = Object.getPrototypeOf(proto);
818
+ }
802
819
  }
803
- if (candidate.name === targetName) {
804
- return true;
820
+ if (targetId && candidateHasShapeId) {
821
+ return false;
805
822
  }
806
- let proto = Object.getPrototypeOf(candidate);
807
- while (proto && proto !== Object.prototype) {
808
- const ctorName = proto.constructor?.name;
809
- if (ctorName && ctorName !== "Error" && ctorName === targetName) {
823
+ const targetName = this.name;
824
+ if (targetName && targetName.length >= 6) {
825
+ if (candidate.name === targetName) {
810
826
  return true;
811
827
  }
812
- proto = Object.getPrototypeOf(proto);
828
+ let proto = Object.getPrototypeOf(candidate);
829
+ while (proto && proto !== Object.prototype) {
830
+ const ctorName = proto.constructor?.name;
831
+ if (ctorName && ctorName !== "Error" && ctorName === targetName) {
832
+ return true;
833
+ }
834
+ proto = Object.getPrototypeOf(proto);
835
+ }
813
836
  }
814
- return false;
815
837
  }
816
838
  return false;
817
839
  }
@@ -630,6 +630,9 @@ class TypeRegistry {
630
630
  const $error = es;
631
631
  const ns = $error[1];
632
632
  const qualifiedName = ns + "#" + $error[2];
633
+ if (!ctor.hasOwnProperty?.("shapeId")) {
634
+ ctor.shapeId = qualifiedName;
635
+ }
633
636
  for (const r of [this, TypeRegistry.for(ns)]) {
634
637
  if (!r.schemas.has(qualifiedName) && !r.exceptions.has($error)) {
635
638
  r.schemas.set(qualifiedName, $error);
@@ -1,4 +1,5 @@
1
1
  export class ServiceException extends Error {
2
+ static shapeId = "smithy.ts.sdk.synthetic.nonamespace.client#ServiceException";
2
3
  $fault;
3
4
  $response;
4
5
  $retryable;
@@ -30,22 +31,43 @@ export class ServiceException extends Error {
30
31
  if (this.prototype.isPrototypeOf(instance)) {
31
32
  return true;
32
33
  }
33
- const targetName = this.name;
34
- if (!targetName || !candidate.name) {
35
- return false;
34
+ const targetId = Object.prototype.hasOwnProperty.call(this, "shapeId")
35
+ ? this.shapeId
36
+ : undefined;
37
+ let candidateHasShapeId = false;
38
+ if (targetId) {
39
+ let proto = Object.getPrototypeOf(candidate);
40
+ while (proto && proto !== Object.prototype) {
41
+ const ctor = proto.constructor;
42
+ const candidateId = ctor !== ServiceException && Object.prototype.hasOwnProperty.call(ctor, "shapeId")
43
+ ? ctor?.shapeId
44
+ : undefined;
45
+ if (candidateId) {
46
+ candidateHasShapeId = true;
47
+ if (candidateId === targetId) {
48
+ return true;
49
+ }
50
+ }
51
+ proto = Object.getPrototypeOf(proto);
52
+ }
36
53
  }
37
- if (candidate.name === targetName) {
38
- return true;
54
+ if (targetId && candidateHasShapeId) {
55
+ return false;
39
56
  }
40
- let proto = Object.getPrototypeOf(candidate);
41
- while (proto && proto !== Object.prototype) {
42
- const ctorName = proto.constructor?.name;
43
- if (ctorName && ctorName !== "Error" && ctorName === targetName) {
57
+ const targetName = this.name;
58
+ if (targetName && targetName.length >= 6) {
59
+ if (candidate.name === targetName) {
44
60
  return true;
45
61
  }
46
- proto = Object.getPrototypeOf(proto);
62
+ let proto = Object.getPrototypeOf(candidate);
63
+ while (proto && proto !== Object.prototype) {
64
+ const ctorName = proto.constructor?.name;
65
+ if (ctorName && ctorName !== "Error" && ctorName === targetName) {
66
+ return true;
67
+ }
68
+ proto = Object.getPrototypeOf(proto);
69
+ }
47
70
  }
48
- return false;
49
71
  }
50
72
  return false;
51
73
  }
@@ -58,6 +58,9 @@ export class TypeRegistry {
58
58
  const $error = es;
59
59
  const ns = $error[1];
60
60
  const qualifiedName = ns + "#" + $error[2];
61
+ if (!ctor.hasOwnProperty?.("shapeId")) {
62
+ ctor.shapeId = qualifiedName;
63
+ }
61
64
  for (const r of [this, TypeRegistry.for(ns)]) {
62
65
  if (!r.schemas.has(qualifiedName) && !r.exceptions.has($error)) {
63
66
  r.schemas.set(qualifiedName, $error);
@@ -18,6 +18,7 @@ export interface ServiceExceptionOptions extends SmithyException, MetadataBearer
18
18
  * @public
19
19
  */
20
20
  export declare class ServiceException extends Error implements SmithyException, MetadataBearer {
21
+ static readonly shapeId: string;
21
22
  readonly $fault: "client" | "server";
22
23
  $response?: HttpResponse;
23
24
  $retryable?: RetryableTrait;
@@ -18,6 +18,7 @@ export interface ServiceExceptionOptions extends SmithyException, MetadataBearer
18
18
  * @public
19
19
  */
20
20
  export declare class ServiceException extends Error implements SmithyException, MetadataBearer {
21
+ static readonly shapeId: string;
21
22
  readonly $fault: "client" | "server";
22
23
  $response?: HttpResponse;
23
24
  $retryable?: RetryableTrait;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.35.0",
3
+ "version": "3.35.1",
4
4
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -8,7 +8,7 @@ This package contains type definitions for aws-lambda (http://docs.aws.amazon.co
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 01 Sep 2026 18:37:51 GMT
11
+ * Last updated: Tue, 29 Sep 2026 00:11:01 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/aws-lambda",
3
- "version": "8.10.163",
3
+ "version": "8.10.164",
4
4
  "description": "TypeScript definitions for aws-lambda",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda",
6
6
  "license": "MIT",
@@ -221,6 +221,6 @@
221
221
  "scripts": {},
222
222
  "dependencies": {},
223
223
  "peerDependencies": {},
224
- "typesPublisherContentHash": "225c8b47434176686e640f3c484c3bef662843a3c2fbf6d1f4bd3bf7fe3971d3",
224
+ "typesPublisherContentHash": "e3afcf35b16aa8aedbc0462ab52bc39e11fa825f0186800e2b1f63b3b16ee72f",
225
225
  "typeScriptVersion": "5.6"
226
226
  }
@@ -254,8 +254,8 @@ export interface APIGatewayEventRequestContextLambdaAuthorizer<TAuthorizerContex
254
254
  * JWT Authorizer Payload
255
255
  */
256
256
  export interface APIGatewayEventRequestContextJWTAuthorizer {
257
- principalId: string;
258
- integrationLatency: number;
257
+ principalId?: string | null;
258
+ integrationLatency?: number | null;
259
259
  jwt: {
260
260
  claims: { [name: string]: string | number | boolean | string[] };
261
261
  scopes: string[] | null;
package/package.json CHANGED
@@ -65,10 +65,10 @@
65
65
  "jsii-diff": "^1.140.0",
66
66
  "jsii-docgen": "^10.5.0",
67
67
  "jsii-pacmak": "^1.140.0",
68
- "jsii-rosetta": "^5.9.67",
69
- "prettier": "^3.9.8",
68
+ "jsii-rosetta": "^5.9.68",
69
+ "prettier": "^3.9.9",
70
70
  "projen": "^0.99.17",
71
- "ts-jest": "^29.4.12",
71
+ "ts-jest": "^29.4.14",
72
72
  "ts-node": "^10.9.2",
73
73
  "typescript": "^5.9.3"
74
74
  },
@@ -77,14 +77,14 @@
77
77
  "constructs": "^10.5.1"
78
78
  },
79
79
  "dependencies": {
80
- "@aws-sdk/client-cloudformation": "^3.1141.0",
81
- "@aws-sdk/client-connect": "^3.1141.0",
82
- "@aws-sdk/client-glue": "^3.1141.0",
83
- "@aws-sdk/client-lakeformation": "^3.1141.0",
84
- "@aws-sdk/client-ram": "^3.1141.0",
85
- "@aws-sdk/client-sts": "^3.1141.0",
80
+ "@aws-sdk/client-cloudformation": "^3.1146.0",
81
+ "@aws-sdk/client-connect": "^3.1146.0",
82
+ "@aws-sdk/client-glue": "^3.1146.0",
83
+ "@aws-sdk/client-lakeformation": "^3.1146.0",
84
+ "@aws-sdk/client-ram": "^3.1146.0",
85
+ "@aws-sdk/client-sts": "^3.1146.0",
86
86
  "@aws-sdk/types": "^3.974.6",
87
- "@types/aws-lambda": "^8.10.163",
87
+ "@types/aws-lambda": "^8.10.164",
88
88
  "aws-lambda": "^1.0.7"
89
89
  },
90
90
  "bundledDependencies": [
@@ -112,7 +112,7 @@
112
112
  "publishConfig": {
113
113
  "access": "public"
114
114
  },
115
- "version": "0.0.28",
115
+ "version": "0.0.29",
116
116
  "jest": {
117
117
  "coverageProvider": "v8",
118
118
  "moduleNameMapper": {