@reventlessdev/reventless-aws 3.0.0-alpha.217 → 3.0.0-alpha.218

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 (26) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +6 -6
  3. package/src/Platform.res.mjs +2 -0
  4. package/src/adapter/Runtime/RuntimeEnvironment_Lambda.res +6 -2
  5. package/src/adapter/Runtime/RuntimeEnvironment_Lambda.res.mjs +12 -2
  6. package/src/components/Aggregate_Builder_Micro.res.mjs +1 -0
  7. package/src/components/Aggregate_Builder_NoResolver.res.mjs +1 -0
  8. package/src/components/Aggregate_Builder_PerAggregate.res.mjs +1 -0
  9. package/src/components/Aggregate_Builder_Single.res.mjs +1 -0
  10. package/src/components/Aggregate_Builder_Single_Async.res.mjs +1 -0
  11. package/src/components/AutomationSlice_Builder.res.mjs +1 -0
  12. package/src/components/ExtensionPoint_Builder.res.mjs +1 -0
  13. package/src/components/ForeignReadModel_Builder.res.mjs +2 -0
  14. package/src/components/OutboundTranslationSlice_Builder.res.mjs +1 -0
  15. package/src/components/Plugin.res.mjs +1 -0
  16. package/src/components/ReadModel_Builder_NoResolver.res.mjs +1 -0
  17. package/src/components/ReadModel_Builder_NoResolver_Stream.res.mjs +1 -0
  18. package/src/components/ReadModel_Builder_PerReadModel.res.mjs +1 -0
  19. package/src/components/ReadModel_Builder_Single.res.mjs +1 -0
  20. package/src/components/ReadModel_Builder_Single_Stream.res.mjs +1 -0
  21. package/src/components/SideEffectHandler_PerSideEffectHandler.res.mjs +3 -0
  22. package/src/components/SideEffectHandler_Single.res.mjs +2 -0
  23. package/src/components/StateViewSlice_Builder.res.mjs +1 -0
  24. package/src/components/StateViewSlice_Builder_Stream.res.mjs +1 -0
  25. package/src/components/Task_Builder_PerBucket.res.mjs +2 -0
  26. package/src/plugin/stack/Plugin_ExtensionPoint_Builder.res.mjs +2 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 3.0.0-alpha.218 (2026-07-20)
7
+
8
+ ### Features
9
+
10
+ * **core:** annotate comp + causationId at the dispatch boundary ([ef6d56d](https://github.com/ReventlessDev/reventless-core/commit/ef6d56d0104dbdb21b7cfbb8f3b2b1ead9787595))
11
+
12
+
6
13
  # 3.0.0-alpha.217 (2026-07-19)
7
14
 
8
15
  **Note:** Version bump only for package @reventlessdev/reventless-aws
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-aws",
3
- "version": "3.0.0-alpha.217",
3
+ "version": "3.0.0-alpha.218",
4
4
  "description": "AWS adapters for Reventless",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
@@ -9,15 +9,15 @@
9
9
  "sury": "11.0.0-alpha.4",
10
10
  "uuid": "^13.0.0",
11
11
  "@reventlessdev/rescript-aws-sdk": "2.2.0-alpha.24",
12
- "@reventlessdev/rescript-effect": "0.1.0-alpha.29",
13
- "@reventlessdev/rescript-jest": "1.0.0-alpha.9",
14
12
  "@reventlessdev/rescript-pulumi-aws": "2.4.0-alpha.56",
15
- "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.17",
16
13
  "@reventlessdev/rescript-uuid": "1.1.0-alpha.17",
17
- "@reventlessdev/reventless-core": "3.0.0-alpha.172",
14
+ "@reventlessdev/reventless-core": "3.0.0-alpha.173",
15
+ "@reventlessdev/rescript-jest": "1.0.0-alpha.9",
16
+ "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.17",
18
17
  "@reventlessdev/reventless-infra": "3.0.0-alpha.102",
19
18
  "@reventlessdev/reventless-interop": "3.0.0-alpha.28",
20
- "@reventlessdev/reventless-postgres": "3.0.0-alpha.36",
19
+ "@reventlessdev/reventless-postgres": "3.0.0-alpha.37",
20
+ "@reventlessdev/rescript-effect": "0.1.0-alpha.29",
21
21
  "@reventlessdev/reventless-spec": "3.0.0-alpha.79"
22
22
  },
23
23
  "devDependencies": {
@@ -541,6 +541,7 @@ function MakeWithConfig(Config) {
541
541
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
542
542
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
543
543
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
544
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
544
545
  asEventHandler: prim => prim,
545
546
  asEffectHandler: prim => prim
546
547
  })({
@@ -1513,6 +1514,7 @@ function Make($star) {
1513
1514
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
1514
1515
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
1515
1516
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
1517
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
1516
1518
  asEventHandler: prim => prim,
1517
1519
  asEffectHandler: prim => prim
1518
1520
  })({
@@ -284,7 +284,8 @@ let groupBySource = (event: event) => {
284
284
  // SQS records carry a `body` string field not included in the minimal record type.
285
285
  @get external recordBody: PulumiAws.Lambda.CallbackFunction.record => option<string> = "body"
286
286
 
287
- let extractCorrelationId = (event: event) =>
287
+ // Read a single string field off the first SQS record's `meta` object.
288
+ let extractMetaField = (event: event, field) =>
288
289
  event.records
289
290
  ->Array.get(0)
290
291
  ->Option.flatMap(r =>
@@ -298,9 +299,12 @@ let extractCorrelationId = (event: event) =>
298
299
  )
299
300
  ->Option.flatMap(obj => obj->Dict.get("meta"))
300
301
  ->Option.flatMap(JSON.Decode.object)
301
- ->Option.flatMap(meta => meta->Dict.get("correlationId"))
302
+ ->Option.flatMap(meta => meta->Dict.get(field))
302
303
  ->Option.flatMap(JSON.Decode.string)
303
304
 
305
+ let extractCorrelationId = (event: event) => event->extractMetaField("correlationId")
306
+ let extractCausationId = (event: event) => event->extractMetaField("causationId")
307
+
304
308
  external asEventHandler: 'a => ReventlessCore.Runtime.eventHandler<event, context, 'result> =
305
309
  "%identity"
306
310
  external asEffectHandler: 'a => ReventlessCore.Runtime.effectHandler<
@@ -172,14 +172,22 @@ function groupBySource(event) {
172
172
  return dict;
173
173
  }
174
174
 
175
- function extractCorrelationId(event) {
175
+ function extractMetaField(event, field) {
176
176
  return Stdlib_Option.flatMap(Stdlib_Option.flatMap(Stdlib_Option.flatMap(Stdlib_Option.flatMap(Stdlib_Option.flatMap(event.Records[0], r => Stdlib_Option.flatMap(r.body, body => {
177
177
  try {
178
178
  return Stdlib_JSON.Decode.object(JSON.parse(body));
179
179
  } catch (exn) {
180
180
  return;
181
181
  }
182
- })), obj => obj["meta"]), Stdlib_JSON.Decode.object), meta => meta["correlationId"]), Stdlib_JSON.Decode.string);
182
+ })), obj => obj["meta"]), Stdlib_JSON.Decode.object), meta => meta[field]), Stdlib_JSON.Decode.string);
183
+ }
184
+
185
+ function extractCorrelationId(event) {
186
+ return extractMetaField(event, "correlationId");
187
+ }
188
+
189
+ function extractCausationId(event) {
190
+ return extractMetaField(event, "causationId");
183
191
  }
184
192
 
185
193
  export {
@@ -188,6 +196,8 @@ export {
188
196
  make,
189
197
  makeFromCodeAsset,
190
198
  groupBySource,
199
+ extractMetaField,
191
200
  extractCorrelationId,
201
+ extractCausationId,
192
202
  }
193
203
  /* @pulumi/aws Not a pure module */
@@ -20,6 +20,7 @@ function Make(Spec) {
20
20
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
21
21
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
22
22
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
23
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
23
24
  asEventHandler: prim => prim,
24
25
  asEffectHandler: prim => prim
25
26
  })(CommandGeneratorResolvers_AppSync$ReventlessAws)({
@@ -20,6 +20,7 @@ function Make(Spec) {
20
20
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
21
21
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
22
22
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
23
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
23
24
  asEventHandler: prim => prim,
24
25
  asEffectHandler: prim => prim
25
26
  })(CommandGeneratorResolvers_AppSync_NoOp$ReventlessAws)({
@@ -20,6 +20,7 @@ function Make(Spec) {
20
20
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
21
21
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
22
22
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
23
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
23
24
  asEventHandler: prim => prim,
24
25
  asEffectHandler: prim => prim
25
26
  })(CommandGeneratorResolvers_AppSync$ReventlessAws)({
@@ -22,6 +22,7 @@ function Make(Spec) {
22
22
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
23
23
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
24
24
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
25
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
25
26
  asEventHandler: prim => prim,
26
27
  asEffectHandler: prim => prim
27
28
  })(CommandGeneratorResolvers_AppSync$ReventlessAws)({
@@ -22,6 +22,7 @@ function Make(Spec) {
22
22
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
23
23
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
24
24
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
25
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
25
26
  asEventHandler: prim => prim,
26
27
  asEffectHandler: prim => prim
27
28
  })(CommandGeneratorResolvers_AppSync$ReventlessAws)({
@@ -14,6 +14,7 @@ function Make(Api) {
14
14
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
15
15
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
16
16
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
17
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
17
18
  asEventHandler: prim => prim,
18
19
  asEffectHandler: prim => prim
19
20
  })({
@@ -16,6 +16,7 @@ function Make(Spec) {
16
16
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
17
17
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
18
18
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
19
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
19
20
  asEventHandler: prim => prim,
20
21
  asEffectHandler: prim => prim
21
22
  })({
@@ -11,6 +11,7 @@ let EventCollectorRuntimeBuilder = EventCollectorRuntime_Builder_PerEventCollect
11
11
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
12
12
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
13
13
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
14
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
14
15
  asEventHandler: prim => prim,
15
16
  asEffectHandler: prim => prim
16
17
  })({
@@ -23,6 +24,7 @@ function Make(Spec) {
23
24
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
24
25
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
25
26
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
27
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
26
28
  asEventHandler: prim => prim,
27
29
  asEffectHandler: prim => prim
28
30
  })({
@@ -21,6 +21,7 @@ function Make(Api) {
21
21
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
22
22
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
23
23
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
24
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
24
25
  asEventHandler: prim => prim,
25
26
  asEffectHandler: prim => prim
26
27
  })({
@@ -33,6 +33,7 @@ function Make(HooksConfig) {
33
33
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
34
34
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
35
35
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
36
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
36
37
  asEventHandler: prim => prim,
37
38
  asEffectHandler: prim => prim
38
39
  })({
@@ -14,6 +14,7 @@ function Make(Spec) {
14
14
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
15
15
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
16
16
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
17
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
17
18
  asEventHandler: prim => prim,
18
19
  asEffectHandler: prim => prim
19
20
  })({
@@ -16,6 +16,7 @@ function Make(Spec) {
16
16
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
17
17
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
18
18
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
19
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
19
20
  asEventHandler: prim => prim,
20
21
  asEffectHandler: prim => prim
21
22
  })(QueryDbStorage$ReventlessAws.SelectableStream)(QueryDbResolvers_AppSync_NoOp$ReventlessAws)({
@@ -14,6 +14,7 @@ function Make(Spec) {
14
14
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
15
15
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
16
16
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
17
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
17
18
  asEventHandler: prim => prim,
18
19
  asEffectHandler: prim => prim
19
20
  })({
@@ -16,6 +16,7 @@ function Make(Spec) {
16
16
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
17
17
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
18
18
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
19
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
19
20
  asEventHandler: prim => prim,
20
21
  asEffectHandler: prim => prim
21
22
  })(QueryDbStorage$ReventlessAws.Selectable)(QueryDbResolvers$ReventlessAws.Selectable)({
@@ -16,6 +16,7 @@ function Make(Spec) {
16
16
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
17
17
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
18
18
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
19
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
19
20
  asEventHandler: prim => prim,
20
21
  asEffectHandler: prim => prim
21
22
  })(QueryDbStorage$ReventlessAws.SelectableStream)(QueryDbResolvers$ReventlessAws.Selectable)({
@@ -10,6 +10,7 @@ let EventCollectorRuntimeBuilder = EventCollectorRuntime_Builder_PerEventCollect
10
10
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
11
11
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
12
12
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
13
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
13
14
  asEventHandler: prim => prim,
14
15
  asEffectHandler: prim => prim
15
16
  })({
@@ -21,6 +22,7 @@ let include = SideEffectHandler_Builder$ReventlessCore.Make({
21
22
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
22
23
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
23
24
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
25
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
24
26
  asEventHandler: prim => prim,
25
27
  asEffectHandler: prim => prim
26
28
  })({
@@ -30,6 +32,7 @@ let include = SideEffectHandler_Builder$ReventlessCore.Make({
30
32
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
31
33
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
32
34
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
35
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
33
36
  asEventHandler: prim => prim,
34
37
  asEffectHandler: prim => prim
35
38
  })({
@@ -12,6 +12,7 @@ function Make($star) {
12
12
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
13
13
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
14
14
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
15
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
15
16
  asEventHandler: prim => prim,
16
17
  asEffectHandler: prim => prim
17
18
  })({
@@ -21,6 +22,7 @@ function Make($star) {
21
22
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
22
23
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
23
24
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
25
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
24
26
  asEventHandler: prim => prim,
25
27
  asEffectHandler: prim => prim
26
28
  })({
@@ -16,6 +16,7 @@ function Make(Api) {
16
16
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
17
17
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
18
18
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
19
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
19
20
  asEventHandler: prim => prim,
20
21
  asEffectHandler: prim => prim
21
22
  })(QueryDbStorage$ReventlessAws.Selectable)(QueryDbResolvers$ReventlessAws.Selectable)({
@@ -16,6 +16,7 @@ function Make(Api) {
16
16
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
17
17
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
18
18
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
19
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
19
20
  asEventHandler: prim => prim,
20
21
  asEffectHandler: prim => prim
21
22
  })(QueryDbStorage$ReventlessAws.SelectableStream)(QueryDbResolvers$ReventlessAws.Selectable)({
@@ -12,6 +12,7 @@ let EventCollectorRuntimeBuilder = EventCollectorRuntime_Builder_PerEventCollect
12
12
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
13
13
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
14
14
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
15
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
15
16
  asEventHandler: prim => prim,
16
17
  asEffectHandler: prim => prim
17
18
  })({
@@ -29,6 +30,7 @@ function Make(Spec) {
29
30
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
30
31
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
31
32
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
33
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
32
34
  asEventHandler: prim => prim,
33
35
  asEffectHandler: prim => prim
34
36
  })({
@@ -20,6 +20,7 @@ function MakeWithConfig(Config) {
20
20
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
21
21
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
22
22
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
23
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
23
24
  asEventHandler: prim => prim,
24
25
  asEffectHandler: prim => prim
25
26
  })({
@@ -42,6 +43,7 @@ let Make = PluginExtensionPoint_Builder$ReventlessCore.Make({
42
43
  make: RuntimeEnvironment_Lambda$ReventlessAws.make,
43
44
  groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
44
45
  extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
46
+ extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
45
47
  asEventHandler: prim => prim,
46
48
  asEffectHandler: prim => prim
47
49
  })({