@reventlessdev/rescript-pulumi-aws 2.4.0-alpha.52 → 2.4.0-alpha.53

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 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
+ # 2.4.0-alpha.53 (2026-07-14)
7
+
8
+ ### Features
9
+
10
+ * surface masked GraphQL resolver errors server-side (local + AWS) ([b3bca51](https://github.com/ReventlessDev/reventless-core/commit/b3bca51b539e40c604b3db338d570de6215ea837))
11
+
12
+
6
13
  # 2.4.0-alpha.52 (2026-07-14)
7
14
 
8
15
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/rescript-pulumi-aws",
3
- "version": "2.4.0-alpha.52",
3
+ "version": "2.4.0-alpha.53",
4
4
  "description": "ReScript bindings for @pulumi/aws",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -42,6 +42,25 @@ type additionalAuthenticationProvider = {
42
42
  userPoolConfig?: Pulumi.Input.t<userPoolConfig>,
43
43
  }
44
44
 
45
+ /** Field-level CloudWatch log verbosity for resolver execution. `ERROR` logs
46
+ only field/resolver errors (e.g. a non-null coercion on a stale read-model
47
+ row) — the server-side capture point that AppSync otherwise swallows into the
48
+ client's `errors[]`; `ALL` also logs request-level tracing (high volume). */
49
+ type fieldLogLevel =
50
+ | NONE
51
+ | ERROR
52
+ | ALL
53
+
54
+ /** CloudWatch logging config. `cloudwatchLogsRoleArn` must be an IAM role
55
+ assumable by `appsync.amazonaws.com` carrying `AWSAppSyncPushToCloudWatchLogs`.
56
+ Resolvers run on the SOURCE APIs under the merged-API topology, so set this on
57
+ the source APIs to capture field-resolver errors. */
58
+ type logConfig = {
59
+ cloudwatchLogsRoleArn: Pulumi.Input.t<string>,
60
+ fieldLogLevel: Pulumi.Input.t<fieldLogLevel>,
61
+ excludeVerboseContent?: Pulumi.Input.t<bool>,
62
+ }
63
+
45
64
  type args = {
46
65
  authenticationType: Pulumi.Input.t<authenticationType>,
47
66
  name?: Pulumi.Input.t<string>,
@@ -52,6 +71,7 @@ type args = {
52
71
  >,
53
72
  apiType?: Pulumi.Input.t<apiType>,
54
73
  mergedApiExecutionRoleArn?: Pulumi.Input.t<string>,
74
+ logConfig?: Pulumi.Input.t<logConfig>,
55
75
  }
56
76
 
57
77
  @module("@pulumi/aws") @scope("appsync") @new