@reventlessdev/rescript-pulumi-aws 3.0.0-alpha.2 → 3.0.0-alpha.20
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.
- package/CHANGELOG.md +152 -0
- package/package.json +8 -7
- package/rescript.json +2 -1
- package/src/AppSync/AppSync_ResolverRuntime.res +4 -5
- package/src/AppSync/AppSync_Resolver_Functions.res +495 -363
- package/src/AppSync/AppSync_Resolver_Functions.res.mjs +182 -97
- package/src/AppSync/AppSync_SourceApiAssociation.res +1 -3
- package/src/AwsNative/AppSync/AwsNative_AppSync_Api.res +2 -3
- package/src/AwsNative/AppSync/AwsNative_AppSync_ChannelNamespace.res +2 -6
- package/src/AwsNative/AppSync/AwsNative_AppSync_Resolver.res +2 -5
- package/src/Cloudwatch/Cloudwatch_EventRule.res +4 -0
- package/src/Cloudwatch/Cloudwatch_EventTarget.res +11 -0
- package/src/Cloudwatch/Cloudwatch_LogMetricFilter.res +0 -1
- package/src/Cloudwatch/Cloudwatch_MetricAlarm.res +0 -1
- package/src/Cognito/Cognito_UserPool.res +2 -4
- package/src/DynamoDb/DynamoDb_Table.res +23 -0
- package/src/DynamoDb/DynamoDb_Table.res.mjs +8 -1
- package/src/IAM/IAM.res +1 -1
- package/src/IAM/PolicyDocument.res +2 -2
- package/src/IAM/PolicyDocument.res.mjs +3 -3
- package/src/Kinesis/Kinesis_Stream.res +3 -6
- package/src/Lambda/FunctionUrl.res +5 -2
- package/src/Lambda/Lambda.res +134 -52
- package/src/Lambda/Lambda.res.mjs +152 -23
- package/src/Rds/Rds_Cluster.res +0 -1
- package/src/Rds/Rds_Instance.res +0 -1
- package/src/Rds/Rds_Proxy.res +1 -2
- package/src/S3/S3_BucketV2.res +1 -3
- package/src/example/AlarmMailExample.res +34 -0
- package/src/example/AlarmMailExample.res.mjs +44 -0
- package/src/example/CustomDomainExample.res +2 -3
- package/src/example/MergedApiExample.res +1 -3
- package/tests/AppSync_Resolver_FunctionsTest.mjs +368 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,158 @@
|
|
|
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.20 (2026-09-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 3.0.0-alpha.19 (2026-09-28)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# 3.0.0-alpha.18 (2026-09-27)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# 3.0.0-alpha.17 (2026-09-23)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# 3.0.0-alpha.16 (2026-09-23)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# 3.0.0-alpha.15 (2026-09-21)
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
* **deps:** update rescript to 12.3.1 ([ea1ce37](https://github.com/ReventlessDev/reventless-core/commit/ea1ce377297640f6d0d360e6c84c778d59ecbcc5))
|
|
51
|
+
* **deps:** update sury to 11.0.0 ([8715b22](https://github.com/ReventlessDev/reventless-core/commit/8715b22b33856c46ba57518aad151065c123a995))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# 3.0.0-alpha.14 (2026-09-16)
|
|
55
|
+
|
|
56
|
+
* fix(aws)!: stop a deploy that finds no Lambda layer ([62957f4](https://github.com/ReventlessDev/reventless-core/commit/62957f444ab2120f672b9ac0564f786d64090864))
|
|
57
|
+
|
|
58
|
+
### BREAKING CHANGES
|
|
59
|
+
|
|
60
|
+
* PulumiAws.Lambda.reventlessLayerArn is now a function that
|
|
61
|
+
returns the ARN and throws when there is none. Use Lambda.reventlessLayers()
|
|
62
|
+
for a function's layers argument.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
# 3.0.0-alpha.13 (2026-09-11)
|
|
67
|
+
|
|
68
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
# 3.0.0-alpha.12 (2026-09-09)
|
|
75
|
+
|
|
76
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# 3.0.0-alpha.11 (2026-09-08)
|
|
83
|
+
|
|
84
|
+
### Bug Fixes
|
|
85
|
+
|
|
86
|
+
* **aws:** the collector gate waits on the one property an update changes ([2c48193](https://github.com/ReventlessDev/reventless-core/commit/2c481934d58c64b8e637d0df1b051b03cf59a35c))
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# 3.0.0-alpha.10 (2026-09-08)
|
|
90
|
+
|
|
91
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
# 3.0.0-alpha.9 (2026-09-08)
|
|
98
|
+
|
|
99
|
+
### Features
|
|
100
|
+
|
|
101
|
+
* **core:** a reference names a row and shows its picture ([2b40d04](https://github.com/ReventlessDev/reventless-core/commit/2b40d0418bba2bf83463f446e94e372ea0c9898c))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
# 3.0.0-alpha.8 (2026-09-04)
|
|
105
|
+
|
|
106
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
# 3.0.0-alpha.7 (2026-08-27)
|
|
113
|
+
|
|
114
|
+
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
# 3.0.0-alpha.6 (2026-08-24)
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
* **pulumi-aws:** match events by pattern and rewrite what a target receives ([8f94ef3](https://github.com/ReventlessDev/reventless-core/commit/8f94ef3c4f5d24f87c1331b8a63c35bd9c4a92b2))
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
# 3.0.0-alpha.5 (2026-08-23)
|
|
128
|
+
|
|
129
|
+
### Bug Fixes
|
|
130
|
+
|
|
131
|
+
* **querydb:** serve the previous page instead of refusing it ([48341c9](https://github.com/ReventlessDev/reventless-core/commit/48341c9f61b5155b441deeb0edc9abf461948346))
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
# 3.0.0-alpha.4 (2026-08-23)
|
|
135
|
+
|
|
136
|
+
### Bug Fixes
|
|
137
|
+
|
|
138
|
+
* **aws:** serve a full page from a filtered AppSync read ([b7dca5d](https://github.com/ReventlessDev/reventless-core/commit/b7dca5dac02e8c35c4848828152b90ade0f3c8ba))
|
|
139
|
+
### Features
|
|
140
|
+
|
|
141
|
+
* **querydb:** serve owner-scoped lists from an index instead of a filtered Scan ([ad26c28](https://github.com/ReventlessDev/reventless-core/commit/ad26c284b4b0650fa3f3b6109ed33bbfe8608f6d))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
# 3.0.0-alpha.3 (2026-08-23)
|
|
145
|
+
|
|
146
|
+
* feat(aws)!: scope the active-role store to the identity provider ([08e287d](https://github.com/ReventlessDev/reventless-core/commit/08e287db9721977b818bad76671ec4c62be6f9af))
|
|
147
|
+
|
|
148
|
+
### BREAKING CHANGES
|
|
149
|
+
|
|
150
|
+
* platform:cognitoUserPoolId is now
|
|
151
|
+
platform:identityProviderId (REVENTLESS_IDENTITY_PROVIDER_ID). The old
|
|
152
|
+
spelling is still read and warns — do not drop it until the new secret
|
|
153
|
+
is in place, because an unset provider id is auto mode, and auto mode
|
|
154
|
+
creates a new user pool.
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
6
158
|
# 3.0.0-alpha.2 (2026-08-21)
|
|
7
159
|
|
|
8
160
|
### 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.
|
|
3
|
+
"version": "3.0.0-alpha.20",
|
|
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
|
|
25
|
-
"@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.
|
|
26
|
-
"@reventlessdev/rescript-
|
|
24
|
+
"sury": "11.0.0",
|
|
25
|
+
"@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.25",
|
|
26
|
+
"@reventlessdev/rescript-node": "2.0.0-alpha.18",
|
|
27
|
+
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.22"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
30
|
"esbuild": "^0.25.12",
|
|
30
|
-
"rescript": "12.3.
|
|
31
|
-
"sury-ppx": "11.0.0
|
|
31
|
+
"rescript": "12.3.1",
|
|
32
|
+
"sury-ppx": "11.0.0"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|
|
34
|
-
"rescript": "12.3.
|
|
35
|
+
"rescript": "^12.3.1"
|
|
35
36
|
},
|
|
36
37
|
"gitHead": "ddea51534dc210635d7b11968089627b3b697ce2",
|
|
37
38
|
"publishConfig": {
|
package/rescript.json
CHANGED
|
@@ -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,
|