@aws-sdk/client-identitystore 3.927.0 → 3.929.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/dist-cjs/index.js +835 -1048
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/IdentitystoreClient.js +2 -0
- package/dist-es/commands/CreateGroupCommand.js +3 -10
- package/dist-es/commands/CreateGroupMembershipCommand.js +3 -9
- package/dist-es/commands/CreateUserCommand.js +3 -10
- package/dist-es/commands/DeleteGroupCommand.js +3 -9
- package/dist-es/commands/DeleteGroupMembershipCommand.js +3 -9
- package/dist-es/commands/DeleteUserCommand.js +3 -9
- package/dist-es/commands/DescribeGroupCommand.js +3 -10
- package/dist-es/commands/DescribeGroupMembershipCommand.js +3 -9
- package/dist-es/commands/DescribeUserCommand.js +3 -10
- package/dist-es/commands/GetGroupIdCommand.js +3 -10
- package/dist-es/commands/GetGroupMembershipIdCommand.js +3 -9
- package/dist-es/commands/GetUserIdCommand.js +3 -10
- package/dist-es/commands/IsMemberInGroupsCommand.js +3 -10
- package/dist-es/commands/ListGroupMembershipsCommand.js +3 -9
- package/dist-es/commands/ListGroupMembershipsForMemberCommand.js +3 -9
- package/dist-es/commands/ListGroupsCommand.js +3 -10
- package/dist-es/commands/ListUsersCommand.js +3 -10
- package/dist-es/commands/UpdateGroupCommand.js +3 -9
- package/dist-es/commands/UpdateUserCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -170
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +776 -0
- package/dist-types/IdentitystoreClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -88
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +100 -0
- package/dist-types/ts3.4/IdentitystoreClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -48
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +106 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -707
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -173
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -233
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { IdentitystoreServiceException as __BaseException } from "./IdentitystoreServiceException";
|
|
3
2
|
export const AccessDeniedExceptionReason = {
|
|
4
3
|
KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
|
|
@@ -181,172 +180,3 @@ export const UserStatus = {
|
|
|
181
180
|
DISABLED: "DISABLED",
|
|
182
181
|
ENABLED: "ENABLED",
|
|
183
182
|
};
|
|
184
|
-
export const AddressFilterSensitiveLog = (obj) => ({
|
|
185
|
-
...obj,
|
|
186
|
-
...(obj.StreetAddress && { StreetAddress: SENSITIVE_STRING }),
|
|
187
|
-
...(obj.Locality && { Locality: SENSITIVE_STRING }),
|
|
188
|
-
...(obj.Region && { Region: SENSITIVE_STRING }),
|
|
189
|
-
...(obj.PostalCode && { PostalCode: SENSITIVE_STRING }),
|
|
190
|
-
...(obj.Country && { Country: SENSITIVE_STRING }),
|
|
191
|
-
...(obj.Formatted && { Formatted: SENSITIVE_STRING }),
|
|
192
|
-
...(obj.Type && { Type: SENSITIVE_STRING }),
|
|
193
|
-
...(obj.Primary && { Primary: SENSITIVE_STRING }),
|
|
194
|
-
});
|
|
195
|
-
export const ExternalIdFilterSensitiveLog = (obj) => ({
|
|
196
|
-
...obj,
|
|
197
|
-
...(obj.Issuer && { Issuer: SENSITIVE_STRING }),
|
|
198
|
-
...(obj.Id && { Id: SENSITIVE_STRING }),
|
|
199
|
-
});
|
|
200
|
-
export const AlternateIdentifierFilterSensitiveLog = (obj) => {
|
|
201
|
-
if (obj.ExternalId !== undefined)
|
|
202
|
-
return { ExternalId: ExternalIdFilterSensitiveLog(obj.ExternalId) };
|
|
203
|
-
if (obj.UniqueAttribute !== undefined)
|
|
204
|
-
return { UniqueAttribute: obj.UniqueAttribute };
|
|
205
|
-
if (obj.$unknown !== undefined)
|
|
206
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
207
|
-
};
|
|
208
|
-
export const GetGroupIdRequestFilterSensitiveLog = (obj) => ({
|
|
209
|
-
...obj,
|
|
210
|
-
...(obj.AlternateIdentifier && {
|
|
211
|
-
AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier),
|
|
212
|
-
}),
|
|
213
|
-
});
|
|
214
|
-
export const GetUserIdRequestFilterSensitiveLog = (obj) => ({
|
|
215
|
-
...obj,
|
|
216
|
-
...(obj.AlternateIdentifier && {
|
|
217
|
-
AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier),
|
|
218
|
-
}),
|
|
219
|
-
});
|
|
220
|
-
export const CreateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
221
|
-
...obj,
|
|
222
|
-
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
223
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
224
|
-
});
|
|
225
|
-
export const DescribeGroupResponseFilterSensitiveLog = (obj) => ({
|
|
226
|
-
...obj,
|
|
227
|
-
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
228
|
-
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
229
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
230
|
-
});
|
|
231
|
-
export const FilterFilterSensitiveLog = (obj) => ({
|
|
232
|
-
...obj,
|
|
233
|
-
...(obj.AttributeValue && { AttributeValue: SENSITIVE_STRING }),
|
|
234
|
-
});
|
|
235
|
-
export const ListGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
236
|
-
...obj,
|
|
237
|
-
...(obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }),
|
|
238
|
-
});
|
|
239
|
-
export const GroupFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
242
|
-
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
243
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
244
|
-
});
|
|
245
|
-
export const ListGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
246
|
-
...obj,
|
|
247
|
-
...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
|
|
248
|
-
});
|
|
249
|
-
export const GroupMembershipExistenceResultFilterSensitiveLog = (obj) => ({
|
|
250
|
-
...obj,
|
|
251
|
-
...(obj.MemberId && { MemberId: obj.MemberId }),
|
|
252
|
-
...(obj.MembershipExists && { MembershipExists: SENSITIVE_STRING }),
|
|
253
|
-
});
|
|
254
|
-
export const IsMemberInGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
255
|
-
...obj,
|
|
256
|
-
...(obj.Results && { Results: obj.Results.map((item) => GroupMembershipExistenceResultFilterSensitiveLog(item)) }),
|
|
257
|
-
});
|
|
258
|
-
export const EmailFilterSensitiveLog = (obj) => ({
|
|
259
|
-
...obj,
|
|
260
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
261
|
-
...(obj.Type && { Type: SENSITIVE_STRING }),
|
|
262
|
-
...(obj.Primary && { Primary: SENSITIVE_STRING }),
|
|
263
|
-
});
|
|
264
|
-
export const NameFilterSensitiveLog = (obj) => ({
|
|
265
|
-
...obj,
|
|
266
|
-
...(obj.Formatted && { Formatted: SENSITIVE_STRING }),
|
|
267
|
-
...(obj.FamilyName && { FamilyName: SENSITIVE_STRING }),
|
|
268
|
-
...(obj.GivenName && { GivenName: SENSITIVE_STRING }),
|
|
269
|
-
...(obj.MiddleName && { MiddleName: SENSITIVE_STRING }),
|
|
270
|
-
...(obj.HonorificPrefix && { HonorificPrefix: SENSITIVE_STRING }),
|
|
271
|
-
...(obj.HonorificSuffix && { HonorificSuffix: SENSITIVE_STRING }),
|
|
272
|
-
});
|
|
273
|
-
export const PhoneNumberFilterSensitiveLog = (obj) => ({
|
|
274
|
-
...obj,
|
|
275
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
276
|
-
...(obj.Type && { Type: SENSITIVE_STRING }),
|
|
277
|
-
...(obj.Primary && { Primary: SENSITIVE_STRING }),
|
|
278
|
-
});
|
|
279
|
-
export const PhotoFilterSensitiveLog = (obj) => ({
|
|
280
|
-
...obj,
|
|
281
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
282
|
-
...(obj.Type && { Type: SENSITIVE_STRING }),
|
|
283
|
-
...(obj.Display && { Display: SENSITIVE_STRING }),
|
|
284
|
-
...(obj.Primary && { Primary: SENSITIVE_STRING }),
|
|
285
|
-
});
|
|
286
|
-
export const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
...(obj.UserName && { UserName: SENSITIVE_STRING }),
|
|
289
|
-
...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
|
|
290
|
-
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
291
|
-
...(obj.NickName && { NickName: SENSITIVE_STRING }),
|
|
292
|
-
...(obj.ProfileUrl && { ProfileUrl: SENSITIVE_STRING }),
|
|
293
|
-
...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
|
|
294
|
-
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
|
|
295
|
-
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
296
|
-
...(obj.UserType && { UserType: SENSITIVE_STRING }),
|
|
297
|
-
...(obj.Title && { Title: SENSITIVE_STRING }),
|
|
298
|
-
...(obj.PreferredLanguage && { PreferredLanguage: SENSITIVE_STRING }),
|
|
299
|
-
...(obj.Locale && { Locale: SENSITIVE_STRING }),
|
|
300
|
-
...(obj.Timezone && { Timezone: SENSITIVE_STRING }),
|
|
301
|
-
...(obj.Photos && { Photos: obj.Photos.map((item) => PhotoFilterSensitiveLog(item)) }),
|
|
302
|
-
...(obj.Website && { Website: SENSITIVE_STRING }),
|
|
303
|
-
...(obj.Birthdate && { Birthdate: SENSITIVE_STRING }),
|
|
304
|
-
});
|
|
305
|
-
export const DescribeUserResponseFilterSensitiveLog = (obj) => ({
|
|
306
|
-
...obj,
|
|
307
|
-
...(obj.UserName && { UserName: SENSITIVE_STRING }),
|
|
308
|
-
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
309
|
-
...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
|
|
310
|
-
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
311
|
-
...(obj.NickName && { NickName: SENSITIVE_STRING }),
|
|
312
|
-
...(obj.ProfileUrl && { ProfileUrl: SENSITIVE_STRING }),
|
|
313
|
-
...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
|
|
314
|
-
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
|
|
315
|
-
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
316
|
-
...(obj.UserType && { UserType: SENSITIVE_STRING }),
|
|
317
|
-
...(obj.Title && { Title: SENSITIVE_STRING }),
|
|
318
|
-
...(obj.PreferredLanguage && { PreferredLanguage: SENSITIVE_STRING }),
|
|
319
|
-
...(obj.Locale && { Locale: SENSITIVE_STRING }),
|
|
320
|
-
...(obj.Timezone && { Timezone: SENSITIVE_STRING }),
|
|
321
|
-
...(obj.Photos && { Photos: obj.Photos.map((item) => PhotoFilterSensitiveLog(item)) }),
|
|
322
|
-
...(obj.Website && { Website: SENSITIVE_STRING }),
|
|
323
|
-
...(obj.Birthdate && { Birthdate: SENSITIVE_STRING }),
|
|
324
|
-
});
|
|
325
|
-
export const ListUsersRequestFilterSensitiveLog = (obj) => ({
|
|
326
|
-
...obj,
|
|
327
|
-
...(obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }),
|
|
328
|
-
});
|
|
329
|
-
export const UserFilterSensitiveLog = (obj) => ({
|
|
330
|
-
...obj,
|
|
331
|
-
...(obj.UserName && { UserName: SENSITIVE_STRING }),
|
|
332
|
-
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
333
|
-
...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
|
|
334
|
-
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
335
|
-
...(obj.NickName && { NickName: SENSITIVE_STRING }),
|
|
336
|
-
...(obj.ProfileUrl && { ProfileUrl: SENSITIVE_STRING }),
|
|
337
|
-
...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
|
|
338
|
-
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
|
|
339
|
-
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
340
|
-
...(obj.UserType && { UserType: SENSITIVE_STRING }),
|
|
341
|
-
...(obj.Title && { Title: SENSITIVE_STRING }),
|
|
342
|
-
...(obj.PreferredLanguage && { PreferredLanguage: SENSITIVE_STRING }),
|
|
343
|
-
...(obj.Locale && { Locale: SENSITIVE_STRING }),
|
|
344
|
-
...(obj.Timezone && { Timezone: SENSITIVE_STRING }),
|
|
345
|
-
...(obj.Photos && { Photos: obj.Photos.map((item) => PhotoFilterSensitiveLog(item)) }),
|
|
346
|
-
...(obj.Website && { Website: SENSITIVE_STRING }),
|
|
347
|
-
...(obj.Birthdate && { Birthdate: SENSITIVE_STRING }),
|
|
348
|
-
});
|
|
349
|
-
export const ListUsersResponseFilterSensitiveLog = (obj) => ({
|
|
350
|
-
...obj,
|
|
351
|
-
...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }),
|
|
352
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.identitystore",
|
|
29
|
+
serviceTarget: "AWSIdentityStore",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "identitystore",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|