aws-sdk-mpa 1.12.0 → 1.13.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf1bd8de41acc6948d7d454b7169031bd845fb193e6f7326ba486c1c63a337a4
4
- data.tar.gz: 14ba63779fa6ef1641b339c1edb384551e643a05eaa5dedbdeab35b2b5e8b936
3
+ metadata.gz: 7f696e9331a002e81cde42ae90089d1e6e289fe2cb366f22f34e83ed1ccffef8
4
+ data.tar.gz: 06274b7ace2f9cc47ec7880929e1a6759659d71d725c84fb09fd2e2aafb61f9a
5
5
  SHA512:
6
- metadata.gz: bcb813be75bc0d1a198cce481cc356dd608b44167578db41ed7fd93516fbbcb2efefad826ccb7bb132108b9c657ab17c77a84fb3acc85775299d0b96c1e55728
7
- data.tar.gz: bd4af7f04160cfbec03c628f0eae97fa85ef2f62d17336504fea96b9c48286b5121b27c1062ba340e78c0a6bdbef1088ffd170ae5d7f8497cdd749df99d8eb51
6
+ metadata.gz: 641a121de872f84a84d9e00ac5ac10332b17c9116b80474ef1413e80f5207301977064bb7b9109911229527a408cd072ea61161769d449cbfba62048a5613bd8
7
+ data.tar.gz: f13bc524eefe4c79a0851cba2c358687575ef9fed4a61feb92332e3db3cf0f284823a8c82e5d370a5815c8a233fe751bbcace7753fc25d0f8f0612ddb2125e1b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2026-03-05)
5
+ ------------------
6
+
7
+ * Feature - Updates to multi-party approval (MPA) service to add support for approval team baseline operations.
8
+
4
9
  1.12.0 (2026-02-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.13.0
@@ -791,6 +791,9 @@ module Aws::MPA
791
791
  # resp.approvers[0].primary_identity_id #=> String
792
792
  # resp.approvers[0].primary_identity_source_arn #=> String
793
793
  # resp.approvers[0].primary_identity_status #=> String, one of "PENDING", "ACCEPTED", "REJECTED", "INVALID"
794
+ # resp.approvers[0].last_activity #=> String, one of "VOTED", "BASELINED", "RESPONDED_TO_INVITATION"
795
+ # resp.approvers[0].last_activity_time #=> Time
796
+ # resp.approvers[0].pending_baseline_session_arn #=> String
794
797
  # resp.approvers[0].mfa_methods #=> Array
795
798
  # resp.approvers[0].mfa_methods[0].type #=> String, one of "EMAIL_OTP"
796
799
  # resp.approvers[0].mfa_methods[0].sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC"
@@ -818,6 +821,9 @@ module Aws::MPA
818
821
  # resp.pending_update.approvers[0].primary_identity_id #=> String
819
822
  # resp.pending_update.approvers[0].primary_identity_source_arn #=> String
820
823
  # resp.pending_update.approvers[0].primary_identity_status #=> String, one of "PENDING", "ACCEPTED", "REJECTED", "INVALID"
824
+ # resp.pending_update.approvers[0].last_activity #=> String, one of "VOTED", "BASELINED", "RESPONDED_TO_INVITATION"
825
+ # resp.pending_update.approvers[0].last_activity_time #=> Time
826
+ # resp.pending_update.approvers[0].pending_baseline_session_arn #=> String
821
827
  # resp.pending_update.approvers[0].mfa_methods #=> Array
822
828
  # resp.pending_update.approvers[0].mfa_methods[0].type #=> String, one of "EMAIL_OTP"
823
829
  # resp.pending_update.approvers[0].mfa_methods[0].sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC"
@@ -1019,7 +1025,7 @@ module Aws::MPA
1019
1025
  # resp.metadata #=> Hash
1020
1026
  # resp.metadata["SessionKey"] #=> String
1021
1027
  # resp.status #=> String, one of "PENDING", "CANCELLED", "APPROVED", "FAILED", "CREATING"
1022
- # resp.status_code #=> String, one of "REJECTED", "EXPIRED", "CONFIGURATION_CHANGED"
1028
+ # resp.status_code #=> String, one of "REJECTED", "EXPIRED", "CONFIGURATION_CHANGED", "ALL_APPROVERS_IN_SESSION"
1023
1029
  # resp.status_message #=> String
1024
1030
  # resp.execution_status #=> String, one of "EXECUTED", "FAILED", "PENDING"
1025
1031
  # resp.action_name #=> String
@@ -1366,7 +1372,7 @@ module Aws::MPA
1366
1372
  # resp.sessions[0].requester_region #=> String
1367
1373
  # resp.sessions[0].requester_account_id #=> String
1368
1374
  # resp.sessions[0].status #=> String, one of "PENDING", "CANCELLED", "APPROVED", "FAILED", "CREATING"
1369
- # resp.sessions[0].status_code #=> String, one of "REJECTED", "EXPIRED", "CONFIGURATION_CHANGED"
1375
+ # resp.sessions[0].status_code #=> String, one of "REJECTED", "EXPIRED", "CONFIGURATION_CHANGED", "ALL_APPROVERS_IN_SESSION"
1370
1376
  # resp.sessions[0].status_message #=> String
1371
1377
  # resp.sessions[0].action_completion_strategy #=> String, one of "AUTO_COMPLETION_UPON_APPROVAL"
1372
1378
  # resp.sessions[0].additional_security_requirements #=> Array
@@ -1451,6 +1457,39 @@ module Aws::MPA
1451
1457
  req.send_request(options)
1452
1458
  end
1453
1459
 
1460
+ # Starts a baseline session for specified approvers on an `ACTIVE`
1461
+ # approval team.
1462
+ #
1463
+ # @option params [required, String] :arn
1464
+ # Amazon Resource Name (ARN) for the approval team.
1465
+ #
1466
+ # @option params [Array<String>] :approver_ids
1467
+ # Array of approver IDs.
1468
+ #
1469
+ # @return [Types::StartApprovalTeamBaselineResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1470
+ #
1471
+ # * {Types::StartApprovalTeamBaselineResponse#baseline_session_arn #baseline_session_arn} => String
1472
+ #
1473
+ # @example Request syntax with placeholder values
1474
+ #
1475
+ # resp = client.start_approval_team_baseline({
1476
+ # arn: "ApprovalTeamArn", # required
1477
+ # approver_ids: ["ParticipantId"],
1478
+ # })
1479
+ #
1480
+ # @example Response structure
1481
+ #
1482
+ # resp.baseline_session_arn #=> String
1483
+ #
1484
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/StartApprovalTeamBaseline AWS API Documentation
1485
+ #
1486
+ # @overload start_approval_team_baseline(params = {})
1487
+ # @param [Hash] params ({})
1488
+ def start_approval_team_baseline(params = {}, options = {})
1489
+ req = build_request(:start_approval_team_baseline, params)
1490
+ req.send_request(options)
1491
+ end
1492
+
1454
1493
  # Creates or updates a resource tag. Each tag is a label consisting of a
1455
1494
  # user-defined key and value. Tags can help you manage, identify,
1456
1495
  # organize, search for, and filter resources.
@@ -1589,7 +1628,7 @@ module Aws::MPA
1589
1628
  tracer: tracer
1590
1629
  )
1591
1630
  context[:gem_name] = 'aws-sdk-mpa'
1592
- context[:gem_version] = '1.12.0'
1631
+ context[:gem_version] = '1.13.0'
1593
1632
  Seahorse::Client::Request.new(handlers, context)
1594
1633
  end
1595
1634
 
@@ -28,6 +28,7 @@ module Aws::MPA
28
28
  ApprovalTeamRequestApprovers = Shapes::ListShape.new(name: 'ApprovalTeamRequestApprovers')
29
29
  ApprovalTeamStatus = Shapes::StringShape.new(name: 'ApprovalTeamStatus')
30
30
  ApprovalTeamStatusCode = Shapes::StringShape.new(name: 'ApprovalTeamStatusCode')
31
+ ApproverLastActivity = Shapes::StringShape.new(name: 'ApproverLastActivity')
31
32
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
32
33
  CancelSessionRequest = Shapes::StructureShape.new(name: 'CancelSessionRequest')
33
34
  CancelSessionResponse = Shapes::StructureShape.new(name: 'CancelSessionResponse')
@@ -134,6 +135,9 @@ module Aws::MPA
134
135
  SessionValue = Shapes::StringShape.new(name: 'SessionValue')
135
136
  StartActiveApprovalTeamDeletionRequest = Shapes::StructureShape.new(name: 'StartActiveApprovalTeamDeletionRequest')
136
137
  StartActiveApprovalTeamDeletionResponse = Shapes::StructureShape.new(name: 'StartActiveApprovalTeamDeletionResponse')
138
+ StartApprovalTeamBaselineApproverIds = Shapes::ListShape.new(name: 'StartApprovalTeamBaselineApproverIds')
139
+ StartApprovalTeamBaselineRequest = Shapes::StructureShape.new(name: 'StartApprovalTeamBaselineRequest')
140
+ StartApprovalTeamBaselineResponse = Shapes::StructureShape.new(name: 'StartApprovalTeamBaselineResponse')
137
141
  String = Shapes::StringShape.new(name: 'String')
138
142
  TagKey = Shapes::StringShape.new(name: 'TagKey')
139
143
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -250,6 +254,9 @@ module Aws::MPA
250
254
  GetApprovalTeamResponseApprover.add_member(:primary_identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "PrimaryIdentityId"))
251
255
  GetApprovalTeamResponseApprover.add_member(:primary_identity_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "PrimaryIdentitySourceArn"))
252
256
  GetApprovalTeamResponseApprover.add_member(:primary_identity_status, Shapes::ShapeRef.new(shape: IdentityStatus, location_name: "PrimaryIdentityStatus"))
257
+ GetApprovalTeamResponseApprover.add_member(:last_activity, Shapes::ShapeRef.new(shape: ApproverLastActivity, location_name: "LastActivity"))
258
+ GetApprovalTeamResponseApprover.add_member(:last_activity_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "LastActivityTime"))
259
+ GetApprovalTeamResponseApprover.add_member(:pending_baseline_session_arn, Shapes::ShapeRef.new(shape: SessionArn, location_name: "PendingBaselineSessionArn"))
253
260
  GetApprovalTeamResponseApprover.add_member(:mfa_methods, Shapes::ShapeRef.new(shape: MfaMethods, location_name: "MfaMethods"))
254
261
  GetApprovalTeamResponseApprover.struct_class = Types::GetApprovalTeamResponseApprover
255
262
 
@@ -544,6 +551,15 @@ module Aws::MPA
544
551
  StartActiveApprovalTeamDeletionResponse.add_member(:deletion_start_time, Shapes::ShapeRef.new(shape: IsoTimestamp, location_name: "DeletionStartTime"))
545
552
  StartActiveApprovalTeamDeletionResponse.struct_class = Types::StartActiveApprovalTeamDeletionResponse
546
553
 
554
+ StartApprovalTeamBaselineApproverIds.member = Shapes::ShapeRef.new(shape: ParticipantId)
555
+
556
+ StartApprovalTeamBaselineRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, required: true, location: "uri", location_name: "Arn"))
557
+ StartApprovalTeamBaselineRequest.add_member(:approver_ids, Shapes::ShapeRef.new(shape: StartApprovalTeamBaselineApproverIds, location_name: "ApproverIds"))
558
+ StartApprovalTeamBaselineRequest.struct_class = Types::StartApprovalTeamBaselineRequest
559
+
560
+ StartApprovalTeamBaselineResponse.add_member(:baseline_session_arn, Shapes::ShapeRef.new(shape: SessionArn, location_name: "BaselineSessionArn"))
561
+ StartApprovalTeamBaselineResponse.struct_class = Types::StartApprovalTeamBaselineResponse
562
+
547
563
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
548
564
 
549
565
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
@@ -873,6 +889,19 @@ module Aws::MPA
873
889
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
874
890
  end)
875
891
 
892
+ api.add_operation(:start_approval_team_baseline, Seahorse::Model::Operation.new.tap do |o|
893
+ o.name = "StartApprovalTeamBaseline"
894
+ o.http_method = "POST"
895
+ o.http_request_uri = "/approval-teams/{Arn}/baseline"
896
+ o.input = Shapes::ShapeRef.new(shape: StartApprovalTeamBaselineRequest)
897
+ o.output = Shapes::ShapeRef.new(shape: StartApprovalTeamBaselineResponse)
898
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
899
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
900
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
901
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
902
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
903
+ end)
904
+
876
905
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
877
906
  o.name = "TagResource"
878
907
  o.http_method = "PUT"
@@ -518,6 +518,19 @@ module Aws::MPA
518
518
  # by the identity source.
519
519
  # @return [String]
520
520
  #
521
+ # @!attribute [rw] last_activity
522
+ # Last Activity performed by the approver.
523
+ # @return [String]
524
+ #
525
+ # @!attribute [rw] last_activity_time
526
+ # Timestamp when the approver last responded to an operation or
527
+ # invitation request.
528
+ # @return [Time]
529
+ #
530
+ # @!attribute [rw] pending_baseline_session_arn
531
+ # Amazon Resource Name (ARN) for the pending baseline session.
532
+ # @return [String]
533
+ #
521
534
  # @!attribute [rw] mfa_methods
522
535
  # Multi-factor authentication configuration for the approver
523
536
  # @return [Array<Types::MfaMethod>]
@@ -530,6 +543,9 @@ module Aws::MPA
530
543
  :primary_identity_id,
531
544
  :primary_identity_source_arn,
532
545
  :primary_identity_status,
546
+ :last_activity,
547
+ :last_activity_time,
548
+ :pending_baseline_session_arn,
533
549
  :mfa_methods)
534
550
  SENSITIVE = []
535
551
  include Aws::Structure
@@ -1967,6 +1983,35 @@ module Aws::MPA
1967
1983
  include Aws::Structure
1968
1984
  end
1969
1985
 
1986
+ # @!attribute [rw] arn
1987
+ # Amazon Resource Name (ARN) for the approval team.
1988
+ # @return [String]
1989
+ #
1990
+ # @!attribute [rw] approver_ids
1991
+ # Array of approver IDs.
1992
+ # @return [Array<String>]
1993
+ #
1994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/StartApprovalTeamBaselineRequest AWS API Documentation
1995
+ #
1996
+ class StartApprovalTeamBaselineRequest < Struct.new(
1997
+ :arn,
1998
+ :approver_ids)
1999
+ SENSITIVE = []
2000
+ include Aws::Structure
2001
+ end
2002
+
2003
+ # @!attribute [rw] baseline_session_arn
2004
+ # Amazon Resource Name (ARN) for the session.
2005
+ # @return [String]
2006
+ #
2007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/StartApprovalTeamBaselineResponse AWS API Documentation
2008
+ #
2009
+ class StartApprovalTeamBaselineResponse < Struct.new(
2010
+ :baseline_session_arn)
2011
+ SENSITIVE = []
2012
+ include Aws::Structure
2013
+ end
2014
+
1970
2015
  # @!attribute [rw] resource_arn
1971
2016
  # Amazon Resource Name (ARN) for the resource you want to tag.
1972
2017
  # @return [String]
data/lib/aws-sdk-mpa.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::MPA
55
55
  autoload :EndpointProvider, 'aws-sdk-mpa/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-mpa/endpoints'
57
57
 
58
- GEM_VERSION = '1.12.0'
58
+ GEM_VERSION = '1.13.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -234,7 +234,7 @@ module Aws
234
234
  def description: () -> ::String
235
235
  def metadata: () -> ::Hash[::String, ::String]
236
236
  def status: () -> ("PENDING" | "CANCELLED" | "APPROVED" | "FAILED" | "CREATING")
237
- def status_code: () -> ("REJECTED" | "EXPIRED" | "CONFIGURATION_CHANGED")
237
+ def status_code: () -> ("REJECTED" | "EXPIRED" | "CONFIGURATION_CHANGED" | "ALL_APPROVERS_IN_SESSION")
238
238
  def status_message: () -> ::String
239
239
  def execution_status: () -> ("EXECUTED" | "FAILED" | "PENDING")
240
240
  def action_name: () -> ::String
@@ -357,6 +357,17 @@ module Aws
357
357
  ) -> _StartActiveApprovalTeamDeletionResponseSuccess
358
358
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartActiveApprovalTeamDeletionResponseSuccess
359
359
 
360
+ interface _StartApprovalTeamBaselineResponseSuccess
361
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartApprovalTeamBaselineResponse]
362
+ def baseline_session_arn: () -> ::String
363
+ end
364
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MPA/Client.html#start_approval_team_baseline-instance_method
365
+ def start_approval_team_baseline: (
366
+ arn: ::String,
367
+ ?approver_ids: Array[::String]
368
+ ) -> _StartApprovalTeamBaselineResponseSuccess
369
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartApprovalTeamBaselineResponseSuccess
370
+
360
371
  interface _TagResourceResponseSuccess
361
372
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
362
373
  end
data/sig/types.rbs CHANGED
@@ -138,6 +138,9 @@ module Aws::MPA
138
138
  attr_accessor primary_identity_id: ::String
139
139
  attr_accessor primary_identity_source_arn: ::String
140
140
  attr_accessor primary_identity_status: ("PENDING" | "ACCEPTED" | "REJECTED" | "INVALID")
141
+ attr_accessor last_activity: ("VOTED" | "BASELINED" | "RESPONDED_TO_INVITATION")
142
+ attr_accessor last_activity_time: ::Time
143
+ attr_accessor pending_baseline_session_arn: ::String
141
144
  attr_accessor mfa_methods: ::Array[Types::MfaMethod]
142
145
  SENSITIVE: []
143
146
  end
@@ -202,7 +205,7 @@ module Aws::MPA
202
205
  attr_accessor description: ::String
203
206
  attr_accessor metadata: ::Hash[::String, ::String]
204
207
  attr_accessor status: ("PENDING" | "CANCELLED" | "APPROVED" | "FAILED" | "CREATING")
205
- attr_accessor status_code: ("REJECTED" | "EXPIRED" | "CONFIGURATION_CHANGED")
208
+ attr_accessor status_code: ("REJECTED" | "EXPIRED" | "CONFIGURATION_CHANGED" | "ALL_APPROVERS_IN_SESSION")
206
209
  attr_accessor status_message: ::String
207
210
  attr_accessor execution_status: ("EXECUTED" | "FAILED" | "PENDING")
208
211
  attr_accessor action_name: ::String
@@ -405,7 +408,7 @@ module Aws::MPA
405
408
  attr_accessor requester_region: ::String
406
409
  attr_accessor requester_account_id: ::String
407
410
  attr_accessor status: ("PENDING" | "CANCELLED" | "APPROVED" | "FAILED" | "CREATING")
408
- attr_accessor status_code: ("REJECTED" | "EXPIRED" | "CONFIGURATION_CHANGED")
411
+ attr_accessor status_code: ("REJECTED" | "EXPIRED" | "CONFIGURATION_CHANGED" | "ALL_APPROVERS_IN_SESSION")
409
412
  attr_accessor status_message: ::String
410
413
  attr_accessor action_completion_strategy: ("AUTO_COMPLETION_UPON_APPROVAL")
411
414
  attr_accessor additional_security_requirements: ::Array[("APPROVER_VERIFICATION_REQUIRED")]
@@ -508,6 +511,17 @@ module Aws::MPA
508
511
  SENSITIVE: []
509
512
  end
510
513
 
514
+ class StartApprovalTeamBaselineRequest
515
+ attr_accessor arn: ::String
516
+ attr_accessor approver_ids: ::Array[::String]
517
+ SENSITIVE: []
518
+ end
519
+
520
+ class StartApprovalTeamBaselineResponse
521
+ attr_accessor baseline_session_arn: ::String
522
+ SENSITIVE: []
523
+ end
524
+
511
525
  class TagResourceRequest
512
526
  attr_accessor resource_arn: ::String
513
527
  attr_accessor tags: ::Hash[::String, ::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mpa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services