@aws-sdk/client-mpa 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 CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
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 { resolveHttpAuthSchemeConfig, defaultMPAHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CancelSession$, CreateApprovalTeam$, CreateIdentitySource$, DeleteIdentitySource$, DeleteInactiveApprovalTeamVersion$, GetApprovalTeam$, GetIdentitySource$, GetPolicyVersion$, GetResourcePolicy$, GetSession$, ListApprovalTeams$, ListIdentitySources$, ListPolicies$, ListPolicyVersions$, ListResourcePolicies$, ListSessions$, ListTagsForResource$, StartActiveApprovalTeamDeletion$, StartApprovalTeamBaseline$, TagResource$, UntagResource$, UpdateApprovalTeam$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { MPAServiceException } = require("./models/MPAServiceException");
18
- exports.MPAServiceException = MPAServiceException;
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 { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultMPAHttpAuthSchemeParametersProvider = 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: "mpa",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultMPAHttpAuthSchemeProvider = (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, {
@@ -29,6 +65,977 @@ const commonParams = {
29
65
  Region: { type: "builtInParams", name: "region" },
30
66
  };
31
67
 
68
+ var version = "3.1075.0";
69
+ var packageInfo = {
70
+ version: version};
71
+
72
+ const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
73
+ const _data = {
74
+ conditions: [
75
+ [a, [b]],
76
+ [a, c],
77
+ ["aws.partition", c, "PartitionResult"],
78
+ ["booleanEquals", [{ ref: "UseFIPS" }, true]]
79
+ ],
80
+ results: [
81
+ [-1],
82
+ [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
83
+ [b, {}],
84
+ ["https://mpa-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
85
+ ["https://mpa.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
86
+ [-1, "Invalid Configuration: Missing Region"]
87
+ ]
88
+ };
89
+ const root = 2;
90
+ const r = 100_000_000;
91
+ const nodes = new Int32Array([
92
+ -1, 1, -1,
93
+ 0, 6, 3,
94
+ 1, 4, r + 5,
95
+ 2, 5, r + 5,
96
+ 3, r + 3, r + 4,
97
+ 3, r + 1, r + 2,
98
+ ]);
99
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
100
+
101
+ const cache = new EndpointCache({
102
+ size: 50,
103
+ params: ["Endpoint", "Region", "UseFIPS"],
104
+ });
105
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
106
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
107
+ endpointParams: endpointParams,
108
+ logger: context.logger,
109
+ }));
110
+ };
111
+ customEndpointFunctions.aws = awsEndpointFunctions;
112
+
113
+ class MPAServiceException extends ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, MPAServiceException.prototype);
117
+ }
118
+ }
119
+
120
+ class AccessDeniedException extends MPAServiceException {
121
+ name = "AccessDeniedException";
122
+ $fault = "client";
123
+ Message;
124
+ constructor(opts) {
125
+ super({
126
+ name: "AccessDeniedException",
127
+ $fault: "client",
128
+ ...opts,
129
+ });
130
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
+ this.Message = opts.Message;
132
+ }
133
+ }
134
+ class ConflictException extends MPAServiceException {
135
+ name = "ConflictException";
136
+ $fault = "client";
137
+ Message;
138
+ constructor(opts) {
139
+ super({
140
+ name: "ConflictException",
141
+ $fault: "client",
142
+ ...opts,
143
+ });
144
+ Object.setPrototypeOf(this, ConflictException.prototype);
145
+ this.Message = opts.Message;
146
+ }
147
+ }
148
+ class InternalServerException extends MPAServiceException {
149
+ name = "InternalServerException";
150
+ $fault = "server";
151
+ $retryable = {};
152
+ Message;
153
+ constructor(opts) {
154
+ super({
155
+ name: "InternalServerException",
156
+ $fault: "server",
157
+ ...opts,
158
+ });
159
+ Object.setPrototypeOf(this, InternalServerException.prototype);
160
+ this.Message = opts.Message;
161
+ }
162
+ }
163
+ class ServiceQuotaExceededException extends MPAServiceException {
164
+ name = "ServiceQuotaExceededException";
165
+ $fault = "client";
166
+ Message;
167
+ constructor(opts) {
168
+ super({
169
+ name: "ServiceQuotaExceededException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
174
+ this.Message = opts.Message;
175
+ }
176
+ }
177
+ class ThrottlingException extends MPAServiceException {
178
+ name = "ThrottlingException";
179
+ $fault = "client";
180
+ Message;
181
+ constructor(opts) {
182
+ super({
183
+ name: "ThrottlingException",
184
+ $fault: "client",
185
+ ...opts,
186
+ });
187
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
188
+ this.Message = opts.Message;
189
+ }
190
+ }
191
+ class ValidationException extends MPAServiceException {
192
+ name = "ValidationException";
193
+ $fault = "client";
194
+ Message;
195
+ constructor(opts) {
196
+ super({
197
+ name: "ValidationException",
198
+ $fault: "client",
199
+ ...opts,
200
+ });
201
+ Object.setPrototypeOf(this, ValidationException.prototype);
202
+ this.Message = opts.Message;
203
+ }
204
+ }
205
+ class ResourceNotFoundException extends MPAServiceException {
206
+ name = "ResourceNotFoundException";
207
+ $fault = "client";
208
+ Message;
209
+ constructor(opts) {
210
+ super({
211
+ name: "ResourceNotFoundException",
212
+ $fault: "client",
213
+ ...opts,
214
+ });
215
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
216
+ this.Message = opts.Message;
217
+ }
218
+ }
219
+ class InvalidParameterException extends MPAServiceException {
220
+ name = "InvalidParameterException";
221
+ $fault = "client";
222
+ Message;
223
+ constructor(opts) {
224
+ super({
225
+ name: "InvalidParameterException",
226
+ $fault: "client",
227
+ ...opts,
228
+ });
229
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
230
+ this.Message = opts.Message;
231
+ }
232
+ }
233
+ class TooManyTagsException extends MPAServiceException {
234
+ name = "TooManyTagsException";
235
+ $fault = "client";
236
+ Message;
237
+ ResourceName;
238
+ constructor(opts) {
239
+ super({
240
+ name: "TooManyTagsException",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
245
+ this.Message = opts.Message;
246
+ this.ResourceName = opts.ResourceName;
247
+ }
248
+ }
249
+
250
+ const _A = "Approvers";
251
+ const _ACS = "ActionCompletionStrategy";
252
+ const _ADE = "AccessDeniedException";
253
+ const _AI = "ApproverId";
254
+ const _AIp = "ApproverIds";
255
+ const _AN = "ActionName";
256
+ const _APU = "ApprovalPortalUrl";
257
+ const _AR = "ApproverResponses";
258
+ const _AS = "ApprovalStrategy";
259
+ const _ASR = "AdditionalSecurityRequirements";
260
+ const _ASRp = "ApprovalStrategyResponse";
261
+ const _AT = "ApprovalTeams";
262
+ const _ATA = "ApprovalTeamArn";
263
+ const _ATN = "ApprovalTeamName";
264
+ const _ATRA = "ApprovalTeamRequestApprover";
265
+ const _ATRAp = "ApprovalTeamRequestApprovers";
266
+ const _Ar = "Arn";
267
+ const _BSA = "BaselineSessionArn";
268
+ const _CAT = "CreateApprovalTeam";
269
+ const _CATR = "CreateApprovalTeamRequest";
270
+ const _CATRr = "CreateApprovalTeamResponse";
271
+ const _CE = "ConflictException";
272
+ const _CIS = "CreateIdentitySource";
273
+ const _CISR = "CreateIdentitySourceRequest";
274
+ const _CISRr = "CreateIdentitySourceResponse";
275
+ const _CS = "CancelSession";
276
+ const _CSR = "CancelSessionRequest";
277
+ const _CSRa = "CancelSessionResponse";
278
+ const _CT = "ClientToken";
279
+ const _CTo = "CompletionTime";
280
+ const _CTr = "CreationTime";
281
+ const _D = "Description";
282
+ const _DCT = "DeletionCompletionTime";
283
+ const _DIATV = "DeleteInactiveApprovalTeamVersion";
284
+ const _DIATVR = "DeleteInactiveApprovalTeamVersionRequest";
285
+ const _DIATVRe = "DeleteInactiveApprovalTeamVersionResponse";
286
+ const _DIS = "DeleteIdentitySource";
287
+ const _DISR = "DeleteIdentitySourceRequest";
288
+ const _DST = "DeletionStartTime";
289
+ const _DV = "DefaultVersion";
290
+ const _Do = "Document";
291
+ const _ES = "ExecutionStatus";
292
+ const _ET = "ExpirationTime";
293
+ const _F = "Filter";
294
+ const _FN = "FieldName";
295
+ const _Fi = "Filters";
296
+ const _GAT = "GetApprovalTeam";
297
+ const _GATR = "GetApprovalTeamRequest";
298
+ const _GATRA = "GetApprovalTeamResponseApprover";
299
+ const _GATRAe = "GetApprovalTeamResponseApprovers";
300
+ const _GATRe = "GetApprovalTeamResponse";
301
+ const _GIS = "GetIdentitySource";
302
+ const _GISR = "GetIdentitySourceRequest";
303
+ const _GISRe = "GetIdentitySourceResponse";
304
+ const _GPV = "GetPolicyVersion";
305
+ const _GPVR = "GetPolicyVersionRequest";
306
+ const _GPVRe = "GetPolicyVersionResponse";
307
+ const _GRP = "GetResourcePolicy";
308
+ const _GRPR = "GetResourcePolicyRequest";
309
+ const _GRPRe = "GetResourcePolicyResponse";
310
+ const _GS = "GetSession";
311
+ const _GSR = "GetSessionRequest";
312
+ const _GSRAR = "GetSessionResponseApproverResponse";
313
+ const _GSRARe = "GetSessionResponseApproverResponses";
314
+ const _GSRe = "GetSessionResponse";
315
+ const _IA = "InstanceArn";
316
+ const _ID = "IsDefault";
317
+ const _II = "IdentityId";
318
+ const _IIC = "IamIdentityCenter";
319
+ const _IICFG = "IamIdentityCenterForGet";
320
+ const _IICFL = "IamIdentityCenterForList";
321
+ const _IPE = "InvalidParameterException";
322
+ const _IS = "IdentitySources";
323
+ const _ISA = "IdentitySourceArn";
324
+ const _ISE = "InternalServerException";
325
+ const _ISFL = "IdentitySourceForList";
326
+ const _ISP = "IdentitySourceParameters";
327
+ const _ISPFG = "IdentitySourceParametersForGet";
328
+ const _ISPFL = "IdentitySourceParametersForList";
329
+ const _IST = "IdentitySourceType";
330
+ const _IT = "InitiationTime";
331
+ const _LA = "LastActivity";
332
+ const _LAT = "LastActivityTime";
333
+ const _LATR = "ListApprovalTeamsRequest";
334
+ const _LATRAT = "ListApprovalTeamsResponseApprovalTeam";
335
+ const _LATRATi = "ListApprovalTeamsResponseApprovalTeams";
336
+ const _LATRi = "ListApprovalTeamsResponse";
337
+ const _LATi = "ListApprovalTeams";
338
+ const _LIS = "ListIdentitySources";
339
+ const _LISR = "ListIdentitySourcesRequest";
340
+ const _LISRi = "ListIdentitySourcesResponse";
341
+ const _LP = "ListPolicies";
342
+ const _LPR = "ListPoliciesRequest";
343
+ const _LPRi = "ListPoliciesResponse";
344
+ const _LPV = "ListPolicyVersions";
345
+ const _LPVR = "ListPolicyVersionsRequest";
346
+ const _LPVRi = "ListPolicyVersionsResponse";
347
+ const _LRP = "ListResourcePolicies";
348
+ const _LRPR = "ListResourcePoliciesRequest";
349
+ const _LRPRRP = "ListResourcePoliciesResponseResourcePolicy";
350
+ const _LRPRRPi = "ListResourcePoliciesResponseResourcePolicies";
351
+ const _LRPRi = "ListResourcePoliciesResponse";
352
+ const _LS = "ListSessions";
353
+ const _LSR = "ListSessionsRequest";
354
+ const _LSRS = "ListSessionsResponseSession";
355
+ const _LSRSi = "ListSessionsResponseSessions";
356
+ const _LSRi = "ListSessionsResponse";
357
+ const _LTFR = "ListTagsForResource";
358
+ const _LTFRR = "ListTagsForResourceRequest";
359
+ const _LTFRRi = "ListTagsForResourceResponse";
360
+ const _LUT = "LastUpdateTime";
361
+ const _LUTa = "LastUpdatedTime";
362
+ const _M = "Message";
363
+ const _MAR = "MinApprovalsRequired";
364
+ const _MM = "MfaMethods";
365
+ const _MMf = "MfaMethod";
366
+ const _MN = "MofN";
367
+ const _MNAS = "MofNApprovalStrategy";
368
+ const _MR = "MaxResults";
369
+ const _Me = "Metadata";
370
+ const _N = "Name";
371
+ const _NOA = "NumberOfApprovers";
372
+ const _NT = "NextToken";
373
+ const _O = "Operator";
374
+ const _P = "Policies";
375
+ const _PA = "PolicyArn";
376
+ const _PBSA = "PendingBaselineSessionArn";
377
+ const _PD = "PolicyDocument";
378
+ const _PII = "PrimaryIdentityId";
379
+ const _PIS = "PrimaryIdentityStatus";
380
+ const _PISA = "PrimaryIdentitySourceArn";
381
+ const _PN = "PolicyName";
382
+ const _PR = "PolicyReference";
383
+ const _PRA = "ProtectedResourceArn";
384
+ const _PRo = "PoliciesReferences";
385
+ const _PT = "PolicyType";
386
+ const _PU = "PendingUpdate";
387
+ const _PV = "PolicyVersion";
388
+ const _PVA = "PolicyVersionArn";
389
+ const _PVS = "PolicyVersionSummary";
390
+ const _PVo = "PolicyVersions";
391
+ const _PWD = "PendingWindowDays";
392
+ const _Po = "Policy";
393
+ const _R = "Response";
394
+ const _RA = "ResourceArn";
395
+ const _RAI = "RequesterAccountId";
396
+ const _RC = "RequesterComment";
397
+ const _RN = "ResourceName";
398
+ const _RNFE = "ResourceNotFoundException";
399
+ const _RP = "ResourcePolicies";
400
+ const _RPA = "RequesterPrincipalArn";
401
+ const _RR = "RequesterRegion";
402
+ const _RSP = "RequesterServicePrincipal";
403
+ const _RT = "ResponseTime";
404
+ const _Re = "Region";
405
+ const _S = "Status";
406
+ const _SA = "SessionArn";
407
+ const _SAATD = "StartActiveApprovalTeamDeletion";
408
+ const _SAATDR = "StartActiveApprovalTeamDeletionRequest";
409
+ const _SAATDRt = "StartActiveApprovalTeamDeletionResponse";
410
+ const _SATB = "StartApprovalTeamBaseline";
411
+ const _SATBR = "StartApprovalTeamBaselineRequest";
412
+ const _SATBRt = "StartApprovalTeamBaselineResponse";
413
+ const _SC = "StatusCode";
414
+ const _SK = "SessionKey";
415
+ const _SM = "StatusMessage";
416
+ const _SMe = "SessionMetadata";
417
+ const _SQEE = "ServiceQuotaExceededException";
418
+ const _SS = "SyncStatus";
419
+ const _SV = "SessionValue";
420
+ const _Se = "Sessions";
421
+ const _T = "Tags";
422
+ const _TE = "ThrottlingException";
423
+ const _TK = "TagKey";
424
+ const _TKL = "TagKeyList";
425
+ const _TKa = "TagKeys";
426
+ const _TMTE = "TooManyTagsException";
427
+ const _TR = "TagResource";
428
+ const _TRR = "TagResourceRequest";
429
+ const _TRRa = "TagResourceResponse";
430
+ const _TV = "TagValue";
431
+ const _Ty = "Type";
432
+ const _UA = "UpdateActions";
433
+ const _UAT = "UpdateApprovalTeam";
434
+ const _UATR = "UpdateApprovalTeamRequest";
435
+ const _UATRp = "UpdateApprovalTeamResponse";
436
+ const _UIT = "UpdateInitiationTime";
437
+ const _UR = "UntagResource";
438
+ const _URR = "UntagResourceRequest";
439
+ const _URRn = "UntagResourceResponse";
440
+ const _USA = "UpdateSessionArn";
441
+ const _V = "Value";
442
+ const _VE = "ValidationException";
443
+ const _VI = "VersionId";
444
+ const _c = "client";
445
+ const _e = "error";
446
+ const _h = "http";
447
+ const _hE = "httpError";
448
+ const _hQ = "httpQuery";
449
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.mpa";
450
+ const _se = "server";
451
+ const n0 = "com.amazonaws.mpa";
452
+ const _s_registry = TypeRegistry.for(_s);
453
+ var MPAServiceException$ = [-3, _s, "MPAServiceException", 0, [], []];
454
+ _s_registry.registerError(MPAServiceException$, MPAServiceException);
455
+ const n0_registry = TypeRegistry.for(n0);
456
+ var AccessDeniedException$ = [-3, n0, _ADE,
457
+ { [_e]: _c, [_hE]: 403 },
458
+ [_M],
459
+ [0], 1
460
+ ];
461
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
462
+ var ConflictException$ = [-3, n0, _CE,
463
+ { [_e]: _c, [_hE]: 409 },
464
+ [_M],
465
+ [0], 1
466
+ ];
467
+ n0_registry.registerError(ConflictException$, ConflictException);
468
+ var InternalServerException$ = [-3, n0, _ISE,
469
+ { [_e]: _se, [_hE]: 500 },
470
+ [_M],
471
+ [0], 1
472
+ ];
473
+ n0_registry.registerError(InternalServerException$, InternalServerException);
474
+ var InvalidParameterException$ = [-3, n0, _IPE,
475
+ { [_e]: _c, [_hE]: 400 },
476
+ [_M],
477
+ [0], 1
478
+ ];
479
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
480
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
481
+ { [_e]: _c, [_hE]: 404 },
482
+ [_M],
483
+ [0], 1
484
+ ];
485
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
486
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
487
+ { [_e]: _c, [_hE]: 402 },
488
+ [_M],
489
+ [0], 1
490
+ ];
491
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
492
+ var ThrottlingException$ = [-3, n0, _TE,
493
+ { [_e]: _c, [_hE]: 429 },
494
+ [_M],
495
+ [0], 1
496
+ ];
497
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
498
+ var TooManyTagsException$ = [-3, n0, _TMTE,
499
+ { [_e]: _c, [_hE]: 400 },
500
+ [_M, _RN],
501
+ [0, 0], 1
502
+ ];
503
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
504
+ var ValidationException$ = [-3, n0, _VE,
505
+ { [_e]: _c, [_hE]: 400 },
506
+ [_M],
507
+ [0], 1
508
+ ];
509
+ n0_registry.registerError(ValidationException$, ValidationException);
510
+ const errorTypeRegistries = [
511
+ _s_registry,
512
+ n0_registry,
513
+ ];
514
+ var Description = [0, n0, _D, 8, 0];
515
+ var PolicyDocument = [0, n0, _PD, 8, 0];
516
+ var RequesterComment = [0, n0, _RC, 8, 0];
517
+ var SessionKey = [0, n0, _SK, 8, 0];
518
+ var SessionValue = [0, n0, _SV, 8, 0];
519
+ var TagKey = [0, n0, _TK, 8, 0];
520
+ var TagValue = [0, n0, _TV, 8, 0];
521
+ var ApprovalTeamRequestApprover$ = [3, n0, _ATRA,
522
+ 0,
523
+ [_PII, _PISA],
524
+ [0, 0], 2
525
+ ];
526
+ var CancelSessionRequest$ = [3, n0, _CSR,
527
+ 0,
528
+ [_SA],
529
+ [[0, 1]], 1
530
+ ];
531
+ var CancelSessionResponse$ = [3, n0, _CSRa,
532
+ 0,
533
+ [],
534
+ []
535
+ ];
536
+ var CreateApprovalTeamRequest$ = [3, n0, _CATR,
537
+ 0,
538
+ [_AS, _A, _D, _P, _N, _CT, _T],
539
+ [() => ApprovalStrategy$, () => ApprovalTeamRequestApprovers, [() => Description, 0], () => PoliciesReferences, 0, [0, 4], [() => Tags, 0]], 5
540
+ ];
541
+ var CreateApprovalTeamResponse$ = [3, n0, _CATRr,
542
+ 0,
543
+ [_CTr, _Ar, _N, _VI],
544
+ [5, 0, 0, 0]
545
+ ];
546
+ var CreateIdentitySourceRequest$ = [3, n0, _CISR,
547
+ 0,
548
+ [_ISP, _CT, _T],
549
+ [() => IdentitySourceParameters$, [0, 4], [() => Tags, 0]], 1
550
+ ];
551
+ var CreateIdentitySourceResponse$ = [3, n0, _CISRr,
552
+ 0,
553
+ [_IST, _ISA, _CTr],
554
+ [0, 0, 5]
555
+ ];
556
+ var DeleteIdentitySourceRequest$ = [3, n0, _DISR,
557
+ 0,
558
+ [_ISA],
559
+ [[0, 1]], 1
560
+ ];
561
+ var DeleteInactiveApprovalTeamVersionRequest$ = [3, n0, _DIATVR,
562
+ 0,
563
+ [_Ar, _VI],
564
+ [[0, 1], [0, 1]], 2
565
+ ];
566
+ var DeleteInactiveApprovalTeamVersionResponse$ = [3, n0, _DIATVRe,
567
+ 0,
568
+ [],
569
+ []
570
+ ];
571
+ var Filter$ = [3, n0, _F,
572
+ 0,
573
+ [_FN, _O, _V],
574
+ [0, 0, 0]
575
+ ];
576
+ var GetApprovalTeamRequest$ = [3, n0, _GATR,
577
+ 0,
578
+ [_Ar],
579
+ [[0, 1]], 1
580
+ ];
581
+ var GetApprovalTeamResponse$ = [3, n0, _GATRe,
582
+ 0,
583
+ [_CTr, _AS, _NOA, _A, _Ar, _D, _N, _S, _SC, _SM, _USA, _VI, _P, _LUT, _PU],
584
+ [5, () => ApprovalStrategyResponse$, 1, () => GetApprovalTeamResponseApprovers, 0, [() => Description, 0], 0, 0, 0, 0, 0, 0, () => PoliciesReferences, 5, () => PendingUpdate$]
585
+ ];
586
+ var GetApprovalTeamResponseApprover$ = [3, n0, _GATRA,
587
+ 0,
588
+ [_AI, _RT, _PII, _PISA, _PIS, _LA, _LAT, _PBSA, _MM],
589
+ [0, 5, 0, 0, 0, 0, 5, 0, () => MfaMethods]
590
+ ];
591
+ var GetIdentitySourceRequest$ = [3, n0, _GISR,
592
+ 0,
593
+ [_ISA],
594
+ [[0, 1]], 1
595
+ ];
596
+ var GetIdentitySourceResponse$ = [3, n0, _GISRe,
597
+ 0,
598
+ [_IST, _ISP, _ISA, _CTr, _S, _SC, _SM],
599
+ [0, () => IdentitySourceParametersForGet$, 0, 5, 0, 0, 0]
600
+ ];
601
+ var GetPolicyVersionRequest$ = [3, n0, _GPVR,
602
+ 0,
603
+ [_PVA],
604
+ [[0, 1]], 1
605
+ ];
606
+ var GetPolicyVersionResponse$ = [3, n0, _GPVRe,
607
+ 0,
608
+ [_PV],
609
+ [[() => PolicyVersion$, 0]], 1
610
+ ];
611
+ var GetResourcePolicyRequest$ = [3, n0, _GRPR,
612
+ 0,
613
+ [_RA, _PN, _PT],
614
+ [0, 0, 0], 3
615
+ ];
616
+ var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
617
+ 0,
618
+ [_RA, _PT, _PN, _PD, _PVA],
619
+ [0, 0, 0, [() => PolicyDocument, 0], 0], 4
620
+ ];
621
+ var GetSessionRequest$ = [3, n0, _GSR,
622
+ 0,
623
+ [_SA],
624
+ [[0, 1]], 1
625
+ ];
626
+ var GetSessionResponse$ = [3, n0, _GSRe,
627
+ 0,
628
+ [_SA, _ATA, _ATN, _PRA, _AS, _NOA, _IT, _ET, _CTo, _D, _Me, _S, _SC, _SM, _ES, _AN, _RSP, _RPA, _RAI, _RR, _RC, _ACS, _AR, _ASR],
629
+ [0, 0, 0, 0, () => ApprovalStrategyResponse$, 1, 5, 5, 5, [() => Description, 0], [() => SessionMetadata, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, [() => RequesterComment, 0], 0, () => GetSessionResponseApproverResponses, 64 | 0]
630
+ ];
631
+ var GetSessionResponseApproverResponse$ = [3, n0, _GSRAR,
632
+ 0,
633
+ [_AI, _ISA, _II, _R, _RT],
634
+ [0, 0, 0, 0, 5]
635
+ ];
636
+ var IamIdentityCenter$ = [3, n0, _IIC,
637
+ 0,
638
+ [_IA, _Re],
639
+ [0, 0], 2
640
+ ];
641
+ var IamIdentityCenterForGet$ = [3, n0, _IICFG,
642
+ 0,
643
+ [_IA, _APU, _Re],
644
+ [0, 0, 0]
645
+ ];
646
+ var IamIdentityCenterForList$ = [3, n0, _IICFL,
647
+ 0,
648
+ [_IA, _APU, _Re],
649
+ [0, 0, 0]
650
+ ];
651
+ var IdentitySourceForList$ = [3, n0, _ISFL,
652
+ 0,
653
+ [_IST, _ISP, _ISA, _CTr, _S, _SC, _SM],
654
+ [0, () => IdentitySourceParametersForList$, 0, 5, 0, 0, 0]
655
+ ];
656
+ var IdentitySourceParameters$ = [3, n0, _ISP,
657
+ 0,
658
+ [_IIC],
659
+ [() => IamIdentityCenter$]
660
+ ];
661
+ var ListApprovalTeamsRequest$ = [3, n0, _LATR,
662
+ 0,
663
+ [_MR, _NT],
664
+ [[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]]
665
+ ];
666
+ var ListApprovalTeamsResponse$ = [3, n0, _LATRi,
667
+ 0,
668
+ [_NT, _AT],
669
+ [0, [() => ListApprovalTeamsResponseApprovalTeams, 0]]
670
+ ];
671
+ var ListApprovalTeamsResponseApprovalTeam$ = [3, n0, _LATRAT,
672
+ 0,
673
+ [_CTr, _AS, _NOA, _Ar, _N, _D, _S, _SC, _SM],
674
+ [5, () => ApprovalStrategyResponse$, 1, 0, 0, [() => Description, 0], 0, 0, 0]
675
+ ];
676
+ var ListIdentitySourcesRequest$ = [3, n0, _LISR,
677
+ 0,
678
+ [_MR, _NT],
679
+ [[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]]
680
+ ];
681
+ var ListIdentitySourcesResponse$ = [3, n0, _LISRi,
682
+ 0,
683
+ [_NT, _IS],
684
+ [0, () => IdentitySources]
685
+ ];
686
+ var ListPoliciesRequest$ = [3, n0, _LPR,
687
+ 0,
688
+ [_MR, _NT],
689
+ [[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]]
690
+ ];
691
+ var ListPoliciesResponse$ = [3, n0, _LPRi,
692
+ 0,
693
+ [_NT, _P],
694
+ [0, () => Policies]
695
+ ];
696
+ var ListPolicyVersionsRequest$ = [3, n0, _LPVR,
697
+ 0,
698
+ [_PA, _MR, _NT],
699
+ [[0, 1], [1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]], 1
700
+ ];
701
+ var ListPolicyVersionsResponse$ = [3, n0, _LPVRi,
702
+ 0,
703
+ [_NT, _PVo],
704
+ [0, () => PolicyVersions]
705
+ ];
706
+ var ListResourcePoliciesRequest$ = [3, n0, _LRPR,
707
+ 0,
708
+ [_RA, _MR, _NT],
709
+ [[0, 1], [1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]], 1
710
+ ];
711
+ var ListResourcePoliciesResponse$ = [3, n0, _LRPRi,
712
+ 0,
713
+ [_NT, _RP],
714
+ [0, () => ListResourcePoliciesResponseResourcePolicies]
715
+ ];
716
+ var ListResourcePoliciesResponseResourcePolicy$ = [3, n0, _LRPRRP,
717
+ 0,
718
+ [_PA, _PT, _PN],
719
+ [0, 0, 0]
720
+ ];
721
+ var ListSessionsRequest$ = [3, n0, _LSR,
722
+ 0,
723
+ [_ATA, _MR, _NT, _Fi],
724
+ [[0, 1], 1, 0, () => Filters], 1
725
+ ];
726
+ var ListSessionsResponse$ = [3, n0, _LSRi,
727
+ 0,
728
+ [_NT, _Se],
729
+ [0, [() => ListSessionsResponseSessions, 0]]
730
+ ];
731
+ var ListSessionsResponseSession$ = [3, n0, _LSRS,
732
+ 0,
733
+ [_SA, _ATN, _ATA, _IT, _ET, _CTo, _D, _AN, _PRA, _RSP, _RPA, _RR, _RAI, _S, _SC, _SM, _ACS, _ASR],
734
+ [0, 0, 0, 5, 5, 5, [() => Description, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0]
735
+ ];
736
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
737
+ 0,
738
+ [_RA],
739
+ [[0, 1]], 1
740
+ ];
741
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
742
+ 0,
743
+ [_T],
744
+ [[() => Tags, 0]]
745
+ ];
746
+ var MfaMethod$ = [3, n0, _MMf,
747
+ 0,
748
+ [_Ty, _SS],
749
+ [0, 0], 2
750
+ ];
751
+ var MofNApprovalStrategy$ = [3, n0, _MNAS,
752
+ 0,
753
+ [_MAR],
754
+ [1], 1
755
+ ];
756
+ var PendingUpdate$ = [3, n0, _PU,
757
+ 0,
758
+ [_VI, _D, _AS, _NOA, _S, _SC, _SM, _A, _UIT],
759
+ [0, 0, () => ApprovalStrategyResponse$, 1, 0, 0, 0, () => GetApprovalTeamResponseApprovers, 5]
760
+ ];
761
+ var Policy$ = [3, n0, _Po,
762
+ 0,
763
+ [_Ar, _DV, _PT, _N],
764
+ [0, 1, 0, 0], 4
765
+ ];
766
+ var PolicyReference$ = [3, n0, _PR,
767
+ 0,
768
+ [_PA],
769
+ [0], 1
770
+ ];
771
+ var PolicyVersion$ = [3, n0, _PV,
772
+ 0,
773
+ [_Ar, _PA, _VI, _PT, _ID, _N, _S, _CTr, _LUTa, _Do],
774
+ [0, 0, 1, 0, 2, 0, 0, 5, 5, [() => PolicyDocument, 0]], 10
775
+ ];
776
+ var PolicyVersionSummary$ = [3, n0, _PVS,
777
+ 0,
778
+ [_Ar, _PA, _VI, _PT, _ID, _N, _S, _CTr, _LUTa],
779
+ [0, 0, 1, 0, 2, 0, 0, 5, 5], 9
780
+ ];
781
+ var StartActiveApprovalTeamDeletionRequest$ = [3, n0, _SAATDR,
782
+ 0,
783
+ [_Ar, _PWD],
784
+ [[0, 1], 1], 1
785
+ ];
786
+ var StartActiveApprovalTeamDeletionResponse$ = [3, n0, _SAATDRt,
787
+ 0,
788
+ [_DCT, _DST],
789
+ [5, 5]
790
+ ];
791
+ var StartApprovalTeamBaselineRequest$ = [3, n0, _SATBR,
792
+ 0,
793
+ [_Ar, _AIp],
794
+ [[0, 1], 64 | 0], 1
795
+ ];
796
+ var StartApprovalTeamBaselineResponse$ = [3, n0, _SATBRt,
797
+ 0,
798
+ [_BSA],
799
+ [0]
800
+ ];
801
+ var TagResourceRequest$ = [3, n0, _TRR,
802
+ 0,
803
+ [_RA, _T],
804
+ [[0, 1], [() => Tags, 0]], 2
805
+ ];
806
+ var TagResourceResponse$ = [3, n0, _TRRa,
807
+ 0,
808
+ [],
809
+ []
810
+ ];
811
+ var UntagResourceRequest$ = [3, n0, _URR,
812
+ 0,
813
+ [_RA, _TKa],
814
+ [[0, 1], [() => TagKeyList, 0]], 2
815
+ ];
816
+ var UntagResourceResponse$ = [3, n0, _URRn,
817
+ 0,
818
+ [],
819
+ []
820
+ ];
821
+ var UpdateApprovalTeamRequest$ = [3, n0, _UATR,
822
+ 0,
823
+ [_Ar, _AS, _A, _D, _UA],
824
+ [[0, 1], () => ApprovalStrategy$, () => ApprovalTeamRequestApprovers, [() => Description, 0], 64 | 0], 1
825
+ ];
826
+ var UpdateApprovalTeamResponse$ = [3, n0, _UATRp,
827
+ 0,
828
+ [_VI],
829
+ [0]
830
+ ];
831
+ var __Unit = "unit";
832
+ var ApprovalTeamRequestApprovers = [1, n0, _ATRAp,
833
+ 0, () => ApprovalTeamRequestApprover$
834
+ ];
835
+ var Filters = [1, n0, _Fi,
836
+ 0, () => Filter$
837
+ ];
838
+ var GetApprovalTeamResponseApprovers = [1, n0, _GATRAe,
839
+ 0, () => GetApprovalTeamResponseApprover$
840
+ ];
841
+ var GetSessionResponseApproverResponses = [1, n0, _GSRARe,
842
+ 0, () => GetSessionResponseApproverResponse$
843
+ ];
844
+ var IdentitySources = [1, n0, _IS,
845
+ 0, () => IdentitySourceForList$
846
+ ];
847
+ var ListApprovalTeamsResponseApprovalTeams = [1, n0, _LATRATi,
848
+ 0, [() => ListApprovalTeamsResponseApprovalTeam$,
849
+ 0]
850
+ ];
851
+ var ListResourcePoliciesResponseResourcePolicies = [1, n0, _LRPRRPi,
852
+ 0, () => ListResourcePoliciesResponseResourcePolicy$
853
+ ];
854
+ var ListSessionsResponseSessions = [1, n0, _LSRSi,
855
+ 0, [() => ListSessionsResponseSession$,
856
+ 0]
857
+ ];
858
+ var MfaMethods = [1, n0, _MM,
859
+ 0, () => MfaMethod$
860
+ ];
861
+ var Policies = [1, n0, _P,
862
+ 0, () => Policy$
863
+ ];
864
+ var PoliciesReferences = [1, n0, _PRo,
865
+ 0, () => PolicyReference$
866
+ ];
867
+ var PolicyVersions = [1, n0, _PVo,
868
+ 0, () => PolicyVersionSummary$
869
+ ];
870
+ var TagKeyList = [1, n0, _TKL,
871
+ 8, [() => TagKey,
872
+ 0]
873
+ ];
874
+ var SessionMetadata = [2, n0, _SMe,
875
+ 8, [() => SessionKey,
876
+ 0],
877
+ [() => SessionValue,
878
+ 0]
879
+ ];
880
+ var Tags = [2, n0, _T,
881
+ 8, [() => TagKey,
882
+ 0],
883
+ [() => TagValue,
884
+ 0]
885
+ ];
886
+ var ApprovalStrategy$ = [4, n0, _AS,
887
+ 0,
888
+ [_MN],
889
+ [() => MofNApprovalStrategy$]
890
+ ];
891
+ var ApprovalStrategyResponse$ = [4, n0, _ASRp,
892
+ 0,
893
+ [_MN],
894
+ [() => MofNApprovalStrategy$]
895
+ ];
896
+ var IdentitySourceParametersForGet$ = [4, n0, _ISPFG,
897
+ 0,
898
+ [_IIC],
899
+ [() => IamIdentityCenterForGet$]
900
+ ];
901
+ var IdentitySourceParametersForList$ = [4, n0, _ISPFL,
902
+ 0,
903
+ [_IIC],
904
+ [() => IamIdentityCenterForList$]
905
+ ];
906
+ var CancelSession$ = [9, n0, _CS,
907
+ { [_h]: ["PUT", "/sessions/{SessionArn}", 200] }, () => CancelSessionRequest$, () => CancelSessionResponse$
908
+ ];
909
+ var CreateApprovalTeam$ = [9, n0, _CAT,
910
+ { [_h]: ["POST", "/approval-teams", 200] }, () => CreateApprovalTeamRequest$, () => CreateApprovalTeamResponse$
911
+ ];
912
+ var CreateIdentitySource$ = [9, n0, _CIS,
913
+ { [_h]: ["POST", "/identity-sources", 200] }, () => CreateIdentitySourceRequest$, () => CreateIdentitySourceResponse$
914
+ ];
915
+ var DeleteIdentitySource$ = [9, n0, _DIS,
916
+ { [_h]: ["DELETE", "/identity-sources/{IdentitySourceArn}", 200] }, () => DeleteIdentitySourceRequest$, () => __Unit
917
+ ];
918
+ var DeleteInactiveApprovalTeamVersion$ = [9, n0, _DIATV,
919
+ { [_h]: ["DELETE", "/approval-teams/{Arn}/{VersionId}", 200] }, () => DeleteInactiveApprovalTeamVersionRequest$, () => DeleteInactiveApprovalTeamVersionResponse$
920
+ ];
921
+ var GetApprovalTeam$ = [9, n0, _GAT,
922
+ { [_h]: ["GET", "/approval-teams/{Arn}", 200] }, () => GetApprovalTeamRequest$, () => GetApprovalTeamResponse$
923
+ ];
924
+ var GetIdentitySource$ = [9, n0, _GIS,
925
+ { [_h]: ["GET", "/identity-sources/{IdentitySourceArn}", 200] }, () => GetIdentitySourceRequest$, () => GetIdentitySourceResponse$
926
+ ];
927
+ var GetPolicyVersion$ = [9, n0, _GPV,
928
+ { [_h]: ["GET", "/policy-versions/{PolicyVersionArn}", 200] }, () => GetPolicyVersionRequest$, () => GetPolicyVersionResponse$
929
+ ];
930
+ var GetResourcePolicy$ = [9, n0, _GRP,
931
+ { [_h]: ["POST", "/GetResourcePolicy", 200] }, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
932
+ ];
933
+ var GetSession$ = [9, n0, _GS,
934
+ { [_h]: ["GET", "/sessions/{SessionArn}", 200] }, () => GetSessionRequest$, () => GetSessionResponse$
935
+ ];
936
+ var ListApprovalTeams$ = [9, n0, _LATi,
937
+ { [_h]: ["POST", "/approval-teams/?List", 200] }, () => ListApprovalTeamsRequest$, () => ListApprovalTeamsResponse$
938
+ ];
939
+ var ListIdentitySources$ = [9, n0, _LIS,
940
+ { [_h]: ["POST", "/identity-sources/?List", 200] }, () => ListIdentitySourcesRequest$, () => ListIdentitySourcesResponse$
941
+ ];
942
+ var ListPolicies$ = [9, n0, _LP,
943
+ { [_h]: ["POST", "/policies/?List", 200] }, () => ListPoliciesRequest$, () => ListPoliciesResponse$
944
+ ];
945
+ var ListPolicyVersions$ = [9, n0, _LPV,
946
+ { [_h]: ["POST", "/policies/{PolicyArn}/?List", 200] }, () => ListPolicyVersionsRequest$, () => ListPolicyVersionsResponse$
947
+ ];
948
+ var ListResourcePolicies$ = [9, n0, _LRP,
949
+ { [_h]: ["POST", "/resource-policies/{ResourceArn}/?List", 200] }, () => ListResourcePoliciesRequest$, () => ListResourcePoliciesResponse$
950
+ ];
951
+ var ListSessions$ = [9, n0, _LS,
952
+ { [_h]: ["POST", "/approval-teams/{ApprovalTeamArn}/sessions/?List", 200] }, () => ListSessionsRequest$, () => ListSessionsResponse$
953
+ ];
954
+ var ListTagsForResource$ = [9, n0, _LTFR,
955
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
956
+ ];
957
+ var StartActiveApprovalTeamDeletion$ = [9, n0, _SAATD,
958
+ { [_h]: ["POST", "/approval-teams/{Arn}?Delete", 200] }, () => StartActiveApprovalTeamDeletionRequest$, () => StartActiveApprovalTeamDeletionResponse$
959
+ ];
960
+ var StartApprovalTeamBaseline$ = [9, n0, _SATB,
961
+ { [_h]: ["POST", "/approval-teams/{Arn}/baseline", 200] }, () => StartApprovalTeamBaselineRequest$, () => StartApprovalTeamBaselineResponse$
962
+ ];
963
+ var TagResource$ = [9, n0, _TR,
964
+ { [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
965
+ ];
966
+ var UntagResource$ = [9, n0, _UR,
967
+ { [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
968
+ ];
969
+ var UpdateApprovalTeam$ = [9, n0, _UAT,
970
+ { [_h]: ["PATCH", "/approval-teams/{Arn}", 200] }, () => UpdateApprovalTeamRequest$, () => UpdateApprovalTeamResponse$
971
+ ];
972
+
973
+ const getRuntimeConfig$1 = (config) => {
974
+ return {
975
+ apiVersion: "2022-07-26",
976
+ base64Decoder: config?.base64Decoder ?? fromBase64,
977
+ base64Encoder: config?.base64Encoder ?? toBase64,
978
+ disableHostPrefix: config?.disableHostPrefix ?? false,
979
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
980
+ extensions: config?.extensions ?? [],
981
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultMPAHttpAuthSchemeProvider,
982
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
983
+ {
984
+ schemeId: "aws.auth#sigv4",
985
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
986
+ signer: new AwsSdkSigV4Signer(),
987
+ },
988
+ ],
989
+ logger: config?.logger ?? new NoOpLogger(),
990
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
991
+ protocolSettings: config?.protocolSettings ?? {
992
+ defaultNamespace: "com.amazonaws.mpa",
993
+ errorTypeRegistries,
994
+ version: "2022-07-26",
995
+ serviceTarget: "AWSFluffyCoreService",
996
+ },
997
+ serviceId: config?.serviceId ?? "MPA",
998
+ urlParser: config?.urlParser ?? parseUrl,
999
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1000
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1001
+ };
1002
+ };
1003
+
1004
+ const getRuntimeConfig = (config) => {
1005
+ emitWarningIfUnsupportedVersion(process.version);
1006
+ const defaultsMode = resolveDefaultsModeConfig(config);
1007
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1008
+ const clientSharedValues = getRuntimeConfig$1(config);
1009
+ emitWarningIfUnsupportedVersion$1(process.version);
1010
+ const loaderConfig = {
1011
+ profile: config?.profile,
1012
+ logger: clientSharedValues.logger,
1013
+ };
1014
+ return {
1015
+ ...clientSharedValues,
1016
+ ...config,
1017
+ runtime: "node",
1018
+ defaultsMode,
1019
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1020
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1021
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1022
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1023
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1024
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1025
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1026
+ retryMode: config?.retryMode ??
1027
+ loadConfig({
1028
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1029
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1030
+ }, config),
1031
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1032
+ streamCollector: config?.streamCollector ?? streamCollector,
1033
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1034
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1035
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1036
+ };
1037
+ };
1038
+
32
1039
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
33
1040
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
34
1041
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -534,50 +1541,159 @@ const Operator = {
534
1541
  NOT_EQUALS: "NE",
535
1542
  };
536
1543
 
1544
+ exports.AccessDeniedException = AccessDeniedException;
1545
+ exports.AccessDeniedException$ = AccessDeniedException$;
537
1546
  exports.ActionCompletionStrategy = ActionCompletionStrategy;
538
1547
  exports.AdditionalSecurityRequirement = AdditionalSecurityRequirement;
1548
+ exports.ApprovalStrategy$ = ApprovalStrategy$;
1549
+ exports.ApprovalStrategyResponse$ = ApprovalStrategyResponse$;
1550
+ exports.ApprovalTeamRequestApprover$ = ApprovalTeamRequestApprover$;
539
1551
  exports.ApprovalTeamStatus = ApprovalTeamStatus;
540
1552
  exports.ApprovalTeamStatusCode = ApprovalTeamStatusCode;
541
1553
  exports.ApproverLastActivity = ApproverLastActivity;
1554
+ exports.CancelSession$ = CancelSession$;
542
1555
  exports.CancelSessionCommand = CancelSessionCommand;
1556
+ exports.CancelSessionRequest$ = CancelSessionRequest$;
1557
+ exports.CancelSessionResponse$ = CancelSessionResponse$;
1558
+ exports.ConflictException = ConflictException;
1559
+ exports.ConflictException$ = ConflictException$;
1560
+ exports.CreateApprovalTeam$ = CreateApprovalTeam$;
543
1561
  exports.CreateApprovalTeamCommand = CreateApprovalTeamCommand;
1562
+ exports.CreateApprovalTeamRequest$ = CreateApprovalTeamRequest$;
1563
+ exports.CreateApprovalTeamResponse$ = CreateApprovalTeamResponse$;
1564
+ exports.CreateIdentitySource$ = CreateIdentitySource$;
544
1565
  exports.CreateIdentitySourceCommand = CreateIdentitySourceCommand;
1566
+ exports.CreateIdentitySourceRequest$ = CreateIdentitySourceRequest$;
1567
+ exports.CreateIdentitySourceResponse$ = CreateIdentitySourceResponse$;
1568
+ exports.DeleteIdentitySource$ = DeleteIdentitySource$;
545
1569
  exports.DeleteIdentitySourceCommand = DeleteIdentitySourceCommand;
1570
+ exports.DeleteIdentitySourceRequest$ = DeleteIdentitySourceRequest$;
1571
+ exports.DeleteInactiveApprovalTeamVersion$ = DeleteInactiveApprovalTeamVersion$;
546
1572
  exports.DeleteInactiveApprovalTeamVersionCommand = DeleteInactiveApprovalTeamVersionCommand;
1573
+ exports.DeleteInactiveApprovalTeamVersionRequest$ = DeleteInactiveApprovalTeamVersionRequest$;
1574
+ exports.DeleteInactiveApprovalTeamVersionResponse$ = DeleteInactiveApprovalTeamVersionResponse$;
1575
+ exports.Filter$ = Filter$;
547
1576
  exports.FilterField = FilterField;
1577
+ exports.GetApprovalTeam$ = GetApprovalTeam$;
548
1578
  exports.GetApprovalTeamCommand = GetApprovalTeamCommand;
1579
+ exports.GetApprovalTeamRequest$ = GetApprovalTeamRequest$;
1580
+ exports.GetApprovalTeamResponse$ = GetApprovalTeamResponse$;
1581
+ exports.GetApprovalTeamResponseApprover$ = GetApprovalTeamResponseApprover$;
1582
+ exports.GetIdentitySource$ = GetIdentitySource$;
549
1583
  exports.GetIdentitySourceCommand = GetIdentitySourceCommand;
1584
+ exports.GetIdentitySourceRequest$ = GetIdentitySourceRequest$;
1585
+ exports.GetIdentitySourceResponse$ = GetIdentitySourceResponse$;
1586
+ exports.GetPolicyVersion$ = GetPolicyVersion$;
550
1587
  exports.GetPolicyVersionCommand = GetPolicyVersionCommand;
1588
+ exports.GetPolicyVersionRequest$ = GetPolicyVersionRequest$;
1589
+ exports.GetPolicyVersionResponse$ = GetPolicyVersionResponse$;
1590
+ exports.GetResourcePolicy$ = GetResourcePolicy$;
551
1591
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1592
+ exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
1593
+ exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
1594
+ exports.GetSession$ = GetSession$;
552
1595
  exports.GetSessionCommand = GetSessionCommand;
1596
+ exports.GetSessionRequest$ = GetSessionRequest$;
1597
+ exports.GetSessionResponse$ = GetSessionResponse$;
1598
+ exports.GetSessionResponseApproverResponse$ = GetSessionResponseApproverResponse$;
1599
+ exports.IamIdentityCenter$ = IamIdentityCenter$;
1600
+ exports.IamIdentityCenterForGet$ = IamIdentityCenterForGet$;
1601
+ exports.IamIdentityCenterForList$ = IamIdentityCenterForList$;
1602
+ exports.IdentitySourceForList$ = IdentitySourceForList$;
1603
+ exports.IdentitySourceParameters$ = IdentitySourceParameters$;
1604
+ exports.IdentitySourceParametersForGet$ = IdentitySourceParametersForGet$;
1605
+ exports.IdentitySourceParametersForList$ = IdentitySourceParametersForList$;
553
1606
  exports.IdentitySourceStatus = IdentitySourceStatus;
554
1607
  exports.IdentitySourceStatusCode = IdentitySourceStatusCode;
555
1608
  exports.IdentitySourceType = IdentitySourceType;
556
1609
  exports.IdentityStatus = IdentityStatus;
1610
+ exports.InternalServerException = InternalServerException;
1611
+ exports.InternalServerException$ = InternalServerException$;
1612
+ exports.InvalidParameterException = InvalidParameterException;
1613
+ exports.InvalidParameterException$ = InvalidParameterException$;
1614
+ exports.ListApprovalTeams$ = ListApprovalTeams$;
557
1615
  exports.ListApprovalTeamsCommand = ListApprovalTeamsCommand;
1616
+ exports.ListApprovalTeamsRequest$ = ListApprovalTeamsRequest$;
1617
+ exports.ListApprovalTeamsResponse$ = ListApprovalTeamsResponse$;
1618
+ exports.ListApprovalTeamsResponseApprovalTeam$ = ListApprovalTeamsResponseApprovalTeam$;
1619
+ exports.ListIdentitySources$ = ListIdentitySources$;
558
1620
  exports.ListIdentitySourcesCommand = ListIdentitySourcesCommand;
1621
+ exports.ListIdentitySourcesRequest$ = ListIdentitySourcesRequest$;
1622
+ exports.ListIdentitySourcesResponse$ = ListIdentitySourcesResponse$;
1623
+ exports.ListPolicies$ = ListPolicies$;
559
1624
  exports.ListPoliciesCommand = ListPoliciesCommand;
1625
+ exports.ListPoliciesRequest$ = ListPoliciesRequest$;
1626
+ exports.ListPoliciesResponse$ = ListPoliciesResponse$;
1627
+ exports.ListPolicyVersions$ = ListPolicyVersions$;
560
1628
  exports.ListPolicyVersionsCommand = ListPolicyVersionsCommand;
1629
+ exports.ListPolicyVersionsRequest$ = ListPolicyVersionsRequest$;
1630
+ exports.ListPolicyVersionsResponse$ = ListPolicyVersionsResponse$;
1631
+ exports.ListResourcePolicies$ = ListResourcePolicies$;
561
1632
  exports.ListResourcePoliciesCommand = ListResourcePoliciesCommand;
1633
+ exports.ListResourcePoliciesRequest$ = ListResourcePoliciesRequest$;
1634
+ exports.ListResourcePoliciesResponse$ = ListResourcePoliciesResponse$;
1635
+ exports.ListResourcePoliciesResponseResourcePolicy$ = ListResourcePoliciesResponseResourcePolicy$;
1636
+ exports.ListSessions$ = ListSessions$;
562
1637
  exports.ListSessionsCommand = ListSessionsCommand;
1638
+ exports.ListSessionsRequest$ = ListSessionsRequest$;
1639
+ exports.ListSessionsResponse$ = ListSessionsResponse$;
1640
+ exports.ListSessionsResponseSession$ = ListSessionsResponseSession$;
1641
+ exports.ListTagsForResource$ = ListTagsForResource$;
563
1642
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1643
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1644
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
564
1645
  exports.MPA = MPA;
565
1646
  exports.MPAClient = MPAClient;
1647
+ exports.MPAServiceException = MPAServiceException;
1648
+ exports.MPAServiceException$ = MPAServiceException$;
1649
+ exports.MfaMethod$ = MfaMethod$;
566
1650
  exports.MfaSyncStatus = MfaSyncStatus;
567
1651
  exports.MfaType = MfaType;
1652
+ exports.MofNApprovalStrategy$ = MofNApprovalStrategy$;
568
1653
  exports.Operator = Operator;
1654
+ exports.PendingUpdate$ = PendingUpdate$;
1655
+ exports.Policy$ = Policy$;
1656
+ exports.PolicyReference$ = PolicyReference$;
569
1657
  exports.PolicyStatus = PolicyStatus;
570
1658
  exports.PolicyType = PolicyType;
1659
+ exports.PolicyVersion$ = PolicyVersion$;
1660
+ exports.PolicyVersionSummary$ = PolicyVersionSummary$;
1661
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1662
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1663
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1664
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
571
1665
  exports.SessionExecutionStatus = SessionExecutionStatus;
572
1666
  exports.SessionResponse = SessionResponse;
573
1667
  exports.SessionStatus = SessionStatus;
574
1668
  exports.SessionStatusCode = SessionStatusCode;
1669
+ exports.StartActiveApprovalTeamDeletion$ = StartActiveApprovalTeamDeletion$;
575
1670
  exports.StartActiveApprovalTeamDeletionCommand = StartActiveApprovalTeamDeletionCommand;
1671
+ exports.StartActiveApprovalTeamDeletionRequest$ = StartActiveApprovalTeamDeletionRequest$;
1672
+ exports.StartActiveApprovalTeamDeletionResponse$ = StartActiveApprovalTeamDeletionResponse$;
1673
+ exports.StartApprovalTeamBaseline$ = StartApprovalTeamBaseline$;
576
1674
  exports.StartApprovalTeamBaselineCommand = StartApprovalTeamBaselineCommand;
1675
+ exports.StartApprovalTeamBaselineRequest$ = StartApprovalTeamBaselineRequest$;
1676
+ exports.StartApprovalTeamBaselineResponse$ = StartApprovalTeamBaselineResponse$;
1677
+ exports.TagResource$ = TagResource$;
577
1678
  exports.TagResourceCommand = TagResourceCommand;
1679
+ exports.TagResourceRequest$ = TagResourceRequest$;
1680
+ exports.TagResourceResponse$ = TagResourceResponse$;
1681
+ exports.ThrottlingException = ThrottlingException;
1682
+ exports.ThrottlingException$ = ThrottlingException$;
1683
+ exports.TooManyTagsException = TooManyTagsException;
1684
+ exports.TooManyTagsException$ = TooManyTagsException$;
1685
+ exports.UntagResource$ = UntagResource$;
578
1686
  exports.UntagResourceCommand = UntagResourceCommand;
1687
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1688
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
579
1689
  exports.UpdateAction = UpdateAction;
1690
+ exports.UpdateApprovalTeam$ = UpdateApprovalTeam$;
580
1691
  exports.UpdateApprovalTeamCommand = UpdateApprovalTeamCommand;
1692
+ exports.UpdateApprovalTeamRequest$ = UpdateApprovalTeamRequest$;
1693
+ exports.UpdateApprovalTeamResponse$ = UpdateApprovalTeamResponse$;
1694
+ exports.ValidationException = ValidationException;
1695
+ exports.ValidationException$ = ValidationException$;
1696
+ exports.errorTypeRegistries = errorTypeRegistries;
581
1697
  exports.paginateListApprovalTeams = paginateListApprovalTeams;
582
1698
  exports.paginateListIdentitySources = paginateListIdentitySources;
583
1699
  exports.paginateListPolicies = paginateListPolicies;