aws-sdk-organizations 1.126.0 → 1.128.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.
@@ -90,6 +90,8 @@ module Aws::Organizations
90
90
  DescribePolicyRequest = Shapes::StructureShape.new(name: 'DescribePolicyRequest')
91
91
  DescribePolicyResponse = Shapes::StructureShape.new(name: 'DescribePolicyResponse')
92
92
  DescribeResourcePolicyResponse = Shapes::StructureShape.new(name: 'DescribeResourcePolicyResponse')
93
+ DescribeResponsibilityTransferRequest = Shapes::StructureShape.new(name: 'DescribeResponsibilityTransferRequest')
94
+ DescribeResponsibilityTransferResponse = Shapes::StructureShape.new(name: 'DescribeResponsibilityTransferResponse')
93
95
  DestinationParentNotFoundException = Shapes::StructureShape.new(name: 'DestinationParentNotFoundException')
94
96
  DetachPolicyRequest = Shapes::StructureShape.new(name: 'DetachPolicyRequest')
95
97
  DisableAWSServiceAccessRequest = Shapes::StructureShape.new(name: 'DisableAWSServiceAccessRequest')
@@ -142,8 +144,11 @@ module Aws::Organizations
142
144
  InvalidHandshakeTransitionException = Shapes::StructureShape.new(name: 'InvalidHandshakeTransitionException')
143
145
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
144
146
  InvalidInputExceptionReason = Shapes::StringShape.new(name: 'InvalidInputExceptionReason')
147
+ InvalidResponsibilityTransferTransitionException = Shapes::StructureShape.new(name: 'InvalidResponsibilityTransferTransitionException')
145
148
  InviteAccountToOrganizationRequest = Shapes::StructureShape.new(name: 'InviteAccountToOrganizationRequest')
146
149
  InviteAccountToOrganizationResponse = Shapes::StructureShape.new(name: 'InviteAccountToOrganizationResponse')
150
+ InviteOrganizationToTransferResponsibilityRequest = Shapes::StructureShape.new(name: 'InviteOrganizationToTransferResponsibilityRequest')
151
+ InviteOrganizationToTransferResponsibilityResponse = Shapes::StructureShape.new(name: 'InviteOrganizationToTransferResponsibilityResponse')
147
152
  ListAWSServiceAccessForOrganizationRequest = Shapes::StructureShape.new(name: 'ListAWSServiceAccessForOrganizationRequest')
148
153
  ListAWSServiceAccessForOrganizationResponse = Shapes::StructureShape.new(name: 'ListAWSServiceAccessForOrganizationResponse')
149
154
  ListAccountsForParentRequest = Shapes::StructureShape.new(name: 'ListAccountsForParentRequest')
@@ -166,8 +171,12 @@ module Aws::Organizations
166
171
  ListHandshakesForAccountResponse = Shapes::StructureShape.new(name: 'ListHandshakesForAccountResponse')
167
172
  ListHandshakesForOrganizationRequest = Shapes::StructureShape.new(name: 'ListHandshakesForOrganizationRequest')
168
173
  ListHandshakesForOrganizationResponse = Shapes::StructureShape.new(name: 'ListHandshakesForOrganizationResponse')
174
+ ListInboundResponsibilityTransfersRequest = Shapes::StructureShape.new(name: 'ListInboundResponsibilityTransfersRequest')
175
+ ListInboundResponsibilityTransfersResponse = Shapes::StructureShape.new(name: 'ListInboundResponsibilityTransfersResponse')
169
176
  ListOrganizationalUnitsForParentRequest = Shapes::StructureShape.new(name: 'ListOrganizationalUnitsForParentRequest')
170
177
  ListOrganizationalUnitsForParentResponse = Shapes::StructureShape.new(name: 'ListOrganizationalUnitsForParentResponse')
178
+ ListOutboundResponsibilityTransfersRequest = Shapes::StructureShape.new(name: 'ListOutboundResponsibilityTransfersRequest')
179
+ ListOutboundResponsibilityTransfersResponse = Shapes::StructureShape.new(name: 'ListOutboundResponsibilityTransfersResponse')
171
180
  ListParentsRequest = Shapes::StructureShape.new(name: 'ListParentsRequest')
172
181
  ListParentsResponse = Shapes::StructureShape.new(name: 'ListParentsResponse')
173
182
  ListPoliciesForTargetRequest = Shapes::StructureShape.new(name: 'ListPoliciesForTargetRequest')
@@ -237,6 +246,15 @@ module Aws::Organizations
237
246
  ResourcePolicyId = Shapes::StringShape.new(name: 'ResourcePolicyId')
238
247
  ResourcePolicyNotFoundException = Shapes::StructureShape.new(name: 'ResourcePolicyNotFoundException')
239
248
  ResourcePolicySummary = Shapes::StructureShape.new(name: 'ResourcePolicySummary')
249
+ ResponsibilityTransfer = Shapes::StructureShape.new(name: 'ResponsibilityTransfer')
250
+ ResponsibilityTransferAlreadyInStatusException = Shapes::StructureShape.new(name: 'ResponsibilityTransferAlreadyInStatusException')
251
+ ResponsibilityTransferArn = Shapes::StringShape.new(name: 'ResponsibilityTransferArn')
252
+ ResponsibilityTransferId = Shapes::StringShape.new(name: 'ResponsibilityTransferId')
253
+ ResponsibilityTransferName = Shapes::StringShape.new(name: 'ResponsibilityTransferName')
254
+ ResponsibilityTransferNotFoundException = Shapes::StructureShape.new(name: 'ResponsibilityTransferNotFoundException')
255
+ ResponsibilityTransferStatus = Shapes::StringShape.new(name: 'ResponsibilityTransferStatus')
256
+ ResponsibilityTransferType = Shapes::StringShape.new(name: 'ResponsibilityTransferType')
257
+ ResponsibilityTransfers = Shapes::ListShape.new(name: 'ResponsibilityTransfers')
240
258
  RoleName = Shapes::StringShape.new(name: 'RoleName')
241
259
  Root = Shapes::StructureShape.new(name: 'Root')
242
260
  RootArn = Shapes::StringShape.new(name: 'RootArn')
@@ -257,14 +275,19 @@ module Aws::Organizations
257
275
  TargetName = Shapes::StringShape.new(name: 'TargetName')
258
276
  TargetNotFoundException = Shapes::StructureShape.new(name: 'TargetNotFoundException')
259
277
  TargetType = Shapes::StringShape.new(name: 'TargetType')
278
+ TerminateResponsibilityTransferRequest = Shapes::StructureShape.new(name: 'TerminateResponsibilityTransferRequest')
279
+ TerminateResponsibilityTransferResponse = Shapes::StructureShape.new(name: 'TerminateResponsibilityTransferResponse')
260
280
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
261
281
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
282
+ TransferParticipant = Shapes::StructureShape.new(name: 'TransferParticipant')
262
283
  UnsupportedAPIEndpointException = Shapes::StructureShape.new(name: 'UnsupportedAPIEndpointException')
263
284
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
264
285
  UpdateOrganizationalUnitRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationalUnitRequest')
265
286
  UpdateOrganizationalUnitResponse = Shapes::StructureShape.new(name: 'UpdateOrganizationalUnitResponse')
266
287
  UpdatePolicyRequest = Shapes::StructureShape.new(name: 'UpdatePolicyRequest')
267
288
  UpdatePolicyResponse = Shapes::StructureShape.new(name: 'UpdatePolicyResponse')
289
+ UpdateResponsibilityTransferRequest = Shapes::StructureShape.new(name: 'UpdateResponsibilityTransferRequest')
290
+ UpdateResponsibilityTransferResponse = Shapes::StructureShape.new(name: 'UpdateResponsibilityTransferResponse')
268
291
 
269
292
  AWSOrganizationsNotInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
270
293
  AWSOrganizationsNotInUseException.struct_class = Types::AWSOrganizationsNotInUseException
@@ -416,6 +439,7 @@ module Aws::Organizations
416
439
  DelegatedAdministrator.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
417
440
  DelegatedAdministrator.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, location_name: "Name"))
418
441
  DelegatedAdministrator.add_member(:status, Shapes::ShapeRef.new(shape: AccountStatus, location_name: "Status"))
442
+ DelegatedAdministrator.add_member(:state, Shapes::ShapeRef.new(shape: AccountState, location_name: "State"))
419
443
  DelegatedAdministrator.add_member(:joined_method, Shapes::ShapeRef.new(shape: AccountJoinedMethod, location_name: "JoinedMethod"))
420
444
  DelegatedAdministrator.add_member(:joined_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "JoinedTimestamp"))
421
445
  DelegatedAdministrator.add_member(:delegation_enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DelegationEnabledDate"))
@@ -482,6 +506,12 @@ module Aws::Organizations
482
506
  DescribeResourcePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
483
507
  DescribeResourcePolicyResponse.struct_class = Types::DescribeResourcePolicyResponse
484
508
 
509
+ DescribeResponsibilityTransferRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResponsibilityTransferId, required: true, location_name: "Id"))
510
+ DescribeResponsibilityTransferRequest.struct_class = Types::DescribeResponsibilityTransferRequest
511
+
512
+ DescribeResponsibilityTransferResponse.add_member(:responsibility_transfer, Shapes::ShapeRef.new(shape: ResponsibilityTransfer, location_name: "ResponsibilityTransfer"))
513
+ DescribeResponsibilityTransferResponse.struct_class = Types::DescribeResponsibilityTransferResponse
514
+
485
515
  DestinationParentNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
486
516
  DestinationParentNotFoundException.struct_class = Types::DestinationParentNotFoundException
487
517
 
@@ -601,6 +631,9 @@ module Aws::Organizations
601
631
  InvalidInputException.add_member(:reason, Shapes::ShapeRef.new(shape: InvalidInputExceptionReason, location_name: "Reason"))
602
632
  InvalidInputException.struct_class = Types::InvalidInputException
603
633
 
634
+ InvalidResponsibilityTransferTransitionException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
635
+ InvalidResponsibilityTransferTransitionException.struct_class = Types::InvalidResponsibilityTransferTransitionException
636
+
604
637
  InviteAccountToOrganizationRequest.add_member(:target, Shapes::ShapeRef.new(shape: HandshakeParty, required: true, location_name: "Target"))
605
638
  InviteAccountToOrganizationRequest.add_member(:notes, Shapes::ShapeRef.new(shape: HandshakeNotes, location_name: "Notes"))
606
639
  InviteAccountToOrganizationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -609,6 +642,17 @@ module Aws::Organizations
609
642
  InviteAccountToOrganizationResponse.add_member(:handshake, Shapes::ShapeRef.new(shape: Handshake, location_name: "Handshake"))
610
643
  InviteAccountToOrganizationResponse.struct_class = Types::InviteAccountToOrganizationResponse
611
644
 
645
+ InviteOrganizationToTransferResponsibilityRequest.add_member(:type, Shapes::ShapeRef.new(shape: ResponsibilityTransferType, required: true, location_name: "Type"))
646
+ InviteOrganizationToTransferResponsibilityRequest.add_member(:target, Shapes::ShapeRef.new(shape: HandshakeParty, required: true, location_name: "Target"))
647
+ InviteOrganizationToTransferResponsibilityRequest.add_member(:notes, Shapes::ShapeRef.new(shape: HandshakeNotes, location_name: "Notes"))
648
+ InviteOrganizationToTransferResponsibilityRequest.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTimestamp"))
649
+ InviteOrganizationToTransferResponsibilityRequest.add_member(:source_name, Shapes::ShapeRef.new(shape: ResponsibilityTransferName, required: true, location_name: "SourceName"))
650
+ InviteOrganizationToTransferResponsibilityRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
651
+ InviteOrganizationToTransferResponsibilityRequest.struct_class = Types::InviteOrganizationToTransferResponsibilityRequest
652
+
653
+ InviteOrganizationToTransferResponsibilityResponse.add_member(:handshake, Shapes::ShapeRef.new(shape: Handshake, location_name: "Handshake"))
654
+ InviteOrganizationToTransferResponsibilityResponse.struct_class = Types::InviteOrganizationToTransferResponsibilityResponse
655
+
612
656
  ListAWSServiceAccessForOrganizationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
613
657
  ListAWSServiceAccessForOrganizationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
614
658
  ListAWSServiceAccessForOrganizationRequest.struct_class = Types::ListAWSServiceAccessForOrganizationRequest
@@ -713,6 +757,16 @@ module Aws::Organizations
713
757
  ListHandshakesForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
714
758
  ListHandshakesForOrganizationResponse.struct_class = Types::ListHandshakesForOrganizationResponse
715
759
 
760
+ ListInboundResponsibilityTransfersRequest.add_member(:type, Shapes::ShapeRef.new(shape: ResponsibilityTransferType, required: true, location_name: "Type"))
761
+ ListInboundResponsibilityTransfersRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResponsibilityTransferId, location_name: "Id"))
762
+ ListInboundResponsibilityTransfersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
763
+ ListInboundResponsibilityTransfersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
764
+ ListInboundResponsibilityTransfersRequest.struct_class = Types::ListInboundResponsibilityTransfersRequest
765
+
766
+ ListInboundResponsibilityTransfersResponse.add_member(:responsibility_transfers, Shapes::ShapeRef.new(shape: ResponsibilityTransfers, location_name: "ResponsibilityTransfers"))
767
+ ListInboundResponsibilityTransfersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
768
+ ListInboundResponsibilityTransfersResponse.struct_class = Types::ListInboundResponsibilityTransfersResponse
769
+
716
770
  ListOrganizationalUnitsForParentRequest.add_member(:parent_id, Shapes::ShapeRef.new(shape: ParentId, required: true, location_name: "ParentId"))
717
771
  ListOrganizationalUnitsForParentRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
718
772
  ListOrganizationalUnitsForParentRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
@@ -722,6 +776,15 @@ module Aws::Organizations
722
776
  ListOrganizationalUnitsForParentResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
723
777
  ListOrganizationalUnitsForParentResponse.struct_class = Types::ListOrganizationalUnitsForParentResponse
724
778
 
779
+ ListOutboundResponsibilityTransfersRequest.add_member(:type, Shapes::ShapeRef.new(shape: ResponsibilityTransferType, required: true, location_name: "Type"))
780
+ ListOutboundResponsibilityTransfersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
781
+ ListOutboundResponsibilityTransfersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
782
+ ListOutboundResponsibilityTransfersRequest.struct_class = Types::ListOutboundResponsibilityTransfersRequest
783
+
784
+ ListOutboundResponsibilityTransfersResponse.add_member(:responsibility_transfers, Shapes::ShapeRef.new(shape: ResponsibilityTransfers, location_name: "ResponsibilityTransfers"))
785
+ ListOutboundResponsibilityTransfersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
786
+ ListOutboundResponsibilityTransfersResponse.struct_class = Types::ListOutboundResponsibilityTransfersResponse
787
+
725
788
  ListParentsRequest.add_member(:child_id, Shapes::ShapeRef.new(shape: ChildId, required: true, location_name: "ChildId"))
726
789
  ListParentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
727
790
  ListParentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
@@ -896,6 +959,26 @@ module Aws::Organizations
896
959
  ResourcePolicySummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourcePolicyArn, location_name: "Arn"))
897
960
  ResourcePolicySummary.struct_class = Types::ResourcePolicySummary
898
961
 
962
+ ResponsibilityTransfer.add_member(:arn, Shapes::ShapeRef.new(shape: ResponsibilityTransferArn, location_name: "Arn"))
963
+ ResponsibilityTransfer.add_member(:name, Shapes::ShapeRef.new(shape: ResponsibilityTransferName, location_name: "Name"))
964
+ ResponsibilityTransfer.add_member(:id, Shapes::ShapeRef.new(shape: ResponsibilityTransferId, location_name: "Id"))
965
+ ResponsibilityTransfer.add_member(:type, Shapes::ShapeRef.new(shape: ResponsibilityTransferType, location_name: "Type"))
966
+ ResponsibilityTransfer.add_member(:status, Shapes::ShapeRef.new(shape: ResponsibilityTransferStatus, location_name: "Status"))
967
+ ResponsibilityTransfer.add_member(:source, Shapes::ShapeRef.new(shape: TransferParticipant, location_name: "Source"))
968
+ ResponsibilityTransfer.add_member(:target, Shapes::ShapeRef.new(shape: TransferParticipant, location_name: "Target"))
969
+ ResponsibilityTransfer.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTimestamp"))
970
+ ResponsibilityTransfer.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimestamp"))
971
+ ResponsibilityTransfer.add_member(:active_handshake_id, Shapes::ShapeRef.new(shape: HandshakeId, location_name: "ActiveHandshakeId"))
972
+ ResponsibilityTransfer.struct_class = Types::ResponsibilityTransfer
973
+
974
+ ResponsibilityTransferAlreadyInStatusException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
975
+ ResponsibilityTransferAlreadyInStatusException.struct_class = Types::ResponsibilityTransferAlreadyInStatusException
976
+
977
+ ResponsibilityTransferNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
978
+ ResponsibilityTransferNotFoundException.struct_class = Types::ResponsibilityTransferNotFoundException
979
+
980
+ ResponsibilityTransfers.member = Shapes::ShapeRef.new(shape: ResponsibilityTransfer)
981
+
899
982
  Root.add_member(:id, Shapes::ShapeRef.new(shape: RootId, location_name: "Id"))
900
983
  Root.add_member(:arn, Shapes::ShapeRef.new(shape: RootArn, location_name: "Arn"))
901
984
  Root.add_member(:name, Shapes::ShapeRef.new(shape: RootName, location_name: "Name"))
@@ -928,10 +1011,21 @@ module Aws::Organizations
928
1011
  TargetNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
929
1012
  TargetNotFoundException.struct_class = Types::TargetNotFoundException
930
1013
 
1014
+ TerminateResponsibilityTransferRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResponsibilityTransferId, required: true, location_name: "Id"))
1015
+ TerminateResponsibilityTransferRequest.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimestamp"))
1016
+ TerminateResponsibilityTransferRequest.struct_class = Types::TerminateResponsibilityTransferRequest
1017
+
1018
+ TerminateResponsibilityTransferResponse.add_member(:responsibility_transfer, Shapes::ShapeRef.new(shape: ResponsibilityTransfer, location_name: "ResponsibilityTransfer"))
1019
+ TerminateResponsibilityTransferResponse.struct_class = Types::TerminateResponsibilityTransferResponse
1020
+
931
1021
  TooManyRequestsException.add_member(:type, Shapes::ShapeRef.new(shape: ExceptionType, location_name: "Type"))
932
1022
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
933
1023
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
934
1024
 
1025
+ TransferParticipant.add_member(:management_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "ManagementAccountId"))
1026
+ TransferParticipant.add_member(:management_account_email, Shapes::ShapeRef.new(shape: Email, location_name: "ManagementAccountEmail"))
1027
+ TransferParticipant.struct_class = Types::TransferParticipant
1028
+
935
1029
  UnsupportedAPIEndpointException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
936
1030
  UnsupportedAPIEndpointException.struct_class = Types::UnsupportedAPIEndpointException
937
1031
 
@@ -955,6 +1049,13 @@ module Aws::Organizations
955
1049
  UpdatePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
956
1050
  UpdatePolicyResponse.struct_class = Types::UpdatePolicyResponse
957
1051
 
1052
+ UpdateResponsibilityTransferRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResponsibilityTransferId, required: true, location_name: "Id"))
1053
+ UpdateResponsibilityTransferRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResponsibilityTransferName, required: true, location_name: "Name"))
1054
+ UpdateResponsibilityTransferRequest.struct_class = Types::UpdateResponsibilityTransferRequest
1055
+
1056
+ UpdateResponsibilityTransferResponse.add_member(:responsibility_transfer, Shapes::ShapeRef.new(shape: ResponsibilityTransfer, location_name: "ResponsibilityTransfer"))
1057
+ UpdateResponsibilityTransferResponse.struct_class = Types::UpdateResponsibilityTransferResponse
1058
+
958
1059
 
959
1060
  # @api private
960
1061
  API = Seahorse::Model::Api.new.tap do |api|
@@ -993,6 +1094,8 @@ module Aws::Organizations
993
1094
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
994
1095
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
995
1096
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedForDependencyException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: MasterCannotLeaveOrganizationException)
996
1099
  end)
997
1100
 
998
1101
  api.add_operation(:attach_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1162,6 +1265,7 @@ module Aws::Organizations
1162
1265
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1163
1266
  o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
1164
1267
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1268
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1165
1269
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1166
1270
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotEmptyException)
1167
1271
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
@@ -1352,6 +1456,21 @@ module Aws::Organizations
1352
1456
  o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1353
1457
  end)
1354
1458
 
1459
+ api.add_operation(:describe_responsibility_transfer, Seahorse::Model::Operation.new.tap do |o|
1460
+ o.name = "DescribeResponsibilityTransfer"
1461
+ o.http_method = "POST"
1462
+ o.http_request_uri = "/"
1463
+ o.input = Shapes::ShapeRef.new(shape: DescribeResponsibilityTransferRequest)
1464
+ o.output = Shapes::ShapeRef.new(shape: DescribeResponsibilityTransferResponse)
1465
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1466
+ o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
1467
+ o.errors << Shapes::ShapeRef.new(shape: ResponsibilityTransferNotFoundException)
1468
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1470
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1471
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1472
+ end)
1473
+
1355
1474
  api.add_operation(:detach_policy, Seahorse::Model::Operation.new.tap do |o|
1356
1475
  o.name = "DetachPolicy"
1357
1476
  o.http_method = "POST"
@@ -1478,6 +1597,24 @@ module Aws::Organizations
1478
1597
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1479
1598
  end)
1480
1599
 
1600
+ api.add_operation(:invite_organization_to_transfer_responsibility, Seahorse::Model::Operation.new.tap do |o|
1601
+ o.name = "InviteOrganizationToTransferResponsibility"
1602
+ o.http_method = "POST"
1603
+ o.http_request_uri = "/"
1604
+ o.input = Shapes::ShapeRef.new(shape: InviteOrganizationToTransferResponsibilityRequest)
1605
+ o.output = Shapes::ShapeRef.new(shape: InviteOrganizationToTransferResponsibilityResponse)
1606
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1607
+ o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
1608
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1609
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1610
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateHandshakeException)
1611
+ o.errors << Shapes::ShapeRef.new(shape: HandshakeConstraintViolationException)
1612
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1613
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1614
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1615
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1616
+ end)
1617
+
1481
1618
  api.add_operation(:leave_organization, Seahorse::Model::Operation.new.tap do |o|
1482
1619
  o.name = "LeaveOrganization"
1483
1620
  o.http_method = "POST"
@@ -1723,6 +1860,22 @@ module Aws::Organizations
1723
1860
  )
1724
1861
  end)
1725
1862
 
1863
+ api.add_operation(:list_inbound_responsibility_transfers, Seahorse::Model::Operation.new.tap do |o|
1864
+ o.name = "ListInboundResponsibilityTransfers"
1865
+ o.http_method = "POST"
1866
+ o.http_request_uri = "/"
1867
+ o.input = Shapes::ShapeRef.new(shape: ListInboundResponsibilityTransfersRequest)
1868
+ o.output = Shapes::ShapeRef.new(shape: ListInboundResponsibilityTransfersResponse)
1869
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1870
+ o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
1871
+ o.errors << Shapes::ShapeRef.new(shape: ResponsibilityTransferNotFoundException)
1872
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1873
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1874
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1875
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1876
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1877
+ end)
1878
+
1726
1879
  api.add_operation(:list_organizational_units_for_parent, Seahorse::Model::Operation.new.tap do |o|
1727
1880
  o.name = "ListOrganizationalUnitsForParent"
1728
1881
  o.http_method = "POST"
@@ -1743,6 +1896,21 @@ module Aws::Organizations
1743
1896
  )
1744
1897
  end)
1745
1898
 
1899
+ api.add_operation(:list_outbound_responsibility_transfers, Seahorse::Model::Operation.new.tap do |o|
1900
+ o.name = "ListOutboundResponsibilityTransfers"
1901
+ o.http_method = "POST"
1902
+ o.http_request_uri = "/"
1903
+ o.input = Shapes::ShapeRef.new(shape: ListOutboundResponsibilityTransfersRequest)
1904
+ o.output = Shapes::ShapeRef.new(shape: ListOutboundResponsibilityTransfersResponse)
1905
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1906
+ o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
1907
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1908
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1909
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1910
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1911
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1912
+ end)
1913
+
1746
1914
  api.add_operation(:list_parents, Seahorse::Model::Operation.new.tap do |o|
1747
1915
  o.name = "ListParents"
1748
1916
  o.http_method = "POST"
@@ -1948,6 +2116,25 @@ module Aws::Organizations
1948
2116
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1949
2117
  end)
1950
2118
 
2119
+ api.add_operation(:terminate_responsibility_transfer, Seahorse::Model::Operation.new.tap do |o|
2120
+ o.name = "TerminateResponsibilityTransfer"
2121
+ o.http_method = "POST"
2122
+ o.http_request_uri = "/"
2123
+ o.input = Shapes::ShapeRef.new(shape: TerminateResponsibilityTransferRequest)
2124
+ o.output = Shapes::ShapeRef.new(shape: TerminateResponsibilityTransferResponse)
2125
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2126
+ o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
2127
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2128
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
2129
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2130
+ o.errors << Shapes::ShapeRef.new(shape: ResponsibilityTransferNotFoundException)
2131
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2132
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2133
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
2134
+ o.errors << Shapes::ShapeRef.new(shape: ResponsibilityTransferAlreadyInStatusException)
2135
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResponsibilityTransferTransitionException)
2136
+ end)
2137
+
1951
2138
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1952
2139
  o.name = "UntagResource"
1953
2140
  o.http_method = "POST"
@@ -1999,6 +2186,22 @@ module Aws::Organizations
1999
2186
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
2000
2187
  o.errors << Shapes::ShapeRef.new(shape: PolicyChangesInProgressException)
2001
2188
  end)
2189
+
2190
+ api.add_operation(:update_responsibility_transfer, Seahorse::Model::Operation.new.tap do |o|
2191
+ o.name = "UpdateResponsibilityTransfer"
2192
+ o.http_method = "POST"
2193
+ o.http_request_uri = "/"
2194
+ o.input = Shapes::ShapeRef.new(shape: UpdateResponsibilityTransferRequest)
2195
+ o.output = Shapes::ShapeRef.new(shape: UpdateResponsibilityTransferResponse)
2196
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2197
+ o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
2198
+ o.errors << Shapes::ShapeRef.new(shape: ResponsibilityTransferNotFoundException)
2199
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
2200
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2201
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2202
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2203
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
2204
+ end)
2002
2205
  end
2003
2206
 
2004
2207
  end
@@ -54,6 +54,7 @@ module Aws::Organizations
54
54
  # * {HandshakeNotFoundException}
55
55
  # * {InvalidHandshakeTransitionException}
56
56
  # * {InvalidInputException}
57
+ # * {InvalidResponsibilityTransferTransitionException}
57
58
  # * {MalformedPolicyDocumentException}
58
59
  # * {MasterCannotLeaveOrganizationException}
59
60
  # * {OrganizationNotEmptyException}
@@ -68,6 +69,8 @@ module Aws::Organizations
68
69
  # * {PolicyTypeNotAvailableForOrganizationException}
69
70
  # * {PolicyTypeNotEnabledException}
70
71
  # * {ResourcePolicyNotFoundException}
72
+ # * {ResponsibilityTransferAlreadyInStatusException}
73
+ # * {ResponsibilityTransferNotFoundException}
71
74
  # * {RootNotFoundException}
72
75
  # * {ServiceException}
73
76
  # * {SourceParentNotFoundException}
@@ -506,6 +509,21 @@ module Aws::Organizations
506
509
  end
507
510
  end
508
511
 
512
+ class InvalidResponsibilityTransferTransitionException < ServiceError
513
+
514
+ # @param [Seahorse::Client::RequestContext] context
515
+ # @param [String] message
516
+ # @param [Aws::Organizations::Types::InvalidResponsibilityTransferTransitionException] data
517
+ def initialize(context, message, data = Aws::EmptyStructure.new)
518
+ super(context, message, data)
519
+ end
520
+
521
+ # @return [String]
522
+ def message
523
+ @message || @data[:message]
524
+ end
525
+ end
526
+
509
527
  class MalformedPolicyDocumentException < ServiceError
510
528
 
511
529
  # @param [Seahorse::Client::RequestContext] context
@@ -716,6 +734,36 @@ module Aws::Organizations
716
734
  end
717
735
  end
718
736
 
737
+ class ResponsibilityTransferAlreadyInStatusException < ServiceError
738
+
739
+ # @param [Seahorse::Client::RequestContext] context
740
+ # @param [String] message
741
+ # @param [Aws::Organizations::Types::ResponsibilityTransferAlreadyInStatusException] data
742
+ def initialize(context, message, data = Aws::EmptyStructure.new)
743
+ super(context, message, data)
744
+ end
745
+
746
+ # @return [String]
747
+ def message
748
+ @message || @data[:message]
749
+ end
750
+ end
751
+
752
+ class ResponsibilityTransferNotFoundException < ServiceError
753
+
754
+ # @param [Seahorse::Client::RequestContext] context
755
+ # @param [String] message
756
+ # @param [Aws::Organizations::Types::ResponsibilityTransferNotFoundException] data
757
+ def initialize(context, message, data = Aws::EmptyStructure.new)
758
+ super(context, message, data)
759
+ end
760
+
761
+ # @return [String]
762
+ def message
763
+ @message || @data[:message]
764
+ end
765
+ end
766
+
719
767
  class RootNotFoundException < ServiceError
720
768
 
721
769
  # @param [Seahorse::Client::RequestContext] context