@aws-sdk/client-identitystore 3.1075.0 → 3.1076.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 +999 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -49
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/IdentitystoreServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -135
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -652
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultIdentitystoreHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "identitystore",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultIdentitystoreHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,864 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
85
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://identitystore-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://identitystore.{Region}.amazonaws.com", i],
|
|
95
|
+
["https://identitystore-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
96
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
97
|
+
["https://identitystore.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
98
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
99
|
+
["https://identitystore.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
100
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
101
|
+
]
|
|
102
|
+
};
|
|
103
|
+
const root = 2;
|
|
104
|
+
const r = 100_000_000;
|
|
105
|
+
const nodes = new Int32Array([
|
|
106
|
+
-1, 1, -1,
|
|
107
|
+
0, 13, 3,
|
|
108
|
+
1, 4, r + 12,
|
|
109
|
+
2, 5, r + 12,
|
|
110
|
+
3, 8, 6,
|
|
111
|
+
4, 7, r + 11,
|
|
112
|
+
5, r + 9, r + 10,
|
|
113
|
+
4, 11, 9,
|
|
114
|
+
6, 10, r + 8,
|
|
115
|
+
7, r + 6, r + 7,
|
|
116
|
+
5, 12, r + 5,
|
|
117
|
+
6, r + 4, r + 5,
|
|
118
|
+
3, r + 1, 14,
|
|
119
|
+
4, r + 2, r + 3,
|
|
120
|
+
]);
|
|
121
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
122
|
+
|
|
123
|
+
const cache = new EndpointCache({
|
|
124
|
+
size: 50,
|
|
125
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
126
|
+
});
|
|
127
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
128
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
129
|
+
endpointParams: endpointParams,
|
|
130
|
+
logger: context.logger,
|
|
131
|
+
}));
|
|
132
|
+
};
|
|
133
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
134
|
+
|
|
135
|
+
class IdentitystoreServiceException extends ServiceException {
|
|
136
|
+
constructor(options) {
|
|
137
|
+
super(options);
|
|
138
|
+
Object.setPrototypeOf(this, IdentitystoreServiceException.prototype);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
class AccessDeniedException extends IdentitystoreServiceException {
|
|
143
|
+
name = "AccessDeniedException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
Message;
|
|
146
|
+
RequestId;
|
|
147
|
+
Reason;
|
|
148
|
+
constructor(opts) {
|
|
149
|
+
super({
|
|
150
|
+
name: "AccessDeniedException",
|
|
151
|
+
$fault: "client",
|
|
152
|
+
...opts,
|
|
153
|
+
});
|
|
154
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
155
|
+
this.Message = opts.Message;
|
|
156
|
+
this.RequestId = opts.RequestId;
|
|
157
|
+
this.Reason = opts.Reason;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
class InternalServerException extends IdentitystoreServiceException {
|
|
161
|
+
name = "InternalServerException";
|
|
162
|
+
$fault = "server";
|
|
163
|
+
$retryable = {};
|
|
164
|
+
Message;
|
|
165
|
+
RequestId;
|
|
166
|
+
RetryAfterSeconds;
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "InternalServerException",
|
|
170
|
+
$fault: "server",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
174
|
+
this.Message = opts.Message;
|
|
175
|
+
this.RequestId = opts.RequestId;
|
|
176
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
class ResourceNotFoundException extends IdentitystoreServiceException {
|
|
180
|
+
name = "ResourceNotFoundException";
|
|
181
|
+
$fault = "client";
|
|
182
|
+
ResourceType;
|
|
183
|
+
ResourceId;
|
|
184
|
+
Reason;
|
|
185
|
+
Message;
|
|
186
|
+
RequestId;
|
|
187
|
+
constructor(opts) {
|
|
188
|
+
super({
|
|
189
|
+
name: "ResourceNotFoundException",
|
|
190
|
+
$fault: "client",
|
|
191
|
+
...opts,
|
|
192
|
+
});
|
|
193
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
194
|
+
this.ResourceType = opts.ResourceType;
|
|
195
|
+
this.ResourceId = opts.ResourceId;
|
|
196
|
+
this.Reason = opts.Reason;
|
|
197
|
+
this.Message = opts.Message;
|
|
198
|
+
this.RequestId = opts.RequestId;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
class ThrottlingException extends IdentitystoreServiceException {
|
|
202
|
+
name = "ThrottlingException";
|
|
203
|
+
$fault = "client";
|
|
204
|
+
$retryable = {
|
|
205
|
+
throttling: true,
|
|
206
|
+
};
|
|
207
|
+
Message;
|
|
208
|
+
RequestId;
|
|
209
|
+
RetryAfterSeconds;
|
|
210
|
+
Reason;
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "ThrottlingException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts,
|
|
216
|
+
});
|
|
217
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
218
|
+
this.Message = opts.Message;
|
|
219
|
+
this.RequestId = opts.RequestId;
|
|
220
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
221
|
+
this.Reason = opts.Reason;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
class ValidationException extends IdentitystoreServiceException {
|
|
225
|
+
name = "ValidationException";
|
|
226
|
+
$fault = "client";
|
|
227
|
+
Message;
|
|
228
|
+
RequestId;
|
|
229
|
+
Reason;
|
|
230
|
+
constructor(opts) {
|
|
231
|
+
super({
|
|
232
|
+
name: "ValidationException",
|
|
233
|
+
$fault: "client",
|
|
234
|
+
...opts,
|
|
235
|
+
});
|
|
236
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
237
|
+
this.Message = opts.Message;
|
|
238
|
+
this.RequestId = opts.RequestId;
|
|
239
|
+
this.Reason = opts.Reason;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
class ConflictException extends IdentitystoreServiceException {
|
|
243
|
+
name = "ConflictException";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
Message;
|
|
246
|
+
RequestId;
|
|
247
|
+
Reason;
|
|
248
|
+
constructor(opts) {
|
|
249
|
+
super({
|
|
250
|
+
name: "ConflictException",
|
|
251
|
+
$fault: "client",
|
|
252
|
+
...opts,
|
|
253
|
+
});
|
|
254
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
255
|
+
this.Message = opts.Message;
|
|
256
|
+
this.RequestId = opts.RequestId;
|
|
257
|
+
this.Reason = opts.Reason;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
class ServiceQuotaExceededException extends IdentitystoreServiceException {
|
|
261
|
+
name = "ServiceQuotaExceededException";
|
|
262
|
+
$fault = "client";
|
|
263
|
+
Message;
|
|
264
|
+
RequestId;
|
|
265
|
+
constructor(opts) {
|
|
266
|
+
super({
|
|
267
|
+
name: "ServiceQuotaExceededException",
|
|
268
|
+
$fault: "client",
|
|
269
|
+
...opts,
|
|
270
|
+
});
|
|
271
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
272
|
+
this.Message = opts.Message;
|
|
273
|
+
this.RequestId = opts.RequestId;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
const _A = "Address";
|
|
278
|
+
const _ADE = "AccessDeniedException";
|
|
279
|
+
const _AI = "AlternateIdentifier";
|
|
280
|
+
const _AO = "AttributeOperation";
|
|
281
|
+
const _AOt = "AttributeOperations";
|
|
282
|
+
const _AP = "AttributePath";
|
|
283
|
+
const _AV = "AttributeValue";
|
|
284
|
+
const _Ad = "Addresses";
|
|
285
|
+
const _B = "Birthdate";
|
|
286
|
+
const _C = "Country";
|
|
287
|
+
const _CA = "CreatedAt";
|
|
288
|
+
const _CB = "CreatedBy";
|
|
289
|
+
const _CE = "ConflictException";
|
|
290
|
+
const _CG = "CreateGroup";
|
|
291
|
+
const _CGM = "CreateGroupMembership";
|
|
292
|
+
const _CGMR = "CreateGroupMembershipRequest";
|
|
293
|
+
const _CGMRr = "CreateGroupMembershipResponse";
|
|
294
|
+
const _CGR = "CreateGroupRequest";
|
|
295
|
+
const _CGRr = "CreateGroupResponse";
|
|
296
|
+
const _CU = "CreateUser";
|
|
297
|
+
const _CUR = "CreateUserRequest";
|
|
298
|
+
const _CURr = "CreateUserResponse";
|
|
299
|
+
const _D = "Description";
|
|
300
|
+
const _DG = "DeleteGroup";
|
|
301
|
+
const _DGM = "DeleteGroupMembership";
|
|
302
|
+
const _DGMR = "DeleteGroupMembershipRequest";
|
|
303
|
+
const _DGMRe = "DeleteGroupMembershipResponse";
|
|
304
|
+
const _DGMRes = "DescribeGroupMembershipRequest";
|
|
305
|
+
const _DGMResc = "DescribeGroupMembershipResponse";
|
|
306
|
+
const _DGMe = "DescribeGroupMembership";
|
|
307
|
+
const _DGR = "DeleteGroupRequest";
|
|
308
|
+
const _DGRe = "DeleteGroupResponse";
|
|
309
|
+
const _DGRes = "DescribeGroupRequest";
|
|
310
|
+
const _DGResc = "DescribeGroupResponse";
|
|
311
|
+
const _DGe = "DescribeGroup";
|
|
312
|
+
const _DN = "DisplayName";
|
|
313
|
+
const _DU = "DeleteUser";
|
|
314
|
+
const _DUR = "DeleteUserRequest";
|
|
315
|
+
const _DURe = "DeleteUserResponse";
|
|
316
|
+
const _DURes = "DescribeUserRequest";
|
|
317
|
+
const _DUResc = "DescribeUserResponse";
|
|
318
|
+
const _DUe = "DescribeUser";
|
|
319
|
+
const _Di = "Display";
|
|
320
|
+
const _E = "Emails";
|
|
321
|
+
const _EI = "ExternalIds";
|
|
322
|
+
const _EII = "ExternalIdIdentifier";
|
|
323
|
+
const _EIIx = "ExternalIdIssuer";
|
|
324
|
+
const _EIx = "ExternalId";
|
|
325
|
+
const _Em = "Email";
|
|
326
|
+
const _Ex = "Extensions";
|
|
327
|
+
const _F = "Formatted";
|
|
328
|
+
const _FN = "FamilyName";
|
|
329
|
+
const _Fi = "Filter";
|
|
330
|
+
const _Fil = "Filters";
|
|
331
|
+
const _G = "Group";
|
|
332
|
+
const _GDN = "GroupDisplayName";
|
|
333
|
+
const _GGI = "GetGroupId";
|
|
334
|
+
const _GGIR = "GetGroupIdRequest";
|
|
335
|
+
const _GGIRe = "GetGroupIdResponse";
|
|
336
|
+
const _GGMI = "GetGroupMembershipId";
|
|
337
|
+
const _GGMIR = "GetGroupMembershipIdRequest";
|
|
338
|
+
const _GGMIRe = "GetGroupMembershipIdResponse";
|
|
339
|
+
const _GI = "GroupId";
|
|
340
|
+
const _GIr = "GroupIds";
|
|
341
|
+
const _GM = "GroupMembership";
|
|
342
|
+
const _GMER = "GroupMembershipExistenceResult";
|
|
343
|
+
const _GMERr = "GroupMembershipExistenceResults";
|
|
344
|
+
const _GMr = "GroupMemberships";
|
|
345
|
+
const _GN = "GivenName";
|
|
346
|
+
const _GUI = "GetUserId";
|
|
347
|
+
const _GUIR = "GetUserIdRequest";
|
|
348
|
+
const _GUIRe = "GetUserIdResponse";
|
|
349
|
+
const _Gr = "Groups";
|
|
350
|
+
const _HP = "HonorificPrefix";
|
|
351
|
+
const _HS = "HonorificSuffix";
|
|
352
|
+
const _I = "Issuer";
|
|
353
|
+
const _IMIG = "IsMemberInGroups";
|
|
354
|
+
const _IMIGR = "IsMemberInGroupsRequest";
|
|
355
|
+
const _IMIGRs = "IsMemberInGroupsResponse";
|
|
356
|
+
const _ISE = "InternalServerException";
|
|
357
|
+
const _ISI = "IdentityStoreId";
|
|
358
|
+
const _Id = "Id";
|
|
359
|
+
const _L = "Locality";
|
|
360
|
+
const _LG = "ListGroups";
|
|
361
|
+
const _LGM = "ListGroupMemberships";
|
|
362
|
+
const _LGMFM = "ListGroupMembershipsForMember";
|
|
363
|
+
const _LGMFMR = "ListGroupMembershipsForMemberRequest";
|
|
364
|
+
const _LGMFMRi = "ListGroupMembershipsForMemberResponse";
|
|
365
|
+
const _LGMR = "ListGroupMembershipsRequest";
|
|
366
|
+
const _LGMRi = "ListGroupMembershipsResponse";
|
|
367
|
+
const _LGR = "ListGroupsRequest";
|
|
368
|
+
const _LGRi = "ListGroupsResponse";
|
|
369
|
+
const _LU = "ListUsers";
|
|
370
|
+
const _LUR = "ListUsersRequest";
|
|
371
|
+
const _LURi = "ListUsersResponse";
|
|
372
|
+
const _Lo = "Locale";
|
|
373
|
+
const _M = "Message";
|
|
374
|
+
const _ME = "MembershipExists";
|
|
375
|
+
const _MI = "MemberId";
|
|
376
|
+
const _MIe = "MembershipId";
|
|
377
|
+
const _MN = "MiddleName";
|
|
378
|
+
const _MR = "MaxResults";
|
|
379
|
+
const _N = "Name";
|
|
380
|
+
const _NN = "NickName";
|
|
381
|
+
const _NT = "NextToken";
|
|
382
|
+
const _O = "Operations";
|
|
383
|
+
const _P = "Primary";
|
|
384
|
+
const _PC = "PostalCode";
|
|
385
|
+
const _PL = "PreferredLanguage";
|
|
386
|
+
const _PN = "PhoneNumbers";
|
|
387
|
+
const _PNh = "PhoneNumber";
|
|
388
|
+
const _PU = "ProfileUrl";
|
|
389
|
+
const _Ph = "Photos";
|
|
390
|
+
const _Pho = "Photo";
|
|
391
|
+
const _R = "Reason";
|
|
392
|
+
const _RA = "Retry-After";
|
|
393
|
+
const _RAS = "RetryAfterSeconds";
|
|
394
|
+
const _RI = "RequestId";
|
|
395
|
+
const _RIe = "ResourceId";
|
|
396
|
+
const _RNFE = "ResourceNotFoundException";
|
|
397
|
+
const _RT = "ResourceType";
|
|
398
|
+
const _Re = "Region";
|
|
399
|
+
const _Res = "Results";
|
|
400
|
+
const _Ro = "Roles";
|
|
401
|
+
const _Rol = "Role";
|
|
402
|
+
const _SA = "StreetAddress";
|
|
403
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
404
|
+
const _SST = "SensitiveStringType";
|
|
405
|
+
const _T = "Type";
|
|
406
|
+
const _TE = "ThrottlingException";
|
|
407
|
+
const _Ti = "Title";
|
|
408
|
+
const _Tim = "Timezone";
|
|
409
|
+
const _U = "Users";
|
|
410
|
+
const _UA = "UpdatedAt";
|
|
411
|
+
const _UAn = "UniqueAttribute";
|
|
412
|
+
const _UB = "UpdatedBy";
|
|
413
|
+
const _UG = "UpdateGroup";
|
|
414
|
+
const _UGR = "UpdateGroupRequest";
|
|
415
|
+
const _UGRp = "UpdateGroupResponse";
|
|
416
|
+
const _UI = "UserId";
|
|
417
|
+
const _UN = "UserName";
|
|
418
|
+
const _US = "UserStatus";
|
|
419
|
+
const _UT = "UserType";
|
|
420
|
+
const _UU = "UpdateUser";
|
|
421
|
+
const _UUR = "UpdateUserRequest";
|
|
422
|
+
const _UURp = "UpdateUserResponse";
|
|
423
|
+
const _Us = "User";
|
|
424
|
+
const _V = "Value";
|
|
425
|
+
const _VE = "ValidationException";
|
|
426
|
+
const _W = "Website";
|
|
427
|
+
const _c = "client";
|
|
428
|
+
const _e = "error";
|
|
429
|
+
const _hE = "httpError";
|
|
430
|
+
const _hH = "httpHeader";
|
|
431
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.identitystore";
|
|
432
|
+
const _se = "server";
|
|
433
|
+
const n0 = "com.amazonaws.identitystore";
|
|
434
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
435
|
+
var IdentitystoreServiceException$ = [-3, _s, "IdentitystoreServiceException", 0, [], []];
|
|
436
|
+
_s_registry.registerError(IdentitystoreServiceException$, IdentitystoreServiceException);
|
|
437
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
438
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
439
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
440
|
+
[_M, _RI, _R],
|
|
441
|
+
[0, 0, 0]
|
|
442
|
+
];
|
|
443
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
444
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
445
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
446
|
+
[_M, _RI, _R],
|
|
447
|
+
[0, 0, 0]
|
|
448
|
+
];
|
|
449
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
450
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
451
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
452
|
+
[_M, _RI, _RAS],
|
|
453
|
+
[0, 0, [1, { [_hH]: _RA }]]
|
|
454
|
+
];
|
|
455
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
456
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
457
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
458
|
+
[_RT, _RIe, _R, _M, _RI],
|
|
459
|
+
[0, 0, 0, 0, 0]
|
|
460
|
+
];
|
|
461
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
462
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
463
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
464
|
+
[_M, _RI],
|
|
465
|
+
[0, 0]
|
|
466
|
+
];
|
|
467
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
468
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
469
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
470
|
+
[_M, _RI, _RAS, _R],
|
|
471
|
+
[0, 0, [1, { [_hH]: _RA }], 0]
|
|
472
|
+
];
|
|
473
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
474
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
475
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
476
|
+
[_M, _RI, _R],
|
|
477
|
+
[0, 0, 0]
|
|
478
|
+
];
|
|
479
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
480
|
+
const errorTypeRegistries = [
|
|
481
|
+
_s_registry,
|
|
482
|
+
n0_registry,
|
|
483
|
+
];
|
|
484
|
+
var ExternalIdIdentifier = [0, n0, _EII, 8, 0];
|
|
485
|
+
var ExternalIdIssuer = [0, n0, _EIIx, 8, 0];
|
|
486
|
+
var GroupDisplayName = [0, n0, _GDN, 8, 0];
|
|
487
|
+
var SensitiveStringType = [0, n0, _SST, 8, 0];
|
|
488
|
+
var UserName = [0, n0, _UN, 8, 0];
|
|
489
|
+
var Address$ = [3, n0, _A,
|
|
490
|
+
0,
|
|
491
|
+
[_SA, _L, _Re, _PC, _C, _F, _T, _P],
|
|
492
|
+
[[() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], 2]
|
|
493
|
+
];
|
|
494
|
+
var AttributeOperation$ = [3, n0, _AO,
|
|
495
|
+
0,
|
|
496
|
+
[_AP, _AV],
|
|
497
|
+
[0, 15], 1
|
|
498
|
+
];
|
|
499
|
+
var CreateGroupMembershipRequest$ = [3, n0, _CGMR,
|
|
500
|
+
0,
|
|
501
|
+
[_ISI, _GI, _MI],
|
|
502
|
+
[0, 0, () => MemberId$], 3
|
|
503
|
+
];
|
|
504
|
+
var CreateGroupMembershipResponse$ = [3, n0, _CGMRr,
|
|
505
|
+
0,
|
|
506
|
+
[_MIe, _ISI],
|
|
507
|
+
[0, 0], 2
|
|
508
|
+
];
|
|
509
|
+
var CreateGroupRequest$ = [3, n0, _CGR,
|
|
510
|
+
0,
|
|
511
|
+
[_ISI, _DN, _D],
|
|
512
|
+
[0, [() => GroupDisplayName, 0], [() => SensitiveStringType, 0]], 1
|
|
513
|
+
];
|
|
514
|
+
var CreateGroupResponse$ = [3, n0, _CGRr,
|
|
515
|
+
0,
|
|
516
|
+
[_GI, _ISI],
|
|
517
|
+
[0, 0], 2
|
|
518
|
+
];
|
|
519
|
+
var CreateUserRequest$ = [3, n0, _CUR,
|
|
520
|
+
0,
|
|
521
|
+
[_ISI, _UN, _N, _DN, _NN, _PU, _E, _Ad, _PN, _UT, _Ti, _PL, _Lo, _Tim, _Ph, _W, _B, _Ro, _Ex],
|
|
522
|
+
[0, [() => UserName, 0], [() => Name$, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => Emails, 0], [() => Addresses, 0], [() => PhoneNumbers, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => Photos, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => Roles, 0], 128 | 15], 1
|
|
523
|
+
];
|
|
524
|
+
var CreateUserResponse$ = [3, n0, _CURr,
|
|
525
|
+
0,
|
|
526
|
+
[_ISI, _UI],
|
|
527
|
+
[0, 0], 2
|
|
528
|
+
];
|
|
529
|
+
var DeleteGroupMembershipRequest$ = [3, n0, _DGMR,
|
|
530
|
+
0,
|
|
531
|
+
[_ISI, _MIe],
|
|
532
|
+
[0, 0], 2
|
|
533
|
+
];
|
|
534
|
+
var DeleteGroupMembershipResponse$ = [3, n0, _DGMRe,
|
|
535
|
+
0,
|
|
536
|
+
[],
|
|
537
|
+
[]
|
|
538
|
+
];
|
|
539
|
+
var DeleteGroupRequest$ = [3, n0, _DGR,
|
|
540
|
+
0,
|
|
541
|
+
[_ISI, _GI],
|
|
542
|
+
[0, 0], 2
|
|
543
|
+
];
|
|
544
|
+
var DeleteGroupResponse$ = [3, n0, _DGRe,
|
|
545
|
+
0,
|
|
546
|
+
[],
|
|
547
|
+
[]
|
|
548
|
+
];
|
|
549
|
+
var DeleteUserRequest$ = [3, n0, _DUR,
|
|
550
|
+
0,
|
|
551
|
+
[_ISI, _UI],
|
|
552
|
+
[0, 0], 2
|
|
553
|
+
];
|
|
554
|
+
var DeleteUserResponse$ = [3, n0, _DURe,
|
|
555
|
+
0,
|
|
556
|
+
[],
|
|
557
|
+
[]
|
|
558
|
+
];
|
|
559
|
+
var DescribeGroupMembershipRequest$ = [3, n0, _DGMRes,
|
|
560
|
+
0,
|
|
561
|
+
[_ISI, _MIe],
|
|
562
|
+
[0, 0], 2
|
|
563
|
+
];
|
|
564
|
+
var DescribeGroupMembershipResponse$ = [3, n0, _DGMResc,
|
|
565
|
+
0,
|
|
566
|
+
[_ISI, _MIe, _GI, _MI, _CA, _UA, _CB, _UB],
|
|
567
|
+
[0, 0, 0, () => MemberId$, 4, 4, 0, 0], 4
|
|
568
|
+
];
|
|
569
|
+
var DescribeGroupRequest$ = [3, n0, _DGRes,
|
|
570
|
+
0,
|
|
571
|
+
[_ISI, _GI],
|
|
572
|
+
[0, 0], 2
|
|
573
|
+
];
|
|
574
|
+
var DescribeGroupResponse$ = [3, n0, _DGResc,
|
|
575
|
+
0,
|
|
576
|
+
[_GI, _ISI, _DN, _EI, _D, _CA, _UA, _CB, _UB],
|
|
577
|
+
[0, 0, [() => GroupDisplayName, 0], [() => ExternalIds, 0], [() => SensitiveStringType, 0], 4, 4, 0, 0], 2
|
|
578
|
+
];
|
|
579
|
+
var DescribeUserRequest$ = [3, n0, _DURes,
|
|
580
|
+
0,
|
|
581
|
+
[_ISI, _UI, _Ex],
|
|
582
|
+
[0, 0, 64 | 0], 2
|
|
583
|
+
];
|
|
584
|
+
var DescribeUserResponse$ = [3, n0, _DUResc,
|
|
585
|
+
0,
|
|
586
|
+
[_ISI, _UI, _UN, _EI, _N, _DN, _NN, _PU, _E, _Ad, _PN, _UT, _Ti, _PL, _Lo, _Tim, _US, _Ph, _W, _B, _Ro, _CA, _CB, _UA, _UB, _Ex],
|
|
587
|
+
[0, 0, [() => UserName, 0], [() => ExternalIds, 0], [() => Name$, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => Emails, 0], [() => Addresses, 0], [() => PhoneNumbers, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], 0, [() => Photos, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => Roles, 0], 4, 0, 4, 0, 128 | 15], 2
|
|
588
|
+
];
|
|
589
|
+
var Email$ = [3, n0, _Em,
|
|
590
|
+
0,
|
|
591
|
+
[_V, _T, _P],
|
|
592
|
+
[[() => SensitiveStringType, 0], [() => SensitiveStringType, 0], 2]
|
|
593
|
+
];
|
|
594
|
+
var ExternalId$ = [3, n0, _EIx,
|
|
595
|
+
0,
|
|
596
|
+
[_I, _Id],
|
|
597
|
+
[[() => ExternalIdIssuer, 0], [() => ExternalIdIdentifier, 0]], 2
|
|
598
|
+
];
|
|
599
|
+
var Filter$ = [3, n0, _Fi,
|
|
600
|
+
0,
|
|
601
|
+
[_AP, _AV],
|
|
602
|
+
[0, [() => SensitiveStringType, 0]], 2
|
|
603
|
+
];
|
|
604
|
+
var GetGroupIdRequest$ = [3, n0, _GGIR,
|
|
605
|
+
0,
|
|
606
|
+
[_ISI, _AI],
|
|
607
|
+
[0, [() => AlternateIdentifier$, 0]], 2
|
|
608
|
+
];
|
|
609
|
+
var GetGroupIdResponse$ = [3, n0, _GGIRe,
|
|
610
|
+
0,
|
|
611
|
+
[_GI, _ISI],
|
|
612
|
+
[0, 0], 2
|
|
613
|
+
];
|
|
614
|
+
var GetGroupMembershipIdRequest$ = [3, n0, _GGMIR,
|
|
615
|
+
0,
|
|
616
|
+
[_ISI, _GI, _MI],
|
|
617
|
+
[0, 0, () => MemberId$], 3
|
|
618
|
+
];
|
|
619
|
+
var GetGroupMembershipIdResponse$ = [3, n0, _GGMIRe,
|
|
620
|
+
0,
|
|
621
|
+
[_MIe, _ISI],
|
|
622
|
+
[0, 0], 2
|
|
623
|
+
];
|
|
624
|
+
var GetUserIdRequest$ = [3, n0, _GUIR,
|
|
625
|
+
0,
|
|
626
|
+
[_ISI, _AI],
|
|
627
|
+
[0, [() => AlternateIdentifier$, 0]], 2
|
|
628
|
+
];
|
|
629
|
+
var GetUserIdResponse$ = [3, n0, _GUIRe,
|
|
630
|
+
0,
|
|
631
|
+
[_ISI, _UI],
|
|
632
|
+
[0, 0], 2
|
|
633
|
+
];
|
|
634
|
+
var Group$ = [3, n0, _G,
|
|
635
|
+
0,
|
|
636
|
+
[_GI, _ISI, _DN, _EI, _D, _CA, _UA, _CB, _UB],
|
|
637
|
+
[0, 0, [() => GroupDisplayName, 0], [() => ExternalIds, 0], [() => SensitiveStringType, 0], 4, 4, 0, 0], 2
|
|
638
|
+
];
|
|
639
|
+
var GroupMembership$ = [3, n0, _GM,
|
|
640
|
+
0,
|
|
641
|
+
[_ISI, _MIe, _GI, _MI, _CA, _UA, _CB, _UB],
|
|
642
|
+
[0, 0, 0, () => MemberId$, 4, 4, 0, 0], 1
|
|
643
|
+
];
|
|
644
|
+
var GroupMembershipExistenceResult$ = [3, n0, _GMER,
|
|
645
|
+
0,
|
|
646
|
+
[_GI, _MI, _ME],
|
|
647
|
+
[0, () => MemberId$, 2]
|
|
648
|
+
];
|
|
649
|
+
var IsMemberInGroupsRequest$ = [3, n0, _IMIGR,
|
|
650
|
+
0,
|
|
651
|
+
[_ISI, _MI, _GIr],
|
|
652
|
+
[0, () => MemberId$, 64 | 0], 3
|
|
653
|
+
];
|
|
654
|
+
var IsMemberInGroupsResponse$ = [3, n0, _IMIGRs,
|
|
655
|
+
0,
|
|
656
|
+
[_Res],
|
|
657
|
+
[() => GroupMembershipExistenceResults], 1
|
|
658
|
+
];
|
|
659
|
+
var ListGroupMembershipsForMemberRequest$ = [3, n0, _LGMFMR,
|
|
660
|
+
0,
|
|
661
|
+
[_ISI, _MI, _MR, _NT],
|
|
662
|
+
[0, () => MemberId$, 1, 0], 2
|
|
663
|
+
];
|
|
664
|
+
var ListGroupMembershipsForMemberResponse$ = [3, n0, _LGMFMRi,
|
|
665
|
+
0,
|
|
666
|
+
[_GMr, _NT],
|
|
667
|
+
[() => GroupMemberships, 0], 1
|
|
668
|
+
];
|
|
669
|
+
var ListGroupMembershipsRequest$ = [3, n0, _LGMR,
|
|
670
|
+
0,
|
|
671
|
+
[_ISI, _GI, _MR, _NT],
|
|
672
|
+
[0, 0, 1, 0], 2
|
|
673
|
+
];
|
|
674
|
+
var ListGroupMembershipsResponse$ = [3, n0, _LGMRi,
|
|
675
|
+
0,
|
|
676
|
+
[_GMr, _NT],
|
|
677
|
+
[() => GroupMemberships, 0], 1
|
|
678
|
+
];
|
|
679
|
+
var ListGroupsRequest$ = [3, n0, _LGR,
|
|
680
|
+
0,
|
|
681
|
+
[_ISI, _MR, _NT, _Fil],
|
|
682
|
+
[0, 1, 0, [() => Filters, 0]], 1
|
|
683
|
+
];
|
|
684
|
+
var ListGroupsResponse$ = [3, n0, _LGRi,
|
|
685
|
+
0,
|
|
686
|
+
[_Gr, _NT],
|
|
687
|
+
[[() => Groups, 0], 0], 1
|
|
688
|
+
];
|
|
689
|
+
var ListUsersRequest$ = [3, n0, _LUR,
|
|
690
|
+
0,
|
|
691
|
+
[_ISI, _Ex, _MR, _NT, _Fil],
|
|
692
|
+
[0, 64 | 0, 1, 0, [() => Filters, 0]], 1
|
|
693
|
+
];
|
|
694
|
+
var ListUsersResponse$ = [3, n0, _LURi,
|
|
695
|
+
0,
|
|
696
|
+
[_U, _NT],
|
|
697
|
+
[[() => Users, 0], 0], 1
|
|
698
|
+
];
|
|
699
|
+
var Name$ = [3, n0, _N,
|
|
700
|
+
0,
|
|
701
|
+
[_F, _FN, _GN, _MN, _HP, _HS],
|
|
702
|
+
[[() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0]]
|
|
703
|
+
];
|
|
704
|
+
var PhoneNumber$ = [3, n0, _PNh,
|
|
705
|
+
0,
|
|
706
|
+
[_V, _T, _P],
|
|
707
|
+
[[() => SensitiveStringType, 0], [() => SensitiveStringType, 0], 2]
|
|
708
|
+
];
|
|
709
|
+
var Photo$ = [3, n0, _Pho,
|
|
710
|
+
0,
|
|
711
|
+
[_V, _T, _Di, _P],
|
|
712
|
+
[[() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], 2], 1
|
|
713
|
+
];
|
|
714
|
+
var Role$ = [3, n0, _Rol,
|
|
715
|
+
0,
|
|
716
|
+
[_V, _T, _P],
|
|
717
|
+
[[() => SensitiveStringType, 0], [() => SensitiveStringType, 0], 2]
|
|
718
|
+
];
|
|
719
|
+
var UniqueAttribute$ = [3, n0, _UAn,
|
|
720
|
+
0,
|
|
721
|
+
[_AP, _AV],
|
|
722
|
+
[0, 15], 2
|
|
723
|
+
];
|
|
724
|
+
var UpdateGroupRequest$ = [3, n0, _UGR,
|
|
725
|
+
0,
|
|
726
|
+
[_ISI, _GI, _O],
|
|
727
|
+
[0, 0, () => AttributeOperations], 3
|
|
728
|
+
];
|
|
729
|
+
var UpdateGroupResponse$ = [3, n0, _UGRp,
|
|
730
|
+
0,
|
|
731
|
+
[],
|
|
732
|
+
[]
|
|
733
|
+
];
|
|
734
|
+
var UpdateUserRequest$ = [3, n0, _UUR,
|
|
735
|
+
0,
|
|
736
|
+
[_ISI, _UI, _O],
|
|
737
|
+
[0, 0, () => AttributeOperations], 3
|
|
738
|
+
];
|
|
739
|
+
var UpdateUserResponse$ = [3, n0, _UURp,
|
|
740
|
+
0,
|
|
741
|
+
[],
|
|
742
|
+
[]
|
|
743
|
+
];
|
|
744
|
+
var User$ = [3, n0, _Us,
|
|
745
|
+
0,
|
|
746
|
+
[_ISI, _UI, _UN, _EI, _N, _DN, _NN, _PU, _E, _Ad, _PN, _UT, _Ti, _PL, _Lo, _Tim, _US, _Ph, _W, _B, _Ro, _CA, _CB, _UA, _UB, _Ex],
|
|
747
|
+
[0, 0, [() => UserName, 0], [() => ExternalIds, 0], [() => Name$, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => Emails, 0], [() => Addresses, 0], [() => PhoneNumbers, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], 0, [() => Photos, 0], [() => SensitiveStringType, 0], [() => SensitiveStringType, 0], [() => Roles, 0], 4, 0, 4, 0, 128 | 15], 2
|
|
748
|
+
];
|
|
749
|
+
var Addresses = [1, n0, _Ad,
|
|
750
|
+
0, [() => Address$,
|
|
751
|
+
0]
|
|
752
|
+
];
|
|
753
|
+
var AttributeOperations = [1, n0, _AOt,
|
|
754
|
+
0, () => AttributeOperation$
|
|
755
|
+
];
|
|
756
|
+
var Emails = [1, n0, _E,
|
|
757
|
+
0, [() => Email$,
|
|
758
|
+
0]
|
|
759
|
+
];
|
|
760
|
+
var ExternalIds = [1, n0, _EI,
|
|
761
|
+
0, [() => ExternalId$,
|
|
762
|
+
0]
|
|
763
|
+
];
|
|
764
|
+
var Filters = [1, n0, _Fil,
|
|
765
|
+
0, [() => Filter$,
|
|
766
|
+
0]
|
|
767
|
+
];
|
|
768
|
+
var GroupMembershipExistenceResults = [1, n0, _GMERr,
|
|
769
|
+
0, () => GroupMembershipExistenceResult$
|
|
770
|
+
];
|
|
771
|
+
var GroupMemberships = [1, n0, _GMr,
|
|
772
|
+
0, () => GroupMembership$
|
|
773
|
+
];
|
|
774
|
+
var Groups = [1, n0, _Gr,
|
|
775
|
+
0, [() => Group$,
|
|
776
|
+
0]
|
|
777
|
+
];
|
|
778
|
+
var PhoneNumbers = [1, n0, _PN,
|
|
779
|
+
0, [() => PhoneNumber$,
|
|
780
|
+
0]
|
|
781
|
+
];
|
|
782
|
+
var Photos = [1, n0, _Ph,
|
|
783
|
+
0, [() => Photo$,
|
|
784
|
+
0]
|
|
785
|
+
];
|
|
786
|
+
var Roles = [1, n0, _Ro,
|
|
787
|
+
0, [() => Role$,
|
|
788
|
+
0]
|
|
789
|
+
];
|
|
790
|
+
var Users = [1, n0, _U,
|
|
791
|
+
0, [() => User$,
|
|
792
|
+
0]
|
|
793
|
+
];
|
|
794
|
+
var AlternateIdentifier$ = [4, n0, _AI,
|
|
795
|
+
0,
|
|
796
|
+
[_EIx, _UAn],
|
|
797
|
+
[[() => ExternalId$, 0], () => UniqueAttribute$]
|
|
798
|
+
];
|
|
799
|
+
var MemberId$ = [4, n0, _MI,
|
|
800
|
+
0,
|
|
801
|
+
[_UI],
|
|
802
|
+
[0]
|
|
803
|
+
];
|
|
804
|
+
var CreateGroup$ = [9, n0, _CG,
|
|
805
|
+
0, () => CreateGroupRequest$, () => CreateGroupResponse$
|
|
806
|
+
];
|
|
807
|
+
var CreateGroupMembership$ = [9, n0, _CGM,
|
|
808
|
+
0, () => CreateGroupMembershipRequest$, () => CreateGroupMembershipResponse$
|
|
809
|
+
];
|
|
810
|
+
var CreateUser$ = [9, n0, _CU,
|
|
811
|
+
0, () => CreateUserRequest$, () => CreateUserResponse$
|
|
812
|
+
];
|
|
813
|
+
var DeleteGroup$ = [9, n0, _DG,
|
|
814
|
+
2, () => DeleteGroupRequest$, () => DeleteGroupResponse$
|
|
815
|
+
];
|
|
816
|
+
var DeleteGroupMembership$ = [9, n0, _DGM,
|
|
817
|
+
2, () => DeleteGroupMembershipRequest$, () => DeleteGroupMembershipResponse$
|
|
818
|
+
];
|
|
819
|
+
var DeleteUser$ = [9, n0, _DU,
|
|
820
|
+
2, () => DeleteUserRequest$, () => DeleteUserResponse$
|
|
821
|
+
];
|
|
822
|
+
var DescribeGroup$ = [9, n0, _DGe,
|
|
823
|
+
0, () => DescribeGroupRequest$, () => DescribeGroupResponse$
|
|
824
|
+
];
|
|
825
|
+
var DescribeGroupMembership$ = [9, n0, _DGMe,
|
|
826
|
+
0, () => DescribeGroupMembershipRequest$, () => DescribeGroupMembershipResponse$
|
|
827
|
+
];
|
|
828
|
+
var DescribeUser$ = [9, n0, _DUe,
|
|
829
|
+
0, () => DescribeUserRequest$, () => DescribeUserResponse$
|
|
830
|
+
];
|
|
831
|
+
var GetGroupId$ = [9, n0, _GGI,
|
|
832
|
+
0, () => GetGroupIdRequest$, () => GetGroupIdResponse$
|
|
833
|
+
];
|
|
834
|
+
var GetGroupMembershipId$ = [9, n0, _GGMI,
|
|
835
|
+
0, () => GetGroupMembershipIdRequest$, () => GetGroupMembershipIdResponse$
|
|
836
|
+
];
|
|
837
|
+
var GetUserId$ = [9, n0, _GUI,
|
|
838
|
+
0, () => GetUserIdRequest$, () => GetUserIdResponse$
|
|
839
|
+
];
|
|
840
|
+
var IsMemberInGroups$ = [9, n0, _IMIG,
|
|
841
|
+
0, () => IsMemberInGroupsRequest$, () => IsMemberInGroupsResponse$
|
|
842
|
+
];
|
|
843
|
+
var ListGroupMemberships$ = [9, n0, _LGM,
|
|
844
|
+
0, () => ListGroupMembershipsRequest$, () => ListGroupMembershipsResponse$
|
|
845
|
+
];
|
|
846
|
+
var ListGroupMembershipsForMember$ = [9, n0, _LGMFM,
|
|
847
|
+
0, () => ListGroupMembershipsForMemberRequest$, () => ListGroupMembershipsForMemberResponse$
|
|
848
|
+
];
|
|
849
|
+
var ListGroups$ = [9, n0, _LG,
|
|
850
|
+
0, () => ListGroupsRequest$, () => ListGroupsResponse$
|
|
851
|
+
];
|
|
852
|
+
var ListUsers$ = [9, n0, _LU,
|
|
853
|
+
0, () => ListUsersRequest$, () => ListUsersResponse$
|
|
854
|
+
];
|
|
855
|
+
var UpdateGroup$ = [9, n0, _UG,
|
|
856
|
+
0, () => UpdateGroupRequest$, () => UpdateGroupResponse$
|
|
857
|
+
];
|
|
858
|
+
var UpdateUser$ = [9, n0, _UU,
|
|
859
|
+
0, () => UpdateUserRequest$, () => UpdateUserResponse$
|
|
860
|
+
];
|
|
861
|
+
|
|
862
|
+
const getRuntimeConfig$1 = (config) => {
|
|
863
|
+
return {
|
|
864
|
+
apiVersion: "2020-06-15",
|
|
865
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
866
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
867
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
868
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
869
|
+
extensions: config?.extensions ?? [],
|
|
870
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultIdentitystoreHttpAuthSchemeProvider,
|
|
871
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
872
|
+
{
|
|
873
|
+
schemeId: "aws.auth#sigv4",
|
|
874
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
875
|
+
signer: new AwsSdkSigV4Signer(),
|
|
876
|
+
},
|
|
877
|
+
],
|
|
878
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
879
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
880
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
881
|
+
defaultNamespace: "com.amazonaws.identitystore",
|
|
882
|
+
errorTypeRegistries,
|
|
883
|
+
version: "2020-06-15",
|
|
884
|
+
serviceTarget: "AWSIdentityStore",
|
|
885
|
+
},
|
|
886
|
+
serviceId: config?.serviceId ?? "identitystore",
|
|
887
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
888
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
889
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
890
|
+
};
|
|
891
|
+
};
|
|
892
|
+
|
|
893
|
+
const getRuntimeConfig = (config) => {
|
|
894
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
895
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
896
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
897
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
898
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
899
|
+
const loaderConfig = {
|
|
900
|
+
profile: config?.profile,
|
|
901
|
+
logger: clientSharedValues.logger,
|
|
902
|
+
};
|
|
903
|
+
return {
|
|
904
|
+
...clientSharedValues,
|
|
905
|
+
...config,
|
|
906
|
+
runtime: "node",
|
|
907
|
+
defaultsMode,
|
|
908
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
909
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
910
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
911
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
912
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
913
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
914
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
915
|
+
retryMode: config?.retryMode ??
|
|
916
|
+
loadConfig({
|
|
917
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
918
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
919
|
+
}, config),
|
|
920
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
921
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
922
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
923
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
924
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
|
|
34
928
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
929
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
930
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -409,34 +1303,124 @@ const UserStatus = {
|
|
|
409
1303
|
ENABLED: "ENABLED",
|
|
410
1304
|
};
|
|
411
1305
|
|
|
1306
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1307
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
412
1308
|
exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
|
|
1309
|
+
exports.Address$ = Address$;
|
|
1310
|
+
exports.AlternateIdentifier$ = AlternateIdentifier$;
|
|
1311
|
+
exports.AttributeOperation$ = AttributeOperation$;
|
|
1312
|
+
exports.ConflictException = ConflictException;
|
|
1313
|
+
exports.ConflictException$ = ConflictException$;
|
|
413
1314
|
exports.ConflictExceptionReason = ConflictExceptionReason;
|
|
1315
|
+
exports.CreateGroup$ = CreateGroup$;
|
|
414
1316
|
exports.CreateGroupCommand = CreateGroupCommand;
|
|
1317
|
+
exports.CreateGroupMembership$ = CreateGroupMembership$;
|
|
415
1318
|
exports.CreateGroupMembershipCommand = CreateGroupMembershipCommand;
|
|
1319
|
+
exports.CreateGroupMembershipRequest$ = CreateGroupMembershipRequest$;
|
|
1320
|
+
exports.CreateGroupMembershipResponse$ = CreateGroupMembershipResponse$;
|
|
1321
|
+
exports.CreateGroupRequest$ = CreateGroupRequest$;
|
|
1322
|
+
exports.CreateGroupResponse$ = CreateGroupResponse$;
|
|
1323
|
+
exports.CreateUser$ = CreateUser$;
|
|
416
1324
|
exports.CreateUserCommand = CreateUserCommand;
|
|
1325
|
+
exports.CreateUserRequest$ = CreateUserRequest$;
|
|
1326
|
+
exports.CreateUserResponse$ = CreateUserResponse$;
|
|
1327
|
+
exports.DeleteGroup$ = DeleteGroup$;
|
|
417
1328
|
exports.DeleteGroupCommand = DeleteGroupCommand;
|
|
1329
|
+
exports.DeleteGroupMembership$ = DeleteGroupMembership$;
|
|
418
1330
|
exports.DeleteGroupMembershipCommand = DeleteGroupMembershipCommand;
|
|
1331
|
+
exports.DeleteGroupMembershipRequest$ = DeleteGroupMembershipRequest$;
|
|
1332
|
+
exports.DeleteGroupMembershipResponse$ = DeleteGroupMembershipResponse$;
|
|
1333
|
+
exports.DeleteGroupRequest$ = DeleteGroupRequest$;
|
|
1334
|
+
exports.DeleteGroupResponse$ = DeleteGroupResponse$;
|
|
1335
|
+
exports.DeleteUser$ = DeleteUser$;
|
|
419
1336
|
exports.DeleteUserCommand = DeleteUserCommand;
|
|
1337
|
+
exports.DeleteUserRequest$ = DeleteUserRequest$;
|
|
1338
|
+
exports.DeleteUserResponse$ = DeleteUserResponse$;
|
|
1339
|
+
exports.DescribeGroup$ = DescribeGroup$;
|
|
420
1340
|
exports.DescribeGroupCommand = DescribeGroupCommand;
|
|
1341
|
+
exports.DescribeGroupMembership$ = DescribeGroupMembership$;
|
|
421
1342
|
exports.DescribeGroupMembershipCommand = DescribeGroupMembershipCommand;
|
|
1343
|
+
exports.DescribeGroupMembershipRequest$ = DescribeGroupMembershipRequest$;
|
|
1344
|
+
exports.DescribeGroupMembershipResponse$ = DescribeGroupMembershipResponse$;
|
|
1345
|
+
exports.DescribeGroupRequest$ = DescribeGroupRequest$;
|
|
1346
|
+
exports.DescribeGroupResponse$ = DescribeGroupResponse$;
|
|
1347
|
+
exports.DescribeUser$ = DescribeUser$;
|
|
422
1348
|
exports.DescribeUserCommand = DescribeUserCommand;
|
|
1349
|
+
exports.DescribeUserRequest$ = DescribeUserRequest$;
|
|
1350
|
+
exports.DescribeUserResponse$ = DescribeUserResponse$;
|
|
1351
|
+
exports.Email$ = Email$;
|
|
1352
|
+
exports.ExternalId$ = ExternalId$;
|
|
1353
|
+
exports.Filter$ = Filter$;
|
|
1354
|
+
exports.GetGroupId$ = GetGroupId$;
|
|
423
1355
|
exports.GetGroupIdCommand = GetGroupIdCommand;
|
|
1356
|
+
exports.GetGroupIdRequest$ = GetGroupIdRequest$;
|
|
1357
|
+
exports.GetGroupIdResponse$ = GetGroupIdResponse$;
|
|
1358
|
+
exports.GetGroupMembershipId$ = GetGroupMembershipId$;
|
|
424
1359
|
exports.GetGroupMembershipIdCommand = GetGroupMembershipIdCommand;
|
|
1360
|
+
exports.GetGroupMembershipIdRequest$ = GetGroupMembershipIdRequest$;
|
|
1361
|
+
exports.GetGroupMembershipIdResponse$ = GetGroupMembershipIdResponse$;
|
|
1362
|
+
exports.GetUserId$ = GetUserId$;
|
|
425
1363
|
exports.GetUserIdCommand = GetUserIdCommand;
|
|
1364
|
+
exports.GetUserIdRequest$ = GetUserIdRequest$;
|
|
1365
|
+
exports.GetUserIdResponse$ = GetUserIdResponse$;
|
|
1366
|
+
exports.Group$ = Group$;
|
|
1367
|
+
exports.GroupMembership$ = GroupMembership$;
|
|
1368
|
+
exports.GroupMembershipExistenceResult$ = GroupMembershipExistenceResult$;
|
|
426
1369
|
exports.Identitystore = Identitystore;
|
|
427
1370
|
exports.IdentitystoreClient = IdentitystoreClient;
|
|
1371
|
+
exports.IdentitystoreServiceException = IdentitystoreServiceException;
|
|
1372
|
+
exports.IdentitystoreServiceException$ = IdentitystoreServiceException$;
|
|
1373
|
+
exports.InternalServerException = InternalServerException;
|
|
1374
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1375
|
+
exports.IsMemberInGroups$ = IsMemberInGroups$;
|
|
428
1376
|
exports.IsMemberInGroupsCommand = IsMemberInGroupsCommand;
|
|
1377
|
+
exports.IsMemberInGroupsRequest$ = IsMemberInGroupsRequest$;
|
|
1378
|
+
exports.IsMemberInGroupsResponse$ = IsMemberInGroupsResponse$;
|
|
1379
|
+
exports.ListGroupMemberships$ = ListGroupMemberships$;
|
|
429
1380
|
exports.ListGroupMembershipsCommand = ListGroupMembershipsCommand;
|
|
1381
|
+
exports.ListGroupMembershipsForMember$ = ListGroupMembershipsForMember$;
|
|
430
1382
|
exports.ListGroupMembershipsForMemberCommand = ListGroupMembershipsForMemberCommand;
|
|
1383
|
+
exports.ListGroupMembershipsForMemberRequest$ = ListGroupMembershipsForMemberRequest$;
|
|
1384
|
+
exports.ListGroupMembershipsForMemberResponse$ = ListGroupMembershipsForMemberResponse$;
|
|
1385
|
+
exports.ListGroupMembershipsRequest$ = ListGroupMembershipsRequest$;
|
|
1386
|
+
exports.ListGroupMembershipsResponse$ = ListGroupMembershipsResponse$;
|
|
1387
|
+
exports.ListGroups$ = ListGroups$;
|
|
431
1388
|
exports.ListGroupsCommand = ListGroupsCommand;
|
|
1389
|
+
exports.ListGroupsRequest$ = ListGroupsRequest$;
|
|
1390
|
+
exports.ListGroupsResponse$ = ListGroupsResponse$;
|
|
1391
|
+
exports.ListUsers$ = ListUsers$;
|
|
432
1392
|
exports.ListUsersCommand = ListUsersCommand;
|
|
1393
|
+
exports.ListUsersRequest$ = ListUsersRequest$;
|
|
1394
|
+
exports.ListUsersResponse$ = ListUsersResponse$;
|
|
1395
|
+
exports.MemberId$ = MemberId$;
|
|
1396
|
+
exports.Name$ = Name$;
|
|
1397
|
+
exports.PhoneNumber$ = PhoneNumber$;
|
|
1398
|
+
exports.Photo$ = Photo$;
|
|
1399
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1400
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
433
1401
|
exports.ResourceNotFoundExceptionReason = ResourceNotFoundExceptionReason;
|
|
434
1402
|
exports.ResourceType = ResourceType;
|
|
1403
|
+
exports.Role$ = Role$;
|
|
1404
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1405
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1406
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1407
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
435
1408
|
exports.ThrottlingExceptionReason = ThrottlingExceptionReason;
|
|
1409
|
+
exports.UniqueAttribute$ = UniqueAttribute$;
|
|
1410
|
+
exports.UpdateGroup$ = UpdateGroup$;
|
|
436
1411
|
exports.UpdateGroupCommand = UpdateGroupCommand;
|
|
1412
|
+
exports.UpdateGroupRequest$ = UpdateGroupRequest$;
|
|
1413
|
+
exports.UpdateGroupResponse$ = UpdateGroupResponse$;
|
|
1414
|
+
exports.UpdateUser$ = UpdateUser$;
|
|
437
1415
|
exports.UpdateUserCommand = UpdateUserCommand;
|
|
1416
|
+
exports.UpdateUserRequest$ = UpdateUserRequest$;
|
|
1417
|
+
exports.UpdateUserResponse$ = UpdateUserResponse$;
|
|
1418
|
+
exports.User$ = User$;
|
|
438
1419
|
exports.UserStatus = UserStatus;
|
|
1420
|
+
exports.ValidationException = ValidationException;
|
|
1421
|
+
exports.ValidationException$ = ValidationException$;
|
|
439
1422
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1423
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
440
1424
|
exports.paginateListGroupMemberships = paginateListGroupMemberships;
|
|
441
1425
|
exports.paginateListGroupMembershipsForMember = paginateListGroupMembershipsForMember;
|
|
442
1426
|
exports.paginateListGroups = paginateListGroups;
|