@aws-sdk/client-mpa 3.1001.0 → 3.1003.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/README.md CHANGED
@@ -327,6 +327,13 @@ StartActiveApprovalTeamDeletion
327
327
  </details>
328
328
  <details>
329
329
  <summary>
330
+ StartApprovalTeamBaseline
331
+ </summary>
332
+
333
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mpa/command/StartApprovalTeamBaselineCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mpa/Interface/StartApprovalTeamBaselineCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mpa/Interface/StartApprovalTeamBaselineCommandOutput/)
334
+ </details>
335
+ <details>
336
+ <summary>
330
337
  TagResource
331
338
  </summary>
332
339
 
package/dist-cjs/index.js CHANGED
@@ -327,6 +327,18 @@ class StartActiveApprovalTeamDeletionCommand extends smithyClient.Command
327
327
  .build() {
328
328
  }
329
329
 
330
+ class StartApprovalTeamBaselineCommand extends smithyClient.Command
331
+ .classBuilder()
332
+ .ep(commonParams)
333
+ .m(function (Command, cs, config, o) {
334
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
335
+ })
336
+ .s("AWSFluffyCoreService", "StartApprovalTeamBaseline", {})
337
+ .n("MPAClient", "StartApprovalTeamBaselineCommand")
338
+ .sc(schemas_0.StartApprovalTeamBaseline$)
339
+ .build() {
340
+ }
341
+
330
342
  class TagResourceCommand extends smithyClient.Command
331
343
  .classBuilder()
332
344
  .ep(commonParams)
@@ -394,6 +406,7 @@ const commands = {
394
406
  ListSessionsCommand,
395
407
  ListTagsForResourceCommand,
396
408
  StartActiveApprovalTeamDeletionCommand,
409
+ StartApprovalTeamBaselineCommand,
397
410
  TagResourceCommand,
398
411
  UntagResourceCommand,
399
412
  UpdateApprovalTeamCommand,
@@ -416,6 +429,11 @@ const ActionCompletionStrategy = {
416
429
  const AdditionalSecurityRequirement = {
417
430
  APPROVER_VERIFICATION_REQUIRED: "APPROVER_VERIFICATION_REQUIRED",
418
431
  };
432
+ const ApproverLastActivity = {
433
+ BASELINED: "BASELINED",
434
+ RESPONDED_TO_INVITATION: "RESPONDED_TO_INVITATION",
435
+ VOTED: "VOTED",
436
+ };
419
437
  const MfaSyncStatus = {
420
438
  IN_SYNC: "IN_SYNC",
421
439
  OUT_OF_SYNC: "OUT_OF_SYNC",
@@ -493,6 +511,7 @@ const SessionStatus = {
493
511
  PENDING: "PENDING",
494
512
  };
495
513
  const SessionStatusCode = {
514
+ ALL_APPROVERS_IN_SESSION: "ALL_APPROVERS_IN_SESSION",
496
515
  CONFIGURATION_CHANGED: "CONFIGURATION_CHANGED",
497
516
  EXPIRED: "EXPIRED",
498
517
  REJECTED: "REJECTED",
@@ -524,6 +543,7 @@ exports.ActionCompletionStrategy = ActionCompletionStrategy;
524
543
  exports.AdditionalSecurityRequirement = AdditionalSecurityRequirement;
525
544
  exports.ApprovalTeamStatus = ApprovalTeamStatus;
526
545
  exports.ApprovalTeamStatusCode = ApprovalTeamStatusCode;
546
+ exports.ApproverLastActivity = ApproverLastActivity;
527
547
  exports.CancelSessionCommand = CancelSessionCommand;
528
548
  exports.CreateApprovalTeamCommand = CreateApprovalTeamCommand;
529
549
  exports.CreateIdentitySourceCommand = CreateIdentitySourceCommand;
@@ -558,6 +578,7 @@ exports.SessionResponse = SessionResponse;
558
578
  exports.SessionStatus = SessionStatus;
559
579
  exports.SessionStatusCode = SessionStatusCode;
560
580
  exports.StartActiveApprovalTeamDeletionCommand = StartActiveApprovalTeamDeletionCommand;
581
+ exports.StartApprovalTeamBaselineCommand = StartApprovalTeamBaselineCommand;
561
582
  exports.TagResourceCommand = TagResourceCommand;
562
583
  exports.UntagResourceCommand = UntagResourceCommand;
563
584
  exports.UpdateAction = UpdateAction;
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListResourcePoliciesResponse$ = exports.ListResourcePoliciesRequest$ = exports.ListPolicyVersionsResponse$ = exports.ListPolicyVersionsRequest$ = exports.ListPoliciesResponse$ = exports.ListPoliciesRequest$ = exports.ListIdentitySourcesResponse$ = exports.ListIdentitySourcesRequest$ = exports.ListApprovalTeamsResponseApprovalTeam$ = exports.ListApprovalTeamsResponse$ = exports.ListApprovalTeamsRequest$ = exports.IdentitySourceParameters$ = exports.IdentitySourceForList$ = exports.IamIdentityCenterForList$ = exports.IamIdentityCenterForGet$ = exports.IamIdentityCenter$ = exports.GetSessionResponseApproverResponse$ = exports.GetSessionResponse$ = exports.GetSessionRequest$ = exports.GetResourcePolicyResponse$ = exports.GetResourcePolicyRequest$ = exports.GetPolicyVersionResponse$ = exports.GetPolicyVersionRequest$ = exports.GetIdentitySourceResponse$ = exports.GetIdentitySourceRequest$ = exports.GetApprovalTeamResponseApprover$ = exports.GetApprovalTeamResponse$ = exports.GetApprovalTeamRequest$ = exports.Filter$ = exports.DeleteInactiveApprovalTeamVersionResponse$ = exports.DeleteInactiveApprovalTeamVersionRequest$ = exports.DeleteIdentitySourceRequest$ = exports.CreateIdentitySourceResponse$ = exports.CreateIdentitySourceRequest$ = exports.CreateApprovalTeamResponse$ = exports.CreateApprovalTeamRequest$ = exports.CancelSessionResponse$ = exports.CancelSessionRequest$ = exports.ApprovalTeamRequestApprover$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyTagsException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InvalidParameterException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.MPAServiceException$ = void 0;
4
- exports.UpdateApprovalTeam$ = exports.UntagResource$ = exports.TagResource$ = exports.StartActiveApprovalTeamDeletion$ = exports.ListTagsForResource$ = exports.ListSessions$ = exports.ListResourcePolicies$ = exports.ListPolicyVersions$ = exports.ListPolicies$ = exports.ListIdentitySources$ = exports.ListApprovalTeams$ = exports.GetSession$ = exports.GetResourcePolicy$ = exports.GetPolicyVersion$ = exports.GetIdentitySource$ = exports.GetApprovalTeam$ = exports.DeleteInactiveApprovalTeamVersion$ = exports.DeleteIdentitySource$ = exports.CreateIdentitySource$ = exports.CreateApprovalTeam$ = exports.CancelSession$ = exports.IdentitySourceParametersForList$ = exports.IdentitySourceParametersForGet$ = exports.ApprovalStrategyResponse$ = exports.ApprovalStrategy$ = exports.UpdateApprovalTeamResponse$ = exports.UpdateApprovalTeamRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StartActiveApprovalTeamDeletionResponse$ = exports.StartActiveApprovalTeamDeletionRequest$ = exports.PolicyVersionSummary$ = exports.PolicyVersion$ = exports.PolicyReference$ = exports.Policy$ = exports.PendingUpdate$ = exports.MofNApprovalStrategy$ = exports.MfaMethod$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSessionsResponseSession$ = exports.ListSessionsResponse$ = exports.ListSessionsRequest$ = exports.ListResourcePoliciesResponseResourcePolicy$ = void 0;
4
+ exports.UpdateApprovalTeam$ = exports.UntagResource$ = exports.TagResource$ = exports.StartApprovalTeamBaseline$ = exports.StartActiveApprovalTeamDeletion$ = exports.ListTagsForResource$ = exports.ListSessions$ = exports.ListResourcePolicies$ = exports.ListPolicyVersions$ = exports.ListPolicies$ = exports.ListIdentitySources$ = exports.ListApprovalTeams$ = exports.GetSession$ = exports.GetResourcePolicy$ = exports.GetPolicyVersion$ = exports.GetIdentitySource$ = exports.GetApprovalTeam$ = exports.DeleteInactiveApprovalTeamVersion$ = exports.DeleteIdentitySource$ = exports.CreateIdentitySource$ = exports.CreateApprovalTeam$ = exports.CancelSession$ = exports.IdentitySourceParametersForList$ = exports.IdentitySourceParametersForGet$ = exports.ApprovalStrategyResponse$ = exports.ApprovalStrategy$ = exports.UpdateApprovalTeamResponse$ = exports.UpdateApprovalTeamRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StartApprovalTeamBaselineResponse$ = exports.StartApprovalTeamBaselineRequest$ = exports.StartActiveApprovalTeamDeletionResponse$ = exports.StartActiveApprovalTeamDeletionRequest$ = exports.PolicyVersionSummary$ = exports.PolicyVersion$ = exports.PolicyReference$ = exports.Policy$ = exports.PendingUpdate$ = exports.MofNApprovalStrategy$ = exports.MfaMethod$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSessionsResponseSession$ = exports.ListSessionsResponse$ = exports.ListSessionsRequest$ = exports.ListResourcePoliciesResponseResourcePolicy$ = void 0;
5
5
  const _A = "Approvers";
6
6
  const _ACS = "ActionCompletionStrategy";
7
7
  const _ADE = "AccessDeniedException";
8
8
  const _AI = "ApproverId";
9
+ const _AIp = "ApproverIds";
9
10
  const _AN = "ActionName";
10
11
  const _APU = "ApprovalPortalUrl";
11
12
  const _AR = "ApproverResponses";
@@ -18,6 +19,7 @@ const _ATN = "ApprovalTeamName";
18
19
  const _ATRA = "ApprovalTeamRequestApprover";
19
20
  const _ATRAp = "ApprovalTeamRequestApprovers";
20
21
  const _Ar = "Arn";
22
+ const _BSA = "BaselineSessionArn";
21
23
  const _CAT = "CreateApprovalTeam";
22
24
  const _CATR = "CreateApprovalTeamRequest";
23
25
  const _CATRr = "CreateApprovalTeamResponse";
@@ -81,11 +83,13 @@ const _ISPFG = "IdentitySourceParametersForGet";
81
83
  const _ISPFL = "IdentitySourceParametersForList";
82
84
  const _IST = "IdentitySourceType";
83
85
  const _IT = "InitiationTime";
84
- const _LAT = "ListApprovalTeams";
86
+ const _LA = "LastActivity";
87
+ const _LAT = "LastActivityTime";
85
88
  const _LATR = "ListApprovalTeamsRequest";
86
89
  const _LATRAT = "ListApprovalTeamsResponseApprovalTeam";
87
90
  const _LATRATi = "ListApprovalTeamsResponseApprovalTeams";
88
91
  const _LATRi = "ListApprovalTeamsResponse";
92
+ const _LATi = "ListApprovalTeams";
89
93
  const _LIS = "ListIdentitySources";
90
94
  const _LISR = "ListIdentitySourcesRequest";
91
95
  const _LISRi = "ListIdentitySourcesResponse";
@@ -124,6 +128,7 @@ const _NT = "NextToken";
124
128
  const _O = "Operator";
125
129
  const _P = "Policies";
126
130
  const _PA = "PolicyArn";
131
+ const _PBSA = "PendingBaselineSessionArn";
127
132
  const _PD = "PolicyDocument";
128
133
  const _PII = "PrimaryIdentityId";
129
134
  const _PIS = "PrimaryIdentityStatus";
@@ -157,6 +162,9 @@ const _SA = "SessionArn";
157
162
  const _SAATD = "StartActiveApprovalTeamDeletion";
158
163
  const _SAATDR = "StartActiveApprovalTeamDeletionRequest";
159
164
  const _SAATDRt = "StartActiveApprovalTeamDeletionResponse";
165
+ const _SATB = "StartApprovalTeamBaseline";
166
+ const _SATBR = "StartApprovalTeamBaselineRequest";
167
+ const _SATBRt = "StartApprovalTeamBaselineResponse";
160
168
  const _SC = "StatusCode";
161
169
  const _SK = "SessionKey";
162
170
  const _SM = "StatusMessage";
@@ -335,8 +343,8 @@ exports.GetApprovalTeamResponse$ = [3, n0, _GATRe,
335
343
  ];
336
344
  exports.GetApprovalTeamResponseApprover$ = [3, n0, _GATRA,
337
345
  0,
338
- [_AI, _RT, _PII, _PISA, _PIS, _MM],
339
- [0, 5, 0, 0, 0, () => MfaMethods]
346
+ [_AI, _RT, _PII, _PISA, _PIS, _LA, _LAT, _PBSA, _MM],
347
+ [0, 5, 0, 0, 0, 0, 5, 0, () => MfaMethods]
340
348
  ];
341
349
  exports.GetIdentitySourceRequest$ = [3, n0, _GISR,
342
350
  0,
@@ -538,6 +546,16 @@ exports.StartActiveApprovalTeamDeletionResponse$ = [3, n0, _SAATDRt,
538
546
  [_DCT, _DST],
539
547
  [5, 5]
540
548
  ];
549
+ exports.StartApprovalTeamBaselineRequest$ = [3, n0, _SATBR,
550
+ 0,
551
+ [_Ar, _AIp],
552
+ [[0, 1], 64 | 0], 1
553
+ ];
554
+ exports.StartApprovalTeamBaselineResponse$ = [3, n0, _SATBRt,
555
+ 0,
556
+ [_BSA],
557
+ [0]
558
+ ];
541
559
  exports.TagResourceRequest$ = [3, n0, _TRR,
542
560
  0,
543
561
  [_RA, _T],
@@ -608,6 +626,7 @@ var PoliciesReferences = [1, n0, _PRo,
608
626
  var PolicyVersions = [1, n0, _PVo,
609
627
  0, () => exports.PolicyVersionSummary$
610
628
  ];
629
+ var StartApprovalTeamBaselineApproverIds = 64 | 0;
611
630
  var TagKeyList = [1, n0, _TKL,
612
631
  8, [() => TagKey,
613
632
  0]
@@ -675,7 +694,7 @@ exports.GetResourcePolicy$ = [9, n0, _GRP,
675
694
  exports.GetSession$ = [9, n0, _GS,
676
695
  { [_h]: ["GET", "/sessions/{SessionArn}", 200] }, () => exports.GetSessionRequest$, () => exports.GetSessionResponse$
677
696
  ];
678
- exports.ListApprovalTeams$ = [9, n0, _LAT,
697
+ exports.ListApprovalTeams$ = [9, n0, _LATi,
679
698
  { [_h]: ["POST", "/approval-teams/?List", 200] }, () => exports.ListApprovalTeamsRequest$, () => exports.ListApprovalTeamsResponse$
680
699
  ];
681
700
  exports.ListIdentitySources$ = [9, n0, _LIS,
@@ -699,6 +718,9 @@ exports.ListTagsForResource$ = [9, n0, _LTFR,
699
718
  exports.StartActiveApprovalTeamDeletion$ = [9, n0, _SAATD,
700
719
  { [_h]: ["POST", "/approval-teams/{Arn}?Delete", 200] }, () => exports.StartActiveApprovalTeamDeletionRequest$, () => exports.StartActiveApprovalTeamDeletionResponse$
701
720
  ];
721
+ exports.StartApprovalTeamBaseline$ = [9, n0, _SATB,
722
+ { [_h]: ["POST", "/approval-teams/{Arn}/baseline", 200] }, () => exports.StartApprovalTeamBaselineRequest$, () => exports.StartApprovalTeamBaselineResponse$
723
+ ];
702
724
  exports.TagResource$ = [9, n0, _TR,
703
725
  { [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
704
726
  ];
package/dist-es/MPA.js CHANGED
@@ -17,6 +17,7 @@ import { ListResourcePoliciesCommand, } from "./commands/ListResourcePoliciesCom
17
17
  import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
18
18
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
19
19
  import { StartActiveApprovalTeamDeletionCommand, } from "./commands/StartActiveApprovalTeamDeletionCommand";
20
+ import { StartApprovalTeamBaselineCommand, } from "./commands/StartApprovalTeamBaselineCommand";
20
21
  import { TagResourceCommand } from "./commands/TagResourceCommand";
21
22
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
22
23
  import { UpdateApprovalTeamCommand, } from "./commands/UpdateApprovalTeamCommand";
@@ -46,6 +47,7 @@ const commands = {
46
47
  ListSessionsCommand,
47
48
  ListTagsForResourceCommand,
48
49
  StartActiveApprovalTeamDeletionCommand,
50
+ StartApprovalTeamBaselineCommand,
49
51
  TagResourceCommand,
50
52
  UntagResourceCommand,
51
53
  UpdateApprovalTeamCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StartApprovalTeamBaseline$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StartApprovalTeamBaselineCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSFluffyCoreService", "StartApprovalTeamBaseline", {})
13
+ .n("MPAClient", "StartApprovalTeamBaselineCommand")
14
+ .sc(StartApprovalTeamBaseline$)
15
+ .build() {
16
+ }
@@ -16,6 +16,7 @@ export * from "./ListResourcePoliciesCommand";
16
16
  export * from "./ListSessionsCommand";
17
17
  export * from "./ListTagsForResourceCommand";
18
18
  export * from "./StartActiveApprovalTeamDeletionCommand";
19
+ export * from "./StartApprovalTeamBaselineCommand";
19
20
  export * from "./TagResourceCommand";
20
21
  export * from "./UntagResourceCommand";
21
22
  export * from "./UpdateApprovalTeamCommand";
@@ -4,6 +4,11 @@ export const ActionCompletionStrategy = {
4
4
  export const AdditionalSecurityRequirement = {
5
5
  APPROVER_VERIFICATION_REQUIRED: "APPROVER_VERIFICATION_REQUIRED",
6
6
  };
7
+ export const ApproverLastActivity = {
8
+ BASELINED: "BASELINED",
9
+ RESPONDED_TO_INVITATION: "RESPONDED_TO_INVITATION",
10
+ VOTED: "VOTED",
11
+ };
7
12
  export const MfaSyncStatus = {
8
13
  IN_SYNC: "IN_SYNC",
9
14
  OUT_OF_SYNC: "OUT_OF_SYNC",
@@ -81,6 +86,7 @@ export const SessionStatus = {
81
86
  PENDING: "PENDING",
82
87
  };
83
88
  export const SessionStatusCode = {
89
+ ALL_APPROVERS_IN_SESSION: "ALL_APPROVERS_IN_SESSION",
84
90
  CONFIGURATION_CHANGED: "CONFIGURATION_CHANGED",
85
91
  EXPIRED: "EXPIRED",
86
92
  REJECTED: "REJECTED",
@@ -2,6 +2,7 @@ const _A = "Approvers";
2
2
  const _ACS = "ActionCompletionStrategy";
3
3
  const _ADE = "AccessDeniedException";
4
4
  const _AI = "ApproverId";
5
+ const _AIp = "ApproverIds";
5
6
  const _AN = "ActionName";
6
7
  const _APU = "ApprovalPortalUrl";
7
8
  const _AR = "ApproverResponses";
@@ -14,6 +15,7 @@ const _ATN = "ApprovalTeamName";
14
15
  const _ATRA = "ApprovalTeamRequestApprover";
15
16
  const _ATRAp = "ApprovalTeamRequestApprovers";
16
17
  const _Ar = "Arn";
18
+ const _BSA = "BaselineSessionArn";
17
19
  const _CAT = "CreateApprovalTeam";
18
20
  const _CATR = "CreateApprovalTeamRequest";
19
21
  const _CATRr = "CreateApprovalTeamResponse";
@@ -77,11 +79,13 @@ const _ISPFG = "IdentitySourceParametersForGet";
77
79
  const _ISPFL = "IdentitySourceParametersForList";
78
80
  const _IST = "IdentitySourceType";
79
81
  const _IT = "InitiationTime";
80
- const _LAT = "ListApprovalTeams";
82
+ const _LA = "LastActivity";
83
+ const _LAT = "LastActivityTime";
81
84
  const _LATR = "ListApprovalTeamsRequest";
82
85
  const _LATRAT = "ListApprovalTeamsResponseApprovalTeam";
83
86
  const _LATRATi = "ListApprovalTeamsResponseApprovalTeams";
84
87
  const _LATRi = "ListApprovalTeamsResponse";
88
+ const _LATi = "ListApprovalTeams";
85
89
  const _LIS = "ListIdentitySources";
86
90
  const _LISR = "ListIdentitySourcesRequest";
87
91
  const _LISRi = "ListIdentitySourcesResponse";
@@ -120,6 +124,7 @@ const _NT = "NextToken";
120
124
  const _O = "Operator";
121
125
  const _P = "Policies";
122
126
  const _PA = "PolicyArn";
127
+ const _PBSA = "PendingBaselineSessionArn";
123
128
  const _PD = "PolicyDocument";
124
129
  const _PII = "PrimaryIdentityId";
125
130
  const _PIS = "PrimaryIdentityStatus";
@@ -153,6 +158,9 @@ const _SA = "SessionArn";
153
158
  const _SAATD = "StartActiveApprovalTeamDeletion";
154
159
  const _SAATDR = "StartActiveApprovalTeamDeletionRequest";
155
160
  const _SAATDRt = "StartActiveApprovalTeamDeletionResponse";
161
+ const _SATB = "StartApprovalTeamBaseline";
162
+ const _SATBR = "StartApprovalTeamBaselineRequest";
163
+ const _SATBRt = "StartApprovalTeamBaselineResponse";
156
164
  const _SC = "StatusCode";
157
165
  const _SK = "SessionKey";
158
166
  const _SM = "StatusMessage";
@@ -331,8 +339,8 @@ export var GetApprovalTeamResponse$ = [3, n0, _GATRe,
331
339
  ];
332
340
  export var GetApprovalTeamResponseApprover$ = [3, n0, _GATRA,
333
341
  0,
334
- [_AI, _RT, _PII, _PISA, _PIS, _MM],
335
- [0, 5, 0, 0, 0, () => MfaMethods]
342
+ [_AI, _RT, _PII, _PISA, _PIS, _LA, _LAT, _PBSA, _MM],
343
+ [0, 5, 0, 0, 0, 0, 5, 0, () => MfaMethods]
336
344
  ];
337
345
  export var GetIdentitySourceRequest$ = [3, n0, _GISR,
338
346
  0,
@@ -534,6 +542,16 @@ export var StartActiveApprovalTeamDeletionResponse$ = [3, n0, _SAATDRt,
534
542
  [_DCT, _DST],
535
543
  [5, 5]
536
544
  ];
545
+ export var StartApprovalTeamBaselineRequest$ = [3, n0, _SATBR,
546
+ 0,
547
+ [_Ar, _AIp],
548
+ [[0, 1], 64 | 0], 1
549
+ ];
550
+ export var StartApprovalTeamBaselineResponse$ = [3, n0, _SATBRt,
551
+ 0,
552
+ [_BSA],
553
+ [0]
554
+ ];
537
555
  export var TagResourceRequest$ = [3, n0, _TRR,
538
556
  0,
539
557
  [_RA, _T],
@@ -604,6 +622,7 @@ var PoliciesReferences = [1, n0, _PRo,
604
622
  var PolicyVersions = [1, n0, _PVo,
605
623
  0, () => PolicyVersionSummary$
606
624
  ];
625
+ var StartApprovalTeamBaselineApproverIds = 64 | 0;
607
626
  var TagKeyList = [1, n0, _TKL,
608
627
  8, [() => TagKey,
609
628
  0]
@@ -671,7 +690,7 @@ export var GetResourcePolicy$ = [9, n0, _GRP,
671
690
  export var GetSession$ = [9, n0, _GS,
672
691
  { [_h]: ["GET", "/sessions/{SessionArn}", 200] }, () => GetSessionRequest$, () => GetSessionResponse$
673
692
  ];
674
- export var ListApprovalTeams$ = [9, n0, _LAT,
693
+ export var ListApprovalTeams$ = [9, n0, _LATi,
675
694
  { [_h]: ["POST", "/approval-teams/?List", 200] }, () => ListApprovalTeamsRequest$, () => ListApprovalTeamsResponse$
676
695
  ];
677
696
  export var ListIdentitySources$ = [9, n0, _LIS,
@@ -695,6 +714,9 @@ export var ListTagsForResource$ = [9, n0, _LTFR,
695
714
  export var StartActiveApprovalTeamDeletion$ = [9, n0, _SAATD,
696
715
  { [_h]: ["POST", "/approval-teams/{Arn}?Delete", 200] }, () => StartActiveApprovalTeamDeletionRequest$, () => StartActiveApprovalTeamDeletionResponse$
697
716
  ];
717
+ export var StartApprovalTeamBaseline$ = [9, n0, _SATB,
718
+ { [_h]: ["POST", "/approval-teams/{Arn}/baseline", 200] }, () => StartApprovalTeamBaselineRequest$, () => StartApprovalTeamBaselineResponse$
719
+ ];
698
720
  export var TagResource$ = [9, n0, _TR,
699
721
  { [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
700
722
  ];
@@ -17,6 +17,7 @@ import { ListResourcePoliciesCommandInput, ListResourcePoliciesCommandOutput } f
17
17
  import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
18
18
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
19
19
  import { StartActiveApprovalTeamDeletionCommandInput, StartActiveApprovalTeamDeletionCommandOutput } from "./commands/StartActiveApprovalTeamDeletionCommand";
20
+ import { StartApprovalTeamBaselineCommandInput, StartApprovalTeamBaselineCommandOutput } from "./commands/StartApprovalTeamBaselineCommand";
20
21
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
22
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
23
  import { UpdateApprovalTeamCommandInput, UpdateApprovalTeamCommandOutput } from "./commands/UpdateApprovalTeamCommand";
@@ -133,6 +134,12 @@ export interface MPA {
133
134
  startActiveApprovalTeamDeletion(args: StartActiveApprovalTeamDeletionCommandInput, options?: __HttpHandlerOptions): Promise<StartActiveApprovalTeamDeletionCommandOutput>;
134
135
  startActiveApprovalTeamDeletion(args: StartActiveApprovalTeamDeletionCommandInput, cb: (err: any, data?: StartActiveApprovalTeamDeletionCommandOutput) => void): void;
135
136
  startActiveApprovalTeamDeletion(args: StartActiveApprovalTeamDeletionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartActiveApprovalTeamDeletionCommandOutput) => void): void;
137
+ /**
138
+ * @see {@link StartApprovalTeamBaselineCommand}
139
+ */
140
+ startApprovalTeamBaseline(args: StartApprovalTeamBaselineCommandInput, options?: __HttpHandlerOptions): Promise<StartApprovalTeamBaselineCommandOutput>;
141
+ startApprovalTeamBaseline(args: StartApprovalTeamBaselineCommandInput, cb: (err: any, data?: StartApprovalTeamBaselineCommandOutput) => void): void;
142
+ startApprovalTeamBaseline(args: StartApprovalTeamBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartApprovalTeamBaselineCommandOutput) => void): void;
136
143
  /**
137
144
  * @see {@link TagResourceCommand}
138
145
  */
@@ -25,6 +25,7 @@ import { ListResourcePoliciesCommandInput, ListResourcePoliciesCommandOutput } f
25
25
  import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
26
26
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
27
27
  import { StartActiveApprovalTeamDeletionCommandInput, StartActiveApprovalTeamDeletionCommandOutput } from "./commands/StartActiveApprovalTeamDeletionCommand";
28
+ import { StartApprovalTeamBaselineCommandInput, StartApprovalTeamBaselineCommandOutput } from "./commands/StartApprovalTeamBaselineCommand";
28
29
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
29
30
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
30
31
  import { UpdateApprovalTeamCommandInput, UpdateApprovalTeamCommandOutput } from "./commands/UpdateApprovalTeamCommand";
@@ -34,11 +35,11 @@ export { __Client };
34
35
  /**
35
36
  * @public
36
37
  */
37
- export type ServiceInputTypes = CancelSessionCommandInput | CreateApprovalTeamCommandInput | CreateIdentitySourceCommandInput | DeleteIdentitySourceCommandInput | DeleteInactiveApprovalTeamVersionCommandInput | GetApprovalTeamCommandInput | GetIdentitySourceCommandInput | GetPolicyVersionCommandInput | GetResourcePolicyCommandInput | GetSessionCommandInput | ListApprovalTeamsCommandInput | ListIdentitySourcesCommandInput | ListPoliciesCommandInput | ListPolicyVersionsCommandInput | ListResourcePoliciesCommandInput | ListSessionsCommandInput | ListTagsForResourceCommandInput | StartActiveApprovalTeamDeletionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApprovalTeamCommandInput;
38
+ export type ServiceInputTypes = CancelSessionCommandInput | CreateApprovalTeamCommandInput | CreateIdentitySourceCommandInput | DeleteIdentitySourceCommandInput | DeleteInactiveApprovalTeamVersionCommandInput | GetApprovalTeamCommandInput | GetIdentitySourceCommandInput | GetPolicyVersionCommandInput | GetResourcePolicyCommandInput | GetSessionCommandInput | ListApprovalTeamsCommandInput | ListIdentitySourcesCommandInput | ListPoliciesCommandInput | ListPolicyVersionsCommandInput | ListResourcePoliciesCommandInput | ListSessionsCommandInput | ListTagsForResourceCommandInput | StartActiveApprovalTeamDeletionCommandInput | StartApprovalTeamBaselineCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApprovalTeamCommandInput;
38
39
  /**
39
40
  * @public
40
41
  */
41
- export type ServiceOutputTypes = CancelSessionCommandOutput | CreateApprovalTeamCommandOutput | CreateIdentitySourceCommandOutput | DeleteIdentitySourceCommandOutput | DeleteInactiveApprovalTeamVersionCommandOutput | GetApprovalTeamCommandOutput | GetIdentitySourceCommandOutput | GetPolicyVersionCommandOutput | GetResourcePolicyCommandOutput | GetSessionCommandOutput | ListApprovalTeamsCommandOutput | ListIdentitySourcesCommandOutput | ListPoliciesCommandOutput | ListPolicyVersionsCommandOutput | ListResourcePoliciesCommandOutput | ListSessionsCommandOutput | ListTagsForResourceCommandOutput | StartActiveApprovalTeamDeletionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApprovalTeamCommandOutput;
42
+ export type ServiceOutputTypes = CancelSessionCommandOutput | CreateApprovalTeamCommandOutput | CreateIdentitySourceCommandOutput | DeleteIdentitySourceCommandOutput | DeleteInactiveApprovalTeamVersionCommandOutput | GetApprovalTeamCommandOutput | GetIdentitySourceCommandOutput | GetPolicyVersionCommandOutput | GetResourcePolicyCommandOutput | GetSessionCommandOutput | ListApprovalTeamsCommandOutput | ListIdentitySourcesCommandOutput | ListPoliciesCommandOutput | ListPolicyVersionsCommandOutput | ListResourcePoliciesCommandOutput | ListSessionsCommandOutput | ListTagsForResourceCommandOutput | StartActiveApprovalTeamDeletionCommandOutput | StartApprovalTeamBaselineCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApprovalTeamCommandOutput;
42
43
  /**
43
44
  * @public
44
45
  */
@@ -56,6 +56,9 @@ declare const GetApprovalTeamCommand_base: {
56
56
  * // PrimaryIdentityId: "STRING_VALUE",
57
57
  * // PrimaryIdentitySourceArn: "STRING_VALUE",
58
58
  * // PrimaryIdentityStatus: "PENDING" || "ACCEPTED" || "REJECTED" || "INVALID",
59
+ * // LastActivity: "VOTED" || "BASELINED" || "RESPONDED_TO_INVITATION",
60
+ * // LastActivityTime: new Date("TIMESTAMP"),
61
+ * // PendingBaselineSessionArn: "STRING_VALUE",
59
62
  * // MfaMethods: [ // MfaMethods
60
63
  * // { // MfaMethod
61
64
  * // Type: "EMAIL_OTP", // required
@@ -97,6 +100,9 @@ declare const GetApprovalTeamCommand_base: {
97
100
  * // PrimaryIdentityId: "STRING_VALUE",
98
101
  * // PrimaryIdentitySourceArn: "STRING_VALUE",
99
102
  * // PrimaryIdentityStatus: "PENDING" || "ACCEPTED" || "REJECTED" || "INVALID",
103
+ * // LastActivity: "VOTED" || "BASELINED" || "RESPONDED_TO_INVITATION",
104
+ * // LastActivityTime: new Date("TIMESTAMP"),
105
+ * // PendingBaselineSessionArn: "STRING_VALUE",
100
106
  * // MfaMethods: [
101
107
  * // {
102
108
  * // Type: "EMAIL_OTP", // required
@@ -60,7 +60,7 @@ declare const GetSessionCommand_base: {
60
60
  * // "<keys>": "STRING_VALUE",
61
61
  * // },
62
62
  * // Status: "PENDING" || "CANCELLED" || "APPROVED" || "FAILED" || "CREATING",
63
- * // StatusCode: "REJECTED" || "EXPIRED" || "CONFIGURATION_CHANGED",
63
+ * // StatusCode: "REJECTED" || "EXPIRED" || "CONFIGURATION_CHANGED" || "ALL_APPROVERS_IN_SESSION",
64
64
  * // StatusMessage: "STRING_VALUE",
65
65
  * // ExecutionStatus: "EXECUTED" || "FAILED" || "PENDING",
66
66
  * // ActionName: "STRING_VALUE",
@@ -68,7 +68,7 @@ declare const ListSessionsCommand_base: {
68
68
  * // RequesterRegion: "STRING_VALUE",
69
69
  * // RequesterAccountId: "STRING_VALUE",
70
70
  * // Status: "PENDING" || "CANCELLED" || "APPROVED" || "FAILED" || "CREATING",
71
- * // StatusCode: "REJECTED" || "EXPIRED" || "CONFIGURATION_CHANGED",
71
+ * // StatusCode: "REJECTED" || "EXPIRED" || "CONFIGURATION_CHANGED" || "ALL_APPROVERS_IN_SESSION",
72
72
  * // StatusMessage: "STRING_VALUE",
73
73
  * // ActionCompletionStrategy: "AUTO_COMPLETION_UPON_APPROVAL",
74
74
  * // AdditionalSecurityRequirements: [ // AdditionalSecurityRequirements
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { StartApprovalTeamBaselineRequest, StartApprovalTeamBaselineResponse } from "../models/models_0";
4
+ import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartApprovalTeamBaselineCommand}.
14
+ */
15
+ export interface StartApprovalTeamBaselineCommandInput extends StartApprovalTeamBaselineRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartApprovalTeamBaselineCommand}.
21
+ */
22
+ export interface StartApprovalTeamBaselineCommandOutput extends StartApprovalTeamBaselineResponse, __MetadataBearer {
23
+ }
24
+ declare const StartApprovalTeamBaselineCommand_base: {
25
+ new (input: StartApprovalTeamBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<StartApprovalTeamBaselineCommandInput, StartApprovalTeamBaselineCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartApprovalTeamBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<StartApprovalTeamBaselineCommandInput, StartApprovalTeamBaselineCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a baseline session for specified approvers on an <code>ACTIVE</code> approval team.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MPAClient, StartApprovalTeamBaselineCommand } from "@aws-sdk/client-mpa"; // ES Modules import
35
+ * // const { MPAClient, StartApprovalTeamBaselineCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
36
+ * // import type { MPAClientConfig } from "@aws-sdk/client-mpa";
37
+ * const config = {}; // type is MPAClientConfig
38
+ * const client = new MPAClient(config);
39
+ * const input = { // StartApprovalTeamBaselineRequest
40
+ * Arn: "STRING_VALUE", // required
41
+ * ApproverIds: [ // StartApprovalTeamBaselineApproverIds
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
45
+ * const command = new StartApprovalTeamBaselineCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartApprovalTeamBaselineResponse
48
+ * // BaselineSessionArn: "STRING_VALUE",
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param StartApprovalTeamBaselineCommandInput - {@link StartApprovalTeamBaselineCommandInput}
54
+ * @returns {@link StartApprovalTeamBaselineCommandOutput}
55
+ * @see {@link StartApprovalTeamBaselineCommandInput} for command's `input` shape.
56
+ * @see {@link StartApprovalTeamBaselineCommandOutput} for command's `response` shape.
57
+ * @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The specified resource doesn't exist. Check the resource ID, and try again.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
73
+ *
74
+ * @throws {@link MPAServiceException}
75
+ * <p>Base exception class for all service exceptions from MPA service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class StartApprovalTeamBaselineCommand extends StartApprovalTeamBaselineCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: StartApprovalTeamBaselineRequest;
85
+ output: StartApprovalTeamBaselineResponse;
86
+ };
87
+ sdk: {
88
+ input: StartApprovalTeamBaselineCommandInput;
89
+ output: StartApprovalTeamBaselineCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -16,6 +16,7 @@ export * from "./ListResourcePoliciesCommand";
16
16
  export * from "./ListSessionsCommand";
17
17
  export * from "./ListTagsForResourceCommand";
18
18
  export * from "./StartActiveApprovalTeamDeletionCommand";
19
+ export * from "./StartApprovalTeamBaselineCommand";
19
20
  export * from "./TagResourceCommand";
20
21
  export * from "./UntagResourceCommand";
21
22
  export * from "./UpdateApprovalTeamCommand";
@@ -20,6 +20,19 @@ export declare const AdditionalSecurityRequirement: {
20
20
  * @public
21
21
  */
22
22
  export type AdditionalSecurityRequirement = (typeof AdditionalSecurityRequirement)[keyof typeof AdditionalSecurityRequirement];
23
+ /**
24
+ * @public
25
+ * @enum
26
+ */
27
+ export declare const ApproverLastActivity: {
28
+ readonly BASELINED: "BASELINED";
29
+ readonly RESPONDED_TO_INVITATION: "RESPONDED_TO_INVITATION";
30
+ readonly VOTED: "VOTED";
31
+ };
32
+ /**
33
+ * @public
34
+ */
35
+ export type ApproverLastActivity = (typeof ApproverLastActivity)[keyof typeof ApproverLastActivity];
23
36
  /**
24
37
  * @public
25
38
  * @enum
@@ -213,6 +226,7 @@ export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
213
226
  * @enum
214
227
  */
215
228
  export declare const SessionStatusCode: {
229
+ readonly ALL_APPROVERS_IN_SESSION: "ALL_APPROVERS_IN_SESSION";
216
230
  readonly CONFIGURATION_CHANGED: "CONFIGURATION_CHANGED";
217
231
  readonly EXPIRED: "EXPIRED";
218
232
  readonly REJECTED: "REJECTED";
@@ -1,4 +1,4 @@
1
- import { ActionCompletionStrategy, AdditionalSecurityRequirement, ApprovalTeamStatus, ApprovalTeamStatusCode, FilterField, IdentitySourceStatus, IdentitySourceStatusCode, IdentitySourceType, IdentityStatus, MfaSyncStatus, MfaType, Operator, PolicyStatus, PolicyType, SessionExecutionStatus, SessionResponse, SessionStatus, SessionStatusCode, UpdateAction } from "./enums";
1
+ import { ActionCompletionStrategy, AdditionalSecurityRequirement, ApprovalTeamStatus, ApprovalTeamStatusCode, ApproverLastActivity, 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
@@ -244,6 +244,21 @@ export interface GetApprovalTeamResponseApprover {
244
244
  * @public
245
245
  */
246
246
  PrimaryIdentityStatus?: IdentityStatus | undefined;
247
+ /**
248
+ * <p>Last Activity performed by the approver.</p>
249
+ * @public
250
+ */
251
+ LastActivity?: ApproverLastActivity | undefined;
252
+ /**
253
+ * <p>Timestamp when the approver last responded to an operation or invitation request.</p>
254
+ * @public
255
+ */
256
+ LastActivityTime?: Date | undefined;
257
+ /**
258
+ * <p>Amazon Resource Name (ARN) for the pending baseline session.</p>
259
+ * @public
260
+ */
261
+ PendingBaselineSessionArn?: string | undefined;
247
262
  /**
248
263
  * <p>Multi-factor authentication configuration for the approver</p>
249
264
  * @public
@@ -492,6 +507,31 @@ export interface StartActiveApprovalTeamDeletionResponse {
492
507
  */
493
508
  DeletionStartTime?: Date | undefined;
494
509
  }
510
+ /**
511
+ * @public
512
+ */
513
+ export interface StartApprovalTeamBaselineRequest {
514
+ /**
515
+ * <p>Amazon Resource Name (ARN) for the approval team.</p>
516
+ * @public
517
+ */
518
+ Arn: string | undefined;
519
+ /**
520
+ * <p>Array of approver IDs.</p>
521
+ * @public
522
+ */
523
+ ApproverIds?: string[] | undefined;
524
+ }
525
+ /**
526
+ * @public
527
+ */
528
+ export interface StartApprovalTeamBaselineResponse {
529
+ /**
530
+ * <p>Amazon Resource Name (ARN) for the session.</p>
531
+ * @public
532
+ */
533
+ BaselineSessionArn?: string | undefined;
534
+ }
495
535
  /**
496
536
  * @public
497
537
  */
@@ -70,6 +70,8 @@ export declare var PolicyVersion$: StaticStructureSchema;
70
70
  export declare var PolicyVersionSummary$: StaticStructureSchema;
71
71
  export declare var StartActiveApprovalTeamDeletionRequest$: StaticStructureSchema;
72
72
  export declare var StartActiveApprovalTeamDeletionResponse$: StaticStructureSchema;
73
+ export declare var StartApprovalTeamBaselineRequest$: StaticStructureSchema;
74
+ export declare var StartApprovalTeamBaselineResponse$: StaticStructureSchema;
73
75
  export declare var TagResourceRequest$: StaticStructureSchema;
74
76
  export declare var TagResourceResponse$: StaticStructureSchema;
75
77
  export declare var UntagResourceRequest$: StaticStructureSchema;
@@ -98,6 +100,7 @@ export declare var ListResourcePolicies$: StaticOperationSchema;
98
100
  export declare var ListSessions$: StaticOperationSchema;
99
101
  export declare var ListTagsForResource$: StaticOperationSchema;
100
102
  export declare var StartActiveApprovalTeamDeletion$: StaticOperationSchema;
103
+ export declare var StartApprovalTeamBaseline$: StaticOperationSchema;
101
104
  export declare var TagResource$: StaticOperationSchema;
102
105
  export declare var UntagResource$: StaticOperationSchema;
103
106
  export declare var UpdateApprovalTeam$: StaticOperationSchema;
@@ -75,6 +75,10 @@ import {
75
75
  StartActiveApprovalTeamDeletionCommandInput,
76
76
  StartActiveApprovalTeamDeletionCommandOutput,
77
77
  } from "./commands/StartActiveApprovalTeamDeletionCommand";
78
+ import {
79
+ StartApprovalTeamBaselineCommandInput,
80
+ StartApprovalTeamBaselineCommandOutput,
81
+ } from "./commands/StartApprovalTeamBaselineCommand";
78
82
  import {
79
83
  TagResourceCommandInput,
80
84
  TagResourceCommandOutput,
@@ -332,6 +336,19 @@ export interface MPA {
332
336
  options: __HttpHandlerOptions,
333
337
  cb: (err: any, data?: StartActiveApprovalTeamDeletionCommandOutput) => void
334
338
  ): void;
339
+ startApprovalTeamBaseline(
340
+ args: StartApprovalTeamBaselineCommandInput,
341
+ options?: __HttpHandlerOptions
342
+ ): Promise<StartApprovalTeamBaselineCommandOutput>;
343
+ startApprovalTeamBaseline(
344
+ args: StartApprovalTeamBaselineCommandInput,
345
+ cb: (err: any, data?: StartApprovalTeamBaselineCommandOutput) => void
346
+ ): void;
347
+ startApprovalTeamBaseline(
348
+ args: StartApprovalTeamBaselineCommandInput,
349
+ options: __HttpHandlerOptions,
350
+ cb: (err: any, data?: StartApprovalTeamBaselineCommandOutput) => void
351
+ ): void;
335
352
  tagResource(
336
353
  args: TagResourceCommandInput,
337
354
  options?: __HttpHandlerOptions
@@ -117,6 +117,10 @@ import {
117
117
  StartActiveApprovalTeamDeletionCommandInput,
118
118
  StartActiveApprovalTeamDeletionCommandOutput,
119
119
  } from "./commands/StartActiveApprovalTeamDeletionCommand";
120
+ import {
121
+ StartApprovalTeamBaselineCommandInput,
122
+ StartApprovalTeamBaselineCommandOutput,
123
+ } from "./commands/StartApprovalTeamBaselineCommand";
120
124
  import {
121
125
  TagResourceCommandInput,
122
126
  TagResourceCommandOutput,
@@ -155,6 +159,7 @@ export type ServiceInputTypes =
155
159
  | ListSessionsCommandInput
156
160
  | ListTagsForResourceCommandInput
157
161
  | StartActiveApprovalTeamDeletionCommandInput
162
+ | StartApprovalTeamBaselineCommandInput
158
163
  | TagResourceCommandInput
159
164
  | UntagResourceCommandInput
160
165
  | UpdateApprovalTeamCommandInput;
@@ -177,6 +182,7 @@ export type ServiceOutputTypes =
177
182
  | ListSessionsCommandOutput
178
183
  | ListTagsForResourceCommandOutput
179
184
  | StartActiveApprovalTeamDeletionCommandOutput
185
+ | StartApprovalTeamBaselineCommandOutput
180
186
  | TagResourceCommandOutput
181
187
  | UntagResourceCommandOutput
182
188
  | UpdateApprovalTeamCommandOutput;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StartApprovalTeamBaselineRequest,
5
+ StartApprovalTeamBaselineResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ MPAClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../MPAClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartApprovalTeamBaselineCommandInput
15
+ extends StartApprovalTeamBaselineRequest {}
16
+ export interface StartApprovalTeamBaselineCommandOutput
17
+ extends StartApprovalTeamBaselineResponse,
18
+ __MetadataBearer {}
19
+ declare const StartApprovalTeamBaselineCommand_base: {
20
+ new (
21
+ input: StartApprovalTeamBaselineCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartApprovalTeamBaselineCommandInput,
24
+ StartApprovalTeamBaselineCommandOutput,
25
+ MPAClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: StartApprovalTeamBaselineCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartApprovalTeamBaselineCommandInput,
33
+ StartApprovalTeamBaselineCommandOutput,
34
+ MPAClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartApprovalTeamBaselineCommand extends StartApprovalTeamBaselineCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StartApprovalTeamBaselineRequest;
44
+ output: StartApprovalTeamBaselineResponse;
45
+ };
46
+ sdk: {
47
+ input: StartApprovalTeamBaselineCommandInput;
48
+ output: StartApprovalTeamBaselineCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -16,6 +16,7 @@ export * from "./ListResourcePoliciesCommand";
16
16
  export * from "./ListSessionsCommand";
17
17
  export * from "./ListTagsForResourceCommand";
18
18
  export * from "./StartActiveApprovalTeamDeletionCommand";
19
+ export * from "./StartApprovalTeamBaselineCommand";
19
20
  export * from "./TagResourceCommand";
20
21
  export * from "./UntagResourceCommand";
21
22
  export * from "./UpdateApprovalTeamCommand";
@@ -8,6 +8,13 @@ export declare const AdditionalSecurityRequirement: {
8
8
  };
9
9
  export type AdditionalSecurityRequirement =
10
10
  (typeof AdditionalSecurityRequirement)[keyof typeof AdditionalSecurityRequirement];
11
+ export declare const ApproverLastActivity: {
12
+ readonly BASELINED: "BASELINED";
13
+ readonly RESPONDED_TO_INVITATION: "RESPONDED_TO_INVITATION";
14
+ readonly VOTED: "VOTED";
15
+ };
16
+ export type ApproverLastActivity =
17
+ (typeof ApproverLastActivity)[keyof typeof ApproverLastActivity];
11
18
  export declare const MfaSyncStatus: {
12
19
  readonly IN_SYNC: "IN_SYNC";
13
20
  readonly OUT_OF_SYNC: "OUT_OF_SYNC";
@@ -107,6 +114,7 @@ export declare const SessionStatus: {
107
114
  };
108
115
  export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
109
116
  export declare const SessionStatusCode: {
117
+ readonly ALL_APPROVERS_IN_SESSION: "ALL_APPROVERS_IN_SESSION";
110
118
  readonly CONFIGURATION_CHANGED: "CONFIGURATION_CHANGED";
111
119
  readonly EXPIRED: "EXPIRED";
112
120
  readonly REJECTED: "REJECTED";
@@ -3,6 +3,7 @@ import {
3
3
  AdditionalSecurityRequirement,
4
4
  ApprovalTeamStatus,
5
5
  ApprovalTeamStatusCode,
6
+ ApproverLastActivity,
6
7
  FilterField,
7
8
  IdentitySourceStatus,
8
9
  IdentitySourceStatusCode,
@@ -96,6 +97,9 @@ export interface GetApprovalTeamResponseApprover {
96
97
  PrimaryIdentityId?: string | undefined;
97
98
  PrimaryIdentitySourceArn?: string | undefined;
98
99
  PrimaryIdentityStatus?: IdentityStatus | undefined;
100
+ LastActivity?: ApproverLastActivity | undefined;
101
+ LastActivityTime?: Date | undefined;
102
+ PendingBaselineSessionArn?: string | undefined;
99
103
  MfaMethods?: MfaMethod[] | undefined;
100
104
  }
101
105
  export interface PendingUpdate {
@@ -153,6 +157,13 @@ export interface StartActiveApprovalTeamDeletionResponse {
153
157
  DeletionCompletionTime?: Date | undefined;
154
158
  DeletionStartTime?: Date | undefined;
155
159
  }
160
+ export interface StartApprovalTeamBaselineRequest {
161
+ Arn: string | undefined;
162
+ ApproverIds?: string[] | undefined;
163
+ }
164
+ export interface StartApprovalTeamBaselineResponse {
165
+ BaselineSessionArn?: string | undefined;
166
+ }
156
167
  export interface UpdateApprovalTeamRequest {
157
168
  ApprovalStrategy?: ApprovalStrategy | undefined;
158
169
  Approvers?: ApprovalTeamRequestApprover[] | undefined;
@@ -70,6 +70,8 @@ export declare var PolicyVersion$: StaticStructureSchema;
70
70
  export declare var PolicyVersionSummary$: StaticStructureSchema;
71
71
  export declare var StartActiveApprovalTeamDeletionRequest$: StaticStructureSchema;
72
72
  export declare var StartActiveApprovalTeamDeletionResponse$: StaticStructureSchema;
73
+ export declare var StartApprovalTeamBaselineRequest$: StaticStructureSchema;
74
+ export declare var StartApprovalTeamBaselineResponse$: StaticStructureSchema;
73
75
  export declare var TagResourceRequest$: StaticStructureSchema;
74
76
  export declare var TagResourceResponse$: StaticStructureSchema;
75
77
  export declare var UntagResourceRequest$: StaticStructureSchema;
@@ -98,6 +100,7 @@ export declare var ListResourcePolicies$: StaticOperationSchema;
98
100
  export declare var ListSessions$: StaticOperationSchema;
99
101
  export declare var ListTagsForResource$: StaticOperationSchema;
100
102
  export declare var StartActiveApprovalTeamDeletion$: StaticOperationSchema;
103
+ export declare var StartApprovalTeamBaseline$: StaticOperationSchema;
101
104
  export declare var TagResource$: StaticOperationSchema;
102
105
  export declare var UntagResource$: StaticOperationSchema;
103
106
  export declare var UpdateApprovalTeam$: StaticOperationSchema;
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.1001.0",
4
+ "version": "3.1003.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,42 +21,42 @@
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.16",
25
- "@aws-sdk/credential-provider-node": "^3.972.15",
26
- "@aws-sdk/middleware-host-header": "^3.972.6",
27
- "@aws-sdk/middleware-logger": "^3.972.6",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.6",
29
- "@aws-sdk/middleware-user-agent": "^3.972.16",
30
- "@aws-sdk/region-config-resolver": "^3.972.6",
31
- "@aws-sdk/types": "^3.973.4",
32
- "@aws-sdk/util-endpoints": "^3.996.3",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.6",
34
- "@aws-sdk/util-user-agent-node": "^3.973.1",
35
- "@smithy/config-resolver": "^4.4.9",
36
- "@smithy/core": "^3.23.7",
37
- "@smithy/fetch-http-handler": "^5.3.12",
38
- "@smithy/hash-node": "^4.2.10",
39
- "@smithy/invalid-dependency": "^4.2.10",
40
- "@smithy/middleware-content-length": "^4.2.10",
41
- "@smithy/middleware-endpoint": "^4.4.21",
42
- "@smithy/middleware-retry": "^4.4.38",
43
- "@smithy/middleware-serde": "^4.2.11",
44
- "@smithy/middleware-stack": "^4.2.10",
45
- "@smithy/node-config-provider": "^4.3.10",
46
- "@smithy/node-http-handler": "^4.4.13",
47
- "@smithy/protocol-http": "^5.3.10",
48
- "@smithy/smithy-client": "^4.12.1",
24
+ "@aws-sdk/core": "^3.973.18",
25
+ "@aws-sdk/credential-provider-node": "^3.972.17",
26
+ "@aws-sdk/middleware-host-header": "^3.972.7",
27
+ "@aws-sdk/middleware-logger": "^3.972.7",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.18",
30
+ "@aws-sdk/region-config-resolver": "^3.972.7",
31
+ "@aws-sdk/types": "^3.973.5",
32
+ "@aws-sdk/util-endpoints": "^3.996.4",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.7",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.3",
35
+ "@smithy/config-resolver": "^4.4.10",
36
+ "@smithy/core": "^3.23.8",
37
+ "@smithy/fetch-http-handler": "^5.3.13",
38
+ "@smithy/hash-node": "^4.2.11",
39
+ "@smithy/invalid-dependency": "^4.2.11",
40
+ "@smithy/middleware-content-length": "^4.2.11",
41
+ "@smithy/middleware-endpoint": "^4.4.22",
42
+ "@smithy/middleware-retry": "^4.4.39",
43
+ "@smithy/middleware-serde": "^4.2.12",
44
+ "@smithy/middleware-stack": "^4.2.11",
45
+ "@smithy/node-config-provider": "^4.3.11",
46
+ "@smithy/node-http-handler": "^4.4.14",
47
+ "@smithy/protocol-http": "^5.3.11",
48
+ "@smithy/smithy-client": "^4.12.2",
49
49
  "@smithy/types": "^4.13.0",
50
- "@smithy/url-parser": "^4.2.10",
51
- "@smithy/util-base64": "^4.3.1",
52
- "@smithy/util-body-length-browser": "^4.2.1",
53
- "@smithy/util-body-length-node": "^4.2.2",
54
- "@smithy/util-defaults-mode-browser": "^4.3.37",
55
- "@smithy/util-defaults-mode-node": "^4.2.40",
56
- "@smithy/util-endpoints": "^3.3.1",
57
- "@smithy/util-middleware": "^4.2.10",
58
- "@smithy/util-retry": "^4.2.10",
59
- "@smithy/util-utf8": "^4.2.1",
50
+ "@smithy/url-parser": "^4.2.11",
51
+ "@smithy/util-base64": "^4.3.2",
52
+ "@smithy/util-body-length-browser": "^4.2.2",
53
+ "@smithy/util-body-length-node": "^4.2.3",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.38",
55
+ "@smithy/util-defaults-mode-node": "^4.2.41",
56
+ "@smithy/util-endpoints": "^3.3.2",
57
+ "@smithy/util-middleware": "^4.2.11",
58
+ "@smithy/util-retry": "^4.2.11",
59
+ "@smithy/util-utf8": "^4.2.2",
60
60
  "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
@@ -71,7 +71,7 @@
71
71
  "node": ">=20.0.0"
72
72
  },
73
73
  "typesVersions": {
74
- "<4.0": {
74
+ "<4.5": {
75
75
  "dist-types/*": [
76
76
  "dist-types/ts3.4/*"
77
77
  ]