types-boto3-organizations 1.41.0__tar.gz → 1.41.2__tar.gz

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.
Files changed (23) hide show
  1. {types_boto3_organizations-1.41.0/types_boto3_organizations.egg-info → types_boto3_organizations-1.41.2}/PKG-INFO +4 -4
  2. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/README.md +2 -2
  3. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/pyproject.toml +2 -2
  4. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations/__main__.py +3 -3
  5. types_boto3_organizations-1.41.0/types_boto3_organizations/client.pyi → types_boto3_organizations-1.41.2/types_boto3_organizations/client.py +87 -9
  6. types_boto3_organizations-1.41.0/types_boto3_organizations/client.py → types_boto3_organizations-1.41.2/types_boto3_organizations/client.pyi +84 -12
  7. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations/literals.py +22 -1
  8. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations/literals.pyi +22 -1
  9. types_boto3_organizations-1.41.0/types_boto3_organizations/type_defs.pyi → types_boto3_organizations-1.41.2/types_boto3_organizations/type_defs.py +261 -3
  10. types_boto3_organizations-1.41.0/types_boto3_organizations/type_defs.py → types_boto3_organizations-1.41.2/types_boto3_organizations/type_defs.pyi +100 -134
  11. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations/version.py +1 -1
  12. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2/types_boto3_organizations.egg-info}/PKG-INFO +4 -4
  13. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/LICENSE +0 -0
  14. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/setup.cfg +0 -0
  15. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations/__init__.py +0 -0
  16. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations/__init__.pyi +0 -0
  17. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations/paginator.py +0 -0
  18. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations/paginator.pyi +0 -0
  19. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations/py.typed +0 -0
  20. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations.egg-info/SOURCES.txt +0 -0
  21. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations.egg-info/dependency_links.txt +0 -0
  22. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations.egg-info/requires.txt +0 -0
  23. {types_boto3_organizations-1.41.0 → types_boto3_organizations-1.41.2}/types_boto3_organizations.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: types-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` AWS SDK.
110
110
  3. Add `Organizations` service.
111
111
  4. Use provided commands to install generated packages.
@@ -10,7 +10,7 @@
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
12
  Type annotations for
13
- [boto3 Organizations 1.41.0](https://pypi.org/project/boto3/) compatible with
13
+ [boto3 Organizations 1.41.2](https://pypi.org/project/boto3/) compatible with
14
14
  [VSCode](https://code.visualstudio.com/),
15
15
  [PyCharm](https://www.jetbrains.com/pycharm/),
16
16
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -72,7 +72,7 @@ You can generate type annotations for `boto3` package locally with
72
72
  isolation.
73
73
 
74
74
  1. Run mypy-boto3-builder in your package root directory:
75
- `uvx --with 'boto3==1.41.0' mypy-boto3-builder`
75
+ `uvx --with 'boto3==1.41.2' mypy-boto3-builder`
76
76
  2. Select `boto3` AWS SDK.
77
77
  3. Add `Organizations` service.
78
78
  4. Use provided commands to install generated packages.
@@ -4,10 +4,10 @@
4
4
 
5
5
  [project]
6
6
  name = "types-boto3-organizations"
7
- version = "1.41.0"
7
+ version = "1.41.2"
8
8
  license = "MIT"
9
9
  authors = [{ name = "Vlad Emelianov", email = "vlad.emelianov.nz@gmail.com" }]
10
- description = "Type annotations for boto3 Organizations 1.41.0 service generated with mypy-boto3-builder 8.12.0"
10
+ description = "Type annotations for boto3 Organizations 1.41.2 service generated with mypy-boto3-builder 8.12.0"
11
11
  readme = "README.md"
12
12
  classifiers = [
13
13
  "Development Status :: 5 - Production/Stable",
@@ -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/types_boto3_docs/types_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):
@@ -147,8 +159,10 @@ if sys.version_info >= (3, 12):
147
159
  else:
148
160
  from typing_extensions import Literal, Unpack
149
161
 
162
+
150
163
  __all__ = ("OrganizationsClient",)
151
164
 
165
+
152
166
  class Exceptions(BaseClientExceptions):
153
167
  AWSOrganizationsNotInUseException: type[BotocoreClientError]
154
168
  AccessDeniedException: type[BotocoreClientError]
@@ -178,6 +192,7 @@ class Exceptions(BaseClientExceptions):
178
192
  HandshakeNotFoundException: type[BotocoreClientError]
179
193
  InvalidHandshakeTransitionException: type[BotocoreClientError]
180
194
  InvalidInputException: type[BotocoreClientError]
195
+ InvalidResponsibilityTransferTransitionException: type[BotocoreClientError]
181
196
  MalformedPolicyDocumentException: type[BotocoreClientError]
182
197
  MasterCannotLeaveOrganizationException: type[BotocoreClientError]
183
198
  OrganizationNotEmptyException: type[BotocoreClientError]
@@ -192,6 +207,8 @@ class Exceptions(BaseClientExceptions):
192
207
  PolicyTypeNotAvailableForOrganizationException: type[BotocoreClientError]
193
208
  PolicyTypeNotEnabledException: type[BotocoreClientError]
194
209
  ResourcePolicyNotFoundException: type[BotocoreClientError]
210
+ ResponsibilityTransferAlreadyInStatusException: type[BotocoreClientError]
211
+ ResponsibilityTransferNotFoundException: type[BotocoreClientError]
195
212
  RootNotFoundException: type[BotocoreClientError]
196
213
  ServiceException: type[BotocoreClientError]
197
214
  SourceParentNotFoundException: type[BotocoreClientError]
@@ -199,6 +216,7 @@ class Exceptions(BaseClientExceptions):
199
216
  TooManyRequestsException: type[BotocoreClientError]
200
217
  UnsupportedAPIEndpointException: type[BotocoreClientError]
201
218
 
219
+
202
220
  class OrganizationsClient(BaseClient):
203
221
  """
204
222
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client)
@@ -238,8 +256,7 @@ class OrganizationsClient(BaseClient):
238
256
  self, **kwargs: Unpack[AcceptHandshakeRequestTypeDef]
239
257
  ) -> AcceptHandshakeResponseTypeDef:
240
258
  """
241
- Sends a response to the originator of a handshake agreeing to the action
242
- proposed by the handshake request.
259
+ Accepts a handshake by sending an <code>ACCEPTED</code> response to the sender.
243
260
 
244
261
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/accept_handshake.html)
245
262
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#accept_handshake)
@@ -260,7 +277,7 @@ class OrganizationsClient(BaseClient):
260
277
  self, **kwargs: Unpack[CancelHandshakeRequestTypeDef]
261
278
  ) -> CancelHandshakeResponseTypeDef:
262
279
  """
263
- Cancels a handshake.
280
+ Cancels a <a>Handshake</a>.
264
281
 
265
282
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/cancel_handshake.html)
266
283
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#cancel_handshake)
@@ -332,7 +349,7 @@ class OrganizationsClient(BaseClient):
332
349
  self, **kwargs: Unpack[DeclineHandshakeRequestTypeDef]
333
350
  ) -> DeclineHandshakeResponseTypeDef:
334
351
  """
335
- Declines a handshake request.
352
+ Declines a <a>Handshake</a>.
336
353
 
337
354
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/decline_handshake.html)
338
355
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#decline_handshake)
@@ -420,7 +437,7 @@ class OrganizationsClient(BaseClient):
420
437
  self, **kwargs: Unpack[DescribeHandshakeRequestTypeDef]
421
438
  ) -> DescribeHandshakeResponseTypeDef:
422
439
  """
423
- Retrieves information about a previously requested handshake.
440
+ Returns details for a handshake.
424
441
 
425
442
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/describe_handshake.html)
426
443
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#describe_handshake)
@@ -462,6 +479,16 @@ class OrganizationsClient(BaseClient):
462
479
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#describe_resource_policy)
463
480
  """
464
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#describe_responsibility_transfer)
490
+ """
491
+
465
492
  def detach_policy(
466
493
  self, **kwargs: Unpack[DetachPolicyRequestTypeDef]
467
494
  ) -> EmptyResponseMetadataTypeDef:
@@ -536,6 +563,17 @@ class OrganizationsClient(BaseClient):
536
563
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#invite_account_to_organization)
537
564
  """
538
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#invite_organization_to_transfer_responsibility)
575
+ """
576
+
539
577
  def leave_organization(self) -> EmptyResponseMetadataTypeDef:
540
578
  """
541
579
  Removes a member account from its parent organization.
@@ -646,8 +684,7 @@ class OrganizationsClient(BaseClient):
646
684
  self, **kwargs: Unpack[ListHandshakesForAccountRequestTypeDef]
647
685
  ) -> ListHandshakesForAccountResponseTypeDef:
648
686
  """
649
- Lists the current handshakes that are associated with the account of the
650
- requesting user.
687
+ Lists the recent handshakes that you have received.
651
688
 
652
689
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_account.html)
653
690
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_handshakes_for_account)
@@ -657,13 +694,23 @@ class OrganizationsClient(BaseClient):
657
694
  self, **kwargs: Unpack[ListHandshakesForOrganizationRequestTypeDef]
658
695
  ) -> ListHandshakesForOrganizationResponseTypeDef:
659
696
  """
660
- Lists the handshakes that are associated with the organization that the
661
- requesting user is part of.
697
+ Lists the recent handshakes that you have sent.
662
698
 
663
699
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_organization.html)
664
700
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_handshakes_for_organization)
665
701
  """
666
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_inbound_responsibility_transfers)
712
+ """
713
+
667
714
  def list_organizational_units_for_parent(
668
715
  self, **kwargs: Unpack[ListOrganizationalUnitsForParentRequestTypeDef]
669
716
  ) -> ListOrganizationalUnitsForParentResponseTypeDef:
@@ -674,6 +721,17 @@ class OrganizationsClient(BaseClient):
674
721
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_organizational_units_for_parent)
675
722
  """
676
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_outbound_responsibility_transfers)
733
+ """
734
+
677
735
  def list_parents(
678
736
  self, **kwargs: Unpack[ListParentsRequestTypeDef]
679
737
  ) -> ListParentsResponseTypeDef:
@@ -787,6 +845,16 @@ class OrganizationsClient(BaseClient):
787
845
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#tag_resource)
788
846
  """
789
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#terminate_responsibility_transfer)
856
+ """
857
+
790
858
  def untag_resource(
791
859
  self, **kwargs: Unpack[UntagResourceRequestTypeDef]
792
860
  ) -> EmptyResponseMetadataTypeDef:
@@ -817,6 +885,16 @@ class OrganizationsClient(BaseClient):
817
885
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#update_policy)
818
886
  """
819
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#update_responsibility_transfer)
896
+ """
897
+
820
898
  @overload # type: ignore[override]
821
899
  def get_paginator( # type: ignore[override]
822
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):
@@ -147,10 +159,8 @@ if sys.version_info >= (3, 12):
147
159
  else:
148
160
  from typing_extensions import Literal, Unpack
149
161
 
150
-
151
162
  __all__ = ("OrganizationsClient",)
152
163
 
153
-
154
164
  class Exceptions(BaseClientExceptions):
155
165
  AWSOrganizationsNotInUseException: type[BotocoreClientError]
156
166
  AccessDeniedException: type[BotocoreClientError]
@@ -180,6 +190,7 @@ class Exceptions(BaseClientExceptions):
180
190
  HandshakeNotFoundException: type[BotocoreClientError]
181
191
  InvalidHandshakeTransitionException: type[BotocoreClientError]
182
192
  InvalidInputException: type[BotocoreClientError]
193
+ InvalidResponsibilityTransferTransitionException: type[BotocoreClientError]
183
194
  MalformedPolicyDocumentException: type[BotocoreClientError]
184
195
  MasterCannotLeaveOrganizationException: type[BotocoreClientError]
185
196
  OrganizationNotEmptyException: type[BotocoreClientError]
@@ -194,6 +205,8 @@ class Exceptions(BaseClientExceptions):
194
205
  PolicyTypeNotAvailableForOrganizationException: type[BotocoreClientError]
195
206
  PolicyTypeNotEnabledException: type[BotocoreClientError]
196
207
  ResourcePolicyNotFoundException: type[BotocoreClientError]
208
+ ResponsibilityTransferAlreadyInStatusException: type[BotocoreClientError]
209
+ ResponsibilityTransferNotFoundException: type[BotocoreClientError]
197
210
  RootNotFoundException: type[BotocoreClientError]
198
211
  ServiceException: type[BotocoreClientError]
199
212
  SourceParentNotFoundException: type[BotocoreClientError]
@@ -201,7 +214,6 @@ class Exceptions(BaseClientExceptions):
201
214
  TooManyRequestsException: type[BotocoreClientError]
202
215
  UnsupportedAPIEndpointException: type[BotocoreClientError]
203
216
 
204
-
205
217
  class OrganizationsClient(BaseClient):
206
218
  """
207
219
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client)
@@ -241,8 +253,7 @@ class OrganizationsClient(BaseClient):
241
253
  self, **kwargs: Unpack[AcceptHandshakeRequestTypeDef]
242
254
  ) -> AcceptHandshakeResponseTypeDef:
243
255
  """
244
- Sends a response to the originator of a handshake agreeing to the action
245
- proposed by the handshake request.
256
+ Accepts a handshake by sending an <code>ACCEPTED</code> response to the sender.
246
257
 
247
258
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/accept_handshake.html)
248
259
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#accept_handshake)
@@ -263,7 +274,7 @@ class OrganizationsClient(BaseClient):
263
274
  self, **kwargs: Unpack[CancelHandshakeRequestTypeDef]
264
275
  ) -> CancelHandshakeResponseTypeDef:
265
276
  """
266
- Cancels a handshake.
277
+ Cancels a <a>Handshake</a>.
267
278
 
268
279
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/cancel_handshake.html)
269
280
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#cancel_handshake)
@@ -335,7 +346,7 @@ class OrganizationsClient(BaseClient):
335
346
  self, **kwargs: Unpack[DeclineHandshakeRequestTypeDef]
336
347
  ) -> DeclineHandshakeResponseTypeDef:
337
348
  """
338
- Declines a handshake request.
349
+ Declines a <a>Handshake</a>.
339
350
 
340
351
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/decline_handshake.html)
341
352
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#decline_handshake)
@@ -423,7 +434,7 @@ class OrganizationsClient(BaseClient):
423
434
  self, **kwargs: Unpack[DescribeHandshakeRequestTypeDef]
424
435
  ) -> DescribeHandshakeResponseTypeDef:
425
436
  """
426
- Retrieves information about a previously requested handshake.
437
+ Returns details for a handshake.
427
438
 
428
439
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/describe_handshake.html)
429
440
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#describe_handshake)
@@ -465,6 +476,16 @@ class OrganizationsClient(BaseClient):
465
476
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#describe_resource_policy)
466
477
  """
467
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#describe_responsibility_transfer)
487
+ """
488
+
468
489
  def detach_policy(
469
490
  self, **kwargs: Unpack[DetachPolicyRequestTypeDef]
470
491
  ) -> EmptyResponseMetadataTypeDef:
@@ -539,6 +560,17 @@ class OrganizationsClient(BaseClient):
539
560
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#invite_account_to_organization)
540
561
  """
541
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#invite_organization_to_transfer_responsibility)
572
+ """
573
+
542
574
  def leave_organization(self) -> EmptyResponseMetadataTypeDef:
543
575
  """
544
576
  Removes a member account from its parent organization.
@@ -649,8 +681,7 @@ class OrganizationsClient(BaseClient):
649
681
  self, **kwargs: Unpack[ListHandshakesForAccountRequestTypeDef]
650
682
  ) -> ListHandshakesForAccountResponseTypeDef:
651
683
  """
652
- Lists the current handshakes that are associated with the account of the
653
- requesting user.
684
+ Lists the recent handshakes that you have received.
654
685
 
655
686
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_account.html)
656
687
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_handshakes_for_account)
@@ -660,13 +691,23 @@ class OrganizationsClient(BaseClient):
660
691
  self, **kwargs: Unpack[ListHandshakesForOrganizationRequestTypeDef]
661
692
  ) -> ListHandshakesForOrganizationResponseTypeDef:
662
693
  """
663
- Lists the handshakes that are associated with the organization that the
664
- requesting user is part of.
694
+ Lists the recent handshakes that you have sent.
665
695
 
666
696
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_organization.html)
667
697
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_handshakes_for_organization)
668
698
  """
669
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_inbound_responsibility_transfers)
709
+ """
710
+
670
711
  def list_organizational_units_for_parent(
671
712
  self, **kwargs: Unpack[ListOrganizationalUnitsForParentRequestTypeDef]
672
713
  ) -> ListOrganizationalUnitsForParentResponseTypeDef:
@@ -677,6 +718,17 @@ class OrganizationsClient(BaseClient):
677
718
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_organizational_units_for_parent)
678
719
  """
679
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_outbound_responsibility_transfers)
730
+ """
731
+
680
732
  def list_parents(
681
733
  self, **kwargs: Unpack[ListParentsRequestTypeDef]
682
734
  ) -> ListParentsResponseTypeDef:
@@ -790,6 +842,16 @@ class OrganizationsClient(BaseClient):
790
842
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#tag_resource)
791
843
  """
792
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#terminate_responsibility_transfer)
853
+ """
854
+
793
855
  def untag_resource(
794
856
  self, **kwargs: Unpack[UntagResourceRequestTypeDef]
795
857
  ) -> EmptyResponseMetadataTypeDef:
@@ -820,6 +882,16 @@ class OrganizationsClient(BaseClient):
820
882
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#update_policy)
821
883
  """
822
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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#update_responsibility_transfer)
893
+ """
894
+
823
895
  @overload # type: ignore[override]
824
896
  def get_paginator( # type: ignore[override]
825
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",