mypy-boto3-organizations 1.28.36__py3-none-any.whl → 1.33.0__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.
- mypy_boto3_organizations/__init__.py +1 -0
- mypy_boto3_organizations/__init__.pyi +1 -0
- mypy_boto3_organizations/__main__.py +4 -3
- mypy_boto3_organizations/client.py +47 -26
- mypy_boto3_organizations/client.pyi +121 -26
- mypy_boto3_organizations/literals.py +17 -2
- mypy_boto3_organizations/literals.pyi +17 -2
- mypy_boto3_organizations/paginator.py +1 -0
- mypy_boto3_organizations/paginator.pyi +1 -0
- mypy_boto3_organizations/type_defs.py +1 -128
- mypy_boto3_organizations/type_defs.pyi +1 -128
- mypy_boto3_organizations/version.py +2 -1
- {mypy_boto3_organizations-1.28.36.dist-info → mypy_boto3_organizations-1.33.0.dist-info}/METADATA +6 -6
- mypy_boto3_organizations-1.33.0.dist-info/RECORD +18 -0
- {mypy_boto3_organizations-1.28.36.dist-info → mypy_boto3_organizations-1.33.0.dist-info}/WHEEL +1 -1
- mypy_boto3_organizations-1.28.36.dist-info/RECORD +0 -18
- {mypy_boto3_organizations-1.28.36.dist-info → mypy_boto3_organizations-1.33.0.dist-info}/LICENSE +0 -0
- {mypy_boto3_organizations-1.28.36.dist-info → mypy_boto3_organizations-1.33.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import sys
|
|
5
6
|
|
|
6
7
|
|
|
@@ -9,8 +10,8 @@ def print_info() -> None:
|
|
|
9
10
|
Print package info to stdout.
|
|
10
11
|
"""
|
|
11
12
|
print(
|
|
12
|
-
"Type annotations for boto3.Organizations 1.
|
|
13
|
-
"
|
|
13
|
+
"Type annotations for boto3.Organizations 1.33.0\nVersion: 1.33.0\nBuilder version:"
|
|
14
|
+
" 7.20.3\nDocs: "
|
|
14
15
|
" https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations//\nBoto3 docs: "
|
|
15
16
|
" https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations\nOther"
|
|
16
17
|
" services: https://pypi.org/project/boto3-stubs/\nChangelog: "
|
|
@@ -22,7 +23,7 @@ def print_version() -> None:
|
|
|
22
23
|
"""
|
|
23
24
|
Print package version to stdout.
|
|
24
25
|
"""
|
|
25
|
-
print("1.
|
|
26
|
+
print("1.33.0")
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
def main() -> None:
|
|
@@ -13,6 +13,7 @@ Usage::
|
|
|
13
13
|
client: OrganizationsClient = session.client("organizations")
|
|
14
14
|
```
|
|
15
15
|
"""
|
|
16
|
+
|
|
16
17
|
import sys
|
|
17
18
|
from typing import Any, Dict, Mapping, Sequence, Type, overload
|
|
18
19
|
|
|
@@ -99,7 +100,7 @@ else:
|
|
|
99
100
|
__all__ = ("OrganizationsClient",)
|
|
100
101
|
|
|
101
102
|
|
|
102
|
-
class BotocoreClientError(
|
|
103
|
+
class BotocoreClientError(Exception):
|
|
103
104
|
MSG_TEMPLATE: str
|
|
104
105
|
|
|
105
106
|
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
@@ -178,7 +179,8 @@ class OrganizationsClient(BaseClient):
|
|
|
178
179
|
def accept_handshake(self, *, HandshakeId: str) -> AcceptHandshakeResponseTypeDef:
|
|
179
180
|
"""
|
|
180
181
|
Sends a response to the originator of a handshake agreeing to the action
|
|
181
|
-
proposed by the handshake
|
|
182
|
+
proposed by the handshake
|
|
183
|
+
request.
|
|
182
184
|
|
|
183
185
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.accept_handshake)
|
|
184
186
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#accept_handshake)
|
|
@@ -236,7 +238,8 @@ class OrganizationsClient(BaseClient):
|
|
|
236
238
|
) -> CreateAccountResponseTypeDef:
|
|
237
239
|
"""
|
|
238
240
|
Creates an Amazon Web Services account that is automatically a member of the
|
|
239
|
-
organization whose credentials made the
|
|
241
|
+
organization whose credentials made the
|
|
242
|
+
request.
|
|
240
243
|
|
|
241
244
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.create_account)
|
|
242
245
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#create_account)
|
|
@@ -253,7 +256,8 @@ class OrganizationsClient(BaseClient):
|
|
|
253
256
|
) -> CreateGovCloudAccountResponseTypeDef:
|
|
254
257
|
"""
|
|
255
258
|
This action is available if all of the following are true: * You're authorized
|
|
256
|
-
to create accounts in the Amazon Web Services GovCloud (US)
|
|
259
|
+
to create accounts in the Amazon Web Services GovCloud (US)
|
|
260
|
+
Region.
|
|
257
261
|
|
|
258
262
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.create_gov_cloud_account)
|
|
259
263
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#create_gov_cloud_account)
|
|
@@ -290,7 +294,8 @@ class OrganizationsClient(BaseClient):
|
|
|
290
294
|
) -> CreatePolicyResponseTypeDef:
|
|
291
295
|
"""
|
|
292
296
|
Creates a policy of a specified type that you can attach to a root, an
|
|
293
|
-
organizational unit (OU), or an individual Amazon Web Services
|
|
297
|
+
organizational unit (OU), or an individual Amazon Web Services
|
|
298
|
+
account.
|
|
294
299
|
|
|
295
300
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.create_policy)
|
|
296
301
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#create_policy)
|
|
@@ -343,7 +348,8 @@ class OrganizationsClient(BaseClient):
|
|
|
343
348
|
) -> EmptyResponseMetadataTypeDef:
|
|
344
349
|
"""
|
|
345
350
|
Removes the specified member Amazon Web Services account as a delegated
|
|
346
|
-
administrator for the specified Amazon Web Services
|
|
351
|
+
administrator for the specified Amazon Web Services
|
|
352
|
+
service.
|
|
347
353
|
|
|
348
354
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.deregister_delegated_administrator)
|
|
349
355
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#deregister_delegated_administrator)
|
|
@@ -431,7 +437,8 @@ class OrganizationsClient(BaseClient):
|
|
|
431
437
|
def disable_aws_service_access(self, *, ServicePrincipal: str) -> EmptyResponseMetadataTypeDef:
|
|
432
438
|
"""
|
|
433
439
|
Disables the integration of an Amazon Web Services service (the service that is
|
|
434
|
-
specified by `ServicePrincipal`) with
|
|
440
|
+
specified by `ServicePrincipal`) with
|
|
441
|
+
Organizations.
|
|
435
442
|
|
|
436
443
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.disable_aws_service_access)
|
|
437
444
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#disable_aws_service_access)
|
|
@@ -458,7 +465,8 @@ class OrganizationsClient(BaseClient):
|
|
|
458
465
|
def enable_aws_service_access(self, *, ServicePrincipal: str) -> EmptyResponseMetadataTypeDef:
|
|
459
466
|
"""
|
|
460
467
|
Enables the integration of an Amazon Web Services service (the service that is
|
|
461
|
-
specified by `ServicePrincipal`) with
|
|
468
|
+
specified by `ServicePrincipal`) with
|
|
469
|
+
Organizations.
|
|
462
470
|
|
|
463
471
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.enable_aws_service_access)
|
|
464
472
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#enable_aws_service_access)
|
|
@@ -521,8 +529,9 @@ class OrganizationsClient(BaseClient):
|
|
|
521
529
|
self, *, ParentId: str, NextToken: str = ..., MaxResults: int = ...
|
|
522
530
|
) -> ListAccountsForParentResponseTypeDef:
|
|
523
531
|
"""
|
|
524
|
-
Lists the accounts in an organization that are contained by the specified
|
|
525
|
-
root or organizational unit
|
|
532
|
+
Lists the accounts in an organization that are contained by the specified
|
|
533
|
+
target root or organizational unit
|
|
534
|
+
(OU).
|
|
526
535
|
|
|
527
536
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_accounts_for_parent)
|
|
528
537
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_accounts_for_parent)
|
|
@@ -532,8 +541,9 @@ class OrganizationsClient(BaseClient):
|
|
|
532
541
|
self, *, NextToken: str = ..., MaxResults: int = ...
|
|
533
542
|
) -> ListAWSServiceAccessForOrganizationResponseTypeDef:
|
|
534
543
|
"""
|
|
535
|
-
Returns a list of the Amazon Web Services services that you enabled to
|
|
536
|
-
with your
|
|
544
|
+
Returns a list of the Amazon Web Services services that you enabled to
|
|
545
|
+
integrate with your
|
|
546
|
+
organization.
|
|
537
547
|
|
|
538
548
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_aws_service_access_for_organization)
|
|
539
549
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_aws_service_access_for_organization)
|
|
@@ -549,7 +559,8 @@ class OrganizationsClient(BaseClient):
|
|
|
549
559
|
) -> ListChildrenResponseTypeDef:
|
|
550
560
|
"""
|
|
551
561
|
Lists all of the organizational units (OUs) or accounts that are contained in
|
|
552
|
-
the specified parent OU or
|
|
562
|
+
the specified parent OU or
|
|
563
|
+
root.
|
|
553
564
|
|
|
554
565
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_children)
|
|
555
566
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_children)
|
|
@@ -564,7 +575,8 @@ class OrganizationsClient(BaseClient):
|
|
|
564
575
|
) -> ListCreateAccountStatusResponseTypeDef:
|
|
565
576
|
"""
|
|
566
577
|
Lists the account creation requests that match the specified status that is
|
|
567
|
-
currently being tracked for the
|
|
578
|
+
currently being tracked for the
|
|
579
|
+
organization.
|
|
568
580
|
|
|
569
581
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_create_account_status)
|
|
570
582
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_create_account_status)
|
|
@@ -575,7 +587,8 @@ class OrganizationsClient(BaseClient):
|
|
|
575
587
|
) -> ListDelegatedAdministratorsResponseTypeDef:
|
|
576
588
|
"""
|
|
577
589
|
Lists the Amazon Web Services accounts that are designated as delegated
|
|
578
|
-
administrators in this
|
|
590
|
+
administrators in this
|
|
591
|
+
organization.
|
|
579
592
|
|
|
580
593
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_delegated_administrators)
|
|
581
594
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_delegated_administrators)
|
|
@@ -586,7 +599,8 @@ class OrganizationsClient(BaseClient):
|
|
|
586
599
|
) -> ListDelegatedServicesForAccountResponseTypeDef:
|
|
587
600
|
"""
|
|
588
601
|
List the Amazon Web Services services for which the specified account is a
|
|
589
|
-
delegated
|
|
602
|
+
delegated
|
|
603
|
+
administrator.
|
|
590
604
|
|
|
591
605
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_delegated_services_for_account)
|
|
592
606
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_delegated_services_for_account)
|
|
@@ -597,7 +611,8 @@ class OrganizationsClient(BaseClient):
|
|
|
597
611
|
) -> ListHandshakesForAccountResponseTypeDef:
|
|
598
612
|
"""
|
|
599
613
|
Lists the current handshakes that are associated with the account of the
|
|
600
|
-
requesting
|
|
614
|
+
requesting
|
|
615
|
+
user.
|
|
601
616
|
|
|
602
617
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_handshakes_for_account)
|
|
603
618
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_handshakes_for_account)
|
|
@@ -608,7 +623,8 @@ class OrganizationsClient(BaseClient):
|
|
|
608
623
|
) -> ListHandshakesForOrganizationResponseTypeDef:
|
|
609
624
|
"""
|
|
610
625
|
Lists the handshakes that are associated with the organization that the
|
|
611
|
-
requesting user is part
|
|
626
|
+
requesting user is part
|
|
627
|
+
of.
|
|
612
628
|
|
|
613
629
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_handshakes_for_organization)
|
|
614
630
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_handshakes_for_organization)
|
|
@@ -629,7 +645,8 @@ class OrganizationsClient(BaseClient):
|
|
|
629
645
|
) -> ListParentsResponseTypeDef:
|
|
630
646
|
"""
|
|
631
647
|
Lists the root or organizational units (OUs) that serve as the immediate parent
|
|
632
|
-
of the specified child OU or
|
|
648
|
+
of the specified child OU or
|
|
649
|
+
account.
|
|
633
650
|
|
|
634
651
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_parents)
|
|
635
652
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_parents)
|
|
@@ -650,7 +667,8 @@ class OrganizationsClient(BaseClient):
|
|
|
650
667
|
) -> ListPoliciesForTargetResponseTypeDef:
|
|
651
668
|
"""
|
|
652
669
|
Lists the policies that are directly attached to the specified target root,
|
|
653
|
-
organizational unit (OU), or
|
|
670
|
+
organizational unit (OU), or
|
|
671
|
+
account.
|
|
654
672
|
|
|
655
673
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_policies_for_target)
|
|
656
674
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_policies_for_target)
|
|
@@ -680,8 +698,9 @@ class OrganizationsClient(BaseClient):
|
|
|
680
698
|
self, *, PolicyId: str, NextToken: str = ..., MaxResults: int = ...
|
|
681
699
|
) -> ListTargetsForPolicyResponseTypeDef:
|
|
682
700
|
"""
|
|
683
|
-
Lists all the roots, organizational units (OUs), and accounts that the
|
|
684
|
-
policy is attached
|
|
701
|
+
Lists all the roots, organizational units (OUs), and accounts that the
|
|
702
|
+
specified policy is attached
|
|
703
|
+
to.
|
|
685
704
|
|
|
686
705
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.list_targets_for_policy)
|
|
687
706
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#list_targets_for_policy)
|
|
@@ -691,8 +710,9 @@ class OrganizationsClient(BaseClient):
|
|
|
691
710
|
self, *, AccountId: str, SourceParentId: str, DestinationParentId: str
|
|
692
711
|
) -> EmptyResponseMetadataTypeDef:
|
|
693
712
|
"""
|
|
694
|
-
Moves an account from its current source parent root or organizational unit
|
|
695
|
-
to the specified destination parent root or
|
|
713
|
+
Moves an account from its current source parent root or organizational unit
|
|
714
|
+
(OU) to the specified destination parent root or
|
|
715
|
+
OU.
|
|
696
716
|
|
|
697
717
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.move_account)
|
|
698
718
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#move_account)
|
|
@@ -712,8 +732,9 @@ class OrganizationsClient(BaseClient):
|
|
|
712
732
|
self, *, AccountId: str, ServicePrincipal: str
|
|
713
733
|
) -> EmptyResponseMetadataTypeDef:
|
|
714
734
|
"""
|
|
715
|
-
Enables the specified member account to administer the Organizations features
|
|
716
|
-
the specified Amazon Web Services
|
|
735
|
+
Enables the specified member account to administer the Organizations features
|
|
736
|
+
of the specified Amazon Web Services
|
|
737
|
+
service.
|
|
717
738
|
|
|
718
739
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/organizations.html#Organizations.Client.register_delegated_administrator)
|
|
719
740
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_organizations/client/#register_delegated_administrator)
|