@reventlessdev/rescript-aws-sdk 3.0.0-alpha.7 → 3.0.0-alpha.9
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,21 @@
|
|
|
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.9 (2026-08-13)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **aws:** narrow the token to the role a caller chose to act as ([194332f](https://github.com/ReventlessDev/reventless-core/commit/194332fa0af8e13417f72d57904e2ed469747dde))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# 3.0.0-alpha.8 (2026-08-13)
|
|
14
|
+
|
|
15
|
+
**Note:** Version bump only for package @reventlessdev/rescript-aws-sdk
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
# 3.0.0-alpha.7 (2026-08-11)
|
|
7
22
|
|
|
8
23
|
**Note:** Version bump only for package @reventlessdev/rescript-aws-sdk
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/rescript-aws-sdk",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.9",
|
|
4
4
|
"description": "ReScript bindings for aws-sdk",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@aws-sdk/lib-dynamodb": "^3.1033.0",
|
|
21
21
|
"@aws-sdk/lib-storage": "^3.1033.0",
|
|
22
22
|
"@smithy/node-http-handler": "^4.5.3",
|
|
23
|
-
"@reventlessdev/rescript-node": "2.0.0-alpha.
|
|
23
|
+
"@reventlessdev/rescript-node": "2.0.0-alpha.5"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"rescript": "12.3.0"
|
|
@@ -115,3 +115,39 @@ module AdminRemoveUserFromGroupCommand = {
|
|
|
115
115
|
|
|
116
116
|
let send: t => promise<unit> = command => Raw.send(client(), command)
|
|
117
117
|
}
|
|
118
|
+
|
|
119
|
+
module AdminListGroupsForUserCommand = {
|
|
120
|
+
type t
|
|
121
|
+
|
|
122
|
+
/** `Username` takes the username, any alias attribute, or — for a local user —
|
|
123
|
+
their `sub`, which is the one identifier a verified token always carries.
|
|
124
|
+
A value the pool cannot resolve raises `UserNotFoundException` rather than
|
|
125
|
+
returning an empty group list, so a caller is never mistaken for one holding
|
|
126
|
+
no groups. */
|
|
127
|
+
type input = {
|
|
128
|
+
@as("Username") username: string,
|
|
129
|
+
@as("UserPoolId") userPoolId: string,
|
|
130
|
+
@as("Limit") limit?: int,
|
|
131
|
+
@as("NextToken") nextToken?: string,
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
type group = {@as("GroupName") groupName?: string}
|
|
135
|
+
|
|
136
|
+
type output = {
|
|
137
|
+
@as("Groups") groups?: array<group>,
|
|
138
|
+
@as("NextToken") nextToken?: string,
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@new @module("@aws-sdk/client-cognito-identity-provider")
|
|
142
|
+
external make: input => t = "AdminListGroupsForUserCommand"
|
|
143
|
+
|
|
144
|
+
module Raw = {
|
|
145
|
+
/**
|
|
146
|
+
see: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/AdminListGroupsForUserCommand/
|
|
147
|
+
*/
|
|
148
|
+
@send
|
|
149
|
+
external send: (client, t) => promise<output> = "send"
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
let send: t => promise<output> = command => Raw.send(client(), command)
|
|
153
|
+
}
|
|
@@ -59,6 +59,17 @@ let AdminRemoveUserFromGroupCommand = {
|
|
|
59
59
|
send: send$2
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
+
let Raw$4 = {};
|
|
63
|
+
|
|
64
|
+
function send$3(command) {
|
|
65
|
+
return client().send(command);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
let AdminListGroupsForUserCommand = {
|
|
69
|
+
Raw: Raw$4,
|
|
70
|
+
send: send$3
|
|
71
|
+
};
|
|
72
|
+
|
|
62
73
|
export {
|
|
63
74
|
Raw,
|
|
64
75
|
clientInstance,
|
|
@@ -66,5 +77,6 @@ export {
|
|
|
66
77
|
SignUpCommand,
|
|
67
78
|
AdminAddUserToGroupCommand,
|
|
68
79
|
AdminRemoveUserFromGroupCommand,
|
|
80
|
+
AdminListGroupsForUserCommand,
|
|
69
81
|
}
|
|
70
82
|
/* @smithy/node-http-handler Not a pure module */
|