@reventlessdev/rescript-pulumi-aws 3.0.0-alpha.4 → 3.0.0-alpha.40

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 (44) hide show
  1. package/CHANGELOG.md +300 -0
  2. package/package.json +8 -7
  3. package/rescript.json +2 -1
  4. package/src/AppSync/AppSync_ResolverRuntime.res +4 -5
  5. package/src/AppSync/AppSync_Resolver_Functions.res +281 -169
  6. package/src/AppSync/AppSync_Resolver_Functions.res.mjs +116 -72
  7. package/src/AppSync/AppSync_SourceApiAssociation.res +1 -3
  8. package/src/AwsNative/AppSync/AwsNative_AppSync_Api.res +2 -3
  9. package/src/AwsNative/AppSync/AwsNative_AppSync_ChannelNamespace.res +2 -6
  10. package/src/AwsNative/AppSync/AwsNative_AppSync_Resolver.res +2 -5
  11. package/src/Cloudwatch/Cloudwatch_EventRule.res +4 -0
  12. package/src/Cloudwatch/Cloudwatch_EventTarget.res +11 -0
  13. package/src/Cloudwatch/Cloudwatch_LogMetricFilter.res +0 -1
  14. package/src/Cloudwatch/Cloudwatch_MetricAlarm.res +1 -2
  15. package/src/Cognito/Cognito_UserPool.res +2 -4
  16. package/src/IAM/IAM.res +1 -1
  17. package/src/IAM/PolicyDocument.res +2 -2
  18. package/src/IAM/PolicyDocument.res.mjs +3 -3
  19. package/src/Kinesis/Kinesis_Stream.res +3 -6
  20. package/src/Kms/Kms.res +5 -0
  21. package/src/Kms/Kms.res.mjs +12 -0
  22. package/src/Kms/Kms_Alias.res +16 -0
  23. package/src/Kms/Kms_Alias.res.mjs +2 -0
  24. package/src/Kms/Kms_Key.res +23 -0
  25. package/src/Kms/Kms_Key.res.mjs +2 -0
  26. package/src/Lambda/FunctionUrl.res +5 -2
  27. package/src/Lambda/Lambda.res +139 -53
  28. package/src/Lambda/Lambda.res.mjs +152 -23
  29. package/src/Rds/Rds_Cluster.res +0 -1
  30. package/src/Rds/Rds_Instance.res +0 -1
  31. package/src/Rds/Rds_Proxy.res +1 -2
  32. package/src/S3/S3_Bucket.res +1 -1
  33. package/src/S3/S3_BucketV2.res +1 -3
  34. package/src/SNS/SNS_Topic.res +9 -9
  35. package/src/Scheduler/Scheduler.res +4 -0
  36. package/src/Scheduler/Scheduler.res.mjs +9 -0
  37. package/src/Scheduler/Scheduler_ScheduleGroup.res +14 -0
  38. package/src/Scheduler/Scheduler_ScheduleGroup.res.mjs +2 -0
  39. package/src/SecretsManager/GetSecretVersion.res +1 -1
  40. package/src/example/AlarmMailExample.res +34 -0
  41. package/src/example/AlarmMailExample.res.mjs +44 -0
  42. package/src/example/CustomDomainExample.res +2 -3
  43. package/src/example/MergedApiExample.res +1 -3
  44. package/tests/AppSync_Resolver_FunctionsTest.mjs +141 -23
package/CHANGELOG.md CHANGED
@@ -3,6 +3,306 @@
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.40 (2026-11-06)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **deps:** update sury to 11.1.0 ([512bc78](https://github.com/ReventlessDev/reventless-core/commit/512bc78da92c03664fa52fb3ab32df65f5e49b19))
11
+
12
+
13
+ # 3.0.0-alpha.39 (2026-11-02)
14
+
15
+ ### Features
16
+
17
+ * a view row knows its last change, and the local platform keeps every change ([1a1fd71](https://github.com/ReventlessDev/reventless-core/commit/1a1fd7117d9837696a7c0080dcd6f0983e57780c))
18
+
19
+
20
+ # 3.0.0-alpha.38 (2026-11-01)
21
+
22
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
23
+
24
+
25
+
26
+
27
+
28
+ # 3.0.0-alpha.37 (2026-10-29)
29
+
30
+ ### Features
31
+
32
+ * **pulumi-aws:** bindings for a KMS key and its alias ([e00c4b1](https://github.com/ReventlessDev/reventless-core/commit/e00c4b10b0b1ea74e1440bee4e6a4fd8f5fdbf46))
33
+
34
+
35
+ # 3.0.0-alpha.36 (2026-10-29)
36
+
37
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
38
+
39
+
40
+
41
+
42
+
43
+ # 3.0.0-alpha.35 (2026-10-29)
44
+
45
+ * feat(core)!: the caller's IP address leaves the messages a request causes ([aa9e8c7](https://github.com/ReventlessDev/reventless-core/commit/aa9e8c79c0360528a5cfeda2bb88d1da52f28674))
46
+
47
+ ### BREAKING CHANGES
48
+
49
+ * `Message.generateMeta` no longer takes `~ip`. Drop the argument; a
50
+ message that must carry the address declares it as a field of its own payload.
51
+
52
+ Step PD3 of docs/plans/a-personal-field-is-marked-redacted-and-encrypted-at-the-seam.md.
53
+ Claude-Session: https://claude.ai/code/session_01HiQfdxVEsHwLHRoHSUcus1
54
+
55
+
56
+
57
+ # 3.0.0-alpha.34 (2026-10-25)
58
+
59
+ * refactor(bindings)!: response fields AWS may omit are optional fields ([8babc00](https://github.com/ReventlessDev/reventless-core/commit/8babc008c4cdd6e88721d856ca35648f0552d5b9))
60
+
61
+ ### BREAKING CHANGES
62
+
63
+ * code that builds these records drops `name: None` and
64
+ writes `name: x` for `name: Some(x)`.
65
+
66
+
67
+
68
+ # 3.0.0-alpha.33 (2026-10-23)
69
+
70
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
71
+
72
+
73
+
74
+
75
+
76
+ # 3.0.0-alpha.32 (2026-10-23)
77
+
78
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
79
+
80
+
81
+
82
+
83
+
84
+ # 3.0.0-alpha.31 (2026-10-21)
85
+
86
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
87
+
88
+
89
+
90
+
91
+
92
+ # 3.0.0-alpha.30 (2026-10-16)
93
+
94
+ * feat!(inbound): a translation slice can declare a signed webhook URL ([0ad6994](https://github.com/ReventlessDev/reventless-core/commit/0ad69949fcc91c2756c60ca8cb120dd468841d8b))
95
+
96
+ ### BREAKING CHANGES
97
+
98
+ * InboundTranslationSlice.Spec requires `endpoint`. Specs under
99
+ @@reventless.spec get it from the PPX (republish reventless-ppx with this
100
+ release); hand-written specs add `let endpoint = None`.
101
+
102
+
103
+
104
+ # 3.0.0-alpha.29 (2026-10-16)
105
+
106
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
107
+
108
+
109
+
110
+
111
+
112
+ # 3.0.0-alpha.28 (2026-10-15)
113
+
114
+ * feat!: schedules take a Schedule.time, run on EventBridge Scheduler on AWS ([2d74557](https://github.com/ReventlessDev/reventless-core/commit/2d74557a6304917ded8f2b9f4107af9298c91ac0))
115
+
116
+ ### BREAKING CHANGES
117
+
118
+ * Schedule.rate is replaced by Schedule.time, and a
119
+ schedule's `rate` field is now `time`. A once-only time already past
120
+ never fires, locally as on AWS.
121
+
122
+
123
+
124
+ # 3.0.0-alpha.27 (2026-10-10)
125
+
126
+ ### Bug Fixes
127
+
128
+ * **pulumi-aws:** a list's last page no longer promises another ([00b141f](https://github.com/ReventlessDev/reventless-core/commit/00b141fbfdbf44544fbea8ab979356831381f48a))
129
+
130
+
131
+ # 3.0.0-alpha.26 (2026-10-10)
132
+
133
+ ### Bug Fixes
134
+
135
+ * an inbound translation is gated alike on every door, and encodes its commands by schema ([6ec3ce6](https://github.com/ReventlessDev/reventless-core/commit/6ec3ce672e53e2c162c64a90d103be691391be5e))
136
+
137
+
138
+ # 3.0.0-alpha.25 (2026-10-08)
139
+
140
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
141
+
142
+
143
+
144
+
145
+
146
+ # 3.0.0-alpha.24 (2026-10-06)
147
+
148
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
149
+
150
+
151
+
152
+
153
+
154
+ # 3.0.0-alpha.23 (2026-10-01)
155
+
156
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
157
+
158
+
159
+
160
+
161
+
162
+ # 3.0.0-alpha.22 (2026-09-29)
163
+
164
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
165
+
166
+
167
+
168
+
169
+
170
+ # 3.0.0-alpha.21 (2026-09-28)
171
+
172
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
173
+
174
+
175
+
176
+
177
+
178
+ # 3.0.0-alpha.20 (2026-09-28)
179
+
180
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
181
+
182
+
183
+
184
+
185
+
186
+ # 3.0.0-alpha.19 (2026-09-28)
187
+
188
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
189
+
190
+
191
+
192
+
193
+
194
+ # 3.0.0-alpha.18 (2026-09-27)
195
+
196
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
197
+
198
+
199
+
200
+
201
+
202
+ # 3.0.0-alpha.17 (2026-09-23)
203
+
204
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
205
+
206
+
207
+
208
+
209
+
210
+ # 3.0.0-alpha.16 (2026-09-23)
211
+
212
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
213
+
214
+
215
+
216
+
217
+
218
+ # 3.0.0-alpha.15 (2026-09-21)
219
+
220
+ ### Bug Fixes
221
+
222
+ * **deps:** update rescript to 12.3.1 ([ea1ce37](https://github.com/ReventlessDev/reventless-core/commit/ea1ce377297640f6d0d360e6c84c778d59ecbcc5))
223
+ * **deps:** update sury to 11.0.0 ([8715b22](https://github.com/ReventlessDev/reventless-core/commit/8715b22b33856c46ba57518aad151065c123a995))
224
+
225
+
226
+ # 3.0.0-alpha.14 (2026-09-16)
227
+
228
+ * fix(aws)!: stop a deploy that finds no Lambda layer ([62957f4](https://github.com/ReventlessDev/reventless-core/commit/62957f444ab2120f672b9ac0564f786d64090864))
229
+
230
+ ### BREAKING CHANGES
231
+
232
+ * PulumiAws.Lambda.reventlessLayerArn is now a function that
233
+ returns the ARN and throws when there is none. Use Lambda.reventlessLayers()
234
+ for a function's layers argument.
235
+
236
+
237
+
238
+ # 3.0.0-alpha.13 (2026-09-11)
239
+
240
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
241
+
242
+
243
+
244
+
245
+
246
+ # 3.0.0-alpha.12 (2026-09-09)
247
+
248
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
249
+
250
+
251
+
252
+
253
+
254
+ # 3.0.0-alpha.11 (2026-09-08)
255
+
256
+ ### Bug Fixes
257
+
258
+ * **aws:** the collector gate waits on the one property an update changes ([2c48193](https://github.com/ReventlessDev/reventless-core/commit/2c481934d58c64b8e637d0df1b051b03cf59a35c))
259
+
260
+
261
+ # 3.0.0-alpha.10 (2026-09-08)
262
+
263
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
264
+
265
+
266
+
267
+
268
+
269
+ # 3.0.0-alpha.9 (2026-09-08)
270
+
271
+ ### Features
272
+
273
+ * **core:** a reference names a row and shows its picture ([2b40d04](https://github.com/ReventlessDev/reventless-core/commit/2b40d0418bba2bf83463f446e94e372ea0c9898c))
274
+
275
+
276
+ # 3.0.0-alpha.8 (2026-09-04)
277
+
278
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
279
+
280
+
281
+
282
+
283
+
284
+ # 3.0.0-alpha.7 (2026-08-27)
285
+
286
+ **Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
287
+
288
+
289
+
290
+
291
+
292
+ # 3.0.0-alpha.6 (2026-08-24)
293
+
294
+ ### Features
295
+
296
+ * **pulumi-aws:** match events by pattern and rewrite what a target receives ([8f94ef3](https://github.com/ReventlessDev/reventless-core/commit/8f94ef3c4f5d24f87c1331b8a63c35bd9c4a92b2))
297
+
298
+
299
+ # 3.0.0-alpha.5 (2026-08-23)
300
+
301
+ ### Bug Fixes
302
+
303
+ * **querydb:** serve the previous page instead of refusing it ([48341c9](https://github.com/ReventlessDev/reventless-core/commit/48341c9f61b5155b441deeb0edc9abf461948346))
304
+
305
+
6
306
  # 3.0.0-alpha.4 (2026-08-23)
7
307
 
8
308
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/rescript-pulumi-aws",
3
- "version": "3.0.0-alpha.4",
3
+ "version": "3.0.0-alpha.40",
4
4
  "description": "ReScript bindings for @pulumi/aws",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -21,17 +21,18 @@
21
21
  "dependencies": {
22
22
  "@pulumi/aws": "~7.19.0",
23
23
  "@pulumi/aws-native": "^1.62.0",
24
- "sury": "11.0.0-rc.2",
25
- "@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.13",
26
- "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.19"
24
+ "sury": "11.1.0",
25
+ "@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.39",
26
+ "@reventlessdev/rescript-node": "2.0.0-alpha.26",
27
+ "@reventlessdev/rescript-pulumi-pulumi": "3.0.0-alpha.0"
27
28
  },
28
29
  "devDependencies": {
29
30
  "esbuild": "^0.25.12",
30
- "rescript": "12.3.0",
31
- "sury-ppx": "11.0.0-rc.2"
31
+ "rescript": "12.3.1",
32
+ "sury-ppx": "11.1.0"
32
33
  },
33
34
  "peerDependencies": {
34
- "rescript": "12.3.0"
35
+ "rescript": "^12.3.1"
35
36
  },
36
37
  "gitHead": "ddea51534dc210635d7b11968089627b3b697ce2",
37
38
  "publishConfig": {
package/rescript.json CHANGED
@@ -21,7 +21,8 @@
21
21
  "dependencies": [
22
22
  "sury",
23
23
  "@reventlessdev/rescript-pulumi-pulumi",
24
- "@reventlessdev/rescript-aws-sdk"
24
+ "@reventlessdev/rescript-aws-sdk",
25
+ "@reventlessdev/rescript-node"
25
26
  ],
26
27
  "compiler-flags": []
27
28
  }
@@ -1,3 +1,7 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Context types
3
+ // ---------------------------------------------------------------------------
4
+
1
5
  /** Bindings for @aws-appsync/utils and AppSync JS resolver context types.
2
6
  Used in resolver source files compiled to APPSYNC_JS — not Pulumi deploy-time code.
3
7
 
@@ -6,11 +10,6 @@
6
10
  AppSync provides the module as an object with named exports. When bundled with
7
11
  esbuild (--external:@aws-appsync/utils), the import is preserved for AppSync runtime.
8
12
  */
9
-
10
- // ---------------------------------------------------------------------------
11
- // Context types
12
- // ---------------------------------------------------------------------------
13
-
14
13
  type error = {
15
14
  message: string,
16
15
  @as("type") type_: string,