aws-delivlib 15.0.45 → 15.0.47

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.
@@ -0,0 +1,50 @@
1
+ import { Handler } from "../../handler";
2
+ import { BaseTriggerEvent, StringMap } from "./_common";
3
+
4
+ export interface GroupOverrideDetailsV3 {
5
+ groupsToOverride?: string[];
6
+ iamRolesToOverride?: string[];
7
+ preferredRole?: string;
8
+ }
9
+
10
+ export interface IdTokenGenerationV3 {
11
+ claimsToAddOrOverride?: StringMap;
12
+ claimsToSuppress?: string[];
13
+ }
14
+
15
+ export interface AccessTokenGenerationV3 {
16
+ claimsToAddOrOverride?: StringMap;
17
+ claimsToSuppress?: string[];
18
+ scopesToAdd?: string[];
19
+ scopesToSuppress?: string[];
20
+ }
21
+
22
+ export interface ClaimsAndScopeOverrideDetailsV3 {
23
+ idTokenGeneration?: IdTokenGenerationV3;
24
+ accessTokenGeneration?: AccessTokenGenerationV3;
25
+ groupOverrideDetails?: GroupOverrideDetailsV3;
26
+ }
27
+
28
+ /**
29
+ * @see https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html
30
+ */
31
+ export interface BasePreTokenGenerationV3TriggerEvent<T extends string> extends BaseTriggerEvent<T> {
32
+ version: "3";
33
+ request: {
34
+ userAttributes: StringMap;
35
+ groupConfiguration: GroupOverrideDetailsV3;
36
+ scopes?: string[];
37
+ clientMetadata?: StringMap;
38
+ };
39
+ response: {
40
+ claimsAndScopeOverrideDetails: ClaimsAndScopeOverrideDetailsV3;
41
+ };
42
+ }
43
+
44
+ export type PreTokenGenerationClientCredentialsV3TriggerEvent = BasePreTokenGenerationV3TriggerEvent<
45
+ "TokenGeneration_ClientCredentials"
46
+ >;
47
+
48
+ export type PreTokenGenerationV3TriggerEvent = PreTokenGenerationClientCredentialsV3TriggerEvent;
49
+
50
+ export type PreTokenGenerationV3TriggerHandler = Handler<PreTokenGenerationV3TriggerEvent>;
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 15 Jul 2025 07:04:18 GMT
11
+ * Last updated: Sat, 19 Jul 2025 00:47:11 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -911,7 +911,7 @@ declare module "http" {
911
911
  * the request body should be sent.
912
912
  * @since v10.0.0
913
913
  */
914
- writeProcessing(): void;
914
+ writeProcessing(callback?: () => void): void;
915
915
  }
916
916
  interface InformationEvent {
917
917
  statusCode: number;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "24.0.14",
3
+ "version": "24.0.15",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -155,6 +155,6 @@
155
155
  "undici-types": "~7.8.0"
156
156
  },
157
157
  "peerDependencies": {},
158
- "typesPublisherContentHash": "f2ab6ee3016c1a7d1baf5391d24e04e58c4d932ac8ba8267ea5acc2cf3259dbb",
158
+ "typesPublisherContentHash": "6a5ec8f1b1a98e8c7a437e76633d6cf07a9a74d62ff723d701c1a5db2fc8ff18",
159
159
  "typeScriptVersion": "5.1"
160
160
  }
package/package.json CHANGED
@@ -41,10 +41,10 @@
41
41
  "@aws-sdk/client-codepipeline": "^3.848.0",
42
42
  "@aws-sdk/client-s3": "^3.848.0",
43
43
  "@aws-sdk/client-secrets-manager": "^3.848.0",
44
- "@aws-sdk/client-ssm": "^3.848.0",
44
+ "@aws-sdk/client-ssm": "^3.849.0",
45
45
  "@stylistic/eslint-plugin": "^2",
46
46
  "@types/adm-zip": "^0.5.7",
47
- "@types/aws-lambda": "^8.10.150",
47
+ "@types/aws-lambda": "^8.10.152",
48
48
  "@types/follow-redirects": "^1.14.4",
49
49
  "@types/fs-extra": "^9.0.13",
50
50
  "@types/jest": "^29.5.14",
@@ -57,7 +57,7 @@
57
57
  "aws-cdk-lib": "2.187.0",
58
58
  "commit-and-tag-version": "^12",
59
59
  "constructs": "10.1.31",
60
- "esbuild": "^0.25.6",
60
+ "esbuild": "^0.25.8",
61
61
  "eslint": "^9",
62
62
  "eslint-import-resolver-typescript": "^2.7.1",
63
63
  "eslint-plugin-import": "^2.32.0",
@@ -97,7 +97,7 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "version": "15.0.45",
100
+ "version": "15.0.47",
101
101
  "jest": {
102
102
  "coverageProvider": "v8",
103
103
  "testMatch": [