@aws-sdk/client-identitystore 3.137.0 → 3.145.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 +30 -0
- package/README.md +3 -3
- package/dist-cjs/protocols/Aws_json1_1.js +20 -35
- package/dist-es/protocols/Aws_json1_1.js +33 -36
- package/dist-types/Identitystore.d.ts +14 -10
- package/dist-types/IdentitystoreClient.d.ts +2 -2
- package/dist-types/commands/DescribeGroupCommand.d.ts +2 -1
- package/dist-types/commands/DescribeUserCommand.d.ts +2 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +4 -3
- package/dist-types/commands/ListUsersCommand.d.ts +4 -3
- package/dist-types/models/models_0.d.ts +39 -16
- package/package.json +11 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-identitystore
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
7
37
|
|
|
8
38
|
|
package/README.md
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Identitystore Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>The
|
|
13
|
-
identities (users and groups). For more information
|
|
12
|
+
<p>The identity store service used by Amazon Web Services Single Sign On provides a single place to retrieve all of
|
|
13
|
+
your identities (users and groups). For more information, see the <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">Amazon Web Services SSO User
|
|
14
14
|
Guide</a>.</p>
|
|
15
15
|
|
|
16
16
|
## Installing
|
|
@@ -167,7 +167,7 @@ try {
|
|
|
167
167
|
const data = await client.send(command);
|
|
168
168
|
// process data.
|
|
169
169
|
} catch (error) {
|
|
170
|
-
const { requestId, cfId, extendedRequestId } = error
|
|
170
|
+
const { requestId, cfId, extendedRequestId } = error.$$metadata;
|
|
171
171
|
console.log({ requestId, cfId, extendedRequestId });
|
|
172
172
|
/**
|
|
173
173
|
* The keys within exceptions are also parsed.
|
|
@@ -64,7 +64,6 @@ const deserializeAws_json1_1DescribeGroupCommandError = async (output, context)
|
|
|
64
64
|
...output,
|
|
65
65
|
body: await parseBody(output.body, context),
|
|
66
66
|
};
|
|
67
|
-
let response;
|
|
68
67
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
69
68
|
switch (errorCode) {
|
|
70
69
|
case "AccessDeniedException":
|
|
@@ -84,14 +83,12 @@ const deserializeAws_json1_1DescribeGroupCommandError = async (output, context)
|
|
|
84
83
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
85
84
|
default:
|
|
86
85
|
const parsedBody = parsedOutput.body;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
$metadata,
|
|
86
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
87
|
+
output,
|
|
88
|
+
parsedBody,
|
|
89
|
+
exceptionCtor: IdentitystoreServiceException_1.IdentitystoreServiceException,
|
|
90
|
+
errorCode,
|
|
93
91
|
});
|
|
94
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
95
92
|
}
|
|
96
93
|
};
|
|
97
94
|
const deserializeAws_json1_1DescribeUserCommand = async (output, context) => {
|
|
@@ -113,7 +110,6 @@ const deserializeAws_json1_1DescribeUserCommandError = async (output, context) =
|
|
|
113
110
|
...output,
|
|
114
111
|
body: await parseBody(output.body, context),
|
|
115
112
|
};
|
|
116
|
-
let response;
|
|
117
113
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
118
114
|
switch (errorCode) {
|
|
119
115
|
case "AccessDeniedException":
|
|
@@ -133,14 +129,12 @@ const deserializeAws_json1_1DescribeUserCommandError = async (output, context) =
|
|
|
133
129
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
134
130
|
default:
|
|
135
131
|
const parsedBody = parsedOutput.body;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
$metadata,
|
|
132
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
133
|
+
output,
|
|
134
|
+
parsedBody,
|
|
135
|
+
exceptionCtor: IdentitystoreServiceException_1.IdentitystoreServiceException,
|
|
136
|
+
errorCode,
|
|
142
137
|
});
|
|
143
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
144
138
|
}
|
|
145
139
|
};
|
|
146
140
|
const deserializeAws_json1_1ListGroupsCommand = async (output, context) => {
|
|
@@ -162,7 +156,6 @@ const deserializeAws_json1_1ListGroupsCommandError = async (output, context) =>
|
|
|
162
156
|
...output,
|
|
163
157
|
body: await parseBody(output.body, context),
|
|
164
158
|
};
|
|
165
|
-
let response;
|
|
166
159
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
167
160
|
switch (errorCode) {
|
|
168
161
|
case "AccessDeniedException":
|
|
@@ -182,14 +175,12 @@ const deserializeAws_json1_1ListGroupsCommandError = async (output, context) =>
|
|
|
182
175
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
183
176
|
default:
|
|
184
177
|
const parsedBody = parsedOutput.body;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
$metadata,
|
|
178
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
179
|
+
output,
|
|
180
|
+
parsedBody,
|
|
181
|
+
exceptionCtor: IdentitystoreServiceException_1.IdentitystoreServiceException,
|
|
182
|
+
errorCode,
|
|
191
183
|
});
|
|
192
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
193
184
|
}
|
|
194
185
|
};
|
|
195
186
|
const deserializeAws_json1_1ListUsersCommand = async (output, context) => {
|
|
@@ -211,7 +202,6 @@ const deserializeAws_json1_1ListUsersCommandError = async (output, context) => {
|
|
|
211
202
|
...output,
|
|
212
203
|
body: await parseBody(output.body, context),
|
|
213
204
|
};
|
|
214
|
-
let response;
|
|
215
205
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
216
206
|
switch (errorCode) {
|
|
217
207
|
case "AccessDeniedException":
|
|
@@ -231,14 +221,12 @@ const deserializeAws_json1_1ListUsersCommandError = async (output, context) => {
|
|
|
231
221
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
232
222
|
default:
|
|
233
223
|
const parsedBody = parsedOutput.body;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
$metadata,
|
|
224
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
225
|
+
output,
|
|
226
|
+
parsedBody,
|
|
227
|
+
exceptionCtor: IdentitystoreServiceException_1.IdentitystoreServiceException,
|
|
228
|
+
errorCode,
|
|
240
229
|
});
|
|
241
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
242
230
|
}
|
|
243
231
|
};
|
|
244
232
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -308,9 +296,6 @@ const serializeAws_json1_1Filters = (input, context) => {
|
|
|
308
296
|
return input
|
|
309
297
|
.filter((e) => e != null)
|
|
310
298
|
.map((entry) => {
|
|
311
|
-
if (entry === null) {
|
|
312
|
-
return null;
|
|
313
|
-
}
|
|
314
299
|
return serializeAws_json1_1Filter(entry, context);
|
|
315
300
|
});
|
|
316
301
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectString as __expectString, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectString as __expectString, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { IdentitystoreServiceException as __BaseException } from "../models/IdentitystoreServiceException";
|
|
5
5
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1DescribeGroupCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -66,7 +66,7 @@ export var deserializeAws_json1_1DescribeGroupCommand = function (output, contex
|
|
|
66
66
|
});
|
|
67
67
|
}); };
|
|
68
68
|
var deserializeAws_json1_1DescribeGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var parsedOutput, _a,
|
|
69
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
70
70
|
var _c;
|
|
71
71
|
return __generator(this, function (_d) {
|
|
72
72
|
switch (_d.label) {
|
|
@@ -103,14 +103,14 @@ var deserializeAws_json1_1DescribeGroupCommandError = function (output, context)
|
|
|
103
103
|
case 11: throw _d.sent();
|
|
104
104
|
case 12:
|
|
105
105
|
parsedBody = parsedOutput.body;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
$metadata: $metadata,
|
|
106
|
+
throwDefaultError({
|
|
107
|
+
output: output,
|
|
108
|
+
parsedBody: parsedBody,
|
|
109
|
+
exceptionCtor: __BaseException,
|
|
110
|
+
errorCode: errorCode,
|
|
112
111
|
});
|
|
113
|
-
|
|
112
|
+
_d.label = 13;
|
|
113
|
+
case 13: return [2];
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
116
|
}); };
|
|
@@ -133,7 +133,7 @@ export var deserializeAws_json1_1DescribeUserCommand = function (output, context
|
|
|
133
133
|
});
|
|
134
134
|
}); };
|
|
135
135
|
var deserializeAws_json1_1DescribeUserCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
136
|
-
var parsedOutput, _a,
|
|
136
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
137
137
|
var _c;
|
|
138
138
|
return __generator(this, function (_d) {
|
|
139
139
|
switch (_d.label) {
|
|
@@ -170,14 +170,14 @@ var deserializeAws_json1_1DescribeUserCommandError = function (output, context)
|
|
|
170
170
|
case 11: throw _d.sent();
|
|
171
171
|
case 12:
|
|
172
172
|
parsedBody = parsedOutput.body;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
$metadata: $metadata,
|
|
173
|
+
throwDefaultError({
|
|
174
|
+
output: output,
|
|
175
|
+
parsedBody: parsedBody,
|
|
176
|
+
exceptionCtor: __BaseException,
|
|
177
|
+
errorCode: errorCode,
|
|
179
178
|
});
|
|
180
|
-
|
|
179
|
+
_d.label = 13;
|
|
180
|
+
case 13: return [2];
|
|
181
181
|
}
|
|
182
182
|
});
|
|
183
183
|
}); };
|
|
@@ -200,7 +200,7 @@ export var deserializeAws_json1_1ListGroupsCommand = function (output, context)
|
|
|
200
200
|
});
|
|
201
201
|
}); };
|
|
202
202
|
var deserializeAws_json1_1ListGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
203
|
-
var parsedOutput, _a,
|
|
203
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
204
204
|
var _c;
|
|
205
205
|
return __generator(this, function (_d) {
|
|
206
206
|
switch (_d.label) {
|
|
@@ -237,14 +237,14 @@ var deserializeAws_json1_1ListGroupsCommandError = function (output, context) {
|
|
|
237
237
|
case 11: throw _d.sent();
|
|
238
238
|
case 12:
|
|
239
239
|
parsedBody = parsedOutput.body;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
$metadata: $metadata,
|
|
240
|
+
throwDefaultError({
|
|
241
|
+
output: output,
|
|
242
|
+
parsedBody: parsedBody,
|
|
243
|
+
exceptionCtor: __BaseException,
|
|
244
|
+
errorCode: errorCode,
|
|
246
245
|
});
|
|
247
|
-
|
|
246
|
+
_d.label = 13;
|
|
247
|
+
case 13: return [2];
|
|
248
248
|
}
|
|
249
249
|
});
|
|
250
250
|
}); };
|
|
@@ -267,7 +267,7 @@ export var deserializeAws_json1_1ListUsersCommand = function (output, context) {
|
|
|
267
267
|
});
|
|
268
268
|
}); };
|
|
269
269
|
var deserializeAws_json1_1ListUsersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
270
|
-
var parsedOutput, _a,
|
|
270
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
271
271
|
var _c;
|
|
272
272
|
return __generator(this, function (_d) {
|
|
273
273
|
switch (_d.label) {
|
|
@@ -304,14 +304,14 @@ var deserializeAws_json1_1ListUsersCommandError = function (output, context) { r
|
|
|
304
304
|
case 11: throw _d.sent();
|
|
305
305
|
case 12:
|
|
306
306
|
parsedBody = parsedOutput.body;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
$metadata: $metadata,
|
|
307
|
+
throwDefaultError({
|
|
308
|
+
output: output,
|
|
309
|
+
parsedBody: parsedBody,
|
|
310
|
+
exceptionCtor: __BaseException,
|
|
311
|
+
errorCode: errorCode,
|
|
313
312
|
});
|
|
314
|
-
|
|
313
|
+
_d.label = 13;
|
|
314
|
+
case 13: return [2];
|
|
315
315
|
}
|
|
316
316
|
});
|
|
317
317
|
}); };
|
|
@@ -373,9 +373,6 @@ var serializeAws_json1_1Filters = function (input, context) {
|
|
|
373
373
|
return input
|
|
374
374
|
.filter(function (e) { return e != null; })
|
|
375
375
|
.map(function (entry) {
|
|
376
|
-
if (entry === null) {
|
|
377
|
-
return null;
|
|
378
|
-
}
|
|
379
376
|
return serializeAws_json1_1Filter(entry, context);
|
|
380
377
|
});
|
|
381
378
|
};
|
|
@@ -5,35 +5,39 @@ import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/List
|
|
|
5
5
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
6
6
|
import { IdentitystoreClient } from "./IdentitystoreClient";
|
|
7
7
|
/**
|
|
8
|
-
* <p>The
|
|
9
|
-
* identities (users and groups). For more information
|
|
8
|
+
* <p>The identity store service used by Amazon Web Services Single Sign On provides a single place to retrieve all of
|
|
9
|
+
* your identities (users and groups). For more information, see the <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">Amazon Web Services SSO User
|
|
10
10
|
* Guide</a>.</p>
|
|
11
11
|
*/
|
|
12
12
|
export declare class Identitystore extends IdentitystoreClient {
|
|
13
13
|
/**
|
|
14
|
-
* <p>Retrieves the group metadata and attributes from <code>GroupId</code> in an identity
|
|
14
|
+
* <p>Retrieves the group metadata and attributes from <code>GroupId</code> in an identity
|
|
15
|
+
* store.</p>
|
|
15
16
|
*/
|
|
16
17
|
describeGroup(args: DescribeGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribeGroupCommandOutput>;
|
|
17
18
|
describeGroup(args: DescribeGroupCommandInput, cb: (err: any, data?: DescribeGroupCommandOutput) => void): void;
|
|
18
19
|
describeGroup(args: DescribeGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGroupCommandOutput) => void): void;
|
|
19
20
|
/**
|
|
20
|
-
* <p>Retrieves the user metadata and attributes from <code>UserId</code> in an identity
|
|
21
|
+
* <p>Retrieves the user metadata and attributes from <code>UserId</code> in an identity
|
|
22
|
+
* store.</p>
|
|
21
23
|
*/
|
|
22
24
|
describeUser(args: DescribeUserCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUserCommandOutput>;
|
|
23
25
|
describeUser(args: DescribeUserCommandInput, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
|
|
24
26
|
describeUser(args: DescribeUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
|
|
25
27
|
/**
|
|
26
|
-
* <p>Lists the attribute name and value of the group that you specified in the search. We
|
|
27
|
-
*
|
|
28
|
-
*
|
|
28
|
+
* <p>Lists the attribute name and value of the group that you specified in the search. We
|
|
29
|
+
* only support <code>DisplayName</code> as a valid filter attribute path currently, and
|
|
30
|
+
* filter is required. This API returns minimum attributes, including <code>GroupId</code> and
|
|
31
|
+
* group <code>DisplayName</code> in the response.</p>
|
|
29
32
|
*/
|
|
30
33
|
listGroups(args: ListGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsCommandOutput>;
|
|
31
34
|
listGroups(args: ListGroupsCommandInput, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
|
|
32
35
|
listGroups(args: ListGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
|
|
33
36
|
/**
|
|
34
|
-
* <p>Lists the attribute name and value of the user that you specified in the search. We only
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
+
* <p>Lists the attribute name and value of the user that you specified in the search. We only
|
|
38
|
+
* support <code>UserName</code> as a valid filter attribute path currently, and filter is
|
|
39
|
+
* required. This API returns minimum attributes, including <code>UserId</code> and
|
|
40
|
+
* <code>UserName</code> in the response.</p>
|
|
37
41
|
*/
|
|
38
42
|
listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
|
|
39
43
|
listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
|
|
@@ -130,8 +130,8 @@ declare type IdentitystoreClientResolvedConfigType = __SmithyResolvedConfigurati
|
|
|
130
130
|
export interface IdentitystoreClientResolvedConfig extends IdentitystoreClientResolvedConfigType {
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
* <p>The
|
|
134
|
-
* identities (users and groups). For more information
|
|
133
|
+
* <p>The identity store service used by Amazon Web Services Single Sign On provides a single place to retrieve all of
|
|
134
|
+
* your identities (users and groups). For more information, see the <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">Amazon Web Services SSO User
|
|
135
135
|
* Guide</a>.</p>
|
|
136
136
|
*/
|
|
137
137
|
export declare class IdentitystoreClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IdentitystoreClientResolvedConfig> {
|
|
@@ -7,7 +7,8 @@ export interface DescribeGroupCommandInput extends DescribeGroupRequest {
|
|
|
7
7
|
export interface DescribeGroupCommandOutput extends DescribeGroupResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Retrieves the group metadata and attributes from <code>GroupId</code> in an identity
|
|
10
|
+
* <p>Retrieves the group metadata and attributes from <code>GroupId</code> in an identity
|
|
11
|
+
* store.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface DescribeUserCommandInput extends DescribeUserRequest {
|
|
|
7
7
|
export interface DescribeUserCommandOutput extends DescribeUserResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Retrieves the user metadata and attributes from <code>UserId</code> in an identity
|
|
10
|
+
* <p>Retrieves the user metadata and attributes from <code>UserId</code> in an identity
|
|
11
|
+
* store.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,9 +7,10 @@ export interface ListGroupsCommandInput extends ListGroupsRequest {
|
|
|
7
7
|
export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists the attribute name and value of the group that you specified in the search. We
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* <p>Lists the attribute name and value of the group that you specified in the search. We
|
|
11
|
+
* only support <code>DisplayName</code> as a valid filter attribute path currently, and
|
|
12
|
+
* filter is required. This API returns minimum attributes, including <code>GroupId</code> and
|
|
13
|
+
* group <code>DisplayName</code> in the response.</p>
|
|
13
14
|
* @example
|
|
14
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
16
|
* ```javascript
|
|
@@ -7,9 +7,10 @@ export interface ListUsersCommandInput extends ListUsersRequest {
|
|
|
7
7
|
export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists the attribute name and value of the user that you specified in the search. We only
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* <p>Lists the attribute name and value of the user that you specified in the search. We only
|
|
11
|
+
* support <code>UserName</code> as a valid filter attribute path currently, and filter is
|
|
12
|
+
* required. This API returns minimum attributes, including <code>UserId</code> and
|
|
13
|
+
* <code>UserName</code> in the response.</p>
|
|
13
14
|
* @example
|
|
14
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
16
|
* ```javascript
|
|
@@ -8,7 +8,9 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
readonly $fault: "client";
|
|
9
9
|
Message?: string;
|
|
10
10
|
/**
|
|
11
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
11
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
12
|
+
* the identity store service for each sent request, and is then returned inside the exception
|
|
13
|
+
* if the request fails.</p>
|
|
12
14
|
*/
|
|
13
15
|
RequestId?: string;
|
|
14
16
|
/**
|
|
@@ -46,14 +48,17 @@ export interface DescribeGroupResponse {
|
|
|
46
48
|
DisplayName: string | undefined;
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
49
|
-
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
51
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
52
|
+
* an internal server.</p>
|
|
50
53
|
*/
|
|
51
54
|
export declare class InternalServerException extends __BaseException {
|
|
52
55
|
readonly name: "InternalServerException";
|
|
53
56
|
readonly $fault: "server";
|
|
54
57
|
Message?: string;
|
|
55
58
|
/**
|
|
56
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
59
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
60
|
+
* the identity store service for each sent request, and is then returned inside the exception
|
|
61
|
+
* if the request fails.</p>
|
|
57
62
|
*/
|
|
58
63
|
RequestId?: string;
|
|
59
64
|
/**
|
|
@@ -73,16 +78,26 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
73
78
|
readonly name: "ResourceNotFoundException";
|
|
74
79
|
readonly $fault: "client";
|
|
75
80
|
/**
|
|
76
|
-
* <p>The type of resource in the
|
|
81
|
+
* <p>The type of resource in the identity store service, which is an enum object. Valid
|
|
82
|
+
* values include USER, GROUP, and IDENTITY_STORE.</p>
|
|
77
83
|
*/
|
|
78
84
|
ResourceType?: ResourceType | string;
|
|
79
85
|
/**
|
|
80
|
-
* <p>The identifier for a resource in the identity store, which can be used as
|
|
86
|
+
* <p>The identifier for a resource in the identity store, which can be used as
|
|
87
|
+
* <code>UserId</code> or <code>GroupId</code>. The format for <code>ResourceId</code> is
|
|
88
|
+
* either <code>UUID</code> or <code>1234567890-UUID</code>, where <code>UUID</code> is a
|
|
89
|
+
* randomly generated value for each resource when it is created and <code>1234567890</code>
|
|
90
|
+
* represents the <code>IdentityStoreId</code> string value. In the case that the identity
|
|
91
|
+
* store is migrated from a legacy single sign-on identity store, the <code>ResourceId</code> for that
|
|
92
|
+
* identity store will be in the format of <code>UUID</code>. Otherwise, it will be in the
|
|
93
|
+
* <code>1234567890-UUID</code> format.</p>
|
|
81
94
|
*/
|
|
82
95
|
ResourceId?: string;
|
|
83
96
|
Message?: string;
|
|
84
97
|
/**
|
|
85
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
98
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
99
|
+
* the identity store service for each sent request, and is then returned inside the exception
|
|
100
|
+
* if the request fails.</p>
|
|
86
101
|
*/
|
|
87
102
|
RequestId?: string;
|
|
88
103
|
/**
|
|
@@ -91,14 +106,17 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
91
106
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
92
107
|
}
|
|
93
108
|
/**
|
|
94
|
-
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
109
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
110
|
+
* operations.</p>
|
|
95
111
|
*/
|
|
96
112
|
export declare class ThrottlingException extends __BaseException {
|
|
97
113
|
readonly name: "ThrottlingException";
|
|
98
114
|
readonly $fault: "client";
|
|
99
115
|
Message?: string;
|
|
100
116
|
/**
|
|
101
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
117
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
118
|
+
* the identity store service for each sent request, and is then returned inside the exception
|
|
119
|
+
* if the request fails.</p>
|
|
102
120
|
*/
|
|
103
121
|
RequestId?: string;
|
|
104
122
|
/**
|
|
@@ -114,7 +132,9 @@ export declare class ValidationException extends __BaseException {
|
|
|
114
132
|
readonly $fault: "client";
|
|
115
133
|
Message?: string;
|
|
116
134
|
/**
|
|
117
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
135
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
136
|
+
* the identity store service for each sent request, and is then returned inside the exception
|
|
137
|
+
* if the request fails.</p>
|
|
118
138
|
*/
|
|
119
139
|
RequestId?: string;
|
|
120
140
|
/**
|
|
@@ -150,8 +170,8 @@ export interface DescribeUserResponse {
|
|
|
150
170
|
UserId: string | undefined;
|
|
151
171
|
}
|
|
152
172
|
/**
|
|
153
|
-
* <p>A query filter used by <code>ListUsers</code> and <code>
|
|
154
|
-
* search users or groups.</p>
|
|
173
|
+
* <p>A query filter used by <code>ListUsers</code> and <code>ListGroups</code>. This filter
|
|
174
|
+
* object provides the attribute name and attribute value to search users or groups.</p>
|
|
155
175
|
*/
|
|
156
176
|
export interface Filter {
|
|
157
177
|
/**
|
|
@@ -162,7 +182,8 @@ export interface Filter {
|
|
|
162
182
|
*/
|
|
163
183
|
AttributePath: string | undefined;
|
|
164
184
|
/**
|
|
165
|
-
* <p>Represents the data for an attribute. Each attribute value is described as a name-value
|
|
185
|
+
* <p>Represents the data for an attribute. Each attribute value is described as a name-value
|
|
186
|
+
* pair. </p>
|
|
166
187
|
*/
|
|
167
188
|
AttributeValue: string | undefined;
|
|
168
189
|
}
|
|
@@ -189,7 +210,8 @@ export interface ListGroupsRequest {
|
|
|
189
210
|
*/
|
|
190
211
|
NextToken?: string;
|
|
191
212
|
/**
|
|
192
|
-
* <p>A list of <code>Filter</code> objects, which is used in the <code>ListUsers</code> and
|
|
213
|
+
* <p>A list of <code>Filter</code> objects, which is used in the <code>ListUsers</code> and
|
|
214
|
+
* <code>ListGroups</code> request. </p>
|
|
193
215
|
*/
|
|
194
216
|
Filters?: Filter[];
|
|
195
217
|
}
|
|
@@ -205,8 +227,8 @@ export interface Group {
|
|
|
205
227
|
* <p>Contains the group’s display name value. The length limit is 1,024 characters. This
|
|
206
228
|
* value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new
|
|
207
229
|
* line, carriage return, space, and nonbreaking space in this attribute. The characters
|
|
208
|
-
* <code><>;:%</code> are excluded. This value is specified at the time the group
|
|
209
|
-
*
|
|
230
|
+
* <code><>;:%</code> are excluded. This value is specified at the time the group is
|
|
231
|
+
* created and stored as an attribute of the group object in the identity store.</p>
|
|
210
232
|
*/
|
|
211
233
|
DisplayName: string | undefined;
|
|
212
234
|
}
|
|
@@ -246,7 +268,8 @@ export interface ListUsersRequest {
|
|
|
246
268
|
*/
|
|
247
269
|
NextToken?: string;
|
|
248
270
|
/**
|
|
249
|
-
* <p>A list of <code>Filter</code> objects, which is used in the <code>ListUsers</code> and
|
|
271
|
+
* <p>A list of <code>Filter</code> objects, which is used in the <code>ListUsers</code> and
|
|
272
|
+
* <code>ListGroups</code> request. </p>
|
|
250
273
|
*/
|
|
251
274
|
Filters?: Filter[];
|
|
252
275
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-identitystore",
|
|
3
3
|
"description": "AWS SDK for JavaScript Identitystore Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.145.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.145.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.145.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
@@ -61,6 +61,11 @@
|
|
|
61
61
|
"typedoc": "0.19.2",
|
|
62
62
|
"typescript": "~4.6.2"
|
|
63
63
|
},
|
|
64
|
+
"overrides": {
|
|
65
|
+
"typedoc": {
|
|
66
|
+
"typescript": "~4.6.2"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
64
69
|
"engines": {
|
|
65
70
|
"node": ">=12.0.0"
|
|
66
71
|
},
|