@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.
Files changed (94) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/Identitystore.js +225 -0
  4. package/dist-cjs/commands/CreateGroupCommand.js +36 -0
  5. package/dist-cjs/commands/CreateGroupMembershipCommand.js +36 -0
  6. package/dist-cjs/commands/CreateUserCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteGroupCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteGroupMembershipCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteUserCommand.js +36 -0
  10. package/dist-cjs/commands/DescribeGroupMembershipCommand.js +36 -0
  11. package/dist-cjs/commands/GetGroupIdCommand.js +36 -0
  12. package/dist-cjs/commands/GetGroupMembershipIdCommand.js +36 -0
  13. package/dist-cjs/commands/GetUserIdCommand.js +36 -0
  14. package/dist-cjs/commands/IsMemberInGroupsCommand.js +36 -0
  15. package/dist-cjs/commands/ListGroupMembershipsCommand.js +36 -0
  16. package/dist-cjs/commands/ListGroupMembershipsForMemberCommand.js +36 -0
  17. package/dist-cjs/commands/UpdateGroupCommand.js +36 -0
  18. package/dist-cjs/commands/UpdateUserCommand.js +36 -0
  19. package/dist-cjs/commands/index.js +15 -0
  20. package/dist-cjs/models/models_0.js +360 -35
  21. package/dist-cjs/pagination/ListGroupMembershipsForMemberPaginator.js +36 -0
  22. package/dist-cjs/pagination/ListGroupMembershipsPaginator.js +36 -0
  23. package/dist-cjs/pagination/index.js +2 -0
  24. package/dist-cjs/protocols/Aws_json1_1.js +1478 -93
  25. package/dist-es/Identitystore.js +225 -0
  26. package/dist-es/commands/CreateGroupCommand.js +39 -0
  27. package/dist-es/commands/CreateGroupMembershipCommand.js +39 -0
  28. package/dist-es/commands/CreateUserCommand.js +39 -0
  29. package/dist-es/commands/DeleteGroupCommand.js +39 -0
  30. package/dist-es/commands/DeleteGroupMembershipCommand.js +39 -0
  31. package/dist-es/commands/DeleteUserCommand.js +39 -0
  32. package/dist-es/commands/DescribeGroupMembershipCommand.js +39 -0
  33. package/dist-es/commands/GetGroupIdCommand.js +39 -0
  34. package/dist-es/commands/GetGroupMembershipIdCommand.js +39 -0
  35. package/dist-es/commands/GetUserIdCommand.js +39 -0
  36. package/dist-es/commands/IsMemberInGroupsCommand.js +39 -0
  37. package/dist-es/commands/ListGroupMembershipsCommand.js +39 -0
  38. package/dist-es/commands/ListGroupMembershipsForMemberCommand.js +39 -0
  39. package/dist-es/commands/UpdateGroupCommand.js +39 -0
  40. package/dist-es/commands/UpdateUserCommand.js +39 -0
  41. package/dist-es/commands/index.js +15 -0
  42. package/dist-es/models/models_0.js +156 -34
  43. package/dist-es/pagination/ListGroupMembershipsForMemberPaginator.js +75 -0
  44. package/dist-es/pagination/ListGroupMembershipsPaginator.js +75 -0
  45. package/dist-es/pagination/index.js +2 -0
  46. package/dist-es/protocols/Aws_json1_1.js +1678 -50
  47. package/dist-types/Identitystore.d.ts +106 -2
  48. package/dist-types/IdentitystoreClient.d.ts +17 -2
  49. package/dist-types/commands/CreateGroupCommand.d.ts +35 -0
  50. package/dist-types/commands/CreateGroupMembershipCommand.d.ts +35 -0
  51. package/dist-types/commands/CreateUserCommand.d.ts +35 -0
  52. package/dist-types/commands/DeleteGroupCommand.d.ts +35 -0
  53. package/dist-types/commands/DeleteGroupMembershipCommand.d.ts +35 -0
  54. package/dist-types/commands/DeleteUserCommand.d.ts +35 -0
  55. package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +35 -0
  56. package/dist-types/commands/DescribeUserCommand.d.ts +1 -2
  57. package/dist-types/commands/GetGroupIdCommand.d.ts +35 -0
  58. package/dist-types/commands/GetGroupMembershipIdCommand.d.ts +35 -0
  59. package/dist-types/commands/GetUserIdCommand.d.ts +35 -0
  60. package/dist-types/commands/IsMemberInGroupsCommand.d.ts +35 -0
  61. package/dist-types/commands/ListGroupMembershipsCommand.d.ts +35 -0
  62. package/dist-types/commands/ListGroupMembershipsForMemberCommand.d.ts +35 -0
  63. package/dist-types/commands/UpdateGroupCommand.d.ts +35 -0
  64. package/dist-types/commands/UpdateUserCommand.d.ts +35 -0
  65. package/dist-types/commands/index.d.ts +15 -0
  66. package/dist-types/models/models_0.d.ts +1122 -125
  67. package/dist-types/pagination/ListGroupMembershipsForMemberPaginator.d.ts +4 -0
  68. package/dist-types/pagination/ListGroupMembershipsPaginator.d.ts +4 -0
  69. package/dist-types/pagination/index.d.ts +2 -0
  70. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  71. package/dist-types/ts3.4/Identitystore.d.ts +75 -0
  72. package/dist-types/ts3.4/IdentitystoreClient.d.ts +17 -2
  73. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/CreateGroupMembershipCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/DeleteGroupMembershipCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/DescribeGroupMembershipCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/GetGroupIdCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/GetGroupMembershipIdCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/GetUserIdCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/IsMemberInGroupsCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/ListGroupMembershipsCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/ListGroupMembershipsForMemberCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  89. package/dist-types/ts3.4/models/models_0.d.ts +565 -29
  90. package/dist-types/ts3.4/pagination/ListGroupMembershipsForMemberPaginator.d.ts +4 -0
  91. package/dist-types/ts3.4/pagination/ListGroupMembershipsPaginator.d.ts +4 -0
  92. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  93. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +45 -0
  94. package/package.json +26 -26
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
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.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-identitystore
9
+
10
+
11
+
12
+
13
+
14
+ # [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-identitystore
17
+
18
+
19
+
20
+
21
+
22
+ # [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)
23
+
24
+
25
+ ### Features
26
+
27
+ * **client-identitystore:** Expand IdentityStore API to support Create, Read, Update, Delete and Get operations for User, Group and GroupMembership resources. ([4227bb3](https://github.com/aws/aws-sdk-js-v3/commit/4227bb30f88e0267be898c110f35605e398a7c7c))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.161.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.160.0...v3.161.0) (2022-08-30)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-identitystore
package/README.md CHANGED
@@ -37,16 +37,16 @@ using your favorite package manager:
37
37
 
38
38
  The AWS SDK is modulized by clients and commands.
39
39
  To send a request, you only need to import the `IdentitystoreClient` and
40
- the commands you need, for example `DescribeGroupCommand`:
40
+ the commands you need, for example `CreateGroupCommand`:
41
41
 
42
42
  ```js
43
43
  // ES5 example
44
- const { IdentitystoreClient, DescribeGroupCommand } = require("@aws-sdk/client-identitystore");
44
+ const { IdentitystoreClient, CreateGroupCommand } = require("@aws-sdk/client-identitystore");
45
45
  ```
46
46
 
47
47
  ```ts
48
48
  // ES6+ example
49
- import { IdentitystoreClient, DescribeGroupCommand } from "@aws-sdk/client-identitystore";
49
+ import { IdentitystoreClient, CreateGroupCommand } from "@aws-sdk/client-identitystore";
50
50
  ```
51
51
 
52
52
  ### Usage
@@ -65,7 +65,7 @@ const client = new IdentitystoreClient({ region: "REGION" });
65
65
  const params = {
66
66
  /** input parameters */
67
67
  };
68
- const command = new DescribeGroupCommand(params);
68
+ const command = new CreateGroupCommand(params);
69
69
  ```
70
70
 
71
71
  #### Async/await
@@ -144,7 +144,7 @@ const client = new AWS.Identitystore({ region: "REGION" });
144
144
 
145
145
  // async/await.
146
146
  try {
147
- const data = await client.describeGroup(params);
147
+ const data = await client.createGroup(params);
148
148
  // process data.
149
149
  } catch (error) {
150
150
  // error handling.
@@ -152,7 +152,7 @@ try {
152
152
 
153
153
  // Promises.
154
154
  client
155
- .describeGroup(params)
155
+ .createGroup(params)
156
156
  .then((data) => {
157
157
  // process data.
158
158
  })
@@ -161,7 +161,7 @@ client
161
161
  });
162
162
 
163
163
  // callbacks.
164
- client.describeGroup(params, (err, data) => {
164
+ client.createGroup(params, (err, data) => {
165
165
  // process err and data.
166
166
  });
167
167
  ```
@@ -1,12 +1,111 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Identitystore = void 0;
4
+ const CreateGroupCommand_1 = require("./commands/CreateGroupCommand");
5
+ const CreateGroupMembershipCommand_1 = require("./commands/CreateGroupMembershipCommand");
6
+ const CreateUserCommand_1 = require("./commands/CreateUserCommand");
7
+ const DeleteGroupCommand_1 = require("./commands/DeleteGroupCommand");
8
+ const DeleteGroupMembershipCommand_1 = require("./commands/DeleteGroupMembershipCommand");
9
+ const DeleteUserCommand_1 = require("./commands/DeleteUserCommand");
4
10
  const DescribeGroupCommand_1 = require("./commands/DescribeGroupCommand");
11
+ const DescribeGroupMembershipCommand_1 = require("./commands/DescribeGroupMembershipCommand");
5
12
  const DescribeUserCommand_1 = require("./commands/DescribeUserCommand");
13
+ const GetGroupIdCommand_1 = require("./commands/GetGroupIdCommand");
14
+ const GetGroupMembershipIdCommand_1 = require("./commands/GetGroupMembershipIdCommand");
15
+ const GetUserIdCommand_1 = require("./commands/GetUserIdCommand");
16
+ const IsMemberInGroupsCommand_1 = require("./commands/IsMemberInGroupsCommand");
17
+ const ListGroupMembershipsCommand_1 = require("./commands/ListGroupMembershipsCommand");
18
+ const ListGroupMembershipsForMemberCommand_1 = require("./commands/ListGroupMembershipsForMemberCommand");
6
19
  const ListGroupsCommand_1 = require("./commands/ListGroupsCommand");
7
20
  const ListUsersCommand_1 = require("./commands/ListUsersCommand");
21
+ const UpdateGroupCommand_1 = require("./commands/UpdateGroupCommand");
22
+ const UpdateUserCommand_1 = require("./commands/UpdateUserCommand");
8
23
  const IdentitystoreClient_1 = require("./IdentitystoreClient");
9
24
  class Identitystore extends IdentitystoreClient_1.IdentitystoreClient {
25
+ createGroup(args, optionsOrCb, cb) {
26
+ const command = new CreateGroupCommand_1.CreateGroupCommand(args);
27
+ if (typeof optionsOrCb === "function") {
28
+ this.send(command, optionsOrCb);
29
+ }
30
+ else if (typeof cb === "function") {
31
+ if (typeof optionsOrCb !== "object")
32
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
33
+ this.send(command, optionsOrCb || {}, cb);
34
+ }
35
+ else {
36
+ return this.send(command, optionsOrCb);
37
+ }
38
+ }
39
+ createGroupMembership(args, optionsOrCb, cb) {
40
+ const command = new CreateGroupMembershipCommand_1.CreateGroupMembershipCommand(args);
41
+ if (typeof optionsOrCb === "function") {
42
+ this.send(command, optionsOrCb);
43
+ }
44
+ else if (typeof cb === "function") {
45
+ if (typeof optionsOrCb !== "object")
46
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
47
+ this.send(command, optionsOrCb || {}, cb);
48
+ }
49
+ else {
50
+ return this.send(command, optionsOrCb);
51
+ }
52
+ }
53
+ createUser(args, optionsOrCb, cb) {
54
+ const command = new CreateUserCommand_1.CreateUserCommand(args);
55
+ if (typeof optionsOrCb === "function") {
56
+ this.send(command, optionsOrCb);
57
+ }
58
+ else if (typeof cb === "function") {
59
+ if (typeof optionsOrCb !== "object")
60
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
61
+ this.send(command, optionsOrCb || {}, cb);
62
+ }
63
+ else {
64
+ return this.send(command, optionsOrCb);
65
+ }
66
+ }
67
+ deleteGroup(args, optionsOrCb, cb) {
68
+ const command = new DeleteGroupCommand_1.DeleteGroupCommand(args);
69
+ if (typeof optionsOrCb === "function") {
70
+ this.send(command, optionsOrCb);
71
+ }
72
+ else if (typeof cb === "function") {
73
+ if (typeof optionsOrCb !== "object")
74
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
75
+ this.send(command, optionsOrCb || {}, cb);
76
+ }
77
+ else {
78
+ return this.send(command, optionsOrCb);
79
+ }
80
+ }
81
+ deleteGroupMembership(args, optionsOrCb, cb) {
82
+ const command = new DeleteGroupMembershipCommand_1.DeleteGroupMembershipCommand(args);
83
+ if (typeof optionsOrCb === "function") {
84
+ this.send(command, optionsOrCb);
85
+ }
86
+ else if (typeof cb === "function") {
87
+ if (typeof optionsOrCb !== "object")
88
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
89
+ this.send(command, optionsOrCb || {}, cb);
90
+ }
91
+ else {
92
+ return this.send(command, optionsOrCb);
93
+ }
94
+ }
95
+ deleteUser(args, optionsOrCb, cb) {
96
+ const command = new DeleteUserCommand_1.DeleteUserCommand(args);
97
+ if (typeof optionsOrCb === "function") {
98
+ this.send(command, optionsOrCb);
99
+ }
100
+ else if (typeof cb === "function") {
101
+ if (typeof optionsOrCb !== "object")
102
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
103
+ this.send(command, optionsOrCb || {}, cb);
104
+ }
105
+ else {
106
+ return this.send(command, optionsOrCb);
107
+ }
108
+ }
10
109
  describeGroup(args, optionsOrCb, cb) {
11
110
  const command = new DescribeGroupCommand_1.DescribeGroupCommand(args);
12
111
  if (typeof optionsOrCb === "function") {
@@ -21,6 +120,20 @@ class Identitystore extends IdentitystoreClient_1.IdentitystoreClient {
21
120
  return this.send(command, optionsOrCb);
22
121
  }
23
122
  }
123
+ describeGroupMembership(args, optionsOrCb, cb) {
124
+ const command = new DescribeGroupMembershipCommand_1.DescribeGroupMembershipCommand(args);
125
+ if (typeof optionsOrCb === "function") {
126
+ this.send(command, optionsOrCb);
127
+ }
128
+ else if (typeof cb === "function") {
129
+ if (typeof optionsOrCb !== "object")
130
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
131
+ this.send(command, optionsOrCb || {}, cb);
132
+ }
133
+ else {
134
+ return this.send(command, optionsOrCb);
135
+ }
136
+ }
24
137
  describeUser(args, optionsOrCb, cb) {
25
138
  const command = new DescribeUserCommand_1.DescribeUserCommand(args);
26
139
  if (typeof optionsOrCb === "function") {
@@ -35,6 +148,90 @@ class Identitystore extends IdentitystoreClient_1.IdentitystoreClient {
35
148
  return this.send(command, optionsOrCb);
36
149
  }
37
150
  }
151
+ getGroupId(args, optionsOrCb, cb) {
152
+ const command = new GetGroupIdCommand_1.GetGroupIdCommand(args);
153
+ if (typeof optionsOrCb === "function") {
154
+ this.send(command, optionsOrCb);
155
+ }
156
+ else if (typeof cb === "function") {
157
+ if (typeof optionsOrCb !== "object")
158
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
159
+ this.send(command, optionsOrCb || {}, cb);
160
+ }
161
+ else {
162
+ return this.send(command, optionsOrCb);
163
+ }
164
+ }
165
+ getGroupMembershipId(args, optionsOrCb, cb) {
166
+ const command = new GetGroupMembershipIdCommand_1.GetGroupMembershipIdCommand(args);
167
+ if (typeof optionsOrCb === "function") {
168
+ this.send(command, optionsOrCb);
169
+ }
170
+ else if (typeof cb === "function") {
171
+ if (typeof optionsOrCb !== "object")
172
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
173
+ this.send(command, optionsOrCb || {}, cb);
174
+ }
175
+ else {
176
+ return this.send(command, optionsOrCb);
177
+ }
178
+ }
179
+ getUserId(args, optionsOrCb, cb) {
180
+ const command = new GetUserIdCommand_1.GetUserIdCommand(args);
181
+ if (typeof optionsOrCb === "function") {
182
+ this.send(command, optionsOrCb);
183
+ }
184
+ else if (typeof cb === "function") {
185
+ if (typeof optionsOrCb !== "object")
186
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
187
+ this.send(command, optionsOrCb || {}, cb);
188
+ }
189
+ else {
190
+ return this.send(command, optionsOrCb);
191
+ }
192
+ }
193
+ isMemberInGroups(args, optionsOrCb, cb) {
194
+ const command = new IsMemberInGroupsCommand_1.IsMemberInGroupsCommand(args);
195
+ if (typeof optionsOrCb === "function") {
196
+ this.send(command, optionsOrCb);
197
+ }
198
+ else if (typeof cb === "function") {
199
+ if (typeof optionsOrCb !== "object")
200
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
201
+ this.send(command, optionsOrCb || {}, cb);
202
+ }
203
+ else {
204
+ return this.send(command, optionsOrCb);
205
+ }
206
+ }
207
+ listGroupMemberships(args, optionsOrCb, cb) {
208
+ const command = new ListGroupMembershipsCommand_1.ListGroupMembershipsCommand(args);
209
+ if (typeof optionsOrCb === "function") {
210
+ this.send(command, optionsOrCb);
211
+ }
212
+ else if (typeof cb === "function") {
213
+ if (typeof optionsOrCb !== "object")
214
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
215
+ this.send(command, optionsOrCb || {}, cb);
216
+ }
217
+ else {
218
+ return this.send(command, optionsOrCb);
219
+ }
220
+ }
221
+ listGroupMembershipsForMember(args, optionsOrCb, cb) {
222
+ const command = new ListGroupMembershipsForMemberCommand_1.ListGroupMembershipsForMemberCommand(args);
223
+ if (typeof optionsOrCb === "function") {
224
+ this.send(command, optionsOrCb);
225
+ }
226
+ else if (typeof cb === "function") {
227
+ if (typeof optionsOrCb !== "object")
228
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
229
+ this.send(command, optionsOrCb || {}, cb);
230
+ }
231
+ else {
232
+ return this.send(command, optionsOrCb);
233
+ }
234
+ }
38
235
  listGroups(args, optionsOrCb, cb) {
39
236
  const command = new ListGroupsCommand_1.ListGroupsCommand(args);
40
237
  if (typeof optionsOrCb === "function") {
@@ -63,5 +260,33 @@ class Identitystore extends IdentitystoreClient_1.IdentitystoreClient {
63
260
  return this.send(command, optionsOrCb);
64
261
  }
65
262
  }
263
+ updateGroup(args, optionsOrCb, cb) {
264
+ const command = new UpdateGroupCommand_1.UpdateGroupCommand(args);
265
+ if (typeof optionsOrCb === "function") {
266
+ this.send(command, optionsOrCb);
267
+ }
268
+ else if (typeof cb === "function") {
269
+ if (typeof optionsOrCb !== "object")
270
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
271
+ this.send(command, optionsOrCb || {}, cb);
272
+ }
273
+ else {
274
+ return this.send(command, optionsOrCb);
275
+ }
276
+ }
277
+ updateUser(args, optionsOrCb, cb) {
278
+ const command = new UpdateUserCommand_1.UpdateUserCommand(args);
279
+ if (typeof optionsOrCb === "function") {
280
+ this.send(command, optionsOrCb);
281
+ }
282
+ else if (typeof cb === "function") {
283
+ if (typeof optionsOrCb !== "object")
284
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
285
+ this.send(command, optionsOrCb || {}, cb);
286
+ }
287
+ else {
288
+ return this.send(command, optionsOrCb);
289
+ }
290
+ }
66
291
  }
67
292
  exports.Identitystore = Identitystore;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class CreateGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IdentitystoreClient";
18
+ const commandName = "CreateGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateGroupRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateGroupResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateGroupCommand = CreateGroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateGroupMembershipCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class CreateGroupMembershipCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IdentitystoreClient";
18
+ const commandName = "CreateGroupMembershipCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateGroupMembershipRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateGroupMembershipResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateGroupMembershipCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateGroupMembershipCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateGroupMembershipCommand = CreateGroupMembershipCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateUserCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class CreateUserCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IdentitystoreClient";
18
+ const commandName = "CreateUserCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateUserRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateUserResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateUserCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateUserCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateUserCommand = CreateUserCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DeleteGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IdentitystoreClient";
18
+ const commandName = "DeleteGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteGroupRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteGroupResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteGroupCommand = DeleteGroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteGroupMembershipCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DeleteGroupMembershipCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IdentitystoreClient";
18
+ const commandName = "DeleteGroupMembershipCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteGroupMembershipRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteGroupMembershipResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteGroupMembershipCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteGroupMembershipCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteGroupMembershipCommand = DeleteGroupMembershipCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteUserCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DeleteUserCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IdentitystoreClient";
18
+ const commandName = "DeleteUserCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteUserRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteUserResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteUserCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteUserCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteUserCommand = DeleteUserCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeGroupMembershipCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeGroupMembershipCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IdentitystoreClient";
18
+ const commandName = "DescribeGroupMembershipCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeGroupMembershipRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeGroupMembershipResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeGroupMembershipCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeGroupMembershipCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DescribeGroupMembershipCommand = DescribeGroupMembershipCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetGroupIdCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GetGroupIdCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IdentitystoreClient";
18
+ const commandName = "GetGroupIdCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetGroupIdRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetGroupIdResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetGroupIdCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetGroupIdCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetGroupIdCommand = GetGroupIdCommand;