types-boto3-organizations 1.40.61__py3-none-any.whl → 1.41.1__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,9 +12,9 @@ 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.40.61\n"
16
- "Version: 1.40.61\n"
17
- "Builder version: 8.11.0\n"
15
+ "Type annotations for boto3 Organizations 1.41.1\n"
16
+ "Version: 1.41.1\n"
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"
20
20
  "Other services: https://pypi.org/project/boto3-stubs/\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.40.61\n")
29
+ sys.stdout.write("1.41.1\n")
30
30
 
31
31
 
32
32
  def main() -> None:
@@ -19,6 +19,7 @@ Usage::
19
19
  from __future__ import annotations
20
20
 
21
21
  import sys
22
+ from collections.abc import Mapping
22
23
  from typing import Any, overload
23
24
 
24
25
  from botocore.client import BaseClient, ClientMeta
@@ -81,6 +82,8 @@ from .type_defs import (
81
82
  DescribePolicyRequestTypeDef,
82
83
  DescribePolicyResponseTypeDef,
83
84
  DescribeResourcePolicyResponseTypeDef,
85
+ DescribeResponsibilityTransferRequestTypeDef,
86
+ DescribeResponsibilityTransferResponseTypeDef,
84
87
  DetachPolicyRequestTypeDef,
85
88
  DisableAWSServiceAccessRequestTypeDef,
86
89
  DisablePolicyTypeRequestTypeDef,
@@ -92,6 +95,8 @@ from .type_defs import (
92
95
  EnablePolicyTypeResponseTypeDef,
93
96
  InviteAccountToOrganizationRequestTypeDef,
94
97
  InviteAccountToOrganizationResponseTypeDef,
98
+ InviteOrganizationToTransferResponsibilityRequestTypeDef,
99
+ InviteOrganizationToTransferResponsibilityResponseTypeDef,
95
100
  ListAccountsForParentRequestTypeDef,
96
101
  ListAccountsForParentResponseTypeDef,
97
102
  ListAccountsRequestTypeDef,
@@ -114,8 +119,12 @@ from .type_defs import (
114
119
  ListHandshakesForAccountResponseTypeDef,
115
120
  ListHandshakesForOrganizationRequestTypeDef,
116
121
  ListHandshakesForOrganizationResponseTypeDef,
122
+ ListInboundResponsibilityTransfersRequestTypeDef,
123
+ ListInboundResponsibilityTransfersResponseTypeDef,
117
124
  ListOrganizationalUnitsForParentRequestTypeDef,
118
125
  ListOrganizationalUnitsForParentResponseTypeDef,
126
+ ListOutboundResponsibilityTransfersRequestTypeDef,
127
+ ListOutboundResponsibilityTransfersResponseTypeDef,
119
128
  ListParentsRequestTypeDef,
120
129
  ListParentsResponseTypeDef,
121
130
  ListPoliciesForTargetRequestTypeDef,
@@ -134,18 +143,17 @@ from .type_defs import (
134
143
  RegisterDelegatedAdministratorRequestTypeDef,
135
144
  RemoveAccountFromOrganizationRequestTypeDef,
136
145
  TagResourceRequestTypeDef,
146
+ TerminateResponsibilityTransferRequestTypeDef,
147
+ TerminateResponsibilityTransferResponseTypeDef,
137
148
  UntagResourceRequestTypeDef,
138
149
  UpdateOrganizationalUnitRequestTypeDef,
139
150
  UpdateOrganizationalUnitResponseTypeDef,
140
151
  UpdatePolicyRequestTypeDef,
141
152
  UpdatePolicyResponseTypeDef,
153
+ UpdateResponsibilityTransferRequestTypeDef,
154
+ UpdateResponsibilityTransferResponseTypeDef,
142
155
  )
143
156
 
144
- if sys.version_info >= (3, 9):
145
- from builtins import type as Type
146
- from collections.abc import Mapping
147
- else:
148
- from typing import Mapping, Type
149
157
  if sys.version_info >= (3, 12):
150
158
  from typing import Literal, Unpack
151
159
  else:
@@ -156,54 +164,57 @@ __all__ = ("OrganizationsClient",)
156
164
 
157
165
 
158
166
  class Exceptions(BaseClientExceptions):
159
- AWSOrganizationsNotInUseException: Type[BotocoreClientError]
160
- AccessDeniedException: Type[BotocoreClientError]
161
- AccessDeniedForDependencyException: Type[BotocoreClientError]
162
- AccountAlreadyClosedException: Type[BotocoreClientError]
163
- AccountAlreadyRegisteredException: Type[BotocoreClientError]
164
- AccountNotFoundException: Type[BotocoreClientError]
165
- AccountNotRegisteredException: Type[BotocoreClientError]
166
- AccountOwnerNotVerifiedException: Type[BotocoreClientError]
167
- AlreadyInOrganizationException: Type[BotocoreClientError]
168
- ChildNotFoundException: Type[BotocoreClientError]
169
- ClientError: Type[BotocoreClientError]
170
- ConcurrentModificationException: Type[BotocoreClientError]
171
- ConflictException: Type[BotocoreClientError]
172
- ConstraintViolationException: Type[BotocoreClientError]
173
- CreateAccountStatusNotFoundException: Type[BotocoreClientError]
174
- DestinationParentNotFoundException: Type[BotocoreClientError]
175
- DuplicateAccountException: Type[BotocoreClientError]
176
- DuplicateHandshakeException: Type[BotocoreClientError]
177
- DuplicateOrganizationalUnitException: Type[BotocoreClientError]
178
- DuplicatePolicyAttachmentException: Type[BotocoreClientError]
179
- DuplicatePolicyException: Type[BotocoreClientError]
180
- EffectivePolicyNotFoundException: Type[BotocoreClientError]
181
- FinalizingOrganizationException: Type[BotocoreClientError]
182
- HandshakeAlreadyInStateException: Type[BotocoreClientError]
183
- HandshakeConstraintViolationException: Type[BotocoreClientError]
184
- HandshakeNotFoundException: Type[BotocoreClientError]
185
- InvalidHandshakeTransitionException: Type[BotocoreClientError]
186
- InvalidInputException: Type[BotocoreClientError]
187
- MalformedPolicyDocumentException: Type[BotocoreClientError]
188
- MasterCannotLeaveOrganizationException: Type[BotocoreClientError]
189
- OrganizationNotEmptyException: Type[BotocoreClientError]
190
- OrganizationalUnitNotEmptyException: Type[BotocoreClientError]
191
- OrganizationalUnitNotFoundException: Type[BotocoreClientError]
192
- ParentNotFoundException: Type[BotocoreClientError]
193
- PolicyChangesInProgressException: Type[BotocoreClientError]
194
- PolicyInUseException: Type[BotocoreClientError]
195
- PolicyNotAttachedException: Type[BotocoreClientError]
196
- PolicyNotFoundException: Type[BotocoreClientError]
197
- PolicyTypeAlreadyEnabledException: Type[BotocoreClientError]
198
- PolicyTypeNotAvailableForOrganizationException: Type[BotocoreClientError]
199
- PolicyTypeNotEnabledException: Type[BotocoreClientError]
200
- ResourcePolicyNotFoundException: Type[BotocoreClientError]
201
- RootNotFoundException: Type[BotocoreClientError]
202
- ServiceException: Type[BotocoreClientError]
203
- SourceParentNotFoundException: Type[BotocoreClientError]
204
- TargetNotFoundException: Type[BotocoreClientError]
205
- TooManyRequestsException: Type[BotocoreClientError]
206
- UnsupportedAPIEndpointException: Type[BotocoreClientError]
167
+ AWSOrganizationsNotInUseException: type[BotocoreClientError]
168
+ AccessDeniedException: type[BotocoreClientError]
169
+ AccessDeniedForDependencyException: type[BotocoreClientError]
170
+ AccountAlreadyClosedException: type[BotocoreClientError]
171
+ AccountAlreadyRegisteredException: type[BotocoreClientError]
172
+ AccountNotFoundException: type[BotocoreClientError]
173
+ AccountNotRegisteredException: type[BotocoreClientError]
174
+ AccountOwnerNotVerifiedException: type[BotocoreClientError]
175
+ AlreadyInOrganizationException: type[BotocoreClientError]
176
+ ChildNotFoundException: type[BotocoreClientError]
177
+ ClientError: type[BotocoreClientError]
178
+ ConcurrentModificationException: type[BotocoreClientError]
179
+ ConflictException: type[BotocoreClientError]
180
+ ConstraintViolationException: type[BotocoreClientError]
181
+ CreateAccountStatusNotFoundException: type[BotocoreClientError]
182
+ DestinationParentNotFoundException: type[BotocoreClientError]
183
+ DuplicateAccountException: type[BotocoreClientError]
184
+ DuplicateHandshakeException: type[BotocoreClientError]
185
+ DuplicateOrganizationalUnitException: type[BotocoreClientError]
186
+ DuplicatePolicyAttachmentException: type[BotocoreClientError]
187
+ DuplicatePolicyException: type[BotocoreClientError]
188
+ EffectivePolicyNotFoundException: type[BotocoreClientError]
189
+ FinalizingOrganizationException: type[BotocoreClientError]
190
+ HandshakeAlreadyInStateException: type[BotocoreClientError]
191
+ HandshakeConstraintViolationException: type[BotocoreClientError]
192
+ HandshakeNotFoundException: type[BotocoreClientError]
193
+ InvalidHandshakeTransitionException: type[BotocoreClientError]
194
+ InvalidInputException: type[BotocoreClientError]
195
+ InvalidResponsibilityTransferTransitionException: type[BotocoreClientError]
196
+ MalformedPolicyDocumentException: type[BotocoreClientError]
197
+ MasterCannotLeaveOrganizationException: type[BotocoreClientError]
198
+ OrganizationNotEmptyException: type[BotocoreClientError]
199
+ OrganizationalUnitNotEmptyException: type[BotocoreClientError]
200
+ OrganizationalUnitNotFoundException: type[BotocoreClientError]
201
+ ParentNotFoundException: type[BotocoreClientError]
202
+ PolicyChangesInProgressException: type[BotocoreClientError]
203
+ PolicyInUseException: type[BotocoreClientError]
204
+ PolicyNotAttachedException: type[BotocoreClientError]
205
+ PolicyNotFoundException: type[BotocoreClientError]
206
+ PolicyTypeAlreadyEnabledException: type[BotocoreClientError]
207
+ PolicyTypeNotAvailableForOrganizationException: type[BotocoreClientError]
208
+ PolicyTypeNotEnabledException: type[BotocoreClientError]
209
+ ResourcePolicyNotFoundException: type[BotocoreClientError]
210
+ ResponsibilityTransferAlreadyInStatusException: type[BotocoreClientError]
211
+ ResponsibilityTransferNotFoundException: type[BotocoreClientError]
212
+ RootNotFoundException: type[BotocoreClientError]
213
+ ServiceException: type[BotocoreClientError]
214
+ SourceParentNotFoundException: type[BotocoreClientError]
215
+ TargetNotFoundException: type[BotocoreClientError]
216
+ TooManyRequestsException: type[BotocoreClientError]
217
+ UnsupportedAPIEndpointException: type[BotocoreClientError]
207
218
 
208
219
 
209
220
  class OrganizationsClient(BaseClient):
@@ -245,8 +256,7 @@ class OrganizationsClient(BaseClient):
245
256
  self, **kwargs: Unpack[AcceptHandshakeRequestTypeDef]
246
257
  ) -> AcceptHandshakeResponseTypeDef:
247
258
  """
248
- Sends a response to the originator of a handshake agreeing to the action
249
- proposed by the handshake request.
259
+ Accepts a handshake by sending an <code>ACCEPTED</code> response to the sender.
250
260
 
251
261
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/accept_handshake.html)
252
262
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#accept_handshake)
@@ -267,7 +277,7 @@ class OrganizationsClient(BaseClient):
267
277
  self, **kwargs: Unpack[CancelHandshakeRequestTypeDef]
268
278
  ) -> CancelHandshakeResponseTypeDef:
269
279
  """
270
- Cancels a handshake.
280
+ Cancels a <a>Handshake</a>.
271
281
 
272
282
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/cancel_handshake.html)
273
283
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#cancel_handshake)
@@ -339,7 +349,7 @@ class OrganizationsClient(BaseClient):
339
349
  self, **kwargs: Unpack[DeclineHandshakeRequestTypeDef]
340
350
  ) -> DeclineHandshakeResponseTypeDef:
341
351
  """
342
- Declines a handshake request.
352
+ Declines a <a>Handshake</a>.
343
353
 
344
354
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/decline_handshake.html)
345
355
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#decline_handshake)
@@ -427,7 +437,7 @@ class OrganizationsClient(BaseClient):
427
437
  self, **kwargs: Unpack[DescribeHandshakeRequestTypeDef]
428
438
  ) -> DescribeHandshakeResponseTypeDef:
429
439
  """
430
- Retrieves information about a previously requested handshake.
440
+ Returns details for a handshake.
431
441
 
432
442
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/describe_handshake.html)
433
443
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#describe_handshake)
@@ -469,6 +479,16 @@ class OrganizationsClient(BaseClient):
469
479
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#describe_resource_policy)
470
480
  """
471
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
+
472
492
  def detach_policy(
473
493
  self, **kwargs: Unpack[DetachPolicyRequestTypeDef]
474
494
  ) -> EmptyResponseMetadataTypeDef:
@@ -543,6 +563,17 @@ class OrganizationsClient(BaseClient):
543
563
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#invite_account_to_organization)
544
564
  """
545
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
+
546
577
  def leave_organization(self) -> EmptyResponseMetadataTypeDef:
547
578
  """
548
579
  Removes a member account from its parent organization.
@@ -653,8 +684,7 @@ class OrganizationsClient(BaseClient):
653
684
  self, **kwargs: Unpack[ListHandshakesForAccountRequestTypeDef]
654
685
  ) -> ListHandshakesForAccountResponseTypeDef:
655
686
  """
656
- Lists the current handshakes that are associated with the account of the
657
- requesting user.
687
+ Lists the recent handshakes that you have received.
658
688
 
659
689
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_account.html)
660
690
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_handshakes_for_account)
@@ -664,13 +694,23 @@ class OrganizationsClient(BaseClient):
664
694
  self, **kwargs: Unpack[ListHandshakesForOrganizationRequestTypeDef]
665
695
  ) -> ListHandshakesForOrganizationResponseTypeDef:
666
696
  """
667
- Lists the handshakes that are associated with the organization that the
668
- requesting user is part of.
697
+ Lists the recent handshakes that you have sent.
669
698
 
670
699
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations/client/list_handshakes_for_organization.html)
671
700
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_handshakes_for_organization)
672
701
  """
673
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
+
674
714
  def list_organizational_units_for_parent(
675
715
  self, **kwargs: Unpack[ListOrganizationalUnitsForParentRequestTypeDef]
676
716
  ) -> ListOrganizationalUnitsForParentResponseTypeDef:
@@ -681,6 +721,17 @@ class OrganizationsClient(BaseClient):
681
721
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#list_organizational_units_for_parent)
682
722
  """
683
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
+
684
735
  def list_parents(
685
736
  self, **kwargs: Unpack[ListParentsRequestTypeDef]
686
737
  ) -> ListParentsResponseTypeDef:
@@ -794,6 +845,16 @@ class OrganizationsClient(BaseClient):
794
845
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#tag_resource)
795
846
  """
796
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
+
797
858
  def untag_resource(
798
859
  self, **kwargs: Unpack[UntagResourceRequestTypeDef]
799
860
  ) -> EmptyResponseMetadataTypeDef:
@@ -824,6 +885,16 @@ class OrganizationsClient(BaseClient):
824
885
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_organizations/client/#update_policy)
825
886
  """
826
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
+
827
898
  @overload # type: ignore[override]
828
899
  def get_paginator( # type: ignore[override]
829
900
  self, operation_name: Literal["list_aws_service_access_for_organization"]