aws-sdk-organizations 1.127.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
@@ -483,6 +506,12 @@ module Aws::Organizations
483
506
  DescribeResourcePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
484
507
  DescribeResourcePolicyResponse.struct_class = Types::DescribeResourcePolicyResponse
485
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
+
486
515
  DestinationParentNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
487
516
  DestinationParentNotFoundException.struct_class = Types::DestinationParentNotFoundException
488
517
 
@@ -602,6 +631,9 @@ module Aws::Organizations
602
631
  InvalidInputException.add_member(:reason, Shapes::ShapeRef.new(shape: InvalidInputExceptionReason, location_name: "Reason"))
603
632
  InvalidInputException.struct_class = Types::InvalidInputException
604
633
 
634
+ InvalidResponsibilityTransferTransitionException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
635
+ InvalidResponsibilityTransferTransitionException.struct_class = Types::InvalidResponsibilityTransferTransitionException
636
+
605
637
  InviteAccountToOrganizationRequest.add_member(:target, Shapes::ShapeRef.new(shape: HandshakeParty, required: true, location_name: "Target"))
606
638
  InviteAccountToOrganizationRequest.add_member(:notes, Shapes::ShapeRef.new(shape: HandshakeNotes, location_name: "Notes"))
607
639
  InviteAccountToOrganizationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -610,6 +642,17 @@ module Aws::Organizations
610
642
  InviteAccountToOrganizationResponse.add_member(:handshake, Shapes::ShapeRef.new(shape: Handshake, location_name: "Handshake"))
611
643
  InviteAccountToOrganizationResponse.struct_class = Types::InviteAccountToOrganizationResponse
612
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
+
613
656
  ListAWSServiceAccessForOrganizationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
614
657
  ListAWSServiceAccessForOrganizationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
615
658
  ListAWSServiceAccessForOrganizationRequest.struct_class = Types::ListAWSServiceAccessForOrganizationRequest
@@ -714,6 +757,16 @@ module Aws::Organizations
714
757
  ListHandshakesForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
715
758
  ListHandshakesForOrganizationResponse.struct_class = Types::ListHandshakesForOrganizationResponse
716
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
+
717
770
  ListOrganizationalUnitsForParentRequest.add_member(:parent_id, Shapes::ShapeRef.new(shape: ParentId, required: true, location_name: "ParentId"))
718
771
  ListOrganizationalUnitsForParentRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
719
772
  ListOrganizationalUnitsForParentRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
@@ -723,6 +776,15 @@ module Aws::Organizations
723
776
  ListOrganizationalUnitsForParentResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
724
777
  ListOrganizationalUnitsForParentResponse.struct_class = Types::ListOrganizationalUnitsForParentResponse
725
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
+
726
788
  ListParentsRequest.add_member(:child_id, Shapes::ShapeRef.new(shape: ChildId, required: true, location_name: "ChildId"))
727
789
  ListParentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
728
790
  ListParentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
@@ -897,6 +959,26 @@ module Aws::Organizations
897
959
  ResourcePolicySummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourcePolicyArn, location_name: "Arn"))
898
960
  ResourcePolicySummary.struct_class = Types::ResourcePolicySummary
899
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
+
900
982
  Root.add_member(:id, Shapes::ShapeRef.new(shape: RootId, location_name: "Id"))
901
983
  Root.add_member(:arn, Shapes::ShapeRef.new(shape: RootArn, location_name: "Arn"))
902
984
  Root.add_member(:name, Shapes::ShapeRef.new(shape: RootName, location_name: "Name"))
@@ -929,10 +1011,21 @@ module Aws::Organizations
929
1011
  TargetNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
930
1012
  TargetNotFoundException.struct_class = Types::TargetNotFoundException
931
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
+
932
1021
  TooManyRequestsException.add_member(:type, Shapes::ShapeRef.new(shape: ExceptionType, location_name: "Type"))
933
1022
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
934
1023
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
935
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
+
936
1029
  UnsupportedAPIEndpointException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
937
1030
  UnsupportedAPIEndpointException.struct_class = Types::UnsupportedAPIEndpointException
938
1031
 
@@ -956,6 +1049,13 @@ module Aws::Organizations
956
1049
  UpdatePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
957
1050
  UpdatePolicyResponse.struct_class = Types::UpdatePolicyResponse
958
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
+
959
1059
 
960
1060
  # @api private
961
1061
  API = Seahorse::Model::Api.new.tap do |api|
@@ -994,6 +1094,8 @@ module Aws::Organizations
994
1094
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
995
1095
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
996
1096
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedForDependencyException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: MasterCannotLeaveOrganizationException)
997
1099
  end)
998
1100
 
999
1101
  api.add_operation(:attach_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1163,6 +1265,7 @@ module Aws::Organizations
1163
1265
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1164
1266
  o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
1165
1267
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1268
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1166
1269
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1167
1270
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotEmptyException)
1168
1271
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
@@ -1353,6 +1456,21 @@ module Aws::Organizations
1353
1456
  o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1354
1457
  end)
1355
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
+
1356
1474
  api.add_operation(:detach_policy, Seahorse::Model::Operation.new.tap do |o|
1357
1475
  o.name = "DetachPolicy"
1358
1476
  o.http_method = "POST"
@@ -1479,6 +1597,24 @@ module Aws::Organizations
1479
1597
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1480
1598
  end)
1481
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
+
1482
1618
  api.add_operation(:leave_organization, Seahorse::Model::Operation.new.tap do |o|
1483
1619
  o.name = "LeaveOrganization"
1484
1620
  o.http_method = "POST"
@@ -1724,6 +1860,22 @@ module Aws::Organizations
1724
1860
  )
1725
1861
  end)
1726
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
+
1727
1879
  api.add_operation(:list_organizational_units_for_parent, Seahorse::Model::Operation.new.tap do |o|
1728
1880
  o.name = "ListOrganizationalUnitsForParent"
1729
1881
  o.http_method = "POST"
@@ -1744,6 +1896,21 @@ module Aws::Organizations
1744
1896
  )
1745
1897
  end)
1746
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
+
1747
1914
  api.add_operation(:list_parents, Seahorse::Model::Operation.new.tap do |o|
1748
1915
  o.name = "ListParents"
1749
1916
  o.http_method = "POST"
@@ -1949,6 +2116,25 @@ module Aws::Organizations
1949
2116
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1950
2117
  end)
1951
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
+
1952
2138
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1953
2139
  o.name = "UntagResource"
1954
2140
  o.http_method = "POST"
@@ -2000,6 +2186,22 @@ module Aws::Organizations
2000
2186
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
2001
2187
  o.errors << Shapes::ShapeRef.new(shape: PolicyChangesInProgressException)
2002
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)
2003
2205
  end
2004
2206
 
2005
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