@aws-sdk/client-identitystore 3.161.0 → 3.165.0
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 +27 -0
- package/README.md +7 -7
- package/dist-cjs/Identitystore.js +225 -0
- package/dist-cjs/commands/CreateGroupCommand.js +36 -0
- package/dist-cjs/commands/CreateGroupMembershipCommand.js +36 -0
- package/dist-cjs/commands/CreateUserCommand.js +36 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +36 -0
- package/dist-cjs/commands/DeleteGroupMembershipCommand.js +36 -0
- package/dist-cjs/commands/DeleteUserCommand.js +36 -0
- package/dist-cjs/commands/DescribeGroupMembershipCommand.js +36 -0
- package/dist-cjs/commands/GetGroupIdCommand.js +36 -0
- package/dist-cjs/commands/GetGroupMembershipIdCommand.js +36 -0
- package/dist-cjs/commands/GetUserIdCommand.js +36 -0
- package/dist-cjs/commands/IsMemberInGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListGroupMembershipsCommand.js +36 -0
- package/dist-cjs/commands/ListGroupMembershipsForMemberCommand.js +36 -0
- package/dist-cjs/commands/UpdateGroupCommand.js +36 -0
- package/dist-cjs/commands/UpdateUserCommand.js +36 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/models/models_0.js +360 -35
- package/dist-cjs/pagination/ListGroupMembershipsForMemberPaginator.js +36 -0
- package/dist-cjs/pagination/ListGroupMembershipsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1478 -93
- package/dist-es/Identitystore.js +225 -0
- package/dist-es/commands/CreateGroupCommand.js +39 -0
- package/dist-es/commands/CreateGroupMembershipCommand.js +39 -0
- package/dist-es/commands/CreateUserCommand.js +39 -0
- package/dist-es/commands/DeleteGroupCommand.js +39 -0
- package/dist-es/commands/DeleteGroupMembershipCommand.js +39 -0
- package/dist-es/commands/DeleteUserCommand.js +39 -0
- package/dist-es/commands/DescribeGroupMembershipCommand.js +39 -0
- package/dist-es/commands/GetGroupIdCommand.js +39 -0
- package/dist-es/commands/GetGroupMembershipIdCommand.js +39 -0
- package/dist-es/commands/GetUserIdCommand.js +39 -0
- package/dist-es/commands/IsMemberInGroupsCommand.js +39 -0
- package/dist-es/commands/ListGroupMembershipsCommand.js +39 -0
- package/dist-es/commands/ListGroupMembershipsForMemberCommand.js +39 -0
- package/dist-es/commands/UpdateGroupCommand.js +39 -0
- package/dist-es/commands/UpdateUserCommand.js +39 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/models/models_0.js +156 -34
- package/dist-es/pagination/ListGroupMembershipsForMemberPaginator.js +75 -0
- package/dist-es/pagination/ListGroupMembershipsPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +1678 -50
- package/dist-types/Identitystore.d.ts +106 -2
- package/dist-types/IdentitystoreClient.d.ts +17 -2
- package/dist-types/commands/CreateGroupCommand.d.ts +35 -0
- package/dist-types/commands/CreateGroupMembershipCommand.d.ts +35 -0
- package/dist-types/commands/CreateUserCommand.d.ts +35 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +35 -0
- package/dist-types/commands/DeleteGroupMembershipCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +35 -0
- package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +35 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +1 -2
- package/dist-types/commands/GetGroupIdCommand.d.ts +35 -0
- package/dist-types/commands/GetGroupMembershipIdCommand.d.ts +35 -0
- package/dist-types/commands/GetUserIdCommand.d.ts +35 -0
- package/dist-types/commands/IsMemberInGroupsCommand.d.ts +35 -0
- package/dist-types/commands/ListGroupMembershipsCommand.d.ts +35 -0
- package/dist-types/commands/ListGroupMembershipsForMemberCommand.d.ts +35 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +35 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/models/models_0.d.ts +1122 -125
- package/dist-types/pagination/ListGroupMembershipsForMemberPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupMembershipsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/Identitystore.d.ts +75 -0
- package/dist-types/ts3.4/IdentitystoreClient.d.ts +17 -2
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateGroupMembershipCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteGroupMembershipCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeGroupMembershipCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGroupIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGroupMembershipIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUserIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/IsMemberInGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGroupMembershipsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGroupMembershipsForMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +565 -29
- package/dist-types/ts3.4/pagination/ListGroupMembershipsForMemberPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupMembershipsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +45 -0
- package/package.json +26 -26
package/dist-es/Identitystore.js
CHANGED
|
@@ -1,14 +1,113 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
+
import { CreateGroupCommand } from "./commands/CreateGroupCommand";
|
|
3
|
+
import { CreateGroupMembershipCommand, } from "./commands/CreateGroupMembershipCommand";
|
|
4
|
+
import { CreateUserCommand } from "./commands/CreateUserCommand";
|
|
5
|
+
import { DeleteGroupCommand } from "./commands/DeleteGroupCommand";
|
|
6
|
+
import { DeleteGroupMembershipCommand, } from "./commands/DeleteGroupMembershipCommand";
|
|
7
|
+
import { DeleteUserCommand } from "./commands/DeleteUserCommand";
|
|
2
8
|
import { DescribeGroupCommand, } from "./commands/DescribeGroupCommand";
|
|
9
|
+
import { DescribeGroupMembershipCommand, } from "./commands/DescribeGroupMembershipCommand";
|
|
3
10
|
import { DescribeUserCommand, } from "./commands/DescribeUserCommand";
|
|
11
|
+
import { GetGroupIdCommand } from "./commands/GetGroupIdCommand";
|
|
12
|
+
import { GetGroupMembershipIdCommand, } from "./commands/GetGroupMembershipIdCommand";
|
|
13
|
+
import { GetUserIdCommand } from "./commands/GetUserIdCommand";
|
|
14
|
+
import { IsMemberInGroupsCommand, } from "./commands/IsMemberInGroupsCommand";
|
|
15
|
+
import { ListGroupMembershipsCommand, } from "./commands/ListGroupMembershipsCommand";
|
|
16
|
+
import { ListGroupMembershipsForMemberCommand, } from "./commands/ListGroupMembershipsForMemberCommand";
|
|
4
17
|
import { ListGroupsCommand } from "./commands/ListGroupsCommand";
|
|
5
18
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
19
|
+
import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
|
|
20
|
+
import { UpdateUserCommand } from "./commands/UpdateUserCommand";
|
|
6
21
|
import { IdentitystoreClient } from "./IdentitystoreClient";
|
|
7
22
|
var Identitystore = (function (_super) {
|
|
8
23
|
__extends(Identitystore, _super);
|
|
9
24
|
function Identitystore() {
|
|
10
25
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
11
26
|
}
|
|
27
|
+
Identitystore.prototype.createGroup = function (args, optionsOrCb, cb) {
|
|
28
|
+
var command = new CreateGroupCommand(args);
|
|
29
|
+
if (typeof optionsOrCb === "function") {
|
|
30
|
+
this.send(command, optionsOrCb);
|
|
31
|
+
}
|
|
32
|
+
else if (typeof cb === "function") {
|
|
33
|
+
if (typeof optionsOrCb !== "object")
|
|
34
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
35
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
return this.send(command, optionsOrCb);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
Identitystore.prototype.createGroupMembership = function (args, optionsOrCb, cb) {
|
|
42
|
+
var command = new CreateGroupMembershipCommand(args);
|
|
43
|
+
if (typeof optionsOrCb === "function") {
|
|
44
|
+
this.send(command, optionsOrCb);
|
|
45
|
+
}
|
|
46
|
+
else if (typeof cb === "function") {
|
|
47
|
+
if (typeof optionsOrCb !== "object")
|
|
48
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
49
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
return this.send(command, optionsOrCb);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
Identitystore.prototype.createUser = function (args, optionsOrCb, cb) {
|
|
56
|
+
var command = new CreateUserCommand(args);
|
|
57
|
+
if (typeof optionsOrCb === "function") {
|
|
58
|
+
this.send(command, optionsOrCb);
|
|
59
|
+
}
|
|
60
|
+
else if (typeof cb === "function") {
|
|
61
|
+
if (typeof optionsOrCb !== "object")
|
|
62
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
63
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
return this.send(command, optionsOrCb);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
Identitystore.prototype.deleteGroup = function (args, optionsOrCb, cb) {
|
|
70
|
+
var command = new DeleteGroupCommand(args);
|
|
71
|
+
if (typeof optionsOrCb === "function") {
|
|
72
|
+
this.send(command, optionsOrCb);
|
|
73
|
+
}
|
|
74
|
+
else if (typeof cb === "function") {
|
|
75
|
+
if (typeof optionsOrCb !== "object")
|
|
76
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
77
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
return this.send(command, optionsOrCb);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
Identitystore.prototype.deleteGroupMembership = function (args, optionsOrCb, cb) {
|
|
84
|
+
var command = new DeleteGroupMembershipCommand(args);
|
|
85
|
+
if (typeof optionsOrCb === "function") {
|
|
86
|
+
this.send(command, optionsOrCb);
|
|
87
|
+
}
|
|
88
|
+
else if (typeof cb === "function") {
|
|
89
|
+
if (typeof optionsOrCb !== "object")
|
|
90
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
91
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
return this.send(command, optionsOrCb);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
Identitystore.prototype.deleteUser = function (args, optionsOrCb, cb) {
|
|
98
|
+
var command = new DeleteUserCommand(args);
|
|
99
|
+
if (typeof optionsOrCb === "function") {
|
|
100
|
+
this.send(command, optionsOrCb);
|
|
101
|
+
}
|
|
102
|
+
else if (typeof cb === "function") {
|
|
103
|
+
if (typeof optionsOrCb !== "object")
|
|
104
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
105
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
return this.send(command, optionsOrCb);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
12
111
|
Identitystore.prototype.describeGroup = function (args, optionsOrCb, cb) {
|
|
13
112
|
var command = new DescribeGroupCommand(args);
|
|
14
113
|
if (typeof optionsOrCb === "function") {
|
|
@@ -23,6 +122,20 @@ var Identitystore = (function (_super) {
|
|
|
23
122
|
return this.send(command, optionsOrCb);
|
|
24
123
|
}
|
|
25
124
|
};
|
|
125
|
+
Identitystore.prototype.describeGroupMembership = function (args, optionsOrCb, cb) {
|
|
126
|
+
var command = new DescribeGroupMembershipCommand(args);
|
|
127
|
+
if (typeof optionsOrCb === "function") {
|
|
128
|
+
this.send(command, optionsOrCb);
|
|
129
|
+
}
|
|
130
|
+
else if (typeof cb === "function") {
|
|
131
|
+
if (typeof optionsOrCb !== "object")
|
|
132
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
133
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
return this.send(command, optionsOrCb);
|
|
137
|
+
}
|
|
138
|
+
};
|
|
26
139
|
Identitystore.prototype.describeUser = function (args, optionsOrCb, cb) {
|
|
27
140
|
var command = new DescribeUserCommand(args);
|
|
28
141
|
if (typeof optionsOrCb === "function") {
|
|
@@ -37,6 +150,90 @@ var Identitystore = (function (_super) {
|
|
|
37
150
|
return this.send(command, optionsOrCb);
|
|
38
151
|
}
|
|
39
152
|
};
|
|
153
|
+
Identitystore.prototype.getGroupId = function (args, optionsOrCb, cb) {
|
|
154
|
+
var command = new GetGroupIdCommand(args);
|
|
155
|
+
if (typeof optionsOrCb === "function") {
|
|
156
|
+
this.send(command, optionsOrCb);
|
|
157
|
+
}
|
|
158
|
+
else if (typeof cb === "function") {
|
|
159
|
+
if (typeof optionsOrCb !== "object")
|
|
160
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
161
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
return this.send(command, optionsOrCb);
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
Identitystore.prototype.getGroupMembershipId = function (args, optionsOrCb, cb) {
|
|
168
|
+
var command = new GetGroupMembershipIdCommand(args);
|
|
169
|
+
if (typeof optionsOrCb === "function") {
|
|
170
|
+
this.send(command, optionsOrCb);
|
|
171
|
+
}
|
|
172
|
+
else if (typeof cb === "function") {
|
|
173
|
+
if (typeof optionsOrCb !== "object")
|
|
174
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
175
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
return this.send(command, optionsOrCb);
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
Identitystore.prototype.getUserId = function (args, optionsOrCb, cb) {
|
|
182
|
+
var command = new GetUserIdCommand(args);
|
|
183
|
+
if (typeof optionsOrCb === "function") {
|
|
184
|
+
this.send(command, optionsOrCb);
|
|
185
|
+
}
|
|
186
|
+
else if (typeof cb === "function") {
|
|
187
|
+
if (typeof optionsOrCb !== "object")
|
|
188
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
189
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
return this.send(command, optionsOrCb);
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
Identitystore.prototype.isMemberInGroups = function (args, optionsOrCb, cb) {
|
|
196
|
+
var command = new IsMemberInGroupsCommand(args);
|
|
197
|
+
if (typeof optionsOrCb === "function") {
|
|
198
|
+
this.send(command, optionsOrCb);
|
|
199
|
+
}
|
|
200
|
+
else if (typeof cb === "function") {
|
|
201
|
+
if (typeof optionsOrCb !== "object")
|
|
202
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
203
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
204
|
+
}
|
|
205
|
+
else {
|
|
206
|
+
return this.send(command, optionsOrCb);
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
Identitystore.prototype.listGroupMemberships = function (args, optionsOrCb, cb) {
|
|
210
|
+
var command = new ListGroupMembershipsCommand(args);
|
|
211
|
+
if (typeof optionsOrCb === "function") {
|
|
212
|
+
this.send(command, optionsOrCb);
|
|
213
|
+
}
|
|
214
|
+
else if (typeof cb === "function") {
|
|
215
|
+
if (typeof optionsOrCb !== "object")
|
|
216
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
217
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
218
|
+
}
|
|
219
|
+
else {
|
|
220
|
+
return this.send(command, optionsOrCb);
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
Identitystore.prototype.listGroupMembershipsForMember = function (args, optionsOrCb, cb) {
|
|
224
|
+
var command = new ListGroupMembershipsForMemberCommand(args);
|
|
225
|
+
if (typeof optionsOrCb === "function") {
|
|
226
|
+
this.send(command, optionsOrCb);
|
|
227
|
+
}
|
|
228
|
+
else if (typeof cb === "function") {
|
|
229
|
+
if (typeof optionsOrCb !== "object")
|
|
230
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
231
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
232
|
+
}
|
|
233
|
+
else {
|
|
234
|
+
return this.send(command, optionsOrCb);
|
|
235
|
+
}
|
|
236
|
+
};
|
|
40
237
|
Identitystore.prototype.listGroups = function (args, optionsOrCb, cb) {
|
|
41
238
|
var command = new ListGroupsCommand(args);
|
|
42
239
|
if (typeof optionsOrCb === "function") {
|
|
@@ -65,6 +262,34 @@ var Identitystore = (function (_super) {
|
|
|
65
262
|
return this.send(command, optionsOrCb);
|
|
66
263
|
}
|
|
67
264
|
};
|
|
265
|
+
Identitystore.prototype.updateGroup = function (args, optionsOrCb, cb) {
|
|
266
|
+
var command = new UpdateGroupCommand(args);
|
|
267
|
+
if (typeof optionsOrCb === "function") {
|
|
268
|
+
this.send(command, optionsOrCb);
|
|
269
|
+
}
|
|
270
|
+
else if (typeof cb === "function") {
|
|
271
|
+
if (typeof optionsOrCb !== "object")
|
|
272
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
273
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
274
|
+
}
|
|
275
|
+
else {
|
|
276
|
+
return this.send(command, optionsOrCb);
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
Identitystore.prototype.updateUser = function (args, optionsOrCb, cb) {
|
|
280
|
+
var command = new UpdateUserCommand(args);
|
|
281
|
+
if (typeof optionsOrCb === "function") {
|
|
282
|
+
this.send(command, optionsOrCb);
|
|
283
|
+
}
|
|
284
|
+
else if (typeof cb === "function") {
|
|
285
|
+
if (typeof optionsOrCb !== "object")
|
|
286
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
287
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
288
|
+
}
|
|
289
|
+
else {
|
|
290
|
+
return this.send(command, optionsOrCb);
|
|
291
|
+
}
|
|
292
|
+
};
|
|
68
293
|
return Identitystore;
|
|
69
294
|
}(IdentitystoreClient));
|
|
70
295
|
export { Identitystore };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateGroupRequestFilterSensitiveLog, CreateGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateGroupCommand, serializeAws_json1_1CreateGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateGroupCommand = (function (_super) {
|
|
7
|
+
__extends(CreateGroupCommand, _super);
|
|
8
|
+
function CreateGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "CreateGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateGroupRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateGroupResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateGroupCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateGroupCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateGroupCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateGroupCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateGroupCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateGroupMembershipRequestFilterSensitiveLog, CreateGroupMembershipResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateGroupMembershipCommand, serializeAws_json1_1CreateGroupMembershipCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateGroupMembershipCommand = (function (_super) {
|
|
7
|
+
__extends(CreateGroupMembershipCommand, _super);
|
|
8
|
+
function CreateGroupMembershipCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateGroupMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "CreateGroupMembershipCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateGroupMembershipRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateGroupMembershipResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateGroupMembershipCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateGroupMembershipCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateGroupMembershipCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateGroupMembershipCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateGroupMembershipCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateGroupMembershipCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateUserRequestFilterSensitiveLog, CreateUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateUserCommand, serializeAws_json1_1CreateUserCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateUserCommand = (function (_super) {
|
|
7
|
+
__extends(CreateUserCommand, _super);
|
|
8
|
+
function CreateUserCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "CreateUserCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateUserRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateUserResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateUserCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateUserCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateUserCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateUserCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateUserCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateUserCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteGroupRequestFilterSensitiveLog, DeleteGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteGroupCommand, serializeAws_json1_1DeleteGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DeleteGroupCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteGroupCommand, _super);
|
|
8
|
+
function DeleteGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "DeleteGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteGroupRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteGroupResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteGroupCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DeleteGroupCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteGroupCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DeleteGroupCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteGroupCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteGroupMembershipRequestFilterSensitiveLog, DeleteGroupMembershipResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteGroupMembershipCommand, serializeAws_json1_1DeleteGroupMembershipCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DeleteGroupMembershipCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteGroupMembershipCommand, _super);
|
|
8
|
+
function DeleteGroupMembershipCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteGroupMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "DeleteGroupMembershipCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteGroupMembershipRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteGroupMembershipResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteGroupMembershipCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DeleteGroupMembershipCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteGroupMembershipCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DeleteGroupMembershipCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteGroupMembershipCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteGroupMembershipCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteUserRequestFilterSensitiveLog, DeleteUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteUserCommand, serializeAws_json1_1DeleteUserCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DeleteUserCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteUserCommand, _super);
|
|
8
|
+
function DeleteUserCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "DeleteUserCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteUserRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteUserResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteUserCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DeleteUserCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteUserCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DeleteUserCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteUserCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteUserCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeGroupMembershipRequestFilterSensitiveLog, DescribeGroupMembershipResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeGroupMembershipCommand, serializeAws_json1_1DescribeGroupMembershipCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeGroupMembershipCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeGroupMembershipCommand, _super);
|
|
8
|
+
function DescribeGroupMembershipCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeGroupMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "DescribeGroupMembershipCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeGroupMembershipRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeGroupMembershipResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeGroupMembershipCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeGroupMembershipCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeGroupMembershipCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeGroupMembershipCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeGroupMembershipCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeGroupMembershipCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetGroupIdRequestFilterSensitiveLog, GetGroupIdResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetGroupIdCommand, serializeAws_json1_1GetGroupIdCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var GetGroupIdCommand = (function (_super) {
|
|
7
|
+
__extends(GetGroupIdCommand, _super);
|
|
8
|
+
function GetGroupIdCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetGroupIdCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "GetGroupIdCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetGroupIdRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetGroupIdResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetGroupIdCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1GetGroupIdCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetGroupIdCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1GetGroupIdCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetGroupIdCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetGroupIdCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetGroupMembershipIdRequestFilterSensitiveLog, GetGroupMembershipIdResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetGroupMembershipIdCommand, serializeAws_json1_1GetGroupMembershipIdCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var GetGroupMembershipIdCommand = (function (_super) {
|
|
7
|
+
__extends(GetGroupMembershipIdCommand, _super);
|
|
8
|
+
function GetGroupMembershipIdCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetGroupMembershipIdCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "GetGroupMembershipIdCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetGroupMembershipIdRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetGroupMembershipIdResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetGroupMembershipIdCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1GetGroupMembershipIdCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetGroupMembershipIdCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1GetGroupMembershipIdCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetGroupMembershipIdCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetGroupMembershipIdCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetUserIdRequestFilterSensitiveLog, GetUserIdResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetUserIdCommand, serializeAws_json1_1GetUserIdCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
var GetUserIdCommand = (function (_super) {
|
|
7
|
+
__extends(GetUserIdCommand, _super);
|
|
8
|
+
function GetUserIdCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetUserIdCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IdentitystoreClient";
|
|
18
|
+
var commandName = "GetUserIdCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetUserIdRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetUserIdResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetUserIdCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1GetUserIdCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetUserIdCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1GetUserIdCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetUserIdCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetUserIdCommand };
|