@aws-sdk/client-identitystore 3.183.0 → 3.185.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 (36) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Identitystore.js +85 -78
  4. package/dist-es/IdentitystoreClient.js +28 -22
  5. package/dist-es/commands/CreateGroupCommand.js +28 -21
  6. package/dist-es/commands/CreateGroupMembershipCommand.js +28 -21
  7. package/dist-es/commands/CreateUserCommand.js +28 -21
  8. package/dist-es/commands/DeleteGroupCommand.js +28 -21
  9. package/dist-es/commands/DeleteGroupMembershipCommand.js +28 -21
  10. package/dist-es/commands/DeleteUserCommand.js +28 -21
  11. package/dist-es/commands/DescribeGroupCommand.js +28 -21
  12. package/dist-es/commands/DescribeGroupMembershipCommand.js +28 -21
  13. package/dist-es/commands/DescribeUserCommand.js +28 -21
  14. package/dist-es/commands/GetGroupIdCommand.js +28 -21
  15. package/dist-es/commands/GetGroupMembershipIdCommand.js +28 -21
  16. package/dist-es/commands/GetUserIdCommand.js +28 -21
  17. package/dist-es/commands/IsMemberInGroupsCommand.js +28 -21
  18. package/dist-es/commands/ListGroupMembershipsCommand.js +28 -21
  19. package/dist-es/commands/ListGroupMembershipsForMemberCommand.js +28 -21
  20. package/dist-es/commands/ListGroupsCommand.js +28 -21
  21. package/dist-es/commands/ListUsersCommand.js +28 -21
  22. package/dist-es/commands/UpdateGroupCommand.js +28 -21
  23. package/dist-es/commands/UpdateUserCommand.js +28 -21
  24. package/dist-es/endpoints.js +8 -8
  25. package/dist-es/models/IdentitystoreServiceException.js +10 -5
  26. package/dist-es/models/models_0.js +165 -351
  27. package/dist-es/pagination/ListGroupMembershipsForMemberPaginator.js +68 -25
  28. package/dist-es/pagination/ListGroupMembershipsPaginator.js +68 -25
  29. package/dist-es/pagination/ListGroupsPaginator.js +68 -25
  30. package/dist-es/pagination/ListUsersPaginator.js +68 -25
  31. package/dist-es/protocols/Aws_json1_1.js +1818 -1444
  32. package/dist-es/runtimeConfig.browser.js +12 -26
  33. package/dist-es/runtimeConfig.js +12 -30
  34. package/dist-es/runtimeConfig.native.js +5 -8
  35. package/dist-es/runtimeConfig.shared.js +11 -8
  36. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-identitystore
@@ -1788,10 +1788,10 @@ const deserializeAws_json1_1ValidationException = (output, context) => {
1788
1788
  };
1789
1789
  };
1790
1790
  const deserializeMetadata = (output) => {
1791
- var _a;
1791
+ var _a, _b;
1792
1792
  return ({
1793
1793
  httpStatusCode: output.statusCode,
1794
- requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
1794
+ requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
1795
1795
  extendedRequestId: output.headers["x-amz-id-2"],
1796
1796
  cfId: output.headers["x-amz-cf-id"],
1797
1797
  });
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { CreateGroupCommand } from "./commands/CreateGroupCommand";
2
3
  import { CreateGroupMembershipCommand, } from "./commands/CreateGroupMembershipCommand";
3
4
  import { CreateUserCommand } from "./commands/CreateUserCommand";
@@ -18,271 +19,277 @@ import { ListUsersCommand } from "./commands/ListUsersCommand";
18
19
  import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
19
20
  import { UpdateUserCommand } from "./commands/UpdateUserCommand";
20
21
  import { IdentitystoreClient } from "./IdentitystoreClient";
21
- export class Identitystore extends IdentitystoreClient {
22
- createGroup(args, optionsOrCb, cb) {
23
- const command = new CreateGroupCommand(args);
22
+ var Identitystore = (function (_super) {
23
+ __extends(Identitystore, _super);
24
+ function Identitystore() {
25
+ return _super !== null && _super.apply(this, arguments) || this;
26
+ }
27
+ Identitystore.prototype.createGroup = function (args, optionsOrCb, cb) {
28
+ var command = new CreateGroupCommand(args);
24
29
  if (typeof optionsOrCb === "function") {
25
30
  this.send(command, optionsOrCb);
26
31
  }
27
32
  else if (typeof cb === "function") {
28
33
  if (typeof optionsOrCb !== "object")
29
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
34
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
30
35
  this.send(command, optionsOrCb || {}, cb);
31
36
  }
32
37
  else {
33
38
  return this.send(command, optionsOrCb);
34
39
  }
35
- }
36
- createGroupMembership(args, optionsOrCb, cb) {
37
- const command = new CreateGroupMembershipCommand(args);
40
+ };
41
+ Identitystore.prototype.createGroupMembership = function (args, optionsOrCb, cb) {
42
+ var command = new CreateGroupMembershipCommand(args);
38
43
  if (typeof optionsOrCb === "function") {
39
44
  this.send(command, optionsOrCb);
40
45
  }
41
46
  else if (typeof cb === "function") {
42
47
  if (typeof optionsOrCb !== "object")
43
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
48
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
44
49
  this.send(command, optionsOrCb || {}, cb);
45
50
  }
46
51
  else {
47
52
  return this.send(command, optionsOrCb);
48
53
  }
49
- }
50
- createUser(args, optionsOrCb, cb) {
51
- const command = new CreateUserCommand(args);
54
+ };
55
+ Identitystore.prototype.createUser = function (args, optionsOrCb, cb) {
56
+ var command = new CreateUserCommand(args);
52
57
  if (typeof optionsOrCb === "function") {
53
58
  this.send(command, optionsOrCb);
54
59
  }
55
60
  else if (typeof cb === "function") {
56
61
  if (typeof optionsOrCb !== "object")
57
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
62
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
58
63
  this.send(command, optionsOrCb || {}, cb);
59
64
  }
60
65
  else {
61
66
  return this.send(command, optionsOrCb);
62
67
  }
63
- }
64
- deleteGroup(args, optionsOrCb, cb) {
65
- const command = new DeleteGroupCommand(args);
68
+ };
69
+ Identitystore.prototype.deleteGroup = function (args, optionsOrCb, cb) {
70
+ var command = new DeleteGroupCommand(args);
66
71
  if (typeof optionsOrCb === "function") {
67
72
  this.send(command, optionsOrCb);
68
73
  }
69
74
  else if (typeof cb === "function") {
70
75
  if (typeof optionsOrCb !== "object")
71
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
76
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
72
77
  this.send(command, optionsOrCb || {}, cb);
73
78
  }
74
79
  else {
75
80
  return this.send(command, optionsOrCb);
76
81
  }
77
- }
78
- deleteGroupMembership(args, optionsOrCb, cb) {
79
- const command = new DeleteGroupMembershipCommand(args);
82
+ };
83
+ Identitystore.prototype.deleteGroupMembership = function (args, optionsOrCb, cb) {
84
+ var command = new DeleteGroupMembershipCommand(args);
80
85
  if (typeof optionsOrCb === "function") {
81
86
  this.send(command, optionsOrCb);
82
87
  }
83
88
  else if (typeof cb === "function") {
84
89
  if (typeof optionsOrCb !== "object")
85
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
90
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
86
91
  this.send(command, optionsOrCb || {}, cb);
87
92
  }
88
93
  else {
89
94
  return this.send(command, optionsOrCb);
90
95
  }
91
- }
92
- deleteUser(args, optionsOrCb, cb) {
93
- const command = new DeleteUserCommand(args);
96
+ };
97
+ Identitystore.prototype.deleteUser = function (args, optionsOrCb, cb) {
98
+ var command = new DeleteUserCommand(args);
94
99
  if (typeof optionsOrCb === "function") {
95
100
  this.send(command, optionsOrCb);
96
101
  }
97
102
  else if (typeof cb === "function") {
98
103
  if (typeof optionsOrCb !== "object")
99
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
104
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
100
105
  this.send(command, optionsOrCb || {}, cb);
101
106
  }
102
107
  else {
103
108
  return this.send(command, optionsOrCb);
104
109
  }
105
- }
106
- describeGroup(args, optionsOrCb, cb) {
107
- const command = new DescribeGroupCommand(args);
110
+ };
111
+ Identitystore.prototype.describeGroup = function (args, optionsOrCb, cb) {
112
+ var command = new DescribeGroupCommand(args);
108
113
  if (typeof optionsOrCb === "function") {
109
114
  this.send(command, optionsOrCb);
110
115
  }
111
116
  else if (typeof cb === "function") {
112
117
  if (typeof optionsOrCb !== "object")
113
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
118
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
114
119
  this.send(command, optionsOrCb || {}, cb);
115
120
  }
116
121
  else {
117
122
  return this.send(command, optionsOrCb);
118
123
  }
119
- }
120
- describeGroupMembership(args, optionsOrCb, cb) {
121
- const command = new DescribeGroupMembershipCommand(args);
124
+ };
125
+ Identitystore.prototype.describeGroupMembership = function (args, optionsOrCb, cb) {
126
+ var command = new DescribeGroupMembershipCommand(args);
122
127
  if (typeof optionsOrCb === "function") {
123
128
  this.send(command, optionsOrCb);
124
129
  }
125
130
  else if (typeof cb === "function") {
126
131
  if (typeof optionsOrCb !== "object")
127
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
132
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
128
133
  this.send(command, optionsOrCb || {}, cb);
129
134
  }
130
135
  else {
131
136
  return this.send(command, optionsOrCb);
132
137
  }
133
- }
134
- describeUser(args, optionsOrCb, cb) {
135
- const command = new DescribeUserCommand(args);
138
+ };
139
+ Identitystore.prototype.describeUser = function (args, optionsOrCb, cb) {
140
+ var command = new DescribeUserCommand(args);
136
141
  if (typeof optionsOrCb === "function") {
137
142
  this.send(command, optionsOrCb);
138
143
  }
139
144
  else if (typeof cb === "function") {
140
145
  if (typeof optionsOrCb !== "object")
141
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
146
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
142
147
  this.send(command, optionsOrCb || {}, cb);
143
148
  }
144
149
  else {
145
150
  return this.send(command, optionsOrCb);
146
151
  }
147
- }
148
- getGroupId(args, optionsOrCb, cb) {
149
- const command = new GetGroupIdCommand(args);
152
+ };
153
+ Identitystore.prototype.getGroupId = function (args, optionsOrCb, cb) {
154
+ var command = new GetGroupIdCommand(args);
150
155
  if (typeof optionsOrCb === "function") {
151
156
  this.send(command, optionsOrCb);
152
157
  }
153
158
  else if (typeof cb === "function") {
154
159
  if (typeof optionsOrCb !== "object")
155
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
160
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
156
161
  this.send(command, optionsOrCb || {}, cb);
157
162
  }
158
163
  else {
159
164
  return this.send(command, optionsOrCb);
160
165
  }
161
- }
162
- getGroupMembershipId(args, optionsOrCb, cb) {
163
- const command = new GetGroupMembershipIdCommand(args);
166
+ };
167
+ Identitystore.prototype.getGroupMembershipId = function (args, optionsOrCb, cb) {
168
+ var command = new GetGroupMembershipIdCommand(args);
164
169
  if (typeof optionsOrCb === "function") {
165
170
  this.send(command, optionsOrCb);
166
171
  }
167
172
  else if (typeof cb === "function") {
168
173
  if (typeof optionsOrCb !== "object")
169
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
174
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
170
175
  this.send(command, optionsOrCb || {}, cb);
171
176
  }
172
177
  else {
173
178
  return this.send(command, optionsOrCb);
174
179
  }
175
- }
176
- getUserId(args, optionsOrCb, cb) {
177
- const command = new GetUserIdCommand(args);
180
+ };
181
+ Identitystore.prototype.getUserId = function (args, optionsOrCb, cb) {
182
+ var command = new GetUserIdCommand(args);
178
183
  if (typeof optionsOrCb === "function") {
179
184
  this.send(command, optionsOrCb);
180
185
  }
181
186
  else if (typeof cb === "function") {
182
187
  if (typeof optionsOrCb !== "object")
183
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
188
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
184
189
  this.send(command, optionsOrCb || {}, cb);
185
190
  }
186
191
  else {
187
192
  return this.send(command, optionsOrCb);
188
193
  }
189
- }
190
- isMemberInGroups(args, optionsOrCb, cb) {
191
- const command = new IsMemberInGroupsCommand(args);
194
+ };
195
+ Identitystore.prototype.isMemberInGroups = function (args, optionsOrCb, cb) {
196
+ var command = new IsMemberInGroupsCommand(args);
192
197
  if (typeof optionsOrCb === "function") {
193
198
  this.send(command, optionsOrCb);
194
199
  }
195
200
  else if (typeof cb === "function") {
196
201
  if (typeof optionsOrCb !== "object")
197
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
202
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
198
203
  this.send(command, optionsOrCb || {}, cb);
199
204
  }
200
205
  else {
201
206
  return this.send(command, optionsOrCb);
202
207
  }
203
- }
204
- listGroupMemberships(args, optionsOrCb, cb) {
205
- const command = new ListGroupMembershipsCommand(args);
208
+ };
209
+ Identitystore.prototype.listGroupMemberships = function (args, optionsOrCb, cb) {
210
+ var command = new ListGroupMembershipsCommand(args);
206
211
  if (typeof optionsOrCb === "function") {
207
212
  this.send(command, optionsOrCb);
208
213
  }
209
214
  else if (typeof cb === "function") {
210
215
  if (typeof optionsOrCb !== "object")
211
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
216
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
212
217
  this.send(command, optionsOrCb || {}, cb);
213
218
  }
214
219
  else {
215
220
  return this.send(command, optionsOrCb);
216
221
  }
217
- }
218
- listGroupMembershipsForMember(args, optionsOrCb, cb) {
219
- const command = new ListGroupMembershipsForMemberCommand(args);
222
+ };
223
+ Identitystore.prototype.listGroupMembershipsForMember = function (args, optionsOrCb, cb) {
224
+ var command = new ListGroupMembershipsForMemberCommand(args);
220
225
  if (typeof optionsOrCb === "function") {
221
226
  this.send(command, optionsOrCb);
222
227
  }
223
228
  else if (typeof cb === "function") {
224
229
  if (typeof optionsOrCb !== "object")
225
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
230
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
226
231
  this.send(command, optionsOrCb || {}, cb);
227
232
  }
228
233
  else {
229
234
  return this.send(command, optionsOrCb);
230
235
  }
231
- }
232
- listGroups(args, optionsOrCb, cb) {
233
- const command = new ListGroupsCommand(args);
236
+ };
237
+ Identitystore.prototype.listGroups = function (args, optionsOrCb, cb) {
238
+ var command = new ListGroupsCommand(args);
234
239
  if (typeof optionsOrCb === "function") {
235
240
  this.send(command, optionsOrCb);
236
241
  }
237
242
  else if (typeof cb === "function") {
238
243
  if (typeof optionsOrCb !== "object")
239
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
244
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
240
245
  this.send(command, optionsOrCb || {}, cb);
241
246
  }
242
247
  else {
243
248
  return this.send(command, optionsOrCb);
244
249
  }
245
- }
246
- listUsers(args, optionsOrCb, cb) {
247
- const command = new ListUsersCommand(args);
250
+ };
251
+ Identitystore.prototype.listUsers = function (args, optionsOrCb, cb) {
252
+ var command = new ListUsersCommand(args);
248
253
  if (typeof optionsOrCb === "function") {
249
254
  this.send(command, optionsOrCb);
250
255
  }
251
256
  else if (typeof cb === "function") {
252
257
  if (typeof optionsOrCb !== "object")
253
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
258
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
254
259
  this.send(command, optionsOrCb || {}, cb);
255
260
  }
256
261
  else {
257
262
  return this.send(command, optionsOrCb);
258
263
  }
259
- }
260
- updateGroup(args, optionsOrCb, cb) {
261
- const command = new UpdateGroupCommand(args);
264
+ };
265
+ Identitystore.prototype.updateGroup = function (args, optionsOrCb, cb) {
266
+ var command = new UpdateGroupCommand(args);
262
267
  if (typeof optionsOrCb === "function") {
263
268
  this.send(command, optionsOrCb);
264
269
  }
265
270
  else if (typeof cb === "function") {
266
271
  if (typeof optionsOrCb !== "object")
267
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
272
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
268
273
  this.send(command, optionsOrCb || {}, cb);
269
274
  }
270
275
  else {
271
276
  return this.send(command, optionsOrCb);
272
277
  }
273
- }
274
- updateUser(args, optionsOrCb, cb) {
275
- const command = new UpdateUserCommand(args);
278
+ };
279
+ Identitystore.prototype.updateUser = function (args, optionsOrCb, cb) {
280
+ var command = new UpdateUserCommand(args);
276
281
  if (typeof optionsOrCb === "function") {
277
282
  this.send(command, optionsOrCb);
278
283
  }
279
284
  else if (typeof cb === "function") {
280
285
  if (typeof optionsOrCb !== "object")
281
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
286
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
282
287
  this.send(command, optionsOrCb || {}, cb);
283
288
  }
284
289
  else {
285
290
  return this.send(command, optionsOrCb);
286
291
  }
287
- }
288
- }
292
+ };
293
+ return Identitystore;
294
+ }(IdentitystoreClient));
295
+ export { Identitystore };
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class IdentitystoreClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var IdentitystoreClient = (function (_super) {
13
+ __extends(IdentitystoreClient, _super);
14
+ function IdentitystoreClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ IdentitystoreClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return IdentitystoreClient;
38
+ }(__Client));
39
+ export { IdentitystoreClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateGroupRequestFilterSensitiveLog, CreateGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateGroupCommand, serializeAws_json1_1CreateGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IdentitystoreClient";
15
- const commandName = "CreateGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: CreateGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_1CreateGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateGroupCommand;
38
+ }($Command));
39
+ export { CreateGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateGroupMembershipRequestFilterSensitiveLog, CreateGroupMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateGroupMembershipCommand, serializeAws_json1_1CreateGroupMembershipCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateGroupMembershipCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateGroupMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IdentitystoreClient";
15
- const commandName = "CreateGroupMembershipCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: CreateGroupMembershipRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateGroupMembershipResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_1CreateGroupMembershipCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateGroupMembershipCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateGroupMembershipCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateGroupMembershipCommand;
38
+ }($Command));
39
+ export { CreateGroupMembershipCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateUserRequestFilterSensitiveLog, CreateUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateUserCommand, serializeAws_json1_1CreateUserCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IdentitystoreClient";
15
- const commandName = "CreateUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: CreateUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateUserResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_1CreateUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateUserCommand;
38
+ }($Command));
39
+ export { CreateUserCommand };