@aws-sdk/client-mpa 3.980.0 → 3.982.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 +42 -10
- package/dist-es/models/enums.js +13 -0
- package/dist-es/schemas/schemas_0.js +26 -10
- package/dist-types/commands/GetApprovalTeamCommand.d.ts +12 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionCommand.d.ts +3 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListSessionsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateApprovalTeamCommand.d.ts +3 -0
- package/dist-types/models/enums.d.ts +45 -0
- package/dist-types/models/models_0.d.ts +48 -12
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -253,7 +253,8 @@ const _AN = "ActionName";
|
|
|
253
253
|
const _APU = "ApprovalPortalUrl";
|
|
254
254
|
const _AR = "ApproverResponses";
|
|
255
255
|
const _AS = "ApprovalStrategy";
|
|
256
|
-
const _ASR = "
|
|
256
|
+
const _ASR = "AdditionalSecurityRequirements";
|
|
257
|
+
const _ASRp = "ApprovalStrategyResponse";
|
|
257
258
|
const _AT = "ApprovalTeams";
|
|
258
259
|
const _ATA = "ApprovalTeamArn";
|
|
259
260
|
const _ATN = "ApprovalTeamName";
|
|
@@ -354,6 +355,8 @@ const _LUT = "LastUpdateTime";
|
|
|
354
355
|
const _LUTa = "LastUpdatedTime";
|
|
355
356
|
const _M = "Message";
|
|
356
357
|
const _MAR = "MinApprovalsRequired";
|
|
358
|
+
const _MM = "MfaMethods";
|
|
359
|
+
const _MMf = "MfaMethod";
|
|
357
360
|
const _MN = "MofN";
|
|
358
361
|
const _MNAS = "MofNApprovalStrategy";
|
|
359
362
|
const _MR = "MaxResults";
|
|
@@ -402,6 +405,7 @@ const _SK = "SessionKey";
|
|
|
402
405
|
const _SM = "StatusMessage";
|
|
403
406
|
const _SMe = "SessionMetadata";
|
|
404
407
|
const _SQEE = "ServiceQuotaExceededException";
|
|
408
|
+
const _SS = "SyncStatus";
|
|
405
409
|
const _SV = "SessionValue";
|
|
406
410
|
const _Se = "Sessions";
|
|
407
411
|
const _T = "Tags";
|
|
@@ -414,6 +418,8 @@ const _TR = "TagResource";
|
|
|
414
418
|
const _TRR = "TagResourceRequest";
|
|
415
419
|
const _TRRa = "TagResourceResponse";
|
|
416
420
|
const _TV = "TagValue";
|
|
421
|
+
const _Ty = "Type";
|
|
422
|
+
const _UA = "UpdateActions";
|
|
417
423
|
const _UAT = "UpdateApprovalTeam";
|
|
418
424
|
const _UATR = "UpdateApprovalTeamRequest";
|
|
419
425
|
const _UATRp = "UpdateApprovalTeamResponse";
|
|
@@ -519,8 +525,8 @@ var GetApprovalTeamResponse$ = [3, n0, _GATRe,
|
|
|
519
525
|
];
|
|
520
526
|
var GetApprovalTeamResponseApprover$ = [3, n0, _GATRA,
|
|
521
527
|
0,
|
|
522
|
-
[_AI, _RT, _PII, _PISA, _PIS],
|
|
523
|
-
[0, 5, 0, 0, 0]
|
|
528
|
+
[_AI, _RT, _PII, _PISA, _PIS, _MM],
|
|
529
|
+
[0, 5, 0, 0, 0, () => MfaMethods]
|
|
524
530
|
];
|
|
525
531
|
var GetIdentitySourceRequest$ = [3, n0, _GISR,
|
|
526
532
|
0,
|
|
@@ -559,8 +565,8 @@ var GetSessionRequest$ = [3, n0, _GSR,
|
|
|
559
565
|
];
|
|
560
566
|
var GetSessionResponse$ = [3, n0, _GSRe,
|
|
561
567
|
0,
|
|
562
|
-
[_SA, _ATA, _ATN, _PRA, _AS, _NOA, _IT, _ET, _CTo, _D, _Me, _S, _SC, _SM, _ES, _AN, _RSP, _RPA, _RAI, _RR, _RC, _ACS, _AR],
|
|
563
|
-
[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]
|
|
568
|
+
[_SA, _ATA, _ATN, _PRA, _AS, _NOA, _IT, _ET, _CTo, _D, _Me, _S, _SC, _SM, _ES, _AN, _RSP, _RPA, _RAI, _RR, _RC, _ACS, _AR, _ASR],
|
|
569
|
+
[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]
|
|
564
570
|
];
|
|
565
571
|
var GetSessionResponseApproverResponse$ = [3, n0, _GSRAR,
|
|
566
572
|
0,
|
|
@@ -676,8 +682,8 @@ var ListSessionsResponse$ = [3, n0, _LSRi,
|
|
|
676
682
|
];
|
|
677
683
|
var ListSessionsResponseSession$ = [3, n0, _LSRS,
|
|
678
684
|
0,
|
|
679
|
-
[_SA, _ATN, _ATA, _IT, _ET, _CTo, _D, _AN, _PRA, _RSP, _RPA, _RR, _RAI, _S, _SC, _SM, _ACS],
|
|
680
|
-
[0, 0, 0, 5, 5, 5, [() => Description, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
|
685
|
+
[_SA, _ATN, _ATA, _IT, _ET, _CTo, _D, _AN, _PRA, _RSP, _RPA, _RR, _RAI, _S, _SC, _SM, _ACS, _ASR],
|
|
686
|
+
[0, 0, 0, 5, 5, 5, [() => Description, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0]
|
|
681
687
|
];
|
|
682
688
|
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
683
689
|
0,
|
|
@@ -689,6 +695,11 @@ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
|
689
695
|
[_T],
|
|
690
696
|
[[() => Tags, 0]]
|
|
691
697
|
];
|
|
698
|
+
var MfaMethod$ = [3, n0, _MMf,
|
|
699
|
+
0,
|
|
700
|
+
[_Ty, _SS],
|
|
701
|
+
[0, 0], 2
|
|
702
|
+
];
|
|
692
703
|
var MofNApprovalStrategy$ = [3, n0, _MNAS,
|
|
693
704
|
0,
|
|
694
705
|
[_MAR],
|
|
@@ -775,8 +786,8 @@ var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
775
786
|
];
|
|
776
787
|
var UpdateApprovalTeamRequest$ = [3, n0, _UATR,
|
|
777
788
|
0,
|
|
778
|
-
[_Ar, _AS, _A, _D],
|
|
779
|
-
[[0, 1], () => ApprovalStrategy$, () => ApprovalTeamRequestApprovers, [() => Description, 0]], 1
|
|
789
|
+
[_Ar, _AS, _A, _D, _UA],
|
|
790
|
+
[[0, 1], () => ApprovalStrategy$, () => ApprovalTeamRequestApprovers, [() => Description, 0], 64 | 0], 1
|
|
780
791
|
];
|
|
781
792
|
var UpdateApprovalTeamResponse$ = [3, n0, _UATRp,
|
|
782
793
|
0,
|
|
@@ -818,6 +829,9 @@ var ListSessionsResponseSessions = [1, n0, _LSRSi,
|
|
|
818
829
|
0, [() => ListSessionsResponseSession$,
|
|
819
830
|
0]
|
|
820
831
|
];
|
|
832
|
+
var MfaMethods = [1, n0, _MM,
|
|
833
|
+
0, () => MfaMethod$
|
|
834
|
+
];
|
|
821
835
|
var Policies = [1, n0, _P,
|
|
822
836
|
0, () => Policy$
|
|
823
837
|
];
|
|
@@ -848,7 +862,7 @@ var ApprovalStrategy$ = [4, n0, _AS,
|
|
|
848
862
|
[_MN],
|
|
849
863
|
[() => MofNApprovalStrategy$]
|
|
850
864
|
];
|
|
851
|
-
var ApprovalStrategyResponse$ = [4, n0,
|
|
865
|
+
var ApprovalStrategyResponse$ = [4, n0, _ASRp,
|
|
852
866
|
0,
|
|
853
867
|
[_MN],
|
|
854
868
|
[() => MofNApprovalStrategy$]
|
|
@@ -1229,6 +1243,16 @@ smithyClient.createAggregatedClient(commands, MPA, { paginators });
|
|
|
1229
1243
|
const ActionCompletionStrategy = {
|
|
1230
1244
|
AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL",
|
|
1231
1245
|
};
|
|
1246
|
+
const AdditionalSecurityRequirement = {
|
|
1247
|
+
APPROVER_VERIFICATION_REQUIRED: "APPROVER_VERIFICATION_REQUIRED",
|
|
1248
|
+
};
|
|
1249
|
+
const MfaSyncStatus = {
|
|
1250
|
+
IN_SYNC: "IN_SYNC",
|
|
1251
|
+
OUT_OF_SYNC: "OUT_OF_SYNC",
|
|
1252
|
+
};
|
|
1253
|
+
const MfaType = {
|
|
1254
|
+
EMAIL_OTP: "EMAIL_OTP",
|
|
1255
|
+
};
|
|
1232
1256
|
const IdentityStatus = {
|
|
1233
1257
|
ACCEPTED: "ACCEPTED",
|
|
1234
1258
|
INVALID: "INVALID",
|
|
@@ -1255,6 +1279,9 @@ const ApprovalTeamStatusCode = {
|
|
|
1255
1279
|
UPDATE_PENDING_APPROVAL: "UPDATE_PENDING_APPROVAL",
|
|
1256
1280
|
VALIDATING: "VALIDATING",
|
|
1257
1281
|
};
|
|
1282
|
+
const UpdateAction = {
|
|
1283
|
+
SYNCHRONIZE_MFA_DEVICES: "SYNCHRONIZE_MFA_DEVICES",
|
|
1284
|
+
};
|
|
1258
1285
|
const PolicyType = {
|
|
1259
1286
|
AWS_MANAGED: "AWS_MANAGED",
|
|
1260
1287
|
AWS_RAM: "AWS_RAM",
|
|
@@ -1331,6 +1358,7 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1331
1358
|
exports.AccessDeniedException = AccessDeniedException;
|
|
1332
1359
|
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1333
1360
|
exports.ActionCompletionStrategy = ActionCompletionStrategy;
|
|
1361
|
+
exports.AdditionalSecurityRequirement = AdditionalSecurityRequirement;
|
|
1334
1362
|
exports.ApprovalStrategy$ = ApprovalStrategy$;
|
|
1335
1363
|
exports.ApprovalStrategyResponse$ = ApprovalStrategyResponse$;
|
|
1336
1364
|
exports.ApprovalTeamRequestApprover$ = ApprovalTeamRequestApprover$;
|
|
@@ -1431,6 +1459,9 @@ exports.MPA = MPA;
|
|
|
1431
1459
|
exports.MPAClient = MPAClient;
|
|
1432
1460
|
exports.MPAServiceException = MPAServiceException;
|
|
1433
1461
|
exports.MPAServiceException$ = MPAServiceException$;
|
|
1462
|
+
exports.MfaMethod$ = MfaMethod$;
|
|
1463
|
+
exports.MfaSyncStatus = MfaSyncStatus;
|
|
1464
|
+
exports.MfaType = MfaType;
|
|
1434
1465
|
exports.MofNApprovalStrategy$ = MofNApprovalStrategy$;
|
|
1435
1466
|
exports.Operator = Operator;
|
|
1436
1467
|
exports.PendingUpdate$ = PendingUpdate$;
|
|
@@ -1464,6 +1495,7 @@ exports.UntagResource$ = UntagResource$;
|
|
|
1464
1495
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1465
1496
|
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1466
1497
|
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1498
|
+
exports.UpdateAction = UpdateAction;
|
|
1467
1499
|
exports.UpdateApprovalTeam$ = UpdateApprovalTeam$;
|
|
1468
1500
|
exports.UpdateApprovalTeamCommand = UpdateApprovalTeamCommand;
|
|
1469
1501
|
exports.UpdateApprovalTeamRequest$ = UpdateApprovalTeamRequest$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
export const ActionCompletionStrategy = {
|
|
2
2
|
AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL",
|
|
3
3
|
};
|
|
4
|
+
export const AdditionalSecurityRequirement = {
|
|
5
|
+
APPROVER_VERIFICATION_REQUIRED: "APPROVER_VERIFICATION_REQUIRED",
|
|
6
|
+
};
|
|
7
|
+
export const MfaSyncStatus = {
|
|
8
|
+
IN_SYNC: "IN_SYNC",
|
|
9
|
+
OUT_OF_SYNC: "OUT_OF_SYNC",
|
|
10
|
+
};
|
|
11
|
+
export const MfaType = {
|
|
12
|
+
EMAIL_OTP: "EMAIL_OTP",
|
|
13
|
+
};
|
|
4
14
|
export const IdentityStatus = {
|
|
5
15
|
ACCEPTED: "ACCEPTED",
|
|
6
16
|
INVALID: "INVALID",
|
|
@@ -27,6 +37,9 @@ export const ApprovalTeamStatusCode = {
|
|
|
27
37
|
UPDATE_PENDING_APPROVAL: "UPDATE_PENDING_APPROVAL",
|
|
28
38
|
VALIDATING: "VALIDATING",
|
|
29
39
|
};
|
|
40
|
+
export const UpdateAction = {
|
|
41
|
+
SYNCHRONIZE_MFA_DEVICES: "SYNCHRONIZE_MFA_DEVICES",
|
|
42
|
+
};
|
|
30
43
|
export const PolicyType = {
|
|
31
44
|
AWS_MANAGED: "AWS_MANAGED",
|
|
32
45
|
AWS_RAM: "AWS_RAM",
|
|
@@ -6,7 +6,8 @@ const _AN = "ActionName";
|
|
|
6
6
|
const _APU = "ApprovalPortalUrl";
|
|
7
7
|
const _AR = "ApproverResponses";
|
|
8
8
|
const _AS = "ApprovalStrategy";
|
|
9
|
-
const _ASR = "
|
|
9
|
+
const _ASR = "AdditionalSecurityRequirements";
|
|
10
|
+
const _ASRp = "ApprovalStrategyResponse";
|
|
10
11
|
const _AT = "ApprovalTeams";
|
|
11
12
|
const _ATA = "ApprovalTeamArn";
|
|
12
13
|
const _ATN = "ApprovalTeamName";
|
|
@@ -107,6 +108,8 @@ const _LUT = "LastUpdateTime";
|
|
|
107
108
|
const _LUTa = "LastUpdatedTime";
|
|
108
109
|
const _M = "Message";
|
|
109
110
|
const _MAR = "MinApprovalsRequired";
|
|
111
|
+
const _MM = "MfaMethods";
|
|
112
|
+
const _MMf = "MfaMethod";
|
|
110
113
|
const _MN = "MofN";
|
|
111
114
|
const _MNAS = "MofNApprovalStrategy";
|
|
112
115
|
const _MR = "MaxResults";
|
|
@@ -155,6 +158,7 @@ const _SK = "SessionKey";
|
|
|
155
158
|
const _SM = "StatusMessage";
|
|
156
159
|
const _SMe = "SessionMetadata";
|
|
157
160
|
const _SQEE = "ServiceQuotaExceededException";
|
|
161
|
+
const _SS = "SyncStatus";
|
|
158
162
|
const _SV = "SessionValue";
|
|
159
163
|
const _Se = "Sessions";
|
|
160
164
|
const _T = "Tags";
|
|
@@ -167,6 +171,8 @@ const _TR = "TagResource";
|
|
|
167
171
|
const _TRR = "TagResourceRequest";
|
|
168
172
|
const _TRRa = "TagResourceResponse";
|
|
169
173
|
const _TV = "TagValue";
|
|
174
|
+
const _Ty = "Type";
|
|
175
|
+
const _UA = "UpdateActions";
|
|
170
176
|
const _UAT = "UpdateApprovalTeam";
|
|
171
177
|
const _UATR = "UpdateApprovalTeamRequest";
|
|
172
178
|
const _UATRp = "UpdateApprovalTeamResponse";
|
|
@@ -275,8 +281,8 @@ export var GetApprovalTeamResponse$ = [3, n0, _GATRe,
|
|
|
275
281
|
];
|
|
276
282
|
export var GetApprovalTeamResponseApprover$ = [3, n0, _GATRA,
|
|
277
283
|
0,
|
|
278
|
-
[_AI, _RT, _PII, _PISA, _PIS],
|
|
279
|
-
[0, 5, 0, 0, 0]
|
|
284
|
+
[_AI, _RT, _PII, _PISA, _PIS, _MM],
|
|
285
|
+
[0, 5, 0, 0, 0, () => MfaMethods]
|
|
280
286
|
];
|
|
281
287
|
export var GetIdentitySourceRequest$ = [3, n0, _GISR,
|
|
282
288
|
0,
|
|
@@ -315,8 +321,8 @@ export var GetSessionRequest$ = [3, n0, _GSR,
|
|
|
315
321
|
];
|
|
316
322
|
export var GetSessionResponse$ = [3, n0, _GSRe,
|
|
317
323
|
0,
|
|
318
|
-
[_SA, _ATA, _ATN, _PRA, _AS, _NOA, _IT, _ET, _CTo, _D, _Me, _S, _SC, _SM, _ES, _AN, _RSP, _RPA, _RAI, _RR, _RC, _ACS, _AR],
|
|
319
|
-
[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]
|
|
324
|
+
[_SA, _ATA, _ATN, _PRA, _AS, _NOA, _IT, _ET, _CTo, _D, _Me, _S, _SC, _SM, _ES, _AN, _RSP, _RPA, _RAI, _RR, _RC, _ACS, _AR, _ASR],
|
|
325
|
+
[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]
|
|
320
326
|
];
|
|
321
327
|
export var GetSessionResponseApproverResponse$ = [3, n0, _GSRAR,
|
|
322
328
|
0,
|
|
@@ -432,8 +438,8 @@ export var ListSessionsResponse$ = [3, n0, _LSRi,
|
|
|
432
438
|
];
|
|
433
439
|
export var ListSessionsResponseSession$ = [3, n0, _LSRS,
|
|
434
440
|
0,
|
|
435
|
-
[_SA, _ATN, _ATA, _IT, _ET, _CTo, _D, _AN, _PRA, _RSP, _RPA, _RR, _RAI, _S, _SC, _SM, _ACS],
|
|
436
|
-
[0, 0, 0, 5, 5, 5, [() => Description, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
|
441
|
+
[_SA, _ATN, _ATA, _IT, _ET, _CTo, _D, _AN, _PRA, _RSP, _RPA, _RR, _RAI, _S, _SC, _SM, _ACS, _ASR],
|
|
442
|
+
[0, 0, 0, 5, 5, 5, [() => Description, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0]
|
|
437
443
|
];
|
|
438
444
|
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
439
445
|
0,
|
|
@@ -445,6 +451,11 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
|
445
451
|
[_T],
|
|
446
452
|
[[() => Tags, 0]]
|
|
447
453
|
];
|
|
454
|
+
export var MfaMethod$ = [3, n0, _MMf,
|
|
455
|
+
0,
|
|
456
|
+
[_Ty, _SS],
|
|
457
|
+
[0, 0], 2
|
|
458
|
+
];
|
|
448
459
|
export var MofNApprovalStrategy$ = [3, n0, _MNAS,
|
|
449
460
|
0,
|
|
450
461
|
[_MAR],
|
|
@@ -531,8 +542,8 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
531
542
|
];
|
|
532
543
|
export var UpdateApprovalTeamRequest$ = [3, n0, _UATR,
|
|
533
544
|
0,
|
|
534
|
-
[_Ar, _AS, _A, _D],
|
|
535
|
-
[[0, 1], () => ApprovalStrategy$, () => ApprovalTeamRequestApprovers, [() => Description, 0]], 1
|
|
545
|
+
[_Ar, _AS, _A, _D, _UA],
|
|
546
|
+
[[0, 1], () => ApprovalStrategy$, () => ApprovalTeamRequestApprovers, [() => Description, 0], 64 | 0], 1
|
|
536
547
|
];
|
|
537
548
|
export var UpdateApprovalTeamResponse$ = [3, n0, _UATRp,
|
|
538
549
|
0,
|
|
@@ -548,6 +559,7 @@ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
|
548
559
|
var __Unit = "unit";
|
|
549
560
|
export var MPAServiceException$ = [-3, _sm, "MPAServiceException", 0, [], []];
|
|
550
561
|
TypeRegistry.for(_sm).registerError(MPAServiceException$, MPAServiceException);
|
|
562
|
+
var AdditionalSecurityRequirements = 64 | 0;
|
|
551
563
|
var ApprovalTeamRequestApprovers = [1, n0, _ATRAp,
|
|
552
564
|
0, () => ApprovalTeamRequestApprover$
|
|
553
565
|
];
|
|
@@ -574,6 +586,9 @@ var ListSessionsResponseSessions = [1, n0, _LSRSi,
|
|
|
574
586
|
0, [() => ListSessionsResponseSession$,
|
|
575
587
|
0]
|
|
576
588
|
];
|
|
589
|
+
var MfaMethods = [1, n0, _MM,
|
|
590
|
+
0, () => MfaMethod$
|
|
591
|
+
];
|
|
577
592
|
var Policies = [1, n0, _P,
|
|
578
593
|
0, () => Policy$
|
|
579
594
|
];
|
|
@@ -587,6 +602,7 @@ var TagKeyList = [1, n0, _TKL,
|
|
|
587
602
|
8, [() => TagKey,
|
|
588
603
|
0]
|
|
589
604
|
];
|
|
605
|
+
var UpdateActions = 64 | 0;
|
|
590
606
|
var SessionMetadata = [2, n0, _SMe,
|
|
591
607
|
8, [() => SessionKey,
|
|
592
608
|
0],
|
|
@@ -604,7 +620,7 @@ export var ApprovalStrategy$ = [4, n0, _AS,
|
|
|
604
620
|
[_MN],
|
|
605
621
|
[() => MofNApprovalStrategy$]
|
|
606
622
|
];
|
|
607
|
-
export var ApprovalStrategyResponse$ = [4, n0,
|
|
623
|
+
export var ApprovalStrategyResponse$ = [4, n0, _ASRp,
|
|
608
624
|
0,
|
|
609
625
|
[_MN],
|
|
610
626
|
[() => MofNApprovalStrategy$]
|
|
@@ -56,6 +56,12 @@ declare const GetApprovalTeamCommand_base: {
|
|
|
56
56
|
* // PrimaryIdentityId: "STRING_VALUE",
|
|
57
57
|
* // PrimaryIdentitySourceArn: "STRING_VALUE",
|
|
58
58
|
* // PrimaryIdentityStatus: "PENDING" || "ACCEPTED" || "REJECTED" || "INVALID",
|
|
59
|
+
* // MfaMethods: [ // MfaMethods
|
|
60
|
+
* // { // MfaMethod
|
|
61
|
+
* // Type: "EMAIL_OTP", // required
|
|
62
|
+
* // SyncStatus: "IN_SYNC" || "OUT_OF_SYNC", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
59
65
|
* // },
|
|
60
66
|
* // ],
|
|
61
67
|
* // Arn: "STRING_VALUE",
|
|
@@ -91,6 +97,12 @@ declare const GetApprovalTeamCommand_base: {
|
|
|
91
97
|
* // PrimaryIdentityId: "STRING_VALUE",
|
|
92
98
|
* // PrimaryIdentitySourceArn: "STRING_VALUE",
|
|
93
99
|
* // PrimaryIdentityStatus: "PENDING" || "ACCEPTED" || "REJECTED" || "INVALID",
|
|
100
|
+
* // MfaMethods: [
|
|
101
|
+
* // {
|
|
102
|
+
* // Type: "EMAIL_OTP", // required
|
|
103
|
+
* // SyncStatus: "IN_SYNC" || "OUT_OF_SYNC", // required
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
94
106
|
* // },
|
|
95
107
|
* // ],
|
|
96
108
|
* // UpdateInitiationTime: new Date("TIMESTAMP"),
|
|
@@ -27,7 +27,7 @@ declare const GetPolicyVersionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns details for the version of a policy. Policies define the permissions for team resources.</p>
|
|
30
|
+
* <p>Returns details for the version of a policy. Policies define the permissions for team resources.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -79,6 +79,9 @@ declare const GetSessionCommand_base: {
|
|
|
79
79
|
* // ResponseTime: new Date("TIMESTAMP"),
|
|
80
80
|
* // },
|
|
81
81
|
* // ],
|
|
82
|
+
* // AdditionalSecurityRequirements: [ // AdditionalSecurityRequirements
|
|
83
|
+
* // "APPROVER_VERIFICATION_REQUIRED",
|
|
84
|
+
* // ],
|
|
82
85
|
* // };
|
|
83
86
|
*
|
|
84
87
|
* ```
|
|
@@ -27,7 +27,7 @@ declare const ListPoliciesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of policies. Policies define the permissions for team resources.</p>
|
|
30
|
+
* <p>Returns a list of policies. Policies define the permissions for team resources.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ListPolicyVersionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of the versions for policies. Policies define the permissions for team resources.</p>
|
|
30
|
+
* <p>Returns a list of the versions for policies. Policies define the permissions for team resources.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -71,6 +71,9 @@ declare const ListSessionsCommand_base: {
|
|
|
71
71
|
* // StatusCode: "REJECTED" || "EXPIRED" || "CONFIGURATION_CHANGED",
|
|
72
72
|
* // StatusMessage: "STRING_VALUE",
|
|
73
73
|
* // ActionCompletionStrategy: "AUTO_COMPLETION_UPON_APPROVAL",
|
|
74
|
+
* // AdditionalSecurityRequirements: [ // AdditionalSecurityRequirements
|
|
75
|
+
* // "APPROVER_VERIFICATION_REQUIRED",
|
|
76
|
+
* // ],
|
|
74
77
|
* // },
|
|
75
78
|
* // ],
|
|
76
79
|
* // };
|
|
@@ -50,6 +50,9 @@ declare const UpdateApprovalTeamCommand_base: {
|
|
|
50
50
|
* ],
|
|
51
51
|
* Description: "STRING_VALUE",
|
|
52
52
|
* Arn: "STRING_VALUE", // required
|
|
53
|
+
* UpdateActions: [ // UpdateActions
|
|
54
|
+
* "SYNCHRONIZE_MFA_DEVICES",
|
|
55
|
+
* ],
|
|
53
56
|
* };
|
|
54
57
|
* const command = new UpdateApprovalTeamCommand(input);
|
|
55
58
|
* const response = await client.send(command);
|
|
@@ -9,6 +9,40 @@ export declare const ActionCompletionStrategy: {
|
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
11
|
export type ActionCompletionStrategy = (typeof ActionCompletionStrategy)[keyof typeof ActionCompletionStrategy];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const AdditionalSecurityRequirement: {
|
|
17
|
+
readonly APPROVER_VERIFICATION_REQUIRED: "APPROVER_VERIFICATION_REQUIRED";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export type AdditionalSecurityRequirement = (typeof AdditionalSecurityRequirement)[keyof typeof AdditionalSecurityRequirement];
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
* @enum
|
|
26
|
+
*/
|
|
27
|
+
export declare const MfaSyncStatus: {
|
|
28
|
+
readonly IN_SYNC: "IN_SYNC";
|
|
29
|
+
readonly OUT_OF_SYNC: "OUT_OF_SYNC";
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export type MfaSyncStatus = (typeof MfaSyncStatus)[keyof typeof MfaSyncStatus];
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
* @enum
|
|
38
|
+
*/
|
|
39
|
+
export declare const MfaType: {
|
|
40
|
+
readonly EMAIL_OTP: "EMAIL_OTP";
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export type MfaType = (typeof MfaType)[keyof typeof MfaType];
|
|
12
46
|
/**
|
|
13
47
|
* @public
|
|
14
48
|
* @enum
|
|
@@ -59,6 +93,17 @@ export declare const ApprovalTeamStatusCode: {
|
|
|
59
93
|
* @public
|
|
60
94
|
*/
|
|
61
95
|
export type ApprovalTeamStatusCode = (typeof ApprovalTeamStatusCode)[keyof typeof ApprovalTeamStatusCode];
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
* @enum
|
|
99
|
+
*/
|
|
100
|
+
export declare const UpdateAction: {
|
|
101
|
+
readonly SYNCHRONIZE_MFA_DEVICES: "SYNCHRONIZE_MFA_DEVICES";
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export type UpdateAction = (typeof UpdateAction)[keyof typeof UpdateAction];
|
|
62
107
|
/**
|
|
63
108
|
* @public
|
|
64
109
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionCompletionStrategy, ApprovalTeamStatus, ApprovalTeamStatusCode, FilterField, IdentitySourceStatus, IdentitySourceStatusCode, IdentitySourceType, IdentityStatus, Operator, PolicyStatus, PolicyType, SessionExecutionStatus, SessionResponse, SessionStatus, SessionStatusCode } from "./enums";
|
|
1
|
+
import { ActionCompletionStrategy, AdditionalSecurityRequirement, ApprovalTeamStatus, ApprovalTeamStatusCode, FilterField, IdentitySourceStatus, IdentitySourceStatusCode, IdentitySourceType, IdentityStatus, MfaSyncStatus, MfaType, Operator, PolicyStatus, PolicyType, SessionExecutionStatus, SessionResponse, SessionStatus, SessionStatusCode, UpdateAction } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Strategy for how an approval team grants approval.</p>
|
|
4
4
|
* @public
|
|
@@ -93,7 +93,7 @@ export interface ApprovalTeamRequestApprover {
|
|
|
93
93
|
PrimaryIdentitySourceArn: string | undefined;
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
|
-
* <p>Contains the Amazon Resource Name (ARN) for a policy. Policies define what operations a team that define the permissions for team resources.</p>
|
|
96
|
+
* <p>Contains the Amazon Resource Name (ARN) for a policy. Policies define what operations a team that define the permissions for team resources.</p>
|
|
97
97
|
* @public
|
|
98
98
|
*/
|
|
99
99
|
export interface PolicyReference {
|
|
@@ -128,7 +128,7 @@ export interface CreateApprovalTeamRequest {
|
|
|
128
128
|
*/
|
|
129
129
|
Description: string | undefined;
|
|
130
130
|
/**
|
|
131
|
-
* <p>An array of <code>PolicyReference</code> objects. Contains a list of policies that define the permissions for team resources.</p>
|
|
131
|
+
* <p>An array of <code>PolicyReference</code> objects. Contains a list of policies that define the permissions for team resources.</p>
|
|
132
132
|
* @public
|
|
133
133
|
*/
|
|
134
134
|
Policies: PolicyReference[] | undefined;
|
|
@@ -198,6 +198,22 @@ export interface GetApprovalTeamRequest {
|
|
|
198
198
|
*/
|
|
199
199
|
Arn: string | undefined;
|
|
200
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* <p>MFA configuration and sycnronization status for an approver</p>
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
export interface MfaMethod {
|
|
206
|
+
/**
|
|
207
|
+
* <p>The type of MFA configuration used by the approver</p>
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
Type: MfaType | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* <p>Indicates if the approver's MFA device is in-sync with the Identity Source</p>
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
SyncStatus: MfaSyncStatus | undefined;
|
|
216
|
+
}
|
|
201
217
|
/**
|
|
202
218
|
* <p>Contains details for an approver.</p>
|
|
203
219
|
* @public
|
|
@@ -228,6 +244,11 @@ export interface GetApprovalTeamResponseApprover {
|
|
|
228
244
|
* @public
|
|
229
245
|
*/
|
|
230
246
|
PrimaryIdentityStatus?: IdentityStatus | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* <p>Multi-factor authentication configuration for the approver</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
MfaMethods?: MfaMethod[] | undefined;
|
|
231
252
|
}
|
|
232
253
|
/**
|
|
233
254
|
* <p>Contains details for the pending updates for an approval team, if applicable.</p>
|
|
@@ -345,7 +366,7 @@ export interface GetApprovalTeamResponse {
|
|
|
345
366
|
*/
|
|
346
367
|
VersionId?: string | undefined;
|
|
347
368
|
/**
|
|
348
|
-
* <p>An array of <code>PolicyReference</code> objects. Contains a list of policies that define the permissions for team resources.</p>
|
|
369
|
+
* <p>An array of <code>PolicyReference</code> objects. Contains a list of policies that define the permissions for team resources.</p>
|
|
349
370
|
* @public
|
|
350
371
|
*/
|
|
351
372
|
Policies?: PolicyReference[] | undefined;
|
|
@@ -495,6 +516,11 @@ export interface UpdateApprovalTeamRequest {
|
|
|
495
516
|
* @public
|
|
496
517
|
*/
|
|
497
518
|
Arn: string | undefined;
|
|
519
|
+
/**
|
|
520
|
+
* <p>A list of <code>UpdateAction</code> to perform when updating the team.</p>
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
UpdateActions?: UpdateAction[] | undefined;
|
|
498
524
|
}
|
|
499
525
|
/**
|
|
500
526
|
* @public
|
|
@@ -517,7 +543,7 @@ export interface GetPolicyVersionRequest {
|
|
|
517
543
|
PolicyVersionArn: string | undefined;
|
|
518
544
|
}
|
|
519
545
|
/**
|
|
520
|
-
* <p>Contains details for the version of a policy. Policies define what operations a team that define the permissions for team resources.</p>
|
|
546
|
+
* <p>Contains details for the version of a policy. Policies define what operations a team that define the permissions for team resources.</p>
|
|
521
547
|
* @public
|
|
522
548
|
*/
|
|
523
549
|
export interface PolicyVersion {
|
|
@@ -552,7 +578,7 @@ export interface PolicyVersion {
|
|
|
552
578
|
*/
|
|
553
579
|
Name: string | undefined;
|
|
554
580
|
/**
|
|
555
|
-
* <p>Status for the policy. For example, if the policy is <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_attach-policy.html">attachable</a> or <a href="https://docs.aws.amazon.com/access_policies_managed-deprecated.html">deprecated</a>.</p>
|
|
581
|
+
* <p>Status for the policy. For example, if the policy is <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_attach-policy.html">attachable</a> or <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-deprecated.html">deprecated</a>.</p>
|
|
556
582
|
* @public
|
|
557
583
|
*/
|
|
558
584
|
Status: PolicyStatus | undefined;
|
|
@@ -577,7 +603,7 @@ export interface PolicyVersion {
|
|
|
577
603
|
*/
|
|
578
604
|
export interface GetPolicyVersionResponse {
|
|
579
605
|
/**
|
|
580
|
-
* <p>A <code>PolicyVersion</code> object. Contains details for the version of the policy. Policies define the permissions for team resources.</p>
|
|
606
|
+
* <p>A <code>PolicyVersion</code> object. Contains details for the version of the policy. Policies define the permissions for team resources.</p>
|
|
581
607
|
* @public
|
|
582
608
|
*/
|
|
583
609
|
PolicyVersion: PolicyVersion | undefined;
|
|
@@ -954,7 +980,7 @@ export interface ListPoliciesRequest {
|
|
|
954
980
|
NextToken?: string | undefined;
|
|
955
981
|
}
|
|
956
982
|
/**
|
|
957
|
-
* <p>Contains details for a policy. Policies define what operations a team that define the permissions for team resources.</p>
|
|
983
|
+
* <p>Contains details for a policy. Policies define what operations a team that define the permissions for team resources.</p>
|
|
958
984
|
* @public
|
|
959
985
|
*/
|
|
960
986
|
export interface Policy {
|
|
@@ -989,7 +1015,7 @@ export interface ListPoliciesResponse {
|
|
|
989
1015
|
*/
|
|
990
1016
|
NextToken?: string | undefined;
|
|
991
1017
|
/**
|
|
992
|
-
* <p>An array of <code>Policy</code> objects. Contains a list of policies that define the permissions for team resources.</p>
|
|
1018
|
+
* <p>An array of <code>Policy</code> objects. Contains a list of policies that define the permissions for team resources.</p>
|
|
993
1019
|
* @public
|
|
994
1020
|
*/
|
|
995
1021
|
Policies?: Policy[] | undefined;
|
|
@@ -1015,7 +1041,7 @@ export interface ListPolicyVersionsRequest {
|
|
|
1015
1041
|
PolicyArn: string | undefined;
|
|
1016
1042
|
}
|
|
1017
1043
|
/**
|
|
1018
|
-
* <p>Contains details for the version of a policy. Policies define what operations a team that define the permissions for team resources.</p>
|
|
1044
|
+
* <p>Contains details for the version of a policy. Policies define what operations a team that define the permissions for team resources.</p>
|
|
1019
1045
|
* @public
|
|
1020
1046
|
*/
|
|
1021
1047
|
export interface PolicyVersionSummary {
|
|
@@ -1050,7 +1076,7 @@ export interface PolicyVersionSummary {
|
|
|
1050
1076
|
*/
|
|
1051
1077
|
Name: string | undefined;
|
|
1052
1078
|
/**
|
|
1053
|
-
* <p>Status for the policy. For example, if the policy is <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_attach-policy.html">attachable</a> or <a href="https://docs.aws.amazon.com/access_policies_managed-deprecated.html">deprecated</a>.</p>
|
|
1079
|
+
* <p>Status for the policy. For example, if the policy is <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_attach-policy.html">attachable</a> or <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-deprecated.html">deprecated</a>.</p>
|
|
1054
1080
|
* @public
|
|
1055
1081
|
*/
|
|
1056
1082
|
Status: PolicyStatus | undefined;
|
|
@@ -1075,7 +1101,7 @@ export interface ListPolicyVersionsResponse {
|
|
|
1075
1101
|
*/
|
|
1076
1102
|
NextToken?: string | undefined;
|
|
1077
1103
|
/**
|
|
1078
|
-
* <p>An array of <code>PolicyVersionSummary</code> objects. Contains details for the version of the policies that define the permissions for team resources.</p>
|
|
1104
|
+
* <p>An array of <code>PolicyVersionSummary</code> objects. Contains details for the version of the policies that define the permissions for team resources.</p>
|
|
1079
1105
|
* @public
|
|
1080
1106
|
*/
|
|
1081
1107
|
PolicyVersions?: PolicyVersionSummary[] | undefined;
|
|
@@ -1331,6 +1357,11 @@ export interface GetSessionResponse {
|
|
|
1331
1357
|
* @public
|
|
1332
1358
|
*/
|
|
1333
1359
|
ApproverResponses?: GetSessionResponseApproverResponse[] | undefined;
|
|
1360
|
+
/**
|
|
1361
|
+
* <p>A list of <code>AdditionalSecurityRequirement</code> applied to the session.</p>
|
|
1362
|
+
* @public
|
|
1363
|
+
*/
|
|
1364
|
+
AdditionalSecurityRequirements?: AdditionalSecurityRequirement[] | undefined;
|
|
1334
1365
|
}
|
|
1335
1366
|
/**
|
|
1336
1367
|
* <p>Contains the filter to apply to requests. You can specify up to 10 filters for a request.</p>
|
|
@@ -1468,6 +1499,11 @@ export interface ListSessionsResponseSession {
|
|
|
1468
1499
|
* @public
|
|
1469
1500
|
*/
|
|
1470
1501
|
ActionCompletionStrategy?: ActionCompletionStrategy | undefined;
|
|
1502
|
+
/**
|
|
1503
|
+
* <p>A list of <code>AdditionalSecurityRequirement</code> applied to the session.</p>
|
|
1504
|
+
* @public
|
|
1505
|
+
*/
|
|
1506
|
+
AdditionalSecurityRequirements?: AdditionalSecurityRequirement[] | undefined;
|
|
1471
1507
|
}
|
|
1472
1508
|
/**
|
|
1473
1509
|
* @public
|
|
@@ -48,6 +48,7 @@ export declare var ListSessionsResponse$: StaticStructureSchema;
|
|
|
48
48
|
export declare var ListSessionsResponseSession$: StaticStructureSchema;
|
|
49
49
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
50
50
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
51
|
+
export declare var MfaMethod$: StaticStructureSchema;
|
|
51
52
|
export declare var MofNApprovalStrategy$: StaticStructureSchema;
|
|
52
53
|
export declare var PendingUpdate$: StaticStructureSchema;
|
|
53
54
|
export declare var Policy$: StaticStructureSchema;
|
|
@@ -3,6 +3,20 @@ export declare const ActionCompletionStrategy: {
|
|
|
3
3
|
};
|
|
4
4
|
export type ActionCompletionStrategy =
|
|
5
5
|
(typeof ActionCompletionStrategy)[keyof typeof ActionCompletionStrategy];
|
|
6
|
+
export declare const AdditionalSecurityRequirement: {
|
|
7
|
+
readonly APPROVER_VERIFICATION_REQUIRED: "APPROVER_VERIFICATION_REQUIRED";
|
|
8
|
+
};
|
|
9
|
+
export type AdditionalSecurityRequirement =
|
|
10
|
+
(typeof AdditionalSecurityRequirement)[keyof typeof AdditionalSecurityRequirement];
|
|
11
|
+
export declare const MfaSyncStatus: {
|
|
12
|
+
readonly IN_SYNC: "IN_SYNC";
|
|
13
|
+
readonly OUT_OF_SYNC: "OUT_OF_SYNC";
|
|
14
|
+
};
|
|
15
|
+
export type MfaSyncStatus = (typeof MfaSyncStatus)[keyof typeof MfaSyncStatus];
|
|
16
|
+
export declare const MfaType: {
|
|
17
|
+
readonly EMAIL_OTP: "EMAIL_OTP";
|
|
18
|
+
};
|
|
19
|
+
export type MfaType = (typeof MfaType)[keyof typeof MfaType];
|
|
6
20
|
export declare const IdentityStatus: {
|
|
7
21
|
readonly ACCEPTED: "ACCEPTED";
|
|
8
22
|
readonly INVALID: "INVALID";
|
|
@@ -35,6 +49,10 @@ export declare const ApprovalTeamStatusCode: {
|
|
|
35
49
|
};
|
|
36
50
|
export type ApprovalTeamStatusCode =
|
|
37
51
|
(typeof ApprovalTeamStatusCode)[keyof typeof ApprovalTeamStatusCode];
|
|
52
|
+
export declare const UpdateAction: {
|
|
53
|
+
readonly SYNCHRONIZE_MFA_DEVICES: "SYNCHRONIZE_MFA_DEVICES";
|
|
54
|
+
};
|
|
55
|
+
export type UpdateAction = (typeof UpdateAction)[keyof typeof UpdateAction];
|
|
38
56
|
export declare const PolicyType: {
|
|
39
57
|
readonly AWS_MANAGED: "AWS_MANAGED";
|
|
40
58
|
readonly AWS_RAM: "AWS_RAM";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActionCompletionStrategy,
|
|
3
|
+
AdditionalSecurityRequirement,
|
|
3
4
|
ApprovalTeamStatus,
|
|
4
5
|
ApprovalTeamStatusCode,
|
|
5
6
|
FilterField,
|
|
@@ -7,6 +8,8 @@ import {
|
|
|
7
8
|
IdentitySourceStatusCode,
|
|
8
9
|
IdentitySourceType,
|
|
9
10
|
IdentityStatus,
|
|
11
|
+
MfaSyncStatus,
|
|
12
|
+
MfaType,
|
|
10
13
|
Operator,
|
|
11
14
|
PolicyStatus,
|
|
12
15
|
PolicyType,
|
|
@@ -14,6 +17,7 @@ import {
|
|
|
14
17
|
SessionResponse,
|
|
15
18
|
SessionStatus,
|
|
16
19
|
SessionStatusCode,
|
|
20
|
+
UpdateAction,
|
|
17
21
|
} from "./enums";
|
|
18
22
|
export interface MofNApprovalStrategy {
|
|
19
23
|
MinApprovalsRequired: number | undefined;
|
|
@@ -82,12 +86,17 @@ export interface DeleteInactiveApprovalTeamVersionResponse {}
|
|
|
82
86
|
export interface GetApprovalTeamRequest {
|
|
83
87
|
Arn: string | undefined;
|
|
84
88
|
}
|
|
89
|
+
export interface MfaMethod {
|
|
90
|
+
Type: MfaType | undefined;
|
|
91
|
+
SyncStatus: MfaSyncStatus | undefined;
|
|
92
|
+
}
|
|
85
93
|
export interface GetApprovalTeamResponseApprover {
|
|
86
94
|
ApproverId?: string | undefined;
|
|
87
95
|
ResponseTime?: Date | undefined;
|
|
88
96
|
PrimaryIdentityId?: string | undefined;
|
|
89
97
|
PrimaryIdentitySourceArn?: string | undefined;
|
|
90
98
|
PrimaryIdentityStatus?: IdentityStatus | undefined;
|
|
99
|
+
MfaMethods?: MfaMethod[] | undefined;
|
|
91
100
|
}
|
|
92
101
|
export interface PendingUpdate {
|
|
93
102
|
VersionId?: string | undefined;
|
|
@@ -149,6 +158,7 @@ export interface UpdateApprovalTeamRequest {
|
|
|
149
158
|
Approvers?: ApprovalTeamRequestApprover[] | undefined;
|
|
150
159
|
Description?: string | undefined;
|
|
151
160
|
Arn: string | undefined;
|
|
161
|
+
UpdateActions?: UpdateAction[] | undefined;
|
|
152
162
|
}
|
|
153
163
|
export interface UpdateApprovalTeamResponse {
|
|
154
164
|
VersionId?: string | undefined;
|
|
@@ -368,6 +378,7 @@ export interface GetSessionResponse {
|
|
|
368
378
|
RequesterComment?: string | undefined;
|
|
369
379
|
ActionCompletionStrategy?: ActionCompletionStrategy | undefined;
|
|
370
380
|
ApproverResponses?: GetSessionResponseApproverResponse[] | undefined;
|
|
381
|
+
AdditionalSecurityRequirements?: AdditionalSecurityRequirement[] | undefined;
|
|
371
382
|
}
|
|
372
383
|
export interface Filter {
|
|
373
384
|
FieldName?: FilterField | undefined;
|
|
@@ -398,6 +409,7 @@ export interface ListSessionsResponseSession {
|
|
|
398
409
|
StatusCode?: SessionStatusCode | undefined;
|
|
399
410
|
StatusMessage?: string | undefined;
|
|
400
411
|
ActionCompletionStrategy?: ActionCompletionStrategy | undefined;
|
|
412
|
+
AdditionalSecurityRequirements?: AdditionalSecurityRequirement[] | undefined;
|
|
401
413
|
}
|
|
402
414
|
export interface ListSessionsResponse {
|
|
403
415
|
NextToken?: string | undefined;
|
|
@@ -53,6 +53,7 @@ export declare var ListSessionsResponse$: StaticStructureSchema;
|
|
|
53
53
|
export declare var ListSessionsResponseSession$: StaticStructureSchema;
|
|
54
54
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
55
55
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
56
|
+
export declare var MfaMethod$: StaticStructureSchema;
|
|
56
57
|
export declare var MofNApprovalStrategy$: StaticStructureSchema;
|
|
57
58
|
export declare var PendingUpdate$: StaticStructureSchema;
|
|
58
59
|
export declare var Policy$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mpa",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mpa Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.982.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mpa",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.6",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.5",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.6",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.982.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.4",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
36
|
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|