mypy-boto3-organizations 1.41.0__py3-none-any.whl → 1.41.2__py3-none-any.whl

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.
@@ -12,8 +12,8 @@ def print_info() -> None:
12
12
  Print package info to stdout.
13
13
  """
14
14
  sys.stdout.write(
15
- "Type annotations for boto3 Organizations 1.41.0\n"
16
- "Version: 1.41.0\n"
15
+ "Type annotations for boto3 Organizations 1.41.2\n"
16
+ "Version: 1.41.2\n"
17
17
  "Builder version: 8.12.0\n"
18
18
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations//\n"
19
19
  "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#organizations\n"
@@ -26,7 +26,7 @@ def print_version() -> None:
26
26
  """
27
27
  Print package version to stdout.
28
28
  """
29
- sys.stdout.write("1.41.0\n")
29
+ sys.stdout.write("1.41.2\n")
30
30
 
31
31
 
32
32
  def main() -> None:
@@ -82,6 +82,8 @@ from .type_defs import (
82
82
  DescribePolicyRequestTypeDef,
83
83
  DescribePolicyResponseTypeDef,
84
84
  DescribeResourcePolicyResponseTypeDef,
85
+ DescribeResponsibilityTransferRequestTypeDef,
86
+ DescribeResponsibilityTransferResponseTypeDef,
85
87
  DetachPolicyRequestTypeDef,
86
88
  DisableAWSServiceAccessRequestTypeDef,
87
89
  DisablePolicyTypeRequestTypeDef,
@@ -93,6 +95,8 @@ from .type_defs import (
93
95
  EnablePolicyTypeResponseTypeDef,
94
96
  InviteAccountToOrganizationRequestTypeDef,
95
97
  InviteAccountToOrganizationResponseTypeDef,
98
+ InviteOrganizationToTransferResponsibilityRequestTypeDef,
99
+ InviteOrganizationToTransferResponsibilityResponseTypeDef,
96
100
  ListAccountsForParentRequestTypeDef,
97
101
  ListAccountsForParentResponseTypeDef,
98
102
  ListAccountsRequestTypeDef,
@@ -115,8 +119,12 @@ from .type_defs import (
115
119
  ListHandshakesForAccountResponseTypeDef,
116
120
  ListHandshakesForOrganizationRequestTypeDef,
117
121
  ListHandshakesForOrganizationResponseTypeDef,
122
+ ListInboundResponsibilityTransfersRequestTypeDef,
123
+ ListInboundResponsibilityTransfersResponseTypeDef,
118
124
  ListOrganizationalUnitsForParentRequestTypeDef,
119
125
  ListOrganizationalUnitsForParentResponseTypeDef,
126
+ ListOutboundResponsibilityTransfersRequestTypeDef,
127
+ ListOutboundResponsibilityTransfersResponseTypeDef,
120
128
  ListParentsRequestTypeDef,
121
129
  ListParentsResponseTypeDef,
122
130
  ListPoliciesForTargetRequestTypeDef,
@@ -135,11 +143,15 @@ from .type_defs import (
135
143
  RegisterDelegatedAdministratorRequestTypeDef,
136
144
  RemoveAccountFromOrganizationRequestTypeDef,
137
145
  TagResourceRequestTypeDef,
146
+ TerminateResponsibilityTransferRequestTypeDef,
147
+ TerminateResponsibilityTransferResponseTypeDef,
138
148
  UntagResourceRequestTypeDef,
139
149
  UpdateOrganizationalUnitRequestTypeDef,
140
150
  UpdateOrganizationalUnitResponseTypeDef,
141
151
  UpdatePolicyRequestTypeDef,
142
152
  UpdatePolicyResponseTypeDef,
153
+ UpdateResponsibilityTransferRequestTypeDef,
154
+ UpdateResponsibilityTransferResponseTypeDef,
143
155
  )
144
156
 
145
157
  if sys.version_info >= (3, 12):
@@ -180,6 +192,7 @@ class Exceptions(BaseClientExceptions):
180
192
  HandshakeNotFoundException: type[BotocoreClientError]
181
193
  InvalidHandshakeTransitionException: type[BotocoreClientError]
182
194
  InvalidInputException: type[BotocoreClientError]
195
+ InvalidResponsibilityTransferTransitionException: type[BotocoreClientError]
183
196
  MalformedPolicyDocumentException: type[BotocoreClientError]
184
197
  MasterCannotLeaveOrganizationException: type[BotocoreClientError]
185
198
  OrganizationNotEmptyException: type[BotocoreClientError]
@@ -194,6 +207,8 @@ class Exceptions(BaseClientExceptions):
194
207
  PolicyTypeNotAvailableForOrganizationException: type[BotocoreClientError]
195
208
  PolicyTypeNotEnabledException: type[BotocoreClientError]
196
209
  ResourcePolicyNotFoundException: type[BotocoreClientError]
210
+ ResponsibilityTransferAlreadyInStatusException: type[BotocoreClientError]
211
+ ResponsibilityTransferNotFoundException: type[BotocoreClientError]
197
212
  RootNotFoundException: type[BotocoreClientError]
198
213
  ServiceException: type[BotocoreClientError]
199
214
  SourceParentNotFoundException: type[BotocoreClientError]
@@ -241,8 +256,7 @@ class OrganizationsClient(BaseClient):
241
256
  self, **kwargs: Unpack[AcceptHandshakeRequestTypeDef]
242
257
  ) -> AcceptHandshakeResponseTypeDef:
243
258
  """
244
- Sends a response to the originator of a handshake agreeing to the action
245
- proposed by the handshake request.
259
+ Accepts a handshake by sending an <code>ACCEPTED</code> response to the sender.
246
260
 
247
261
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/accept_handshake.html)
248
262
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#accept_handshake)
@@ -263,7 +277,7 @@ class OrganizationsClient(BaseClient):
263
277
  self, **kwargs: Unpack[CancelHandshakeRequestTypeDef]
264
278
  ) -> CancelHandshakeResponseTypeDef:
265
279
  """
266
- Cancels a handshake.
280
+ Cancels a <a>Handshake</a>.
267
281
 
268
282
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/cancel_handshake.html)
269
283
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#cancel_handshake)
@@ -335,7 +349,7 @@ class OrganizationsClient(BaseClient):
335
349
  self, **kwargs: Unpack[DeclineHandshakeRequestTypeDef]
336
350
  ) -> DeclineHandshakeResponseTypeDef:
337
351
  """
338
- Declines a handshake request.
352
+ Declines a <a>Handshake</a>.
339
353
 
340
354
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/decline_handshake.html)
341
355
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#decline_handshake)
@@ -423,7 +437,7 @@ class OrganizationsClient(BaseClient):
423
437
  self, **kwargs: Unpack[DescribeHandshakeRequestTypeDef]
424
438
  ) -> DescribeHandshakeResponseTypeDef:
425
439
  """
426
- Retrieves information about a previously requested handshake.
440
+ Returns details for a handshake.
427
441
 
428
442
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/describe_handshake.html)
429
443
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_handshake)
@@ -465,6 +479,16 @@ class OrganizationsClient(BaseClient):
465
479
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_resource_policy)
466
480
  """
467
481
 
482
+ def describe_responsibility_transfer(
483
+ self, **kwargs: Unpack[DescribeResponsibilityTransferRequestTypeDef]
484
+ ) -> DescribeResponsibilityTransferResponseTypeDef:
485
+ """
486
+ Returns details for a transfer.
487
+
488
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/describe_responsibility_transfer.html)
489
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_responsibility_transfer)
490
+ """
491
+
468
492
  def detach_policy(
469
493
  self, **kwargs: Unpack[DetachPolicyRequestTypeDef]
470
494
  ) -> EmptyResponseMetadataTypeDef:
@@ -539,6 +563,17 @@ class OrganizationsClient(BaseClient):
539
563
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#invite_account_to_organization)
540
564
  """
541
565
 
566
+ def invite_organization_to_transfer_responsibility(
567
+ self, **kwargs: Unpack[InviteOrganizationToTransferResponsibilityRequestTypeDef]
568
+ ) -> InviteOrganizationToTransferResponsibilityResponseTypeDef:
569
+ """
570
+ Sends an invitation to another organization's management account to designate
571
+ your account with the specified responsibilities for their organization.
572
+
573
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/invite_organization_to_transfer_responsibility.html)
574
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#invite_organization_to_transfer_responsibility)
575
+ """
576
+
542
577
  def leave_organization(self) -> EmptyResponseMetadataTypeDef:
543
578
  """
544
579
  Removes a member account from its parent organization.
@@ -649,8 +684,7 @@ class OrganizationsClient(BaseClient):
649
684
  self, **kwargs: Unpack[ListHandshakesForAccountRequestTypeDef]
650
685
  ) -> ListHandshakesForAccountResponseTypeDef:
651
686
  """
652
- Lists the current handshakes that are associated with the account of the
653
- requesting user.
687
+ Lists the recent handshakes that you have received.
654
688
 
655
689
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_account.html)
656
690
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_handshakes_for_account)
@@ -660,13 +694,23 @@ class OrganizationsClient(BaseClient):
660
694
  self, **kwargs: Unpack[ListHandshakesForOrganizationRequestTypeDef]
661
695
  ) -> ListHandshakesForOrganizationResponseTypeDef:
662
696
  """
663
- Lists the handshakes that are associated with the organization that the
664
- requesting user is part of.
697
+ Lists the recent handshakes that you have sent.
665
698
 
666
699
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_organization.html)
667
700
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_handshakes_for_organization)
668
701
  """
669
702
 
703
+ def list_inbound_responsibility_transfers(
704
+ self, **kwargs: Unpack[ListInboundResponsibilityTransfersRequestTypeDef]
705
+ ) -> ListInboundResponsibilityTransfersResponseTypeDef:
706
+ """
707
+ Lists transfers that allow you to manage the specified responsibilities for
708
+ another organization.
709
+
710
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_inbound_responsibility_transfers.html)
711
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_inbound_responsibility_transfers)
712
+ """
713
+
670
714
  def list_organizational_units_for_parent(
671
715
  self, **kwargs: Unpack[ListOrganizationalUnitsForParentRequestTypeDef]
672
716
  ) -> ListOrganizationalUnitsForParentResponseTypeDef:
@@ -677,6 +721,17 @@ class OrganizationsClient(BaseClient):
677
721
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_organizational_units_for_parent)
678
722
  """
679
723
 
724
+ def list_outbound_responsibility_transfers(
725
+ self, **kwargs: Unpack[ListOutboundResponsibilityTransfersRequestTypeDef]
726
+ ) -> ListOutboundResponsibilityTransfersResponseTypeDef:
727
+ """
728
+ Lists transfers that allow an account outside your organization to manage the
729
+ specified responsibilities for your organization.
730
+
731
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_outbound_responsibility_transfers.html)
732
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_outbound_responsibility_transfers)
733
+ """
734
+
680
735
  def list_parents(
681
736
  self, **kwargs: Unpack[ListParentsRequestTypeDef]
682
737
  ) -> ListParentsResponseTypeDef:
@@ -790,6 +845,16 @@ class OrganizationsClient(BaseClient):
790
845
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#tag_resource)
791
846
  """
792
847
 
848
+ def terminate_responsibility_transfer(
849
+ self, **kwargs: Unpack[TerminateResponsibilityTransferRequestTypeDef]
850
+ ) -> TerminateResponsibilityTransferResponseTypeDef:
851
+ """
852
+ Ends a transfer.
853
+
854
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/terminate_responsibility_transfer.html)
855
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#terminate_responsibility_transfer)
856
+ """
857
+
793
858
  def untag_resource(
794
859
  self, **kwargs: Unpack[UntagResourceRequestTypeDef]
795
860
  ) -> EmptyResponseMetadataTypeDef:
@@ -820,6 +885,16 @@ class OrganizationsClient(BaseClient):
820
885
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#update_policy)
821
886
  """
822
887
 
888
+ def update_responsibility_transfer(
889
+ self, **kwargs: Unpack[UpdateResponsibilityTransferRequestTypeDef]
890
+ ) -> UpdateResponsibilityTransferResponseTypeDef:
891
+ """
892
+ Updates a transfer.
893
+
894
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/update_responsibility_transfer.html)
895
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#update_responsibility_transfer)
896
+ """
897
+
823
898
  @overload # type: ignore[override]
824
899
  def get_paginator( # type: ignore[override]
825
900
  self, operation_name: Literal["list_aws_service_access_for_organization"]
@@ -82,6 +82,8 @@ from .type_defs import (
82
82
  DescribePolicyRequestTypeDef,
83
83
  DescribePolicyResponseTypeDef,
84
84
  DescribeResourcePolicyResponseTypeDef,
85
+ DescribeResponsibilityTransferRequestTypeDef,
86
+ DescribeResponsibilityTransferResponseTypeDef,
85
87
  DetachPolicyRequestTypeDef,
86
88
  DisableAWSServiceAccessRequestTypeDef,
87
89
  DisablePolicyTypeRequestTypeDef,
@@ -93,6 +95,8 @@ from .type_defs import (
93
95
  EnablePolicyTypeResponseTypeDef,
94
96
  InviteAccountToOrganizationRequestTypeDef,
95
97
  InviteAccountToOrganizationResponseTypeDef,
98
+ InviteOrganizationToTransferResponsibilityRequestTypeDef,
99
+ InviteOrganizationToTransferResponsibilityResponseTypeDef,
96
100
  ListAccountsForParentRequestTypeDef,
97
101
  ListAccountsForParentResponseTypeDef,
98
102
  ListAccountsRequestTypeDef,
@@ -115,8 +119,12 @@ from .type_defs import (
115
119
  ListHandshakesForAccountResponseTypeDef,
116
120
  ListHandshakesForOrganizationRequestTypeDef,
117
121
  ListHandshakesForOrganizationResponseTypeDef,
122
+ ListInboundResponsibilityTransfersRequestTypeDef,
123
+ ListInboundResponsibilityTransfersResponseTypeDef,
118
124
  ListOrganizationalUnitsForParentRequestTypeDef,
119
125
  ListOrganizationalUnitsForParentResponseTypeDef,
126
+ ListOutboundResponsibilityTransfersRequestTypeDef,
127
+ ListOutboundResponsibilityTransfersResponseTypeDef,
120
128
  ListParentsRequestTypeDef,
121
129
  ListParentsResponseTypeDef,
122
130
  ListPoliciesForTargetRequestTypeDef,
@@ -135,11 +143,15 @@ from .type_defs import (
135
143
  RegisterDelegatedAdministratorRequestTypeDef,
136
144
  RemoveAccountFromOrganizationRequestTypeDef,
137
145
  TagResourceRequestTypeDef,
146
+ TerminateResponsibilityTransferRequestTypeDef,
147
+ TerminateResponsibilityTransferResponseTypeDef,
138
148
  UntagResourceRequestTypeDef,
139
149
  UpdateOrganizationalUnitRequestTypeDef,
140
150
  UpdateOrganizationalUnitResponseTypeDef,
141
151
  UpdatePolicyRequestTypeDef,
142
152
  UpdatePolicyResponseTypeDef,
153
+ UpdateResponsibilityTransferRequestTypeDef,
154
+ UpdateResponsibilityTransferResponseTypeDef,
143
155
  )
144
156
 
145
157
  if sys.version_info >= (3, 12):
@@ -178,6 +190,7 @@ class Exceptions(BaseClientExceptions):
178
190
  HandshakeNotFoundException: type[BotocoreClientError]
179
191
  InvalidHandshakeTransitionException: type[BotocoreClientError]
180
192
  InvalidInputException: type[BotocoreClientError]
193
+ InvalidResponsibilityTransferTransitionException: type[BotocoreClientError]
181
194
  MalformedPolicyDocumentException: type[BotocoreClientError]
182
195
  MasterCannotLeaveOrganizationException: type[BotocoreClientError]
183
196
  OrganizationNotEmptyException: type[BotocoreClientError]
@@ -192,6 +205,8 @@ class Exceptions(BaseClientExceptions):
192
205
  PolicyTypeNotAvailableForOrganizationException: type[BotocoreClientError]
193
206
  PolicyTypeNotEnabledException: type[BotocoreClientError]
194
207
  ResourcePolicyNotFoundException: type[BotocoreClientError]
208
+ ResponsibilityTransferAlreadyInStatusException: type[BotocoreClientError]
209
+ ResponsibilityTransferNotFoundException: type[BotocoreClientError]
195
210
  RootNotFoundException: type[BotocoreClientError]
196
211
  ServiceException: type[BotocoreClientError]
197
212
  SourceParentNotFoundException: type[BotocoreClientError]
@@ -238,8 +253,7 @@ class OrganizationsClient(BaseClient):
238
253
  self, **kwargs: Unpack[AcceptHandshakeRequestTypeDef]
239
254
  ) -> AcceptHandshakeResponseTypeDef:
240
255
  """
241
- Sends a response to the originator of a handshake agreeing to the action
242
- proposed by the handshake request.
256
+ Accepts a handshake by sending an <code>ACCEPTED</code> response to the sender.
243
257
 
244
258
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/accept_handshake.html)
245
259
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#accept_handshake)
@@ -260,7 +274,7 @@ class OrganizationsClient(BaseClient):
260
274
  self, **kwargs: Unpack[CancelHandshakeRequestTypeDef]
261
275
  ) -> CancelHandshakeResponseTypeDef:
262
276
  """
263
- Cancels a handshake.
277
+ Cancels a <a>Handshake</a>.
264
278
 
265
279
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/cancel_handshake.html)
266
280
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#cancel_handshake)
@@ -332,7 +346,7 @@ class OrganizationsClient(BaseClient):
332
346
  self, **kwargs: Unpack[DeclineHandshakeRequestTypeDef]
333
347
  ) -> DeclineHandshakeResponseTypeDef:
334
348
  """
335
- Declines a handshake request.
349
+ Declines a <a>Handshake</a>.
336
350
 
337
351
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/decline_handshake.html)
338
352
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#decline_handshake)
@@ -420,7 +434,7 @@ class OrganizationsClient(BaseClient):
420
434
  self, **kwargs: Unpack[DescribeHandshakeRequestTypeDef]
421
435
  ) -> DescribeHandshakeResponseTypeDef:
422
436
  """
423
- Retrieves information about a previously requested handshake.
437
+ Returns details for a handshake.
424
438
 
425
439
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/describe_handshake.html)
426
440
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_handshake)
@@ -462,6 +476,16 @@ class OrganizationsClient(BaseClient):
462
476
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_resource_policy)
463
477
  """
464
478
 
479
+ def describe_responsibility_transfer(
480
+ self, **kwargs: Unpack[DescribeResponsibilityTransferRequestTypeDef]
481
+ ) -> DescribeResponsibilityTransferResponseTypeDef:
482
+ """
483
+ Returns details for a transfer.
484
+
485
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/describe_responsibility_transfer.html)
486
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#describe_responsibility_transfer)
487
+ """
488
+
465
489
  def detach_policy(
466
490
  self, **kwargs: Unpack[DetachPolicyRequestTypeDef]
467
491
  ) -> EmptyResponseMetadataTypeDef:
@@ -536,6 +560,17 @@ class OrganizationsClient(BaseClient):
536
560
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#invite_account_to_organization)
537
561
  """
538
562
 
563
+ def invite_organization_to_transfer_responsibility(
564
+ self, **kwargs: Unpack[InviteOrganizationToTransferResponsibilityRequestTypeDef]
565
+ ) -> InviteOrganizationToTransferResponsibilityResponseTypeDef:
566
+ """
567
+ Sends an invitation to another organization's management account to designate
568
+ your account with the specified responsibilities for their organization.
569
+
570
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/invite_organization_to_transfer_responsibility.html)
571
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#invite_organization_to_transfer_responsibility)
572
+ """
573
+
539
574
  def leave_organization(self) -> EmptyResponseMetadataTypeDef:
540
575
  """
541
576
  Removes a member account from its parent organization.
@@ -646,8 +681,7 @@ class OrganizationsClient(BaseClient):
646
681
  self, **kwargs: Unpack[ListHandshakesForAccountRequestTypeDef]
647
682
  ) -> ListHandshakesForAccountResponseTypeDef:
648
683
  """
649
- Lists the current handshakes that are associated with the account of the
650
- requesting user.
684
+ Lists the recent handshakes that you have received.
651
685
 
652
686
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_account.html)
653
687
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_handshakes_for_account)
@@ -657,13 +691,23 @@ class OrganizationsClient(BaseClient):
657
691
  self, **kwargs: Unpack[ListHandshakesForOrganizationRequestTypeDef]
658
692
  ) -> ListHandshakesForOrganizationResponseTypeDef:
659
693
  """
660
- Lists the handshakes that are associated with the organization that the
661
- requesting user is part of.
694
+ Lists the recent handshakes that you have sent.
662
695
 
663
696
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_organization.html)
664
697
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_handshakes_for_organization)
665
698
  """
666
699
 
700
+ def list_inbound_responsibility_transfers(
701
+ self, **kwargs: Unpack[ListInboundResponsibilityTransfersRequestTypeDef]
702
+ ) -> ListInboundResponsibilityTransfersResponseTypeDef:
703
+ """
704
+ Lists transfers that allow you to manage the specified responsibilities for
705
+ another organization.
706
+
707
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_inbound_responsibility_transfers.html)
708
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_inbound_responsibility_transfers)
709
+ """
710
+
667
711
  def list_organizational_units_for_parent(
668
712
  self, **kwargs: Unpack[ListOrganizationalUnitsForParentRequestTypeDef]
669
713
  ) -> ListOrganizationalUnitsForParentResponseTypeDef:
@@ -674,6 +718,17 @@ class OrganizationsClient(BaseClient):
674
718
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_organizational_units_for_parent)
675
719
  """
676
720
 
721
+ def list_outbound_responsibility_transfers(
722
+ self, **kwargs: Unpack[ListOutboundResponsibilityTransfersRequestTypeDef]
723
+ ) -> ListOutboundResponsibilityTransfersResponseTypeDef:
724
+ """
725
+ Lists transfers that allow an account outside your organization to manage the
726
+ specified responsibilities for your organization.
727
+
728
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_outbound_responsibility_transfers.html)
729
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_outbound_responsibility_transfers)
730
+ """
731
+
677
732
  def list_parents(
678
733
  self, **kwargs: Unpack[ListParentsRequestTypeDef]
679
734
  ) -> ListParentsResponseTypeDef:
@@ -787,6 +842,16 @@ class OrganizationsClient(BaseClient):
787
842
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#tag_resource)
788
843
  """
789
844
 
845
+ def terminate_responsibility_transfer(
846
+ self, **kwargs: Unpack[TerminateResponsibilityTransferRequestTypeDef]
847
+ ) -> TerminateResponsibilityTransferResponseTypeDef:
848
+ """
849
+ Ends a transfer.
850
+
851
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/terminate_responsibility_transfer.html)
852
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#terminate_responsibility_transfer)
853
+ """
854
+
790
855
  def untag_resource(
791
856
  self, **kwargs: Unpack[UntagResourceRequestTypeDef]
792
857
  ) -> EmptyResponseMetadataTypeDef:
@@ -817,6 +882,16 @@ class OrganizationsClient(BaseClient):
817
882
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#update_policy)
818
883
  """
819
884
 
885
+ def update_responsibility_transfer(
886
+ self, **kwargs: Unpack[UpdateResponsibilityTransferRequestTypeDef]
887
+ ) -> UpdateResponsibilityTransferResponseTypeDef:
888
+ """
889
+ Updates a transfer.
890
+
891
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/update_responsibility_transfer.html)
892
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#update_responsibility_transfer)
893
+ """
894
+
820
895
  @overload # type: ignore[override]
821
896
  def get_paginator( # type: ignore[override]
822
897
  self, operation_name: Literal["list_aws_service_access_for_organization"]
@@ -60,6 +60,8 @@ __all__ = (
60
60
  "PolicyTypeStatusType",
61
61
  "PolicyTypeType",
62
62
  "ResourceServiceName",
63
+ "ResponsibilityTransferStatusType",
64
+ "ResponsibilityTransferTypeType",
63
65
  "ServiceName",
64
66
  "TargetTypeType",
65
67
  )
@@ -69,7 +71,11 @@ AccountJoinedMethodType = Literal["CREATED", "INVITED"]
69
71
  AccountStateType = Literal["ACTIVE", "CLOSED", "PENDING_ACTIVATION", "PENDING_CLOSURE", "SUSPENDED"]
70
72
  AccountStatusType = Literal["ACTIVE", "PENDING_CLOSURE", "SUSPENDED"]
71
73
  ActionTypeType = Literal[
72
- "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "APPROVE_ALL_FEATURES", "ENABLE_ALL_FEATURES", "INVITE"
74
+ "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
75
+ "APPROVE_ALL_FEATURES",
76
+ "ENABLE_ALL_FEATURES",
77
+ "INVITE",
78
+ "TRANSFER_RESPONSIBILITY",
73
79
  ]
74
80
  ChildTypeType = Literal["ACCOUNT", "ORGANIZATIONAL_UNIT"]
75
81
  CreateAccountFailureReasonType = Literal[
@@ -95,19 +101,27 @@ EffectivePolicyTypeType = Literal[
95
101
  "BACKUP_POLICY",
96
102
  "CHATBOT_POLICY",
97
103
  "DECLARATIVE_POLICY_EC2",
104
+ "INSPECTOR_POLICY",
98
105
  "SECURITYHUB_POLICY",
99
106
  "TAG_POLICY",
107
+ "UPGRADE_ROLLOUT_POLICY",
100
108
  ]
101
109
  HandshakePartyTypeType = Literal["ACCOUNT", "EMAIL", "ORGANIZATION"]
102
110
  HandshakeResourceTypeType = Literal[
103
111
  "ACCOUNT",
104
112
  "EMAIL",
113
+ "MANAGEMENT_ACCOUNT",
114
+ "MANAGEMENT_EMAIL",
115
+ "MANAGEMENT_NAME",
105
116
  "MASTER_EMAIL",
106
117
  "MASTER_NAME",
107
118
  "NOTES",
108
119
  "ORGANIZATION",
109
120
  "ORGANIZATION_FEATURE_SET",
110
121
  "PARENT_HANDSHAKE",
122
+ "RESPONSIBILITY_TRANSFER",
123
+ "TRANSFER_START_TIMESTAMP",
124
+ "TRANSFER_TYPE",
111
125
  ]
112
126
  HandshakeStateType = Literal["ACCEPTED", "CANCELED", "DECLINED", "EXPIRED", "OPEN", "REQUESTED"]
113
127
  IAMUserAccessToBillingType = Literal["ALLOW", "DENY"]
@@ -143,11 +157,17 @@ PolicyTypeType = Literal[
143
157
  "BACKUP_POLICY",
144
158
  "CHATBOT_POLICY",
145
159
  "DECLARATIVE_POLICY_EC2",
160
+ "INSPECTOR_POLICY",
146
161
  "RESOURCE_CONTROL_POLICY",
147
162
  "SECURITYHUB_POLICY",
148
163
  "SERVICE_CONTROL_POLICY",
149
164
  "TAG_POLICY",
165
+ "UPGRADE_ROLLOUT_POLICY",
150
166
  ]
167
+ ResponsibilityTransferStatusType = Literal[
168
+ "ACCEPTED", "CANCELED", "DECLINED", "EXPIRED", "REQUESTED", "WITHDRAWN"
169
+ ]
170
+ ResponsibilityTransferTypeType = Literal["BILLING"]
151
171
  TargetTypeType = Literal["ACCOUNT", "ORGANIZATIONAL_UNIT", "ROOT"]
152
172
  OrganizationsServiceName = Literal["organizations"]
153
173
  ServiceName = Literal[
@@ -245,6 +265,7 @@ ServiceName = Literal[
245
265
  "comprehend",
246
266
  "comprehendmedical",
247
267
  "compute-optimizer",
268
+ "compute-optimizer-automation",
248
269
  "config",
249
270
  "connect",
250
271
  "connect-contact-lens",
@@ -59,6 +59,8 @@ __all__ = (
59
59
  "PolicyTypeStatusType",
60
60
  "PolicyTypeType",
61
61
  "ResourceServiceName",
62
+ "ResponsibilityTransferStatusType",
63
+ "ResponsibilityTransferTypeType",
62
64
  "ServiceName",
63
65
  "TargetTypeType",
64
66
  )
@@ -67,7 +69,11 @@ AccountJoinedMethodType = Literal["CREATED", "INVITED"]
67
69
  AccountStateType = Literal["ACTIVE", "CLOSED", "PENDING_ACTIVATION", "PENDING_CLOSURE", "SUSPENDED"]
68
70
  AccountStatusType = Literal["ACTIVE", "PENDING_CLOSURE", "SUSPENDED"]
69
71
  ActionTypeType = Literal[
70
- "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "APPROVE_ALL_FEATURES", "ENABLE_ALL_FEATURES", "INVITE"
72
+ "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
73
+ "APPROVE_ALL_FEATURES",
74
+ "ENABLE_ALL_FEATURES",
75
+ "INVITE",
76
+ "TRANSFER_RESPONSIBILITY",
71
77
  ]
72
78
  ChildTypeType = Literal["ACCOUNT", "ORGANIZATIONAL_UNIT"]
73
79
  CreateAccountFailureReasonType = Literal[
@@ -93,19 +99,27 @@ EffectivePolicyTypeType = Literal[
93
99
  "BACKUP_POLICY",
94
100
  "CHATBOT_POLICY",
95
101
  "DECLARATIVE_POLICY_EC2",
102
+ "INSPECTOR_POLICY",
96
103
  "SECURITYHUB_POLICY",
97
104
  "TAG_POLICY",
105
+ "UPGRADE_ROLLOUT_POLICY",
98
106
  ]
99
107
  HandshakePartyTypeType = Literal["ACCOUNT", "EMAIL", "ORGANIZATION"]
100
108
  HandshakeResourceTypeType = Literal[
101
109
  "ACCOUNT",
102
110
  "EMAIL",
111
+ "MANAGEMENT_ACCOUNT",
112
+ "MANAGEMENT_EMAIL",
113
+ "MANAGEMENT_NAME",
103
114
  "MASTER_EMAIL",
104
115
  "MASTER_NAME",
105
116
  "NOTES",
106
117
  "ORGANIZATION",
107
118
  "ORGANIZATION_FEATURE_SET",
108
119
  "PARENT_HANDSHAKE",
120
+ "RESPONSIBILITY_TRANSFER",
121
+ "TRANSFER_START_TIMESTAMP",
122
+ "TRANSFER_TYPE",
109
123
  ]
110
124
  HandshakeStateType = Literal["ACCEPTED", "CANCELED", "DECLINED", "EXPIRED", "OPEN", "REQUESTED"]
111
125
  IAMUserAccessToBillingType = Literal["ALLOW", "DENY"]
@@ -141,11 +155,17 @@ PolicyTypeType = Literal[
141
155
  "BACKUP_POLICY",
142
156
  "CHATBOT_POLICY",
143
157
  "DECLARATIVE_POLICY_EC2",
158
+ "INSPECTOR_POLICY",
144
159
  "RESOURCE_CONTROL_POLICY",
145
160
  "SECURITYHUB_POLICY",
146
161
  "SERVICE_CONTROL_POLICY",
147
162
  "TAG_POLICY",
163
+ "UPGRADE_ROLLOUT_POLICY",
148
164
  ]
165
+ ResponsibilityTransferStatusType = Literal[
166
+ "ACCEPTED", "CANCELED", "DECLINED", "EXPIRED", "REQUESTED", "WITHDRAWN"
167
+ ]
168
+ ResponsibilityTransferTypeType = Literal["BILLING"]
149
169
  TargetTypeType = Literal["ACCOUNT", "ORGANIZATIONAL_UNIT", "ROOT"]
150
170
  OrganizationsServiceName = Literal["organizations"]
151
171
  ServiceName = Literal[
@@ -243,6 +263,7 @@ ServiceName = Literal[
243
263
  "comprehend",
244
264
  "comprehendmedical",
245
265
  "compute-optimizer",
266
+ "compute-optimizer-automation",
246
267
  "config",
247
268
  "connect",
248
269
  "connect-contact-lens",
@@ -19,7 +19,7 @@ from __future__ import annotations
19
19
  import sys
20
20
  from collections.abc import Sequence
21
21
  from datetime import datetime
22
- from typing import Any
22
+ from typing import Any, Union
23
23
 
24
24
  from .literals import (
25
25
  AccountJoinedMethodType,
@@ -38,13 +38,14 @@ from .literals import (
38
38
  ParentTypeType,
39
39
  PolicyTypeStatusType,
40
40
  PolicyTypeType,
41
+ ResponsibilityTransferStatusType,
41
42
  TargetTypeType,
42
43
  )
43
44
 
44
45
  if sys.version_info >= (3, 12):
45
- from typing import NotRequired, TypedDict
46
+ from typing import Literal, NotRequired, TypedDict
46
47
  else:
47
- from typing_extensions import NotRequired, TypedDict
48
+ from typing_extensions import Literal, NotRequired, TypedDict
48
49
 
49
50
 
50
51
  __all__ = (
@@ -88,6 +89,8 @@ __all__ = (
88
89
  "DescribePolicyRequestTypeDef",
89
90
  "DescribePolicyResponseTypeDef",
90
91
  "DescribeResourcePolicyResponseTypeDef",
92
+ "DescribeResponsibilityTransferRequestTypeDef",
93
+ "DescribeResponsibilityTransferResponseTypeDef",
91
94
  "DetachPolicyRequestTypeDef",
92
95
  "DisableAWSServiceAccessRequestTypeDef",
93
96
  "DisablePolicyTypeRequestTypeDef",
@@ -108,6 +111,8 @@ __all__ = (
108
111
  "HandshakeTypeDef",
109
112
  "InviteAccountToOrganizationRequestTypeDef",
110
113
  "InviteAccountToOrganizationResponseTypeDef",
114
+ "InviteOrganizationToTransferResponsibilityRequestTypeDef",
115
+ "InviteOrganizationToTransferResponsibilityResponseTypeDef",
111
116
  "ListAWSServiceAccessForOrganizationRequestPaginateTypeDef",
112
117
  "ListAWSServiceAccessForOrganizationRequestTypeDef",
113
118
  "ListAWSServiceAccessForOrganizationResponseTypeDef",
@@ -143,9 +148,13 @@ __all__ = (
143
148
  "ListHandshakesForOrganizationRequestTypeDef",
144
149
  "ListHandshakesForOrganizationResponsePaginatorTypeDef",
145
150
  "ListHandshakesForOrganizationResponseTypeDef",
151
+ "ListInboundResponsibilityTransfersRequestTypeDef",
152
+ "ListInboundResponsibilityTransfersResponseTypeDef",
146
153
  "ListOrganizationalUnitsForParentRequestPaginateTypeDef",
147
154
  "ListOrganizationalUnitsForParentRequestTypeDef",
148
155
  "ListOrganizationalUnitsForParentResponseTypeDef",
156
+ "ListOutboundResponsibilityTransfersRequestTypeDef",
157
+ "ListOutboundResponsibilityTransfersResponseTypeDef",
149
158
  "ListParentsRequestPaginateTypeDef",
150
159
  "ListParentsRequestTypeDef",
151
160
  "ListParentsResponseTypeDef",
@@ -180,14 +189,21 @@ __all__ = (
180
189
  "ResourcePolicySummaryTypeDef",
181
190
  "ResourcePolicyTypeDef",
182
191
  "ResponseMetadataTypeDef",
192
+ "ResponsibilityTransferTypeDef",
183
193
  "RootTypeDef",
184
194
  "TagResourceRequestTypeDef",
185
195
  "TagTypeDef",
196
+ "TerminateResponsibilityTransferRequestTypeDef",
197
+ "TerminateResponsibilityTransferResponseTypeDef",
198
+ "TimestampTypeDef",
199
+ "TransferParticipantTypeDef",
186
200
  "UntagResourceRequestTypeDef",
187
201
  "UpdateOrganizationalUnitRequestTypeDef",
188
202
  "UpdateOrganizationalUnitResponseTypeDef",
189
203
  "UpdatePolicyRequestTypeDef",
190
204
  "UpdatePolicyResponseTypeDef",
205
+ "UpdateResponsibilityTransferRequestTypeDef",
206
+ "UpdateResponsibilityTransferResponseTypeDef",
191
207
  )
192
208
 
193
209
 
@@ -328,6 +344,10 @@ class DescribePolicyRequestTypeDef(TypedDict):
328
344
  PolicyId: str
329
345
 
330
346
 
347
+ class DescribeResponsibilityTransferRequestTypeDef(TypedDict):
348
+ Id: str
349
+
350
+
331
351
  class DetachPolicyRequestTypeDef(TypedDict):
332
352
  PolicyId: str
333
353
  TargetId: str
@@ -391,6 +411,7 @@ HandshakeResourceTypeDef = TypedDict(
391
411
  "Resources": NotRequired[list[dict[str, Any]]],
392
412
  },
393
413
  )
414
+ TimestampTypeDef = Union[datetime, str]
394
415
 
395
416
 
396
417
  class PaginatorConfigTypeDef(TypedDict):
@@ -453,12 +474,33 @@ class ListEffectivePolicyValidationErrorsRequestTypeDef(TypedDict):
453
474
  MaxResults: NotRequired[int]
454
475
 
455
476
 
477
+ ListInboundResponsibilityTransfersRequestTypeDef = TypedDict(
478
+ "ListInboundResponsibilityTransfersRequestTypeDef",
479
+ {
480
+ "Type": Literal["BILLING"],
481
+ "Id": NotRequired[str],
482
+ "NextToken": NotRequired[str],
483
+ "MaxResults": NotRequired[int],
484
+ },
485
+ )
486
+
487
+
456
488
  class ListOrganizationalUnitsForParentRequestTypeDef(TypedDict):
457
489
  ParentId: str
458
490
  NextToken: NotRequired[str]
459
491
  MaxResults: NotRequired[int]
460
492
 
461
493
 
494
+ ListOutboundResponsibilityTransfersRequestTypeDef = TypedDict(
495
+ "ListOutboundResponsibilityTransfersRequestTypeDef",
496
+ {
497
+ "Type": Literal["BILLING"],
498
+ "NextToken": NotRequired[str],
499
+ "MaxResults": NotRequired[int],
500
+ },
501
+ )
502
+
503
+
462
504
  class ListParentsRequestTypeDef(TypedDict):
463
505
  ChildId: str
464
506
  NextToken: NotRequired[str]
@@ -556,6 +598,11 @@ class ResourcePolicySummaryTypeDef(TypedDict):
556
598
  Arn: NotRequired[str]
557
599
 
558
600
 
601
+ class TransferParticipantTypeDef(TypedDict):
602
+ ManagementAccountId: NotRequired[str]
603
+ ManagementAccountEmail: NotRequired[str]
604
+
605
+
559
606
  class UntagResourceRequestTypeDef(TypedDict):
560
607
  ResourceId: str
561
608
  TagKeys: Sequence[str]
@@ -573,6 +620,11 @@ class UpdatePolicyRequestTypeDef(TypedDict):
573
620
  Content: NotRequired[str]
574
621
 
575
622
 
623
+ class UpdateResponsibilityTransferRequestTypeDef(TypedDict):
624
+ Id: str
625
+ Name: str
626
+
627
+
576
628
  class EmptyResponseMetadataTypeDef(TypedDict):
577
629
  ResponseMetadata: ResponseMetadataTypeDef
578
630
 
@@ -772,6 +824,24 @@ class HandshakeTypeDef(TypedDict):
772
824
  Resources: NotRequired[list[HandshakeResourceTypeDef]]
773
825
 
774
826
 
827
+ InviteOrganizationToTransferResponsibilityRequestTypeDef = TypedDict(
828
+ "InviteOrganizationToTransferResponsibilityRequestTypeDef",
829
+ {
830
+ "Type": Literal["BILLING"],
831
+ "Target": HandshakePartyTypeDef,
832
+ "StartTimestamp": TimestampTypeDef,
833
+ "SourceName": str,
834
+ "Notes": NotRequired[str],
835
+ "Tags": NotRequired[Sequence[TagTypeDef]],
836
+ },
837
+ )
838
+
839
+
840
+ class TerminateResponsibilityTransferRequestTypeDef(TypedDict):
841
+ Id: str
842
+ EndTimestamp: NotRequired[TimestampTypeDef]
843
+
844
+
775
845
  class ListAWSServiceAccessForOrganizationRequestPaginateTypeDef(TypedDict):
776
846
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
777
847
 
@@ -913,6 +983,23 @@ class ResourcePolicyTypeDef(TypedDict):
913
983
  Content: NotRequired[str]
914
984
 
915
985
 
986
+ ResponsibilityTransferTypeDef = TypedDict(
987
+ "ResponsibilityTransferTypeDef",
988
+ {
989
+ "Arn": NotRequired[str],
990
+ "Name": NotRequired[str],
991
+ "Id": NotRequired[str],
992
+ "Type": NotRequired[Literal["BILLING"]],
993
+ "Status": NotRequired[ResponsibilityTransferStatusType],
994
+ "Source": NotRequired[TransferParticipantTypeDef],
995
+ "Target": NotRequired[TransferParticipantTypeDef],
996
+ "StartTimestamp": NotRequired[datetime],
997
+ "EndTimestamp": NotRequired[datetime],
998
+ "ActiveHandshakeId": NotRequired[str],
999
+ },
1000
+ )
1001
+
1002
+
916
1003
  class ListHandshakesForAccountResponsePaginatorTypeDef(TypedDict):
917
1004
  Handshakes: list[HandshakePaginatorTypeDef]
918
1005
  ResponseMetadata: ResponseMetadataTypeDef
@@ -955,6 +1042,11 @@ class InviteAccountToOrganizationResponseTypeDef(TypedDict):
955
1042
  ResponseMetadata: ResponseMetadataTypeDef
956
1043
 
957
1044
 
1045
+ class InviteOrganizationToTransferResponsibilityResponseTypeDef(TypedDict):
1046
+ Handshake: HandshakeTypeDef
1047
+ ResponseMetadata: ResponseMetadataTypeDef
1048
+
1049
+
958
1050
  class ListHandshakesForAccountResponseTypeDef(TypedDict):
959
1051
  Handshakes: list[HandshakeTypeDef]
960
1052
  ResponseMetadata: ResponseMetadataTypeDef
@@ -1016,3 +1108,30 @@ class DescribeResourcePolicyResponseTypeDef(TypedDict):
1016
1108
  class PutResourcePolicyResponseTypeDef(TypedDict):
1017
1109
  ResourcePolicy: ResourcePolicyTypeDef
1018
1110
  ResponseMetadata: ResponseMetadataTypeDef
1111
+
1112
+
1113
+ class DescribeResponsibilityTransferResponseTypeDef(TypedDict):
1114
+ ResponsibilityTransfer: ResponsibilityTransferTypeDef
1115
+ ResponseMetadata: ResponseMetadataTypeDef
1116
+
1117
+
1118
+ class ListInboundResponsibilityTransfersResponseTypeDef(TypedDict):
1119
+ ResponsibilityTransfers: list[ResponsibilityTransferTypeDef]
1120
+ ResponseMetadata: ResponseMetadataTypeDef
1121
+ NextToken: NotRequired[str]
1122
+
1123
+
1124
+ class ListOutboundResponsibilityTransfersResponseTypeDef(TypedDict):
1125
+ ResponsibilityTransfers: list[ResponsibilityTransferTypeDef]
1126
+ ResponseMetadata: ResponseMetadataTypeDef
1127
+ NextToken: NotRequired[str]
1128
+
1129
+
1130
+ class TerminateResponsibilityTransferResponseTypeDef(TypedDict):
1131
+ ResponsibilityTransfer: ResponsibilityTransferTypeDef
1132
+ ResponseMetadata: ResponseMetadataTypeDef
1133
+
1134
+
1135
+ class UpdateResponsibilityTransferResponseTypeDef(TypedDict):
1136
+ ResponsibilityTransfer: ResponsibilityTransferTypeDef
1137
+ ResponseMetadata: ResponseMetadataTypeDef
@@ -19,7 +19,7 @@ from __future__ import annotations
19
19
  import sys
20
20
  from collections.abc import Sequence
21
21
  from datetime import datetime
22
- from typing import Any
22
+ from typing import Any, Union
23
23
 
24
24
  from .literals import (
25
25
  AccountJoinedMethodType,
@@ -38,13 +38,14 @@ from .literals import (
38
38
  ParentTypeType,
39
39
  PolicyTypeStatusType,
40
40
  PolicyTypeType,
41
+ ResponsibilityTransferStatusType,
41
42
  TargetTypeType,
42
43
  )
43
44
 
44
45
  if sys.version_info >= (3, 12):
45
- from typing import NotRequired, TypedDict
46
+ from typing import Literal, NotRequired, TypedDict
46
47
  else:
47
- from typing_extensions import NotRequired, TypedDict
48
+ from typing_extensions import Literal, NotRequired, TypedDict
48
49
 
49
50
  __all__ = (
50
51
  "AcceptHandshakeRequestTypeDef",
@@ -87,6 +88,8 @@ __all__ = (
87
88
  "DescribePolicyRequestTypeDef",
88
89
  "DescribePolicyResponseTypeDef",
89
90
  "DescribeResourcePolicyResponseTypeDef",
91
+ "DescribeResponsibilityTransferRequestTypeDef",
92
+ "DescribeResponsibilityTransferResponseTypeDef",
90
93
  "DetachPolicyRequestTypeDef",
91
94
  "DisableAWSServiceAccessRequestTypeDef",
92
95
  "DisablePolicyTypeRequestTypeDef",
@@ -107,6 +110,8 @@ __all__ = (
107
110
  "HandshakeTypeDef",
108
111
  "InviteAccountToOrganizationRequestTypeDef",
109
112
  "InviteAccountToOrganizationResponseTypeDef",
113
+ "InviteOrganizationToTransferResponsibilityRequestTypeDef",
114
+ "InviteOrganizationToTransferResponsibilityResponseTypeDef",
110
115
  "ListAWSServiceAccessForOrganizationRequestPaginateTypeDef",
111
116
  "ListAWSServiceAccessForOrganizationRequestTypeDef",
112
117
  "ListAWSServiceAccessForOrganizationResponseTypeDef",
@@ -142,9 +147,13 @@ __all__ = (
142
147
  "ListHandshakesForOrganizationRequestTypeDef",
143
148
  "ListHandshakesForOrganizationResponsePaginatorTypeDef",
144
149
  "ListHandshakesForOrganizationResponseTypeDef",
150
+ "ListInboundResponsibilityTransfersRequestTypeDef",
151
+ "ListInboundResponsibilityTransfersResponseTypeDef",
145
152
  "ListOrganizationalUnitsForParentRequestPaginateTypeDef",
146
153
  "ListOrganizationalUnitsForParentRequestTypeDef",
147
154
  "ListOrganizationalUnitsForParentResponseTypeDef",
155
+ "ListOutboundResponsibilityTransfersRequestTypeDef",
156
+ "ListOutboundResponsibilityTransfersResponseTypeDef",
148
157
  "ListParentsRequestPaginateTypeDef",
149
158
  "ListParentsRequestTypeDef",
150
159
  "ListParentsResponseTypeDef",
@@ -179,14 +188,21 @@ __all__ = (
179
188
  "ResourcePolicySummaryTypeDef",
180
189
  "ResourcePolicyTypeDef",
181
190
  "ResponseMetadataTypeDef",
191
+ "ResponsibilityTransferTypeDef",
182
192
  "RootTypeDef",
183
193
  "TagResourceRequestTypeDef",
184
194
  "TagTypeDef",
195
+ "TerminateResponsibilityTransferRequestTypeDef",
196
+ "TerminateResponsibilityTransferResponseTypeDef",
197
+ "TimestampTypeDef",
198
+ "TransferParticipantTypeDef",
185
199
  "UntagResourceRequestTypeDef",
186
200
  "UpdateOrganizationalUnitRequestTypeDef",
187
201
  "UpdateOrganizationalUnitResponseTypeDef",
188
202
  "UpdatePolicyRequestTypeDef",
189
203
  "UpdatePolicyResponseTypeDef",
204
+ "UpdateResponsibilityTransferRequestTypeDef",
205
+ "UpdateResponsibilityTransferResponseTypeDef",
190
206
  )
191
207
 
192
208
  class AcceptHandshakeRequestTypeDef(TypedDict):
@@ -302,6 +318,9 @@ class DescribeOrganizationalUnitRequestTypeDef(TypedDict):
302
318
  class DescribePolicyRequestTypeDef(TypedDict):
303
319
  PolicyId: str
304
320
 
321
+ class DescribeResponsibilityTransferRequestTypeDef(TypedDict):
322
+ Id: str
323
+
305
324
  class DetachPolicyRequestTypeDef(TypedDict):
306
325
  PolicyId: str
307
326
  TargetId: str
@@ -357,6 +376,7 @@ HandshakeResourceTypeDef = TypedDict(
357
376
  "Resources": NotRequired[list[dict[str, Any]]],
358
377
  },
359
378
  )
379
+ TimestampTypeDef = Union[datetime, str]
360
380
 
361
381
  class PaginatorConfigTypeDef(TypedDict):
362
382
  MaxItems: NotRequired[int]
@@ -408,11 +428,30 @@ class ListEffectivePolicyValidationErrorsRequestTypeDef(TypedDict):
408
428
  NextToken: NotRequired[str]
409
429
  MaxResults: NotRequired[int]
410
430
 
431
+ ListInboundResponsibilityTransfersRequestTypeDef = TypedDict(
432
+ "ListInboundResponsibilityTransfersRequestTypeDef",
433
+ {
434
+ "Type": Literal["BILLING"],
435
+ "Id": NotRequired[str],
436
+ "NextToken": NotRequired[str],
437
+ "MaxResults": NotRequired[int],
438
+ },
439
+ )
440
+
411
441
  class ListOrganizationalUnitsForParentRequestTypeDef(TypedDict):
412
442
  ParentId: str
413
443
  NextToken: NotRequired[str]
414
444
  MaxResults: NotRequired[int]
415
445
 
446
+ ListOutboundResponsibilityTransfersRequestTypeDef = TypedDict(
447
+ "ListOutboundResponsibilityTransfersRequestTypeDef",
448
+ {
449
+ "Type": Literal["BILLING"],
450
+ "NextToken": NotRequired[str],
451
+ "MaxResults": NotRequired[int],
452
+ },
453
+ )
454
+
416
455
  class ListParentsRequestTypeDef(TypedDict):
417
456
  ChildId: str
418
457
  NextToken: NotRequired[str]
@@ -496,6 +535,10 @@ class ResourcePolicySummaryTypeDef(TypedDict):
496
535
  Id: NotRequired[str]
497
536
  Arn: NotRequired[str]
498
537
 
538
+ class TransferParticipantTypeDef(TypedDict):
539
+ ManagementAccountId: NotRequired[str]
540
+ ManagementAccountEmail: NotRequired[str]
541
+
499
542
  class UntagResourceRequestTypeDef(TypedDict):
500
543
  ResourceId: str
501
544
  TagKeys: Sequence[str]
@@ -510,6 +553,10 @@ class UpdatePolicyRequestTypeDef(TypedDict):
510
553
  Description: NotRequired[str]
511
554
  Content: NotRequired[str]
512
555
 
556
+ class UpdateResponsibilityTransferRequestTypeDef(TypedDict):
557
+ Id: str
558
+ Name: str
559
+
513
560
  class EmptyResponseMetadataTypeDef(TypedDict):
514
561
  ResponseMetadata: ResponseMetadataTypeDef
515
562
 
@@ -678,6 +725,22 @@ class HandshakeTypeDef(TypedDict):
678
725
  Action: NotRequired[ActionTypeType]
679
726
  Resources: NotRequired[list[HandshakeResourceTypeDef]]
680
727
 
728
+ InviteOrganizationToTransferResponsibilityRequestTypeDef = TypedDict(
729
+ "InviteOrganizationToTransferResponsibilityRequestTypeDef",
730
+ {
731
+ "Type": Literal["BILLING"],
732
+ "Target": HandshakePartyTypeDef,
733
+ "StartTimestamp": TimestampTypeDef,
734
+ "SourceName": str,
735
+ "Notes": NotRequired[str],
736
+ "Tags": NotRequired[Sequence[TagTypeDef]],
737
+ },
738
+ )
739
+
740
+ class TerminateResponsibilityTransferRequestTypeDef(TypedDict):
741
+ Id: str
742
+ EndTimestamp: NotRequired[TimestampTypeDef]
743
+
681
744
  class ListAWSServiceAccessForOrganizationRequestPaginateTypeDef(TypedDict):
682
745
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
683
746
 
@@ -793,6 +856,22 @@ class ResourcePolicyTypeDef(TypedDict):
793
856
  ResourcePolicySummary: NotRequired[ResourcePolicySummaryTypeDef]
794
857
  Content: NotRequired[str]
795
858
 
859
+ ResponsibilityTransferTypeDef = TypedDict(
860
+ "ResponsibilityTransferTypeDef",
861
+ {
862
+ "Arn": NotRequired[str],
863
+ "Name": NotRequired[str],
864
+ "Id": NotRequired[str],
865
+ "Type": NotRequired[Literal["BILLING"]],
866
+ "Status": NotRequired[ResponsibilityTransferStatusType],
867
+ "Source": NotRequired[TransferParticipantTypeDef],
868
+ "Target": NotRequired[TransferParticipantTypeDef],
869
+ "StartTimestamp": NotRequired[datetime],
870
+ "EndTimestamp": NotRequired[datetime],
871
+ "ActiveHandshakeId": NotRequired[str],
872
+ },
873
+ )
874
+
796
875
  class ListHandshakesForAccountResponsePaginatorTypeDef(TypedDict):
797
876
  Handshakes: list[HandshakePaginatorTypeDef]
798
877
  ResponseMetadata: ResponseMetadataTypeDef
@@ -827,6 +906,10 @@ class InviteAccountToOrganizationResponseTypeDef(TypedDict):
827
906
  Handshake: HandshakeTypeDef
828
907
  ResponseMetadata: ResponseMetadataTypeDef
829
908
 
909
+ class InviteOrganizationToTransferResponsibilityResponseTypeDef(TypedDict):
910
+ Handshake: HandshakeTypeDef
911
+ ResponseMetadata: ResponseMetadataTypeDef
912
+
830
913
  class ListHandshakesForAccountResponseTypeDef(TypedDict):
831
914
  Handshakes: list[HandshakeTypeDef]
832
915
  ResponseMetadata: ResponseMetadataTypeDef
@@ -877,3 +960,25 @@ class DescribeResourcePolicyResponseTypeDef(TypedDict):
877
960
  class PutResourcePolicyResponseTypeDef(TypedDict):
878
961
  ResourcePolicy: ResourcePolicyTypeDef
879
962
  ResponseMetadata: ResponseMetadataTypeDef
963
+
964
+ class DescribeResponsibilityTransferResponseTypeDef(TypedDict):
965
+ ResponsibilityTransfer: ResponsibilityTransferTypeDef
966
+ ResponseMetadata: ResponseMetadataTypeDef
967
+
968
+ class ListInboundResponsibilityTransfersResponseTypeDef(TypedDict):
969
+ ResponsibilityTransfers: list[ResponsibilityTransferTypeDef]
970
+ ResponseMetadata: ResponseMetadataTypeDef
971
+ NextToken: NotRequired[str]
972
+
973
+ class ListOutboundResponsibilityTransfersResponseTypeDef(TypedDict):
974
+ ResponsibilityTransfers: list[ResponsibilityTransferTypeDef]
975
+ ResponseMetadata: ResponseMetadataTypeDef
976
+ NextToken: NotRequired[str]
977
+
978
+ class TerminateResponsibilityTransferResponseTypeDef(TypedDict):
979
+ ResponsibilityTransfer: ResponsibilityTransferTypeDef
980
+ ResponseMetadata: ResponseMetadataTypeDef
981
+
982
+ class UpdateResponsibilityTransferResponseTypeDef(TypedDict):
983
+ ResponsibilityTransfer: ResponsibilityTransferTypeDef
984
+ ResponseMetadata: ResponseMetadataTypeDef
@@ -4,4 +4,4 @@ Source of truth for version.
4
4
  Copyright 2025 Vlad Emelianov
5
5
  """
6
6
 
7
- __version__ = "1.41.0"
7
+ __version__ = "1.41.2"
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mypy-boto3-organizations
3
- Version: 1.41.0
4
- Summary: Type annotations for boto3 Organizations 1.41.0 service generated with mypy-boto3-builder 8.12.0
3
+ Version: 1.41.2
4
+ Summary: Type annotations for boto3 Organizations 1.41.2 service generated with mypy-boto3-builder 8.12.0
5
5
  Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://github.com/youtype/mypy_boto3_builder
@@ -43,7 +43,7 @@ Dynamic: license-file
43
43
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
44
 
45
45
  Type annotations for
46
- [boto3 Organizations 1.41.0](https://pypi.org/project/boto3/) compatible with
46
+ [boto3 Organizations 1.41.2](https://pypi.org/project/boto3/) compatible with
47
47
  [VSCode](https://code.visualstudio.com/),
48
48
  [PyCharm](https://www.jetbrains.com/pycharm/),
49
49
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -105,7 +105,7 @@ You can generate type annotations for `boto3` package locally with
105
105
  isolation.
106
106
 
107
107
  1. Run mypy-boto3-builder in your package root directory:
108
- `uvx --with 'boto3==1.41.0' mypy-boto3-builder`
108
+ `uvx --with 'boto3==1.41.2' mypy-boto3-builder`
109
109
  2. Select `boto3-stubs` AWS SDK.
110
110
  3. Add `Organizations` service.
111
111
  4. Use provided commands to install generated packages.
@@ -0,0 +1,18 @@
1
+ mypy_boto3_organizations/__init__.py,sha256=354jsWi0mcV6G5sztoURanOL0kusUT09QvnvkfTylDc,5017
2
+ mypy_boto3_organizations/__init__.pyi,sha256=NdaX5fuaGDQfpaa7D2jTrN0Zs1Knu5jVUuIoWs8WmEQ,5016
3
+ mypy_boto3_organizations/__main__.py,sha256=2zCekcBXjGCow7rg8dt_Xfj8cMePglSI5NmfG-BLG4k,1005
4
+ mypy_boto3_organizations/client.py,sha256=nmGSSsLFx8WEsPMVkS00-FUr2u7qmFYiXU_fzHtsl6k,56199
5
+ mypy_boto3_organizations/client.pyi,sha256=gAUR0IQekIPyq9HEsoB8CjNHDFJ6IB-Pqp4pmkFQ_fM,56196
6
+ mypy_boto3_organizations/literals.py,sha256=Gnsvxj4W_pWoft5-hC7jvmKqhtASpEdUmiWBIcTLN2M,14972
7
+ mypy_boto3_organizations/literals.pyi,sha256=to6hNCIZxy6hBJYWekVD_f9uM_J2DrfHZspmLxJnFEc,14970
8
+ mypy_boto3_organizations/paginator.py,sha256=gZUtVnS5-VK9resXa_2XFqTXLGUMubDn-mUFH7vc3Dg,28777
9
+ mypy_boto3_organizations/paginator.pyi,sha256=1D1EfVL5DEoYyFggRaAFaKsnkHInFzXn52XKPX-vUjQ,28722
10
+ mypy_boto3_organizations/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ mypy_boto3_organizations/type_defs.py,sha256=6z3eHjczfUT9uN1c0z10tNn9BOR78MwRdlOUFH5WpYM,32632
12
+ mypy_boto3_organizations/type_defs.pyi,sha256=N14Mejs0fYkGKUg7G0R5h7I1JrtTEibD3CGGAef6ICw,32479
13
+ mypy_boto3_organizations/version.py,sha256=aLKGJmxodYlE7i2btZqBdcB8RTTGw1f6JzSmoqyix3w,92
14
+ mypy_boto3_organizations-1.41.2.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
15
+ mypy_boto3_organizations-1.41.2.dist-info/METADATA,sha256=znU5vEm-xWo1hW_tdNYtBfpO4fh-YnGCvivupHhaTCA,17806
16
+ mypy_boto3_organizations-1.41.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ mypy_boto3_organizations-1.41.2.dist-info/top_level.txt,sha256=lH33f9LyKUTgd7dmsce4xp6hU5kSrcM-Gmg3oZwoTTc,25
18
+ mypy_boto3_organizations-1.41.2.dist-info/RECORD,,
@@ -1,18 +0,0 @@
1
- mypy_boto3_organizations/__init__.py,sha256=354jsWi0mcV6G5sztoURanOL0kusUT09QvnvkfTylDc,5017
2
- mypy_boto3_organizations/__init__.pyi,sha256=NdaX5fuaGDQfpaa7D2jTrN0Zs1Knu5jVUuIoWs8WmEQ,5016
3
- mypy_boto3_organizations/__main__.py,sha256=2BKXHclABJd3SgwjorKJl-Y-521ZwmgWX2hggWHboJM,1005
4
- mypy_boto3_organizations/client.py,sha256=wFb44vW4IakHst05qphGfbtmRz5j-T7LxZIqQYSA2Eo,51727
5
- mypy_boto3_organizations/client.pyi,sha256=522T9SMrCfFk4JWZmwYizN1cf9w8Q1SpzZoZQPdNB8A,51724
6
- mypy_boto3_organizations/literals.py,sha256=uAR_9JFR2qDAexcCyU_2ZfOnd_KuNO1Ki2iiqapqta0,14375
7
- mypy_boto3_organizations/literals.pyi,sha256=vuXFVV3LdnMoy7mD8KD8bnSf_K9YRZB6iVVv23XF_L8,14373
8
- mypy_boto3_organizations/paginator.py,sha256=gZUtVnS5-VK9resXa_2XFqTXLGUMubDn-mUFH7vc3Dg,28777
9
- mypy_boto3_organizations/paginator.pyi,sha256=1D1EfVL5DEoYyFggRaAFaKsnkHInFzXn52XKPX-vUjQ,28722
10
- mypy_boto3_organizations/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- mypy_boto3_organizations/type_defs.py,sha256=AyPsoydpJXLp1dVkRNPgzm5sw9WK3uVPrXzxum0Q2HQ,28756
12
- mypy_boto3_organizations/type_defs.pyi,sha256=k302qTjOIMF0aAhNvIogpnH0DsWfl-3kgl5RtgSuF5M,28617
13
- mypy_boto3_organizations/version.py,sha256=ZtEblsbAVbZWuGFYY23SYRu3T8sCoiDNfG49dV1XWUA,92
14
- mypy_boto3_organizations-1.41.0.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
15
- mypy_boto3_organizations-1.41.0.dist-info/METADATA,sha256=7r3XsBYNJD4aXDuZT_eKxSy0b7NwK9_VKCG7c68D-lk,17806
16
- mypy_boto3_organizations-1.41.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
- mypy_boto3_organizations-1.41.0.dist-info/top_level.txt,sha256=lH33f9LyKUTgd7dmsce4xp6hU5kSrcM-Gmg3oZwoTTc,25
18
- mypy_boto3_organizations-1.41.0.dist-info/RECORD,,