aws-sdk-mpa 1.11.0 → 1.12.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mpa/client.rb +16 -37
- data/lib/aws-sdk-mpa/client_api.rb +22 -0
- data/lib/aws-sdk-mpa/types.rb +46 -87
- data/lib/aws-sdk-mpa.rb +1 -1
- data/sig/client.rbs +3 -1
- data/sig/types.rbs +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf1bd8de41acc6948d7d454b7169031bd845fb193e6f7326ba486c1c63a337a4
|
|
4
|
+
data.tar.gz: 14ba63779fa6ef1641b339c1edb384551e643a05eaa5dedbdeab35b2b5e8b936
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bcb813be75bc0d1a198cce481cc356dd608b44167578db41ed7fd93516fbbcb2efefad826ccb7bb132108b9c657ab17c77a84fb3acc85775299d0b96c1e55728
|
|
7
|
+
data.tar.gz: bd4af7f04160cfbec03c628f0eae97fa85ef2f62d17336504fea96b9c48286b5121b27c1062ba340e78c0a6bdbef1088ffd170ae5d7f8497cdd749df99d8eb51
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.12.0 (2026-02-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Updates to multi-party approval (MPA) service to add support for multi-factor authentication (MFA) for voting operations.
|
|
8
|
+
|
|
4
9
|
1.11.0 (2026-01-16)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.12.0
|
data/lib/aws-sdk-mpa/client.rb
CHANGED
|
@@ -553,15 +553,6 @@ module Aws::MPA
|
|
|
553
553
|
# An array of `PolicyReference` objects. Contains a list of policies
|
|
554
554
|
# that define the permissions for team resources.
|
|
555
555
|
#
|
|
556
|
-
# The protected operation for a service integration might require
|
|
557
|
-
# specific permissions. For more information, see [How other services
|
|
558
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
559
|
-
# Guide*.
|
|
560
|
-
#
|
|
561
|
-
#
|
|
562
|
-
#
|
|
563
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
564
|
-
#
|
|
565
556
|
# @option params [required, String] :name
|
|
566
557
|
# Name of the team.
|
|
567
558
|
#
|
|
@@ -800,6 +791,9 @@ module Aws::MPA
|
|
|
800
791
|
# resp.approvers[0].primary_identity_id #=> String
|
|
801
792
|
# resp.approvers[0].primary_identity_source_arn #=> String
|
|
802
793
|
# resp.approvers[0].primary_identity_status #=> String, one of "PENDING", "ACCEPTED", "REJECTED", "INVALID"
|
|
794
|
+
# resp.approvers[0].mfa_methods #=> Array
|
|
795
|
+
# resp.approvers[0].mfa_methods[0].type #=> String, one of "EMAIL_OTP"
|
|
796
|
+
# resp.approvers[0].mfa_methods[0].sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC"
|
|
803
797
|
# resp.arn #=> String
|
|
804
798
|
# resp.description #=> String
|
|
805
799
|
# resp.name #=> String
|
|
@@ -824,6 +818,9 @@ module Aws::MPA
|
|
|
824
818
|
# resp.pending_update.approvers[0].primary_identity_id #=> String
|
|
825
819
|
# resp.pending_update.approvers[0].primary_identity_source_arn #=> String
|
|
826
820
|
# resp.pending_update.approvers[0].primary_identity_status #=> String, one of "PENDING", "ACCEPTED", "REJECTED", "INVALID"
|
|
821
|
+
# resp.pending_update.approvers[0].mfa_methods #=> Array
|
|
822
|
+
# resp.pending_update.approvers[0].mfa_methods[0].type #=> String, one of "EMAIL_OTP"
|
|
823
|
+
# resp.pending_update.approvers[0].mfa_methods[0].sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC"
|
|
827
824
|
# resp.pending_update.update_initiation_time #=> Time
|
|
828
825
|
#
|
|
829
826
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/GetApprovalTeam AWS API Documentation
|
|
@@ -885,15 +882,6 @@ module Aws::MPA
|
|
|
885
882
|
# Returns details for the version of a policy. Policies define the
|
|
886
883
|
# permissions for team resources.
|
|
887
884
|
#
|
|
888
|
-
# The protected operation for a service integration might require
|
|
889
|
-
# specific permissions. For more information, see [How other services
|
|
890
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
891
|
-
# Guide*.
|
|
892
|
-
#
|
|
893
|
-
#
|
|
894
|
-
#
|
|
895
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
896
|
-
#
|
|
897
885
|
# @option params [required, String] :policy_version_arn
|
|
898
886
|
# Amazon Resource Name (ARN) for the policy.
|
|
899
887
|
#
|
|
@@ -1008,6 +996,7 @@ module Aws::MPA
|
|
|
1008
996
|
# * {Types::GetSessionResponse#requester_comment #requester_comment} => String
|
|
1009
997
|
# * {Types::GetSessionResponse#action_completion_strategy #action_completion_strategy} => String
|
|
1010
998
|
# * {Types::GetSessionResponse#approver_responses #approver_responses} => Array<Types::GetSessionResponseApproverResponse>
|
|
999
|
+
# * {Types::GetSessionResponse#additional_security_requirements #additional_security_requirements} => Array<String>
|
|
1011
1000
|
#
|
|
1012
1001
|
# @example Request syntax with placeholder values
|
|
1013
1002
|
#
|
|
@@ -1046,6 +1035,8 @@ module Aws::MPA
|
|
|
1046
1035
|
# resp.approver_responses[0].identity_id #=> String
|
|
1047
1036
|
# resp.approver_responses[0].response #=> String, one of "APPROVED", "REJECTED", "NO_RESPONSE"
|
|
1048
1037
|
# resp.approver_responses[0].response_time #=> Time
|
|
1038
|
+
# resp.additional_security_requirements #=> Array
|
|
1039
|
+
# resp.additional_security_requirements[0] #=> String, one of "APPROVER_VERIFICATION_REQUIRED"
|
|
1049
1040
|
#
|
|
1050
1041
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/GetSession AWS API Documentation
|
|
1051
1042
|
#
|
|
@@ -1164,15 +1155,6 @@ module Aws::MPA
|
|
|
1164
1155
|
# Returns a list of policies. Policies define the permissions for team
|
|
1165
1156
|
# resources.
|
|
1166
1157
|
#
|
|
1167
|
-
# The protected operation for a service integration might require
|
|
1168
|
-
# specific permissions. For more information, see [How other services
|
|
1169
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
1170
|
-
# Guide*.
|
|
1171
|
-
#
|
|
1172
|
-
#
|
|
1173
|
-
#
|
|
1174
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
1175
|
-
#
|
|
1176
1158
|
# @option params [Integer] :max_results
|
|
1177
1159
|
# The maximum number of items to return in the response. If more results
|
|
1178
1160
|
# exist than the specified `MaxResults` value, a token is included in
|
|
@@ -1219,15 +1201,6 @@ module Aws::MPA
|
|
|
1219
1201
|
# Returns a list of the versions for policies. Policies define the
|
|
1220
1202
|
# permissions for team resources.
|
|
1221
1203
|
#
|
|
1222
|
-
# The protected operation for a service integration might require
|
|
1223
|
-
# specific permissions. For more information, see [How other services
|
|
1224
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
1225
|
-
# Guide*.
|
|
1226
|
-
#
|
|
1227
|
-
#
|
|
1228
|
-
#
|
|
1229
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
1230
|
-
#
|
|
1231
1204
|
# @option params [Integer] :max_results
|
|
1232
1205
|
# The maximum number of items to return in the response. If more results
|
|
1233
1206
|
# exist than the specified `MaxResults` value, a token is included in
|
|
@@ -1396,6 +1369,8 @@ module Aws::MPA
|
|
|
1396
1369
|
# resp.sessions[0].status_code #=> String, one of "REJECTED", "EXPIRED", "CONFIGURATION_CHANGED"
|
|
1397
1370
|
# resp.sessions[0].status_message #=> String
|
|
1398
1371
|
# resp.sessions[0].action_completion_strategy #=> String, one of "AUTO_COMPLETION_UPON_APPROVAL"
|
|
1372
|
+
# resp.sessions[0].additional_security_requirements #=> Array
|
|
1373
|
+
# resp.sessions[0].additional_security_requirements[0] #=> String, one of "APPROVER_VERIFICATION_REQUIRED"
|
|
1399
1374
|
#
|
|
1400
1375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/ListSessions AWS API Documentation
|
|
1401
1376
|
#
|
|
@@ -1557,6 +1532,9 @@ module Aws::MPA
|
|
|
1557
1532
|
# @option params [required, String] :arn
|
|
1558
1533
|
# Amazon Resource Name (ARN) for the team.
|
|
1559
1534
|
#
|
|
1535
|
+
# @option params [Array<String>] :update_actions
|
|
1536
|
+
# A list of `UpdateAction` to perform when updating the team.
|
|
1537
|
+
#
|
|
1560
1538
|
# @return [Types::UpdateApprovalTeamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1561
1539
|
#
|
|
1562
1540
|
# * {Types::UpdateApprovalTeamResponse#version_id #version_id} => String
|
|
@@ -1577,6 +1555,7 @@ module Aws::MPA
|
|
|
1577
1555
|
# ],
|
|
1578
1556
|
# description: "Description",
|
|
1579
1557
|
# arn: "ApprovalTeamArn", # required
|
|
1558
|
+
# update_actions: ["SYNCHRONIZE_MFA_DEVICES"], # accepts SYNCHRONIZE_MFA_DEVICES
|
|
1580
1559
|
# })
|
|
1581
1560
|
#
|
|
1582
1561
|
# @example Response structure
|
|
@@ -1610,7 +1589,7 @@ module Aws::MPA
|
|
|
1610
1589
|
tracer: tracer
|
|
1611
1590
|
)
|
|
1612
1591
|
context[:gem_name] = 'aws-sdk-mpa'
|
|
1613
|
-
context[:gem_version] = '1.
|
|
1592
|
+
context[:gem_version] = '1.12.0'
|
|
1614
1593
|
Seahorse::Client::Request.new(handlers, context)
|
|
1615
1594
|
end
|
|
1616
1595
|
|
|
@@ -18,6 +18,8 @@ module Aws::MPA
|
|
|
18
18
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
19
19
|
ActionCompletionStrategy = Shapes::StringShape.new(name: 'ActionCompletionStrategy')
|
|
20
20
|
ActionName = Shapes::StringShape.new(name: 'ActionName')
|
|
21
|
+
AdditionalSecurityRequirement = Shapes::StringShape.new(name: 'AdditionalSecurityRequirement')
|
|
22
|
+
AdditionalSecurityRequirements = Shapes::ListShape.new(name: 'AdditionalSecurityRequirements')
|
|
21
23
|
ApprovalStrategy = Shapes::UnionShape.new(name: 'ApprovalStrategy')
|
|
22
24
|
ApprovalStrategyResponse = Shapes::UnionShape.new(name: 'ApprovalStrategyResponse')
|
|
23
25
|
ApprovalTeamArn = Shapes::StringShape.new(name: 'ApprovalTeamArn')
|
|
@@ -95,6 +97,10 @@ module Aws::MPA
|
|
|
95
97
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
96
98
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
97
99
|
Message = Shapes::StringShape.new(name: 'Message')
|
|
100
|
+
MfaMethod = Shapes::StructureShape.new(name: 'MfaMethod')
|
|
101
|
+
MfaMethods = Shapes::ListShape.new(name: 'MfaMethods')
|
|
102
|
+
MfaSyncStatus = Shapes::StringShape.new(name: 'MfaSyncStatus')
|
|
103
|
+
MfaType = Shapes::StringShape.new(name: 'MfaType')
|
|
98
104
|
MofNApprovalStrategy = Shapes::StructureShape.new(name: 'MofNApprovalStrategy')
|
|
99
105
|
MofNApprovalStrategyMinApprovalsRequiredInteger = Shapes::IntegerShape.new(name: 'MofNApprovalStrategyMinApprovalsRequiredInteger')
|
|
100
106
|
Operator = Shapes::StringShape.new(name: 'Operator')
|
|
@@ -141,6 +147,8 @@ module Aws::MPA
|
|
|
141
147
|
UnqualifiedPolicyArn = Shapes::StringShape.new(name: 'UnqualifiedPolicyArn')
|
|
142
148
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
143
149
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
150
|
+
UpdateAction = Shapes::StringShape.new(name: 'UpdateAction')
|
|
151
|
+
UpdateActions = Shapes::ListShape.new(name: 'UpdateActions')
|
|
144
152
|
UpdateApprovalTeamRequest = Shapes::StructureShape.new(name: 'UpdateApprovalTeamRequest')
|
|
145
153
|
UpdateApprovalTeamResponse = Shapes::StructureShape.new(name: 'UpdateApprovalTeamResponse')
|
|
146
154
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
@@ -148,6 +156,8 @@ module Aws::MPA
|
|
|
148
156
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
149
157
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
150
158
|
|
|
159
|
+
AdditionalSecurityRequirements.member = Shapes::ShapeRef.new(shape: AdditionalSecurityRequirement)
|
|
160
|
+
|
|
151
161
|
ApprovalStrategy.add_member(:mof_n, Shapes::ShapeRef.new(shape: MofNApprovalStrategy, location_name: "MofN"))
|
|
152
162
|
ApprovalStrategy.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
153
163
|
ApprovalStrategy.add_member_subclass(:mof_n, Types::ApprovalStrategy::MofN)
|
|
@@ -240,6 +250,7 @@ module Aws::MPA
|
|
|
240
250
|
GetApprovalTeamResponseApprover.add_member(:primary_identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "PrimaryIdentityId"))
|
|
241
251
|
GetApprovalTeamResponseApprover.add_member(:primary_identity_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "PrimaryIdentitySourceArn"))
|
|
242
252
|
GetApprovalTeamResponseApprover.add_member(:primary_identity_status, Shapes::ShapeRef.new(shape: IdentityStatus, location_name: "PrimaryIdentityStatus"))
|
|
253
|
+
GetApprovalTeamResponseApprover.add_member(:mfa_methods, Shapes::ShapeRef.new(shape: MfaMethods, location_name: "MfaMethods"))
|
|
243
254
|
GetApprovalTeamResponseApprover.struct_class = Types::GetApprovalTeamResponseApprover
|
|
244
255
|
|
|
245
256
|
GetApprovalTeamResponseApprovers.member = Shapes::ShapeRef.new(shape: GetApprovalTeamResponseApprover)
|
|
@@ -300,6 +311,7 @@ module Aws::MPA
|
|
|
300
311
|
GetSessionResponse.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location_name: "RequesterComment"))
|
|
301
312
|
GetSessionResponse.add_member(:action_completion_strategy, Shapes::ShapeRef.new(shape: ActionCompletionStrategy, location_name: "ActionCompletionStrategy"))
|
|
302
313
|
GetSessionResponse.add_member(:approver_responses, Shapes::ShapeRef.new(shape: GetSessionResponseApproverResponses, location_name: "ApproverResponses"))
|
|
314
|
+
GetSessionResponse.add_member(:additional_security_requirements, Shapes::ShapeRef.new(shape: AdditionalSecurityRequirements, location_name: "AdditionalSecurityRequirements"))
|
|
303
315
|
GetSessionResponse.struct_class = Types::GetSessionResponse
|
|
304
316
|
|
|
305
317
|
GetSessionResponseApproverResponse.add_member(:approver_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "ApproverId"))
|
|
@@ -446,6 +458,7 @@ module Aws::MPA
|
|
|
446
458
|
ListSessionsResponseSession.add_member(:status_code, Shapes::ShapeRef.new(shape: SessionStatusCode, location_name: "StatusCode"))
|
|
447
459
|
ListSessionsResponseSession.add_member(:status_message, Shapes::ShapeRef.new(shape: Message, location_name: "StatusMessage"))
|
|
448
460
|
ListSessionsResponseSession.add_member(:action_completion_strategy, Shapes::ShapeRef.new(shape: ActionCompletionStrategy, location_name: "ActionCompletionStrategy"))
|
|
461
|
+
ListSessionsResponseSession.add_member(:additional_security_requirements, Shapes::ShapeRef.new(shape: AdditionalSecurityRequirements, location_name: "AdditionalSecurityRequirements"))
|
|
449
462
|
ListSessionsResponseSession.struct_class = Types::ListSessionsResponseSession
|
|
450
463
|
|
|
451
464
|
ListSessionsResponseSessions.member = Shapes::ShapeRef.new(shape: ListSessionsResponseSession)
|
|
@@ -456,6 +469,12 @@ module Aws::MPA
|
|
|
456
469
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
457
470
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
458
471
|
|
|
472
|
+
MfaMethod.add_member(:type, Shapes::ShapeRef.new(shape: MfaType, required: true, location_name: "Type"))
|
|
473
|
+
MfaMethod.add_member(:sync_status, Shapes::ShapeRef.new(shape: MfaSyncStatus, required: true, location_name: "SyncStatus"))
|
|
474
|
+
MfaMethod.struct_class = Types::MfaMethod
|
|
475
|
+
|
|
476
|
+
MfaMethods.member = Shapes::ShapeRef.new(shape: MfaMethod)
|
|
477
|
+
|
|
459
478
|
MofNApprovalStrategy.add_member(:min_approvals_required, Shapes::ShapeRef.new(shape: MofNApprovalStrategyMinApprovalsRequiredInteger, required: true, location_name: "MinApprovalsRequired"))
|
|
460
479
|
MofNApprovalStrategy.struct_class = Types::MofNApprovalStrategy
|
|
461
480
|
|
|
@@ -549,10 +568,13 @@ module Aws::MPA
|
|
|
549
568
|
|
|
550
569
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
|
551
570
|
|
|
571
|
+
UpdateActions.member = Shapes::ShapeRef.new(shape: UpdateAction)
|
|
572
|
+
|
|
552
573
|
UpdateApprovalTeamRequest.add_member(:approval_strategy, Shapes::ShapeRef.new(shape: ApprovalStrategy, location_name: "ApprovalStrategy"))
|
|
553
574
|
UpdateApprovalTeamRequest.add_member(:approvers, Shapes::ShapeRef.new(shape: ApprovalTeamRequestApprovers, location_name: "Approvers"))
|
|
554
575
|
UpdateApprovalTeamRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
555
576
|
UpdateApprovalTeamRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ApprovalTeamArn, required: true, location: "uri", location_name: "Arn"))
|
|
577
|
+
UpdateApprovalTeamRequest.add_member(:update_actions, Shapes::ShapeRef.new(shape: UpdateActions, location_name: "UpdateActions"))
|
|
556
578
|
UpdateApprovalTeamRequest.struct_class = Types::UpdateApprovalTeamRequest
|
|
557
579
|
|
|
558
580
|
UpdateApprovalTeamResponse.add_member(:version_id, Shapes::ShapeRef.new(shape: String, location_name: "VersionId"))
|
data/lib/aws-sdk-mpa/types.rb
CHANGED
|
@@ -166,15 +166,6 @@ module Aws::MPA
|
|
|
166
166
|
# @!attribute [rw] policies
|
|
167
167
|
# An array of `PolicyReference` objects. Contains a list of policies
|
|
168
168
|
# that define the permissions for team resources.
|
|
169
|
-
#
|
|
170
|
-
# The protected operation for a service integration might require
|
|
171
|
-
# specific permissions. For more information, see [How other services
|
|
172
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
173
|
-
# Guide*.
|
|
174
|
-
#
|
|
175
|
-
#
|
|
176
|
-
#
|
|
177
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
178
169
|
# @return [Array<Types::PolicyReference>]
|
|
179
170
|
#
|
|
180
171
|
# @!attribute [rw] name
|
|
@@ -468,15 +459,6 @@ module Aws::MPA
|
|
|
468
459
|
# @!attribute [rw] policies
|
|
469
460
|
# An array of `PolicyReference` objects. Contains a list of policies
|
|
470
461
|
# that define the permissions for team resources.
|
|
471
|
-
#
|
|
472
|
-
# The protected operation for a service integration might require
|
|
473
|
-
# specific permissions. For more information, see [How other services
|
|
474
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
475
|
-
# Guide*.
|
|
476
|
-
#
|
|
477
|
-
#
|
|
478
|
-
#
|
|
479
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
480
462
|
# @return [Array<Types::PolicyReference>]
|
|
481
463
|
#
|
|
482
464
|
# @!attribute [rw] last_update_time
|
|
@@ -536,6 +518,10 @@ module Aws::MPA
|
|
|
536
518
|
# by the identity source.
|
|
537
519
|
# @return [String]
|
|
538
520
|
#
|
|
521
|
+
# @!attribute [rw] mfa_methods
|
|
522
|
+
# Multi-factor authentication configuration for the approver
|
|
523
|
+
# @return [Array<Types::MfaMethod>]
|
|
524
|
+
#
|
|
539
525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/GetApprovalTeamResponseApprover AWS API Documentation
|
|
540
526
|
#
|
|
541
527
|
class GetApprovalTeamResponseApprover < Struct.new(
|
|
@@ -543,7 +529,8 @@ module Aws::MPA
|
|
|
543
529
|
:response_time,
|
|
544
530
|
:primary_identity_id,
|
|
545
531
|
:primary_identity_source_arn,
|
|
546
|
-
:primary_identity_status
|
|
532
|
+
:primary_identity_status,
|
|
533
|
+
:mfa_methods)
|
|
547
534
|
SENSITIVE = []
|
|
548
535
|
include Aws::Structure
|
|
549
536
|
end
|
|
@@ -621,15 +608,6 @@ module Aws::MPA
|
|
|
621
608
|
# @!attribute [rw] policy_version
|
|
622
609
|
# A `PolicyVersion` object. Contains details for the version of the
|
|
623
610
|
# policy. Policies define the permissions for team resources.
|
|
624
|
-
#
|
|
625
|
-
# The protected operation for a service integration might require
|
|
626
|
-
# specific permissions. For more information, see [How other services
|
|
627
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
628
|
-
# Guide*.
|
|
629
|
-
#
|
|
630
|
-
#
|
|
631
|
-
#
|
|
632
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
633
611
|
# @return [Types::PolicyVersion]
|
|
634
612
|
#
|
|
635
613
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/GetPolicyVersionResponse AWS API Documentation
|
|
@@ -813,6 +791,10 @@ module Aws::MPA
|
|
|
813
791
|
# details for approver responses in the session.
|
|
814
792
|
# @return [Array<Types::GetSessionResponseApproverResponse>]
|
|
815
793
|
#
|
|
794
|
+
# @!attribute [rw] additional_security_requirements
|
|
795
|
+
# A list of `AdditionalSecurityRequirement` applied to the session.
|
|
796
|
+
# @return [Array<String>]
|
|
797
|
+
#
|
|
816
798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/GetSessionResponse AWS API Documentation
|
|
817
799
|
#
|
|
818
800
|
class GetSessionResponse < Struct.new(
|
|
@@ -838,7 +820,8 @@ module Aws::MPA
|
|
|
838
820
|
:requester_region,
|
|
839
821
|
:requester_comment,
|
|
840
822
|
:action_completion_strategy,
|
|
841
|
-
:approver_responses
|
|
823
|
+
:approver_responses,
|
|
824
|
+
:additional_security_requirements)
|
|
842
825
|
SENSITIVE = [:description, :metadata, :requester_comment]
|
|
843
826
|
include Aws::Structure
|
|
844
827
|
end
|
|
@@ -1310,15 +1293,6 @@ module Aws::MPA
|
|
|
1310
1293
|
# @!attribute [rw] policies
|
|
1311
1294
|
# An array of `Policy` objects. Contains a list of policies that
|
|
1312
1295
|
# define the permissions for team resources.
|
|
1313
|
-
#
|
|
1314
|
-
# The protected operation for a service integration might require
|
|
1315
|
-
# specific permissions. For more information, see [How other services
|
|
1316
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
1317
|
-
# Guide*.
|
|
1318
|
-
#
|
|
1319
|
-
#
|
|
1320
|
-
#
|
|
1321
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
1322
1296
|
# @return [Array<Types::Policy>]
|
|
1323
1297
|
#
|
|
1324
1298
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/ListPoliciesResponse AWS API Documentation
|
|
@@ -1371,15 +1345,6 @@ module Aws::MPA
|
|
|
1371
1345
|
# An array of `PolicyVersionSummary` objects. Contains details for the
|
|
1372
1346
|
# version of the policies that define the permissions for team
|
|
1373
1347
|
# resources.
|
|
1374
|
-
#
|
|
1375
|
-
# The protected operation for a service integration might require
|
|
1376
|
-
# specific permissions. For more information, see [How other services
|
|
1377
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
1378
|
-
# Guide*.
|
|
1379
|
-
#
|
|
1380
|
-
#
|
|
1381
|
-
#
|
|
1382
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
1383
1348
|
# @return [Array<Types::PolicyVersionSummary>]
|
|
1384
1349
|
#
|
|
1385
1350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/ListPolicyVersionsResponse AWS API Documentation
|
|
@@ -1610,6 +1575,10 @@ module Aws::MPA
|
|
|
1610
1575
|
# automatically using the requester's permissions, if approved.
|
|
1611
1576
|
# @return [String]
|
|
1612
1577
|
#
|
|
1578
|
+
# @!attribute [rw] additional_security_requirements
|
|
1579
|
+
# A list of `AdditionalSecurityRequirement` applied to the session.
|
|
1580
|
+
# @return [Array<String>]
|
|
1581
|
+
#
|
|
1613
1582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/ListSessionsResponseSession AWS API Documentation
|
|
1614
1583
|
#
|
|
1615
1584
|
class ListSessionsResponseSession < Struct.new(
|
|
@@ -1629,7 +1598,8 @@ module Aws::MPA
|
|
|
1629
1598
|
:status,
|
|
1630
1599
|
:status_code,
|
|
1631
1600
|
:status_message,
|
|
1632
|
-
:action_completion_strategy
|
|
1601
|
+
:action_completion_strategy,
|
|
1602
|
+
:additional_security_requirements)
|
|
1633
1603
|
SENSITIVE = [:description]
|
|
1634
1604
|
include Aws::Structure
|
|
1635
1605
|
end
|
|
@@ -1658,6 +1628,26 @@ module Aws::MPA
|
|
|
1658
1628
|
include Aws::Structure
|
|
1659
1629
|
end
|
|
1660
1630
|
|
|
1631
|
+
# MFA configuration and sycnronization status for an approver
|
|
1632
|
+
#
|
|
1633
|
+
# @!attribute [rw] type
|
|
1634
|
+
# The type of MFA configuration used by the approver
|
|
1635
|
+
# @return [String]
|
|
1636
|
+
#
|
|
1637
|
+
# @!attribute [rw] sync_status
|
|
1638
|
+
# Indicates if the approver's MFA device is in-sync with the Identity
|
|
1639
|
+
# Source
|
|
1640
|
+
# @return [String]
|
|
1641
|
+
#
|
|
1642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/MfaMethod AWS API Documentation
|
|
1643
|
+
#
|
|
1644
|
+
class MfaMethod < Struct.new(
|
|
1645
|
+
:type,
|
|
1646
|
+
:sync_status)
|
|
1647
|
+
SENSITIVE = []
|
|
1648
|
+
include Aws::Structure
|
|
1649
|
+
end
|
|
1650
|
+
|
|
1661
1651
|
# Strategy for how an approval team grants approval.
|
|
1662
1652
|
#
|
|
1663
1653
|
# @!attribute [rw] min_approvals_required
|
|
@@ -1743,15 +1733,6 @@ module Aws::MPA
|
|
|
1743
1733
|
# Contains details for a policy. Policies define what operations a team
|
|
1744
1734
|
# that define the permissions for team resources.
|
|
1745
1735
|
#
|
|
1746
|
-
# The protected operation for a service integration might require
|
|
1747
|
-
# specific permissions. For more information, see [How other services
|
|
1748
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
1749
|
-
# Guide*.
|
|
1750
|
-
#
|
|
1751
|
-
#
|
|
1752
|
-
#
|
|
1753
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
1754
|
-
#
|
|
1755
1736
|
# @!attribute [rw] arn
|
|
1756
1737
|
# Amazon Resource Name (ARN) for the policy.
|
|
1757
1738
|
# @return [String]
|
|
@@ -1782,15 +1763,6 @@ module Aws::MPA
|
|
|
1782
1763
|
# Contains the Amazon Resource Name (ARN) for a policy. Policies define
|
|
1783
1764
|
# what operations a team that define the permissions for team resources.
|
|
1784
1765
|
#
|
|
1785
|
-
# The protected operation for a service integration might require
|
|
1786
|
-
# specific permissions. For more information, see [How other services
|
|
1787
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
1788
|
-
# Guide*.
|
|
1789
|
-
#
|
|
1790
|
-
#
|
|
1791
|
-
#
|
|
1792
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
1793
|
-
#
|
|
1794
1766
|
# @!attribute [rw] policy_arn
|
|
1795
1767
|
# Amazon Resource Name (ARN) for the policy.
|
|
1796
1768
|
# @return [String]
|
|
@@ -1806,15 +1778,6 @@ module Aws::MPA
|
|
|
1806
1778
|
# Contains details for the version of a policy. Policies define what
|
|
1807
1779
|
# operations a team that define the permissions for team resources.
|
|
1808
1780
|
#
|
|
1809
|
-
# The protected operation for a service integration might require
|
|
1810
|
-
# specific permissions. For more information, see [How other services
|
|
1811
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
1812
|
-
# Guide*.
|
|
1813
|
-
#
|
|
1814
|
-
#
|
|
1815
|
-
#
|
|
1816
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
1817
|
-
#
|
|
1818
1781
|
# @!attribute [rw] arn
|
|
1819
1782
|
# Amazon Resource Name (ARN) for the team.
|
|
1820
1783
|
# @return [String]
|
|
@@ -1846,7 +1809,7 @@ module Aws::MPA
|
|
|
1846
1809
|
#
|
|
1847
1810
|
#
|
|
1848
1811
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_attach-policy.html
|
|
1849
|
-
# [2]: https://docs.aws.amazon.com/access_policies_managed-deprecated.html
|
|
1812
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-deprecated.html
|
|
1850
1813
|
# @return [String]
|
|
1851
1814
|
#
|
|
1852
1815
|
# @!attribute [rw] creation_time
|
|
@@ -1881,15 +1844,6 @@ module Aws::MPA
|
|
|
1881
1844
|
# Contains details for the version of a policy. Policies define what
|
|
1882
1845
|
# operations a team that define the permissions for team resources.
|
|
1883
1846
|
#
|
|
1884
|
-
# The protected operation for a service integration might require
|
|
1885
|
-
# specific permissions. For more information, see [How other services
|
|
1886
|
-
# work with Multi-party approval][1] in the *Multi-party approval User
|
|
1887
|
-
# Guide*.
|
|
1888
|
-
#
|
|
1889
|
-
#
|
|
1890
|
-
#
|
|
1891
|
-
# [1]: https://docs.aws.amazon.com/mpa/latest/userguide/mpa-integrations.html
|
|
1892
|
-
#
|
|
1893
1847
|
# @!attribute [rw] arn
|
|
1894
1848
|
# Amazon Resource Name (ARN) for the team.
|
|
1895
1849
|
# @return [String]
|
|
@@ -1921,7 +1875,7 @@ module Aws::MPA
|
|
|
1921
1875
|
#
|
|
1922
1876
|
#
|
|
1923
1877
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_attach-policy.html
|
|
1924
|
-
# [2]: https://docs.aws.amazon.com/access_policies_managed-deprecated.html
|
|
1878
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-deprecated.html
|
|
1925
1879
|
# @return [String]
|
|
1926
1880
|
#
|
|
1927
1881
|
# @!attribute [rw] creation_time
|
|
@@ -2107,13 +2061,18 @@ module Aws::MPA
|
|
|
2107
2061
|
# Amazon Resource Name (ARN) for the team.
|
|
2108
2062
|
# @return [String]
|
|
2109
2063
|
#
|
|
2064
|
+
# @!attribute [rw] update_actions
|
|
2065
|
+
# A list of `UpdateAction` to perform when updating the team.
|
|
2066
|
+
# @return [Array<String>]
|
|
2067
|
+
#
|
|
2110
2068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/UpdateApprovalTeamRequest AWS API Documentation
|
|
2111
2069
|
#
|
|
2112
2070
|
class UpdateApprovalTeamRequest < Struct.new(
|
|
2113
2071
|
:approval_strategy,
|
|
2114
2072
|
:approvers,
|
|
2115
2073
|
:description,
|
|
2116
|
-
:arn
|
|
2074
|
+
:arn,
|
|
2075
|
+
:update_actions)
|
|
2117
2076
|
SENSITIVE = [:description]
|
|
2118
2077
|
include Aws::Structure
|
|
2119
2078
|
end
|
data/lib/aws-sdk-mpa.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -245,6 +245,7 @@ module Aws
|
|
|
245
245
|
def requester_comment: () -> ::String
|
|
246
246
|
def action_completion_strategy: () -> ("AUTO_COMPLETION_UPON_APPROVAL")
|
|
247
247
|
def approver_responses: () -> ::Array[Types::GetSessionResponseApproverResponse]
|
|
248
|
+
def additional_security_requirements: () -> ::Array[("APPROVER_VERIFICATION_REQUIRED")]
|
|
248
249
|
end
|
|
249
250
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MPA/Client.html#get_session-instance_method
|
|
250
251
|
def get_session: (
|
|
@@ -394,7 +395,8 @@ module Aws
|
|
|
394
395
|
},
|
|
395
396
|
],
|
|
396
397
|
?description: ::String,
|
|
397
|
-
arn: ::String
|
|
398
|
+
arn: ::String,
|
|
399
|
+
?update_actions: Array[("SYNCHRONIZE_MFA_DEVICES")]
|
|
398
400
|
) -> _UpdateApprovalTeamResponseSuccess
|
|
399
401
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApprovalTeamResponseSuccess
|
|
400
402
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -138,6 +138,7 @@ 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 mfa_methods: ::Array[Types::MfaMethod]
|
|
141
142
|
SENSITIVE: []
|
|
142
143
|
end
|
|
143
144
|
|
|
@@ -212,6 +213,7 @@ module Aws::MPA
|
|
|
212
213
|
attr_accessor requester_comment: ::String
|
|
213
214
|
attr_accessor action_completion_strategy: ("AUTO_COMPLETION_UPON_APPROVAL")
|
|
214
215
|
attr_accessor approver_responses: ::Array[Types::GetSessionResponseApproverResponse]
|
|
216
|
+
attr_accessor additional_security_requirements: ::Array[("APPROVER_VERIFICATION_REQUIRED")]
|
|
215
217
|
SENSITIVE: [:description, :metadata, :requester_comment]
|
|
216
218
|
end
|
|
217
219
|
|
|
@@ -406,6 +408,7 @@ module Aws::MPA
|
|
|
406
408
|
attr_accessor status_code: ("REJECTED" | "EXPIRED" | "CONFIGURATION_CHANGED")
|
|
407
409
|
attr_accessor status_message: ::String
|
|
408
410
|
attr_accessor action_completion_strategy: ("AUTO_COMPLETION_UPON_APPROVAL")
|
|
411
|
+
attr_accessor additional_security_requirements: ::Array[("APPROVER_VERIFICATION_REQUIRED")]
|
|
409
412
|
SENSITIVE: [:description]
|
|
410
413
|
end
|
|
411
414
|
|
|
@@ -419,6 +422,12 @@ module Aws::MPA
|
|
|
419
422
|
SENSITIVE: [:tags]
|
|
420
423
|
end
|
|
421
424
|
|
|
425
|
+
class MfaMethod
|
|
426
|
+
attr_accessor type: ("EMAIL_OTP")
|
|
427
|
+
attr_accessor sync_status: ("IN_SYNC" | "OUT_OF_SYNC")
|
|
428
|
+
SENSITIVE: []
|
|
429
|
+
end
|
|
430
|
+
|
|
422
431
|
class MofNApprovalStrategy
|
|
423
432
|
attr_accessor min_approvals_required: ::Integer
|
|
424
433
|
SENSITIVE: []
|
|
@@ -533,6 +542,7 @@ module Aws::MPA
|
|
|
533
542
|
attr_accessor approvers: ::Array[Types::ApprovalTeamRequestApprover]
|
|
534
543
|
attr_accessor description: ::String
|
|
535
544
|
attr_accessor arn: ::String
|
|
545
|
+
attr_accessor update_actions: ::Array[("SYNCHRONIZE_MFA_DEVICES")]
|
|
536
546
|
SENSITIVE: [:description]
|
|
537
547
|
end
|
|
538
548
|
|