aws-sdk-organizations 1.126.0 → 1.128.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -483,44 +483,37 @@ module Aws::Organizations
483
483
 
484
484
  # @!group API Operations
485
485
 
486
- # Sends a response to the originator of a handshake agreeing to the
487
- # action proposed by the handshake request.
488
- #
489
- # You can only call this operation by the following principals when they
490
- # also have the relevant IAM permissions:
491
- #
492
- # * **Invitation to join** or **Approve all features request**
493
- # handshakes: only a principal from the member account.
494
- #
495
- # The user who calls the API for an invitation to join must have the
496
- # `organizations:AcceptHandshake` permission. If you enabled all
497
- # features in the organization, the user must also have the
498
- # `iam:CreateServiceLinkedRole` permission so that Organizations can
499
- # create the required service-linked role named
500
- # `AWSServiceRoleForOrganizations`. For more information, see
501
- # [Organizations and service-linked roles][1] in the *Organizations
502
- # User Guide*.
486
+ # Accepts a handshake by sending an `ACCEPTED` response to the sender.
487
+ # You can view accepted handshakes in API responses for 30 days before
488
+ # they are deleted.
489
+ #
490
+ # **Only the management account can accept the following handshakes**:
491
+ #
492
+ # * Enable all features final confirmation (`APPROVE_ALL_FEATURES`)
493
+ #
494
+ # * Billing transfer (`TRANSFER_RESPONSIBILITY`)
495
+ #
496
+ # For more information, see [Enabling all features][1] and [Responding
497
+ # to a billing transfer invitation][2] in the *Organizations User
498
+ # Guide*.
503
499
  #
504
- # * **Enable all features final confirmation** handshake: only a
505
- # principal from the management account.
500
+ # **Only a member account can accept the following handshakes**:
506
501
  #
507
- # For more information about invitations, see [Inviting an Amazon Web
508
- # Services account to join your organization][2] in the *Organizations
509
- # User Guide*. For more information about requests to enable all
510
- # features in the organization, see [Enabling all features in your
511
- # organization][3] in the *Organizations User Guide*.
502
+ # * Invitation to join (`INVITE`)
512
503
  #
513
- # After you accept a handshake, it continues to appear in the results of
514
- # relevant APIs for only 30 days. After that, it's deleted.
504
+ # * Approve all features request (`ENABLE_ALL_FEATURES`)
515
505
  #
506
+ # For more information, see [Responding to invitations][3] and [Enabling
507
+ # all features][1] in the *Organizations User Guide*.
516
508
  #
517
509
  #
518
- # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integration_services.html#orgs_integrate_services-using_slrs
519
- # [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_invites.html
520
- # [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
510
+ #
511
+ # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/manage-begin-all-features-standard-migration.html#manage-approve-all-features-invite
512
+ # [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_transfer_billing-respond-invitation.html
513
+ # [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_accept-decline-invite.html
521
514
  #
522
515
  # @option params [required, String] :handshake_id
523
- # The unique identifier (ID) of the handshake that you want to accept.
516
+ # ID for the handshake that you want to accept.
524
517
  #
525
518
  # The [regex pattern][1] for handshake ID string requires "h-"
526
519
  # followed by from 8 to 32 lowercase letters or digits.
@@ -605,10 +598,10 @@ module Aws::Organizations
605
598
  # resp.handshake.state #=> String, one of "REQUESTED", "OPEN", "CANCELED", "ACCEPTED", "DECLINED", "EXPIRED"
606
599
  # resp.handshake.requested_timestamp #=> Time
607
600
  # resp.handshake.expiration_timestamp #=> Time
608
- # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
601
+ # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "TRANSFER_RESPONSIBILITY"
609
602
  # resp.handshake.resources #=> Array
610
603
  # resp.handshake.resources[0].value #=> String
611
- # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE"
604
+ # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE", "RESPONSIBILITY_TRANSFER", "TRANSFER_START_TIMESTAMP", "TRANSFER_TYPE", "MANAGEMENT_ACCOUNT", "MANAGEMENT_EMAIL", "MANAGEMENT_NAME"
612
605
  # resp.handshake.resources[0].resources #=> Types::HandshakeResources
613
606
  #
614
607
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AcceptHandshake AWS API Documentation
@@ -641,8 +634,10 @@ module Aws::Organizations
641
634
  #
642
635
  # * [SECURITYHUB\_POLICY][8]
643
636
  #
644
- # This operation can be called only from the organization's management
645
- # account or by a member account that is a delegated administrator.
637
+ # * [INSPECTOR\_POLICY][9]
638
+ #
639
+ # You can only call this operation from the management account or a
640
+ # member account that is a delegated administrator.
646
641
  #
647
642
  #
648
643
  #
@@ -654,11 +649,11 @@ module Aws::Organizations
654
649
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
655
650
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
656
651
  # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
652
+ # [9]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inspector.html
657
653
  #
658
654
  # @option params [required, String] :policy_id
659
- # The unique identifier (ID) of the policy that you want to attach to
660
- # the target. You can get the ID for the policy by calling the
661
- # ListPolicies operation.
655
+ # ID for the policy that you want to attach to the target. You can get
656
+ # the ID for the policy by calling the ListPolicies operation.
662
657
  #
663
658
  # The [regex pattern][1] for a policy ID string requires "p-" followed
664
659
  # by from 8 to 128 lowercase or uppercase letters, digits, or the
@@ -669,8 +664,8 @@ module Aws::Organizations
669
664
  # [1]: http://wikipedia.org/wiki/regex
670
665
  #
671
666
  # @option params [required, String] :target_id
672
- # The unique identifier (ID) of the root, OU, or account that you want
673
- # to attach the policy to. You can get the ID by calling the ListRoots,
667
+ # ID for the root, OU, or account that you want to attach the policy to.
668
+ # You can get the ID by calling the ListRoots,
674
669
  # ListOrganizationalUnitsForParent, or ListAccounts operations.
675
670
  #
676
671
  # The [regex pattern][1] for a target ID string requires one of the
@@ -727,20 +722,19 @@ module Aws::Organizations
727
722
  req.send_request(options)
728
723
  end
729
724
 
730
- # Cancels a handshake. Canceling a handshake sets the handshake state to
731
- # `CANCELED`.
725
+ # Cancels a Handshake.
732
726
  #
733
- # This operation can be called only from the account that originated the
734
- # handshake. The recipient of the handshake can't cancel it, but can
735
- # use DeclineHandshake instead. After a handshake is canceled, the
736
- # recipient can no longer respond to that handshake.
727
+ # Only the account that sent a handshake can call this operation. The
728
+ # recipient of the handshake can't cancel it, but can use
729
+ # DeclineHandshake to decline. After a handshake is canceled, the
730
+ # recipient can no longer respond to the handshake.
737
731
  #
738
- # After you cancel a handshake, it continues to appear in the results of
739
- # relevant APIs for only 30 days. After that, it's deleted.
732
+ # You can view canceled handshakes in API responses for 30 days before
733
+ # they are deleted.
740
734
  #
741
735
  # @option params [required, String] :handshake_id
742
- # The unique identifier (ID) of the handshake that you want to cancel.
743
- # You can get the ID from the ListHandshakesForOrganization operation.
736
+ # ID for the handshake that you want to cancel. You can get the ID from
737
+ # the ListHandshakesForOrganization operation.
744
738
  #
745
739
  # The [regex pattern][1] for handshake ID string requires "h-"
746
740
  # followed by from 8 to 32 lowercase letters or digits.
@@ -829,10 +823,10 @@ module Aws::Organizations
829
823
  # resp.handshake.state #=> String, one of "REQUESTED", "OPEN", "CANCELED", "ACCEPTED", "DECLINED", "EXPIRED"
830
824
  # resp.handshake.requested_timestamp #=> Time
831
825
  # resp.handshake.expiration_timestamp #=> Time
832
- # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
826
+ # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "TRANSFER_RESPONSIBILITY"
833
827
  # resp.handshake.resources #=> Array
834
828
  # resp.handshake.resources[0].value #=> String
835
- # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE"
829
+ # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE", "RESPONSIBILITY_TRANSFER", "TRANSFER_START_TIMESTAMP", "TRANSFER_TYPE", "MANAGEMENT_ACCOUNT", "MANAGEMENT_EMAIL", "MANAGEMENT_NAME"
836
830
  # resp.handshake.resources[0].resources #=> Types::HandshakeResources
837
831
  #
838
832
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CancelHandshake AWS API Documentation
@@ -948,8 +942,7 @@ module Aws::Organizations
948
942
  # Organizations clones the company name and address information for the
949
943
  # new account from the organization's management account.
950
944
  #
951
- # This operation can be called only from the organization's management
952
- # account.
945
+ # You can only call this operation from the management account.
953
946
  #
954
947
  # For more information about creating accounts, see [Creating a member
955
948
  # account in your organization][3] in the *Organizations User Guide*.
@@ -1558,7 +1551,7 @@ module Aws::Organizations
1558
1551
  # resp.organization.master_account_id #=> String
1559
1552
  # resp.organization.master_account_email #=> String
1560
1553
  # resp.organization.available_policy_types #=> Array
1561
- # resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
1554
+ # resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
1562
1555
  # resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
1563
1556
  #
1564
1557
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization AWS API Documentation
@@ -1583,16 +1576,14 @@ module Aws::Organizations
1583
1576
  # If the request includes tags, then the requester must have the
1584
1577
  # `organizations:TagResource` permission.
1585
1578
  #
1586
- # This operation can be called only from the organization's management
1587
- # account.
1579
+ # You can only call this operation from the management account.
1588
1580
  #
1589
1581
  #
1590
1582
  #
1591
1583
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html
1592
1584
  #
1593
1585
  # @option params [required, String] :parent_id
1594
- # The unique identifier (ID) of the parent root or OU that you want to
1595
- # create the new OU in.
1586
+ # ID for the parent root or OU that you want to create the new OU in.
1596
1587
  #
1597
1588
  # The [regex pattern][1] for a parent ID string requires one of the
1598
1589
  # following:
@@ -1690,8 +1681,8 @@ module Aws::Organizations
1690
1681
  # If the request includes tags, then the requester must have the
1691
1682
  # `organizations:TagResource` permission.
1692
1683
  #
1693
- # This operation can be called only from the organization's management
1694
- # account or by a member account that is a delegated administrator.
1684
+ # You can only call this operation from the management account or a
1685
+ # member account that is a delegated administrator.
1695
1686
  #
1696
1687
  #
1697
1688
  #
@@ -1743,6 +1734,8 @@ module Aws::Organizations
1743
1734
  #
1744
1735
  # * [SECURITYHUB\_POLICY][8]
1745
1736
  #
1737
+ # * [INSPECTOR\_POLICY][9]
1738
+ #
1746
1739
  #
1747
1740
  #
1748
1741
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -1753,6 +1746,7 @@ module Aws::Organizations
1753
1746
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
1754
1747
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
1755
1748
  # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
1749
+ # [9]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inspector.html
1756
1750
  #
1757
1751
  # @option params [Array<Types::Tag>] :tags
1758
1752
  # A list of tags that you want to attach to the newly created policy.
@@ -1809,7 +1803,7 @@ module Aws::Organizations
1809
1803
  # content: "PolicyContent", # required
1810
1804
  # description: "PolicyDescription", # required
1811
1805
  # name: "PolicyName", # required
1812
- # type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
1806
+ # type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY, INSPECTOR_POLICY
1813
1807
  # tags: [
1814
1808
  # {
1815
1809
  # key: "TagKey", # required
@@ -1824,7 +1818,7 @@ module Aws::Organizations
1824
1818
  # resp.policy.policy_summary.arn #=> String
1825
1819
  # resp.policy.policy_summary.name #=> String
1826
1820
  # resp.policy.policy_summary.description #=> String
1827
- # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
1821
+ # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
1828
1822
  # resp.policy.policy_summary.aws_managed #=> Boolean
1829
1823
  # resp.policy.content #=> String
1830
1824
  #
@@ -1837,20 +1831,18 @@ module Aws::Organizations
1837
1831
  req.send_request(options)
1838
1832
  end
1839
1833
 
1840
- # Declines a handshake request. This sets the handshake state to
1841
- # `DECLINED` and effectively deactivates the request.
1834
+ # Declines a Handshake.
1842
1835
  #
1843
- # This operation can be called only from the account that received the
1844
- # handshake. The originator of the handshake can use CancelHandshake
1845
- # instead. The originator can't reactivate a declined request, but can
1846
- # reinitiate the process with a new handshake request.
1836
+ # Only the account that receives a handshake can call this operation.
1837
+ # The sender of the handshake can use CancelHandshake to cancel if the
1838
+ # handshake hasn't yet been responded to.
1847
1839
  #
1848
- # After you decline a handshake, it continues to appear in the results
1849
- # of relevant APIs for only 30 days. After that, it's deleted.
1840
+ # You can view canceled handshakes in API responses for 30 days before
1841
+ # they are deleted.
1850
1842
  #
1851
1843
  # @option params [required, String] :handshake_id
1852
- # The unique identifier (ID) of the handshake that you want to decline.
1853
- # You can get the ID from the ListHandshakesForAccount operation.
1844
+ # ID for the handshake that you want to decline. You can get the ID from
1845
+ # the ListHandshakesForAccount operation.
1854
1846
  #
1855
1847
  # The [regex pattern][1] for handshake ID string requires "h-"
1856
1848
  # followed by from 8 to 32 lowercase letters or digits.
@@ -1935,10 +1927,10 @@ module Aws::Organizations
1935
1927
  # resp.handshake.state #=> String, one of "REQUESTED", "OPEN", "CANCELED", "ACCEPTED", "DECLINED", "EXPIRED"
1936
1928
  # resp.handshake.requested_timestamp #=> Time
1937
1929
  # resp.handshake.expiration_timestamp #=> Time
1938
- # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
1930
+ # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "TRANSFER_RESPONSIBILITY"
1939
1931
  # resp.handshake.resources #=> Array
1940
1932
  # resp.handshake.resources[0].value #=> String
1941
- # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE"
1933
+ # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE", "RESPONSIBILITY_TRANSFER", "TRANSFER_START_TIMESTAMP", "TRANSFER_TYPE", "MANAGEMENT_ACCOUNT", "MANAGEMENT_EMAIL", "MANAGEMENT_NAME"
1942
1934
  # resp.handshake.resources[0].resources #=> Types::HandshakeResources
1943
1935
  #
1944
1936
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeclineHandshake AWS API Documentation
@@ -1969,13 +1961,11 @@ module Aws::Organizations
1969
1961
  # must first remove all accounts and child OUs from the OU that you want
1970
1962
  # to delete.
1971
1963
  #
1972
- # This operation can be called only from the organization's management
1973
- # account.
1964
+ # You can only call this operation from the management account.
1974
1965
  #
1975
1966
  # @option params [required, String] :organizational_unit_id
1976
- # The unique identifier (ID) of the organizational unit that you want to
1977
- # delete. You can get the ID from the ListOrganizationalUnitsForParent
1978
- # operation.
1967
+ # ID for the organizational unit that you want to delete. You can get
1968
+ # the ID from the ListOrganizationalUnitsForParent operation.
1979
1969
  #
1980
1970
  # The [regex pattern][1] for an organizational unit ID string requires
1981
1971
  # "ou-" followed by from 4 to 32 lowercase letters or digits (the ID
@@ -2017,13 +2007,12 @@ module Aws::Organizations
2017
2007
  # perform this operation, you must first detach the policy from all
2018
2008
  # organizational units (OUs), roots, and accounts.
2019
2009
  #
2020
- # This operation can be called only from the organization's management
2021
- # account or by a member account that is a delegated administrator.
2010
+ # You can only call this operation from the management account or a
2011
+ # member account that is a delegated administrator.
2022
2012
  #
2023
2013
  # @option params [required, String] :policy_id
2024
- # The unique identifier (ID) of the policy that you want to delete. You
2025
- # can get the ID from the ListPolicies or ListPoliciesForTarget
2026
- # operations.
2014
+ # ID for the policy that you want to delete. You can get the ID from the
2015
+ # ListPolicies or ListPoliciesForTarget operations.
2027
2016
  #
2028
2017
  # The [regex pattern][1] for a policy ID string requires "p-" followed
2029
2018
  # by from 8 to 128 lowercase or uppercase letters, digits, or the
@@ -2062,8 +2051,7 @@ module Aws::Organizations
2062
2051
 
2063
2052
  # Deletes the resource policy from your organization.
2064
2053
  #
2065
- # This operation can be called only from the organization's management
2066
- # account.
2054
+ # You can only call this operation from the management account.
2067
2055
  #
2068
2056
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2069
2057
  #
@@ -2090,8 +2078,7 @@ module Aws::Organizations
2090
2078
  # [Amazon Web Services Services that you can use with Organizations][1]
2091
2079
  # in the *Organizations User Guide.*
2092
2080
  #
2093
- # This operation can be called only from the organization's management
2094
- # account.
2081
+ # You can only call this operation from the management account.
2095
2082
  #
2096
2083
  #
2097
2084
  #
@@ -2132,8 +2119,8 @@ module Aws::Organizations
2132
2119
  # Retrieves Organizations-related information about the specified
2133
2120
  # account.
2134
2121
  #
2135
- # This operation can be called only from the organization's management
2136
- # account or by a member account that is a delegated administrator.
2122
+ # You can only call this operation from the management account or a
2123
+ # member account that is a delegated administrator.
2137
2124
  #
2138
2125
  # @option params [required, String] :account_id
2139
2126
  # The unique identifier (ID) of the Amazon Web Services account that you
@@ -2199,8 +2186,8 @@ module Aws::Organizations
2199
2186
  # Retrieves the current status of an asynchronous request to create an
2200
2187
  # account.
2201
2188
  #
2202
- # This operation can be called only from the organization's management
2203
- # account or by a member account that is a delegated administrator.
2189
+ # You can only call this operation from the management account or a
2190
+ # member account that is a delegated administrator.
2204
2191
  #
2205
2192
  # @option params [required, String] :create_account_request_id
2206
2193
  # Specifies the `Id` value that uniquely identifies the `CreateAccount`
@@ -2277,7 +2264,7 @@ module Aws::Organizations
2277
2264
  # For more information about policy inheritance, see [Understanding
2278
2265
  # management policy inheritance][1] in the *Organizations User Guide*.
2279
2266
  #
2280
- # This operation can be called from any account in the organization.
2267
+ # You can call this operation from any account in a organization.
2281
2268
  #
2282
2269
  #
2283
2270
  #
@@ -2299,6 +2286,8 @@ module Aws::Organizations
2299
2286
  #
2300
2287
  # * [SECURITYHUB\_POLICY][6]
2301
2288
  #
2289
+ # * [INSPECTOR\_POLICY][7]
2290
+ #
2302
2291
  #
2303
2292
  #
2304
2293
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
@@ -2307,6 +2296,7 @@ module Aws::Organizations
2307
2296
  # [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
2308
2297
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
2309
2298
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
2299
+ # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inspector.html
2310
2300
  #
2311
2301
  # @option params [String] :target_id
2312
2302
  # When you're signed in as the management account, specify the ID of
@@ -2320,7 +2310,7 @@ module Aws::Organizations
2320
2310
  # @example Request syntax with placeholder values
2321
2311
  #
2322
2312
  # resp = client.describe_effective_policy({
2323
- # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
2313
+ # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY, INSPECTOR_POLICY
2324
2314
  # target_id: "PolicyTargetId",
2325
2315
  # })
2326
2316
  #
@@ -2329,7 +2319,7 @@ module Aws::Organizations
2329
2319
  # resp.effective_policy.policy_content #=> String
2330
2320
  # resp.effective_policy.last_updated_timestamp #=> Time
2331
2321
  # resp.effective_policy.target_id #=> String
2332
- # resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
2322
+ # resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
2333
2323
  #
2334
2324
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy AWS API Documentation
2335
2325
  #
@@ -2340,21 +2330,17 @@ module Aws::Organizations
2340
2330
  req.send_request(options)
2341
2331
  end
2342
2332
 
2343
- # Retrieves information about a previously requested handshake. The
2344
- # handshake ID comes from the response to the original
2345
- # InviteAccountToOrganization operation that generated the handshake.
2333
+ # Returns details for a handshake. A handshake is the secure exchange of
2334
+ # information between two Amazon Web Services accounts: a sender and a
2335
+ # recipient.
2346
2336
  #
2347
- # You can access handshakes that are `ACCEPTED`, `DECLINED`, or
2348
- # `CANCELED` for only 30 days after they change to that state. They're
2349
- # then deleted and no longer accessible.
2337
+ # You can view `ACCEPTED`, `DECLINED`, or `CANCELED` handshakes in API
2338
+ # Responses for 30 days before they are deleted.
2350
2339
  #
2351
- # This operation can be called from any account in the organization.
2340
+ # You can call this operation from any account in a organization.
2352
2341
  #
2353
2342
  # @option params [required, String] :handshake_id
2354
- # The unique identifier (ID) of the handshake that you want information
2355
- # about. You can get the ID from the original call to
2356
- # InviteAccountToOrganization, or from a call to
2357
- # ListHandshakesForAccount or ListHandshakesForOrganization.
2343
+ # ID for the handshake that you want information about.
2358
2344
  #
2359
2345
  # The [regex pattern][1] for handshake ID string requires "h-"
2360
2346
  # followed by from 8 to 32 lowercase letters or digits.
@@ -2436,10 +2422,10 @@ module Aws::Organizations
2436
2422
  # resp.handshake.state #=> String, one of "REQUESTED", "OPEN", "CANCELED", "ACCEPTED", "DECLINED", "EXPIRED"
2437
2423
  # resp.handshake.requested_timestamp #=> Time
2438
2424
  # resp.handshake.expiration_timestamp #=> Time
2439
- # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
2425
+ # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "TRANSFER_RESPONSIBILITY"
2440
2426
  # resp.handshake.resources #=> Array
2441
2427
  # resp.handshake.resources[0].value #=> String
2442
- # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE"
2428
+ # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE", "RESPONSIBILITY_TRANSFER", "TRANSFER_START_TIMESTAMP", "TRANSFER_TYPE", "MANAGEMENT_ACCOUNT", "MANAGEMENT_EMAIL", "MANAGEMENT_NAME"
2443
2429
  # resp.handshake.resources[0].resources #=> Types::HandshakeResources
2444
2430
  #
2445
2431
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeHandshake AWS API Documentation
@@ -2454,7 +2440,7 @@ module Aws::Organizations
2454
2440
  # Retrieves information about the organization that the user's account
2455
2441
  # belongs to.
2456
2442
  #
2457
- # This operation can be called from any account in the organization.
2443
+ # You can call this operation from any account in a organization.
2458
2444
  #
2459
2445
  # <note markdown="1"> Even if a policy type is shown as available in the organization, you
2460
2446
  # can disable it separately at the root level with DisablePolicyType.
@@ -2500,7 +2486,7 @@ module Aws::Organizations
2500
2486
  # resp.organization.master_account_id #=> String
2501
2487
  # resp.organization.master_account_email #=> String
2502
2488
  # resp.organization.available_policy_types #=> Array
2503
- # resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
2489
+ # resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
2504
2490
  # resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
2505
2491
  #
2506
2492
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization AWS API Documentation
@@ -2514,13 +2500,12 @@ module Aws::Organizations
2514
2500
 
2515
2501
  # Retrieves information about an organizational unit (OU).
2516
2502
  #
2517
- # This operation can be called only from the organization's management
2518
- # account or by a member account that is a delegated administrator.
2503
+ # You can only call this operation from the management account or a
2504
+ # member account that is a delegated administrator.
2519
2505
  #
2520
2506
  # @option params [required, String] :organizational_unit_id
2521
- # The unique identifier (ID) of the organizational unit that you want
2522
- # details about. You can get the ID from the
2523
- # ListOrganizationalUnitsForParent operation.
2507
+ # ID for the organizational unit that you want details about. You can
2508
+ # get the ID from the ListOrganizationalUnitsForParent operation.
2524
2509
  #
2525
2510
  # The [regex pattern][1] for an organizational unit ID string requires
2526
2511
  # "ou-" followed by from 4 to 32 lowercase letters or digits (the ID
@@ -2576,13 +2561,12 @@ module Aws::Organizations
2576
2561
 
2577
2562
  # Retrieves information about a policy.
2578
2563
  #
2579
- # This operation can be called only from the organization's management
2580
- # account or by a member account that is a delegated administrator.
2564
+ # You can only call this operation from the management account or a
2565
+ # member account that is a delegated administrator.
2581
2566
  #
2582
2567
  # @option params [required, String] :policy_id
2583
- # The unique identifier (ID) of the policy that you want details about.
2584
- # You can get the ID from the ListPolicies or ListPoliciesForTarget
2585
- # operations.
2568
+ # ID for the policy that you want details about. You can get the ID from
2569
+ # the ListPolicies or ListPoliciesForTarget operations.
2586
2570
  #
2587
2571
  # The [regex pattern][1] for a policy ID string requires "p-" followed
2588
2572
  # by from 8 to 128 lowercase or uppercase letters, digits, or the
@@ -2632,7 +2616,7 @@ module Aws::Organizations
2632
2616
  # resp.policy.policy_summary.arn #=> String
2633
2617
  # resp.policy.policy_summary.name #=> String
2634
2618
  # resp.policy.policy_summary.description #=> String
2635
- # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
2619
+ # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
2636
2620
  # resp.policy.policy_summary.aws_managed #=> Boolean
2637
2621
  # resp.policy.content #=> String
2638
2622
  #
@@ -2647,8 +2631,8 @@ module Aws::Organizations
2647
2631
 
2648
2632
  # Retrieves information about a resource policy.
2649
2633
  #
2650
- # This operation can be called only from the organization's management
2651
- # account or by a member account that is a delegated administrator.
2634
+ # You can only call this operation from the management account or a
2635
+ # member account that is a delegated administrator.
2652
2636
  #
2653
2637
  # @return [Types::DescribeResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2654
2638
  #
@@ -2669,6 +2653,77 @@ module Aws::Organizations
2669
2653
  req.send_request(options)
2670
2654
  end
2671
2655
 
2656
+ # Returns details for a transfer. A *transfer* is an arrangement between
2657
+ # two management accounts where one account designates the other with
2658
+ # specified responsibilities for their organization.
2659
+ #
2660
+ # @option params [required, String] :id
2661
+ # ID for the transfer.
2662
+ #
2663
+ # @return [Types::DescribeResponsibilityTransferResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2664
+ #
2665
+ # * {Types::DescribeResponsibilityTransferResponse#responsibility_transfer #responsibility_transfer} => Types::ResponsibilityTransfer
2666
+ #
2667
+ #
2668
+ # @example Example: To get information about a transfer
2669
+ #
2670
+ # # The following example shows how to request information about a transfer:/n/n
2671
+ #
2672
+ # resp = client.describe_responsibility_transfer({
2673
+ # id: "rt-exampletransferid222",
2674
+ # })
2675
+ #
2676
+ # resp.to_h outputs the following:
2677
+ # {
2678
+ # responsibility_transfer: {
2679
+ # arn: "arn:aws:organizations::222222222222:transfer/o-exampleorgid222/billing/outbound/rt-exampletransferid222",
2680
+ # end_timestamp: Time.parse("2026-01-31T23:59:59+00:00"),
2681
+ # id: "rt-exampletransferid222",
2682
+ # name: "sample transfer",
2683
+ # source: {
2684
+ # management_account_email: "alice@example.com",
2685
+ # management_account_id: "222222222222",
2686
+ # },
2687
+ # start_timestamp: Time.parse("2026-01-01T00:00:00+00:00"),
2688
+ # status: "WITHDRAWN",
2689
+ # target: {
2690
+ # management_account_email: "juan@example.com",
2691
+ # management_account_id: "333333333333",
2692
+ # },
2693
+ # type: "BILLING",
2694
+ # },
2695
+ # }
2696
+ #
2697
+ # @example Request syntax with placeholder values
2698
+ #
2699
+ # resp = client.describe_responsibility_transfer({
2700
+ # id: "ResponsibilityTransferId", # required
2701
+ # })
2702
+ #
2703
+ # @example Response structure
2704
+ #
2705
+ # resp.responsibility_transfer.arn #=> String
2706
+ # resp.responsibility_transfer.name #=> String
2707
+ # resp.responsibility_transfer.id #=> String
2708
+ # resp.responsibility_transfer.type #=> String, one of "BILLING"
2709
+ # resp.responsibility_transfer.status #=> String, one of "REQUESTED", "DECLINED", "CANCELED", "EXPIRED", "ACCEPTED", "WITHDRAWN"
2710
+ # resp.responsibility_transfer.source.management_account_id #=> String
2711
+ # resp.responsibility_transfer.source.management_account_email #=> String
2712
+ # resp.responsibility_transfer.target.management_account_id #=> String
2713
+ # resp.responsibility_transfer.target.management_account_email #=> String
2714
+ # resp.responsibility_transfer.start_timestamp #=> Time
2715
+ # resp.responsibility_transfer.end_timestamp #=> Time
2716
+ # resp.responsibility_transfer.active_handshake_id #=> String
2717
+ #
2718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeResponsibilityTransfer AWS API Documentation
2719
+ #
2720
+ # @overload describe_responsibility_transfer(params = {})
2721
+ # @param [Hash] params ({})
2722
+ def describe_responsibility_transfer(params = {}, options = {})
2723
+ req = build_request(:describe_responsibility_transfer, params)
2724
+ req.send_request(options)
2725
+ end
2726
+
2672
2727
  # Detaches a policy from a target root, organizational unit (OU), or
2673
2728
  # account.
2674
2729
  #
@@ -2687,8 +2742,8 @@ module Aws::Organizations
2687
2742
  # attached SCP), you're using the authorization strategy of a "[deny
2688
2743
  # list][2]".
2689
2744
  #
2690
- # This operation can be called only from the organization's management
2691
- # account or by a member account that is a delegated administrator.
2745
+ # You can only call this operation from the management account or a
2746
+ # member account that is a delegated administrator.
2692
2747
  #
2693
2748
  #
2694
2749
  #
@@ -2696,8 +2751,8 @@ module Aws::Organizations
2696
2751
  # [2]: https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_denylist
2697
2752
  #
2698
2753
  # @option params [required, String] :policy_id
2699
- # The unique identifier (ID) of the policy you want to detach. You can
2700
- # get the ID from the ListPolicies or ListPoliciesForTarget operations.
2754
+ # ID for the policy you want to detach. You can get the ID from the
2755
+ # ListPolicies or ListPoliciesForTarget operations.
2701
2756
  #
2702
2757
  # The [regex pattern][1] for a policy ID string requires "p-" followed
2703
2758
  # by from 8 to 128 lowercase or uppercase letters, digits, or the
@@ -2708,8 +2763,8 @@ module Aws::Organizations
2708
2763
  # [1]: http://wikipedia.org/wiki/regex
2709
2764
  #
2710
2765
  # @option params [required, String] :target_id
2711
- # The unique identifier (ID) of the root, OU, or account that you want
2712
- # to detach the policy from. You can get the ID from the ListRoots,
2766
+ # ID for the root, OU, or account that you want to detach the policy
2767
+ # from. You can get the ID from the ListRoots,
2713
2768
  # ListOrganizationalUnitsForParent, or ListAccounts operations.
2714
2769
  #
2715
2770
  # The [regex pattern][1] for a target ID string requires one of the
@@ -2817,8 +2872,7 @@ module Aws::Organizations
2817
2872
  # Organizations, see [Using Organizations with other Amazon Web Services
2818
2873
  # services][3] in the *Organizations User Guide*.
2819
2874
  #
2820
- # This operation can be called only from the organization's management
2821
- # account.
2875
+ # You can only call this operation from the management account.
2822
2876
  #
2823
2877
  #
2824
2878
  #
@@ -2863,8 +2917,8 @@ module Aws::Organizations
2863
2917
  # use ListRoots to see the status of policy types for a specified root,
2864
2918
  # and then use this operation.
2865
2919
  #
2866
- # This operation can be called only from the organization's management
2867
- # account or by a member account that is a delegated administrator.
2920
+ # You can only call this operation from the management account or a
2921
+ # member account that is a delegated administrator.
2868
2922
  #
2869
2923
  # To view the status of available policy types in the organization, use
2870
2924
  # ListRoots.
@@ -2874,8 +2928,8 @@ module Aws::Organizations
2874
2928
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
2875
2929
  #
2876
2930
  # @option params [required, String] :root_id
2877
- # The unique identifier (ID) of the root in which you want to disable a
2878
- # policy type. You can get the ID from the ListRoots operation.
2931
+ # ID for the root in which you want to disable a policy type. You can
2932
+ # get the ID from the ListRoots operation.
2879
2933
  #
2880
2934
  # The [regex pattern][1] for a root ID string requires "r-" followed
2881
2935
  # by from 4 to 32 lowercase letters or digits.
@@ -2904,6 +2958,8 @@ module Aws::Organizations
2904
2958
  #
2905
2959
  # * [SECURITYHUB\_POLICY][8]
2906
2960
  #
2961
+ # * [INSPECTOR\_POLICY][9]
2962
+ #
2907
2963
  #
2908
2964
  #
2909
2965
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -2914,6 +2970,7 @@ module Aws::Organizations
2914
2970
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
2915
2971
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
2916
2972
  # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
2973
+ # [9]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inspector.html
2917
2974
  #
2918
2975
  # @return [Types::DisablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2919
2976
  #
@@ -2945,7 +3002,7 @@ module Aws::Organizations
2945
3002
  #
2946
3003
  # resp = client.disable_policy_type({
2947
3004
  # root_id: "RootId", # required
2948
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
3005
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY, INSPECTOR_POLICY
2949
3006
  # })
2950
3007
  #
2951
3008
  # @example Response structure
@@ -2954,7 +3011,7 @@ module Aws::Organizations
2954
3011
  # resp.root.arn #=> String
2955
3012
  # resp.root.name #=> String
2956
3013
  # resp.root.policy_types #=> Array
2957
- # resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
3014
+ # resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
2958
3015
  # resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
2959
3016
  #
2960
3017
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType AWS API Documentation
@@ -2987,8 +3044,7 @@ module Aws::Organizations
2987
3044
  # Organizations, see [Using Organizations with other Amazon Web Services
2988
3045
  # services][2] in the *Organizations User Guide*.
2989
3046
  #
2990
- # This operation can be called only from the organization's management
2991
- # account.
3047
+ # You can only call this operation from the management account.
2992
3048
  #
2993
3049
  #
2994
3050
  #
@@ -3049,8 +3105,7 @@ module Aws::Organizations
3049
3105
  # prevent accounts from leaving the organization. Ensure that your
3050
3106
  # account administrators are aware of this.
3051
3107
  #
3052
- # This operation can be called only from the organization's management
3053
- # account.
3108
+ # You can only call this operation from the management account.
3054
3109
  #
3055
3110
  #
3056
3111
  #
@@ -3106,10 +3161,10 @@ module Aws::Organizations
3106
3161
  # resp.handshake.state #=> String, one of "REQUESTED", "OPEN", "CANCELED", "ACCEPTED", "DECLINED", "EXPIRED"
3107
3162
  # resp.handshake.requested_timestamp #=> Time
3108
3163
  # resp.handshake.expiration_timestamp #=> Time
3109
- # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
3164
+ # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "TRANSFER_RESPONSIBILITY"
3110
3165
  # resp.handshake.resources #=> Array
3111
3166
  # resp.handshake.resources[0].value #=> String
3112
- # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE"
3167
+ # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE", "RESPONSIBILITY_TRANSFER", "TRANSFER_START_TIMESTAMP", "TRANSFER_TYPE", "MANAGEMENT_ACCOUNT", "MANAGEMENT_EMAIL", "MANAGEMENT_NAME"
3113
3168
  # resp.handshake.resources[0].resources #=> Types::HandshakeResources
3114
3169
  #
3115
3170
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAllFeatures AWS API Documentation
@@ -3131,16 +3186,16 @@ module Aws::Organizations
3131
3186
  # ListRoots to see the status of policy types for a specified root, and
3132
3187
  # then use this operation.
3133
3188
  #
3134
- # This operation can be called only from the organization's management
3135
- # account or by a member account that is a delegated administrator.
3189
+ # You can only call this operation from the management account or a
3190
+ # member account that is a delegated administrator.
3136
3191
  #
3137
3192
  # You can enable a policy type in a root only if that policy type is
3138
3193
  # available in the organization. To view the status of available policy
3139
3194
  # types in the organization, use ListRoots.
3140
3195
  #
3141
3196
  # @option params [required, String] :root_id
3142
- # The unique identifier (ID) of the root in which you want to enable a
3143
- # policy type. You can get the ID from the ListRoots operation.
3197
+ # ID for the root in which you want to enable a policy type. You can get
3198
+ # the ID from the ListRoots operation.
3144
3199
  #
3145
3200
  # The [regex pattern][1] for a root ID string requires "r-" followed
3146
3201
  # by from 4 to 32 lowercase letters or digits.
@@ -3169,6 +3224,8 @@ module Aws::Organizations
3169
3224
  #
3170
3225
  # * [SECURITYHUB\_POLICY][8]
3171
3226
  #
3227
+ # * [INSPECTOR\_POLICY][9]
3228
+ #
3172
3229
  #
3173
3230
  #
3174
3231
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -3179,6 +3236,7 @@ module Aws::Organizations
3179
3236
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
3180
3237
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
3181
3238
  # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
3239
+ # [9]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inspector.html
3182
3240
  #
3183
3241
  # @return [Types::EnablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3184
3242
  #
@@ -3214,7 +3272,7 @@ module Aws::Organizations
3214
3272
  #
3215
3273
  # resp = client.enable_policy_type({
3216
3274
  # root_id: "RootId", # required
3217
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
3275
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY, INSPECTOR_POLICY
3218
3276
  # })
3219
3277
  #
3220
3278
  # @example Response structure
@@ -3223,7 +3281,7 @@ module Aws::Organizations
3223
3281
  # resp.root.arn #=> String
3224
3282
  # resp.root.name #=> String
3225
3283
  # resp.root.policy_types #=> Array
3226
- # resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
3284
+ # resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
3227
3285
  # resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
3228
3286
  #
3229
3287
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType AWS API Documentation
@@ -3250,8 +3308,7 @@ module Aws::Organizations
3250
3308
  # If the request includes tags, then the requester must have the
3251
3309
  # `organizations:TagResource` permission.
3252
3310
  #
3253
- # This operation can be called only from the organization's management
3254
- # account.
3311
+ # You can only call this operation from the management account.
3255
3312
  #
3256
3313
  #
3257
3314
  #
@@ -3397,10 +3454,10 @@ module Aws::Organizations
3397
3454
  # resp.handshake.state #=> String, one of "REQUESTED", "OPEN", "CANCELED", "ACCEPTED", "DECLINED", "EXPIRED"
3398
3455
  # resp.handshake.requested_timestamp #=> Time
3399
3456
  # resp.handshake.expiration_timestamp #=> Time
3400
- # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
3457
+ # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "TRANSFER_RESPONSIBILITY"
3401
3458
  # resp.handshake.resources #=> Array
3402
3459
  # resp.handshake.resources[0].value #=> String
3403
- # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE"
3460
+ # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE", "RESPONSIBILITY_TRANSFER", "TRANSFER_START_TIMESTAMP", "TRANSFER_TYPE", "MANAGEMENT_ACCOUNT", "MANAGEMENT_EMAIL", "MANAGEMENT_NAME"
3404
3461
  # resp.handshake.resources[0].resources #=> Types::HandshakeResources
3405
3462
  #
3406
3463
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/InviteAccountToOrganization AWS API Documentation
@@ -3412,13 +3469,188 @@ module Aws::Organizations
3412
3469
  req.send_request(options)
3413
3470
  end
3414
3471
 
3472
+ # Sends an invitation to another organization's management account to
3473
+ # designate your account with the specified responsibilities for their
3474
+ # organization. The invitation is implemented as a Handshake whose
3475
+ # details are in the response.
3476
+ #
3477
+ # You can only call this operation from the management account.
3478
+ #
3479
+ # @option params [required, String] :type
3480
+ # The type of responsibility you want to designate to your organization.
3481
+ # Currently, only `BILLING` is supported.
3482
+ #
3483
+ # @option params [required, Types::HandshakeParty] :target
3484
+ # A `HandshakeParty` object. Contains details for the account you want
3485
+ # to invite. Currently, only `ACCOUNT` and `EMAIL` are supported.
3486
+ #
3487
+ # @option params [String] :notes
3488
+ # Additional information that you want to include in the invitation.
3489
+ #
3490
+ # @option params [required, Time,DateTime,Date,Integer,String] :start_timestamp
3491
+ # Timestamp when the recipient will begin managing the specified
3492
+ # responsibilities.
3493
+ #
3494
+ # @option params [required, String] :source_name
3495
+ # Name you want to assign to the transfer.
3496
+ #
3497
+ # @option params [Array<Types::Tag>] :tags
3498
+ # A list of tags that you want to attach to the transfer. For each tag
3499
+ # in the list, you must specify both a tag key and a value. You can set
3500
+ # the value to an empty string, but you can't set it to `null`. For
3501
+ # more information about tagging, see [Tagging Organizations
3502
+ # resources][1] in the Organizations User Guide.
3503
+ #
3504
+ # Any tags in the request are checked for compliance with any applicable
3505
+ # tag policies when the request is made. The request is rejected if the
3506
+ # tags in the request don't match the requirements of the policy at
3507
+ # that time. Tag policy compliance is <i> <b>not</b> </i> checked again
3508
+ # when the invitation is accepted and the tags are actually attached to
3509
+ # the transfer. That means that if the tag policy changes between the
3510
+ # invitation and the acceptance, then that tags could potentially be
3511
+ # non-compliant.
3512
+ #
3513
+ # <note markdown="1"> If any one of the tags is not valid or if you exceed the allowed
3514
+ # number of tags for a transfer, then the entire request fails and
3515
+ # invitations are not sent.
3516
+ #
3517
+ # </note>
3518
+ #
3519
+ #
3520
+ #
3521
+ # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html
3522
+ #
3523
+ # @return [Types::InviteOrganizationToTransferResponsibilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3524
+ #
3525
+ # * {Types::InviteOrganizationToTransferResponsibilityResponse#handshake #handshake} => Types::Handshake
3526
+ #
3527
+ #
3528
+ # @example Example: To invite an organization to transfer responsibility
3529
+ #
3530
+ # # The following example shows the management account owned by diego@example.com inviting the management account owned by
3531
+ # # juan@example.com to transfer responsibility.
3532
+ #
3533
+ # resp = client.invite_organization_to_transfer_responsibility({
3534
+ # notes: "transfer notes",
3535
+ # source_name: "transfer name",
3536
+ # start_timestamp: Time.parse("1767225600"),
3537
+ # target: {
3538
+ # id: "juan@example.com",
3539
+ # type: "EMAIL",
3540
+ # },
3541
+ # type: "BILLING",
3542
+ # })
3543
+ #
3544
+ # resp.to_h outputs the following:
3545
+ # {
3546
+ # handshake: {
3547
+ # action: "TRANSFER_RESPONSIBILITY",
3548
+ # arn: "arn:aws:organizations::111111111111:handshake/o-exampleorgid/transfer_responsibility/h-examplehandshakeid111",
3549
+ # expiration_timestamp: Time.parse("2025-12-31T00:00:00+00:00"),
3550
+ # id: "h-examplehandshakeid111",
3551
+ # parties: [
3552
+ # {
3553
+ # id: "o-exampleorgid",
3554
+ # type: "ORGANIZATION",
3555
+ # },
3556
+ # {
3557
+ # id: "juan@example.com",
3558
+ # type: "EMAIL",
3559
+ # },
3560
+ # ],
3561
+ # requested_timestamp: Time.parse("2025-10-21T04:27:19+00:00"),
3562
+ # resources: [
3563
+ # {
3564
+ # resources: [
3565
+ # {
3566
+ # type: "TRANSFER_START_TIMESTAMP",
3567
+ # value: "1767225600",
3568
+ # },
3569
+ # {
3570
+ # type: "TRANSFER_TYPE",
3571
+ # value: "BILLING",
3572
+ # },
3573
+ # ],
3574
+ # type: "RESPONSIBILITY_TRANSFER",
3575
+ # value: "rt-exampletransferid111",
3576
+ # },
3577
+ # {
3578
+ # resources: [
3579
+ # {
3580
+ # type: "MANAGEMENT_EMAIL",
3581
+ # value: "diego@example.com",
3582
+ # },
3583
+ # {
3584
+ # type: "MANAGEMENT_NAME",
3585
+ # value: "Org management account",
3586
+ # },
3587
+ # {
3588
+ # type: "MANAGEMENT_ACCOUNT",
3589
+ # value: "&ExampleAccountId3;",
3590
+ # },
3591
+ # ],
3592
+ # type: "ORGANIZATION",
3593
+ # value: "o-exampleorgid",
3594
+ # },
3595
+ # {
3596
+ # type: "EMAIL",
3597
+ # value: "juan@example.com",
3598
+ # },
3599
+ # ],
3600
+ # state: "REQUESTED",
3601
+ # },
3602
+ # }
3603
+ #
3604
+ # @example Request syntax with placeholder values
3605
+ #
3606
+ # resp = client.invite_organization_to_transfer_responsibility({
3607
+ # type: "BILLING", # required, accepts BILLING
3608
+ # target: { # required
3609
+ # id: "HandshakePartyId", # required
3610
+ # type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION, EMAIL
3611
+ # },
3612
+ # notes: "HandshakeNotes",
3613
+ # start_timestamp: Time.now, # required
3614
+ # source_name: "ResponsibilityTransferName", # required
3615
+ # tags: [
3616
+ # {
3617
+ # key: "TagKey", # required
3618
+ # value: "TagValue", # required
3619
+ # },
3620
+ # ],
3621
+ # })
3622
+ #
3623
+ # @example Response structure
3624
+ #
3625
+ # resp.handshake.id #=> String
3626
+ # resp.handshake.arn #=> String
3627
+ # resp.handshake.parties #=> Array
3628
+ # resp.handshake.parties[0].id #=> String
3629
+ # resp.handshake.parties[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "EMAIL"
3630
+ # resp.handshake.state #=> String, one of "REQUESTED", "OPEN", "CANCELED", "ACCEPTED", "DECLINED", "EXPIRED"
3631
+ # resp.handshake.requested_timestamp #=> Time
3632
+ # resp.handshake.expiration_timestamp #=> Time
3633
+ # resp.handshake.action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "TRANSFER_RESPONSIBILITY"
3634
+ # resp.handshake.resources #=> Array
3635
+ # resp.handshake.resources[0].value #=> String
3636
+ # resp.handshake.resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE", "RESPONSIBILITY_TRANSFER", "TRANSFER_START_TIMESTAMP", "TRANSFER_TYPE", "MANAGEMENT_ACCOUNT", "MANAGEMENT_EMAIL", "MANAGEMENT_NAME"
3637
+ # resp.handshake.resources[0].resources #=> Types::HandshakeResources
3638
+ #
3639
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/InviteOrganizationToTransferResponsibility AWS API Documentation
3640
+ #
3641
+ # @overload invite_organization_to_transfer_responsibility(params = {})
3642
+ # @param [Hash] params ({})
3643
+ def invite_organization_to_transfer_responsibility(params = {}, options = {})
3644
+ req = build_request(:invite_organization_to_transfer_responsibility, params)
3645
+ req.send_request(options)
3646
+ end
3647
+
3415
3648
  # Removes a member account from its parent organization. This version of
3416
3649
  # the operation is performed by the account that wants to leave. To
3417
3650
  # remove a member account as a user in the management account, use
3418
3651
  # RemoveAccountFromOrganization instead.
3419
3652
  #
3420
- # This operation can be called only from a member account in the
3421
- # organization.
3653
+ # You can only call from operation from a member account.
3422
3654
  #
3423
3655
  # * The management account in an organization with all features enabled
3424
3656
  # can set service control policies (SCPs) that can restrict what
@@ -3458,7 +3690,7 @@ module Aws::Organizations
3458
3690
  # support tags.
3459
3691
  #
3460
3692
  # * A newly created account has a waiting period before it can be
3461
- # removed from its organization. You must wait until at least seven
3693
+ # removed from its organization. You must wait until at least four
3462
3694
  # days after the account was created. Invited accounts aren't subject
3463
3695
  # to this waiting period.
3464
3696
  #
@@ -3499,8 +3731,8 @@ module Aws::Organizations
3499
3731
  # Organizations, see [Using Organizations with other Amazon Web Services
3500
3732
  # services][1] in the *Organizations User Guide*.
3501
3733
  #
3502
- # This operation can be called only from the organization's management
3503
- # account or by a member account that is a delegated administrator.
3734
+ # You can only call this operation from the management account or a
3735
+ # member account that is a delegated administrator.
3504
3736
  #
3505
3737
  #
3506
3738
  #
@@ -3514,16 +3746,9 @@ module Aws::Organizations
3514
3746
  # the output should continue from.
3515
3747
  #
3516
3748
  # @option params [Integer] :max_results
3517
- # The total number of results that you want included on each page of the
3518
- # response. If you do not include this parameter, it defaults to a value
3519
- # that is specific to the operation. If additional items exist beyond
3520
- # the maximum you specify, the `NextToken` response element is present
3521
- # and has a value (is not null). Include that value as the `NextToken`
3522
- # request parameter in the next call to the operation to get the next
3523
- # part of the results. Note that Organizations might return fewer
3524
- # results than the maximum even when there are more results available.
3525
- # You should check `NextToken` after every operation to ensure that you
3526
- # receive all of the results.
3749
+ # The maximum number of items to return in the response. If more results
3750
+ # exist than the specified `MaxResults` value, a token is included in
3751
+ # the response so that you can retrieve the remaining results.
3527
3752
  #
3528
3753
  # @return [Types::ListAWSServiceAccessForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3529
3754
  #
@@ -3559,16 +3784,17 @@ module Aws::Organizations
3559
3784
  # accounts in a specified root or organizational unit (OU), use the
3560
3785
  # ListAccountsForParent operation instead.
3561
3786
  #
3562
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
3563
- # when calling a `List*` operation. These operations can occasionally
3564
- # return an empty set of results even when there are more results
3565
- # available. The `NextToken` response parameter value is `null` *only*
3566
- # when there are no more results to display.
3787
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
3788
+ # parameter value, even if you receive an empty result set. These
3789
+ # operations can occasionally return an empty set of results even when
3790
+ # more results are available. Continue making requests until `NextToken`
3791
+ # returns null. A null `NextToken` value indicates that you have
3792
+ # retrieved all available results.
3567
3793
  #
3568
3794
  # </note>
3569
3795
  #
3570
- # This operation can be called only from the organization's management
3571
- # account or by a member account that is a delegated administrator.
3796
+ # You can only call this operation from the management account or a
3797
+ # member account that is a delegated administrator.
3572
3798
  #
3573
3799
  # @option params [String] :next_token
3574
3800
  # The parameter for receiving additional results if you receive a
@@ -3578,16 +3804,9 @@ module Aws::Organizations
3578
3804
  # the output should continue from.
3579
3805
  #
3580
3806
  # @option params [Integer] :max_results
3581
- # The total number of results that you want included on each page of the
3582
- # response. If you do not include this parameter, it defaults to a value
3583
- # that is specific to the operation. If additional items exist beyond
3584
- # the maximum you specify, the `NextToken` response element is present
3585
- # and has a value (is not null). Include that value as the `NextToken`
3586
- # request parameter in the next call to the operation to get the next
3587
- # part of the results. Note that Organizations might return fewer
3588
- # results than the maximum even when there are more results available.
3589
- # You should check `NextToken` after every operation to ensure that you
3590
- # receive all of the results.
3807
+ # The maximum number of items to return in the response. If more results
3808
+ # exist than the specified `MaxResults` value, a token is included in
3809
+ # the response so that you can retrieve the remaining results.
3591
3810
  #
3592
3811
  # @return [Types::ListAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3593
3812
  #
@@ -3682,16 +3901,17 @@ module Aws::Organizations
3682
3901
  # and not in any child OUs. To get a list of all accounts in the
3683
3902
  # organization, use the ListAccounts operation.
3684
3903
  #
3685
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
3686
- # when calling a `List*` operation. These operations can occasionally
3687
- # return an empty set of results even when there are more results
3688
- # available. The `NextToken` response parameter value is `null` *only*
3689
- # when there are no more results to display.
3904
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
3905
+ # parameter value, even if you receive an empty result set. These
3906
+ # operations can occasionally return an empty set of results even when
3907
+ # more results are available. Continue making requests until `NextToken`
3908
+ # returns null. A null `NextToken` value indicates that you have
3909
+ # retrieved all available results.
3690
3910
  #
3691
3911
  # </note>
3692
3912
  #
3693
- # This operation can be called only from the organization's management
3694
- # account or by a member account that is a delegated administrator.
3913
+ # You can only call this operation from the management account or a
3914
+ # member account that is a delegated administrator.
3695
3915
  #
3696
3916
  # @option params [required, String] :parent_id
3697
3917
  # The unique identifier (ID) for the parent root or organization unit
@@ -3705,16 +3925,9 @@ module Aws::Organizations
3705
3925
  # the output should continue from.
3706
3926
  #
3707
3927
  # @option params [Integer] :max_results
3708
- # The total number of results that you want included on each page of the
3709
- # response. If you do not include this parameter, it defaults to a value
3710
- # that is specific to the operation. If additional items exist beyond
3711
- # the maximum you specify, the `NextToken` response element is present
3712
- # and has a value (is not null). Include that value as the `NextToken`
3713
- # request parameter in the next call to the operation to get the next
3714
- # part of the results. Note that Organizations might return fewer
3715
- # results than the maximum even when there are more results available.
3716
- # You should check `NextToken` after every operation to ensure that you
3717
- # receive all of the results.
3928
+ # The maximum number of items to return in the response. If more results
3929
+ # exist than the specified `MaxResults` value, a token is included in
3930
+ # the response so that you can retrieve the remaining results.
3718
3931
  #
3719
3932
  # @return [Types::ListAccountsForParentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3720
3933
  #
@@ -3792,8 +4005,8 @@ module Aws::Organizations
3792
4005
  # being fully enforced on all the intended accounts within an
3793
4006
  # organization.
3794
4007
  #
3795
- # This operation can be called only from the organization's management
3796
- # account or by a member account that is a delegated administrator.
4008
+ # You can only call this operation from the management account or a
4009
+ # member account that is a delegated administrator.
3797
4010
  #
3798
4011
  #
3799
4012
  #
@@ -3815,6 +4028,8 @@ module Aws::Organizations
3815
4028
  #
3816
4029
  # * [SECURITYHUB\_POLICY][6]
3817
4030
  #
4031
+ # * [INSPECTOR\_POLICY][7]
4032
+ #
3818
4033
  #
3819
4034
  #
3820
4035
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
@@ -3823,6 +4038,7 @@ module Aws::Organizations
3823
4038
  # [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
3824
4039
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
3825
4040
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
4041
+ # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inspector.html
3826
4042
  #
3827
4043
  # @option params [String] :next_token
3828
4044
  # The parameter for receiving additional results if you receive a
@@ -3832,16 +4048,9 @@ module Aws::Organizations
3832
4048
  # the output should continue from.
3833
4049
  #
3834
4050
  # @option params [Integer] :max_results
3835
- # The total number of results that you want included on each page of the
3836
- # response. If you do not include this parameter, it defaults to a value
3837
- # that is specific to the operation. If additional items exist beyond
3838
- # the maximum you specify, the `NextToken` response element is present
3839
- # and has a value (is not null). Include that value as the `NextToken`
3840
- # request parameter in the next call to the operation to get the next
3841
- # part of the results. Note that Organizations might return fewer
3842
- # results than the maximum even when there are more results available.
3843
- # You should check `NextToken` after every operation to ensure that you
3844
- # receive all of the results.
4051
+ # The maximum number of items to return in the response. If more results
4052
+ # exist than the specified `MaxResults` value, a token is included in
4053
+ # the response so that you can retrieve the remaining results.
3845
4054
  #
3846
4055
  # @return [Types::ListAccountsWithInvalidEffectivePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3847
4056
  #
@@ -3890,7 +4099,7 @@ module Aws::Organizations
3890
4099
  # @example Request syntax with placeholder values
3891
4100
  #
3892
4101
  # resp = client.list_accounts_with_invalid_effective_policy({
3893
- # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
4102
+ # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY, INSPECTOR_POLICY
3894
4103
  # next_token: "NextToken",
3895
4104
  # max_results: 1,
3896
4105
  # })
@@ -3906,7 +4115,7 @@ module Aws::Organizations
3906
4115
  # resp.accounts[0].state #=> String, one of "PENDING_ACTIVATION", "ACTIVE", "SUSPENDED", "PENDING_CLOSURE", "CLOSED"
3907
4116
  # resp.accounts[0].joined_method #=> String, one of "INVITED", "CREATED"
3908
4117
  # resp.accounts[0].joined_timestamp #=> Time
3909
- # resp.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
4118
+ # resp.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
3910
4119
  # resp.next_token #=> String
3911
4120
  #
3912
4121
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsWithInvalidEffectivePolicy AWS API Documentation
@@ -3923,16 +4132,17 @@ module Aws::Organizations
3923
4132
  # with ListParents enables you to traverse the tree structure that makes
3924
4133
  # up this root.
3925
4134
  #
3926
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
3927
- # when calling a `List*` operation. These operations can occasionally
3928
- # return an empty set of results even when there are more results
3929
- # available. The `NextToken` response parameter value is `null` *only*
3930
- # when there are no more results to display.
4135
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
4136
+ # parameter value, even if you receive an empty result set. These
4137
+ # operations can occasionally return an empty set of results even when
4138
+ # more results are available. Continue making requests until `NextToken`
4139
+ # returns null. A null `NextToken` value indicates that you have
4140
+ # retrieved all available results.
3931
4141
  #
3932
4142
  # </note>
3933
4143
  #
3934
- # This operation can be called only from the organization's management
3935
- # account or by a member account that is a delegated administrator.
4144
+ # You can only call this operation from the management account or a
4145
+ # member account that is a delegated administrator.
3936
4146
  #
3937
4147
  # @option params [required, String] :parent_id
3938
4148
  # The unique identifier (ID) for the parent root or OU whose children
@@ -3964,16 +4174,9 @@ module Aws::Organizations
3964
4174
  # the output should continue from.
3965
4175
  #
3966
4176
  # @option params [Integer] :max_results
3967
- # The total number of results that you want included on each page of the
3968
- # response. If you do not include this parameter, it defaults to a value
3969
- # that is specific to the operation. If additional items exist beyond
3970
- # the maximum you specify, the `NextToken` response element is present
3971
- # and has a value (is not null). Include that value as the `NextToken`
3972
- # request parameter in the next call to the operation to get the next
3973
- # part of the results. Note that Organizations might return fewer
3974
- # results than the maximum even when there are more results available.
3975
- # You should check `NextToken` after every operation to ensure that you
3976
- # receive all of the results.
4177
+ # The maximum number of items to return in the response. If more results
4178
+ # exist than the specified `MaxResults` value, a token is included in
4179
+ # the response so that you can retrieve the remaining results.
3977
4180
  #
3978
4181
  # @return [Types::ListChildrenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3979
4182
  #
@@ -4034,16 +4237,17 @@ module Aws::Organizations
4034
4237
  # Lists the account creation requests that match the specified status
4035
4238
  # that is currently being tracked for the organization.
4036
4239
  #
4037
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
4038
- # when calling a `List*` operation. These operations can occasionally
4039
- # return an empty set of results even when there are more results
4040
- # available. The `NextToken` response parameter value is `null` *only*
4041
- # when there are no more results to display.
4240
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
4241
+ # parameter value, even if you receive an empty result set. These
4242
+ # operations can occasionally return an empty set of results even when
4243
+ # more results are available. Continue making requests until `NextToken`
4244
+ # returns null. A null `NextToken` value indicates that you have
4245
+ # retrieved all available results.
4042
4246
  #
4043
4247
  # </note>
4044
4248
  #
4045
- # This operation can be called only from the organization's management
4046
- # account or by a member account that is a delegated administrator.
4249
+ # You can only call this operation from the management account or a
4250
+ # member account that is a delegated administrator.
4047
4251
  #
4048
4252
  # @option params [Array<String>] :states
4049
4253
  # A list of one or more states that you want included in the response.
@@ -4058,16 +4262,9 @@ module Aws::Organizations
4058
4262
  # the output should continue from.
4059
4263
  #
4060
4264
  # @option params [Integer] :max_results
4061
- # The total number of results that you want included on each page of the
4062
- # response. If you do not include this parameter, it defaults to a value
4063
- # that is specific to the operation. If additional items exist beyond
4064
- # the maximum you specify, the `NextToken` response element is present
4065
- # and has a value (is not null). Include that value as the `NextToken`
4066
- # request parameter in the next call to the operation to get the next
4067
- # part of the results. Note that Organizations might return fewer
4068
- # results than the maximum even when there are more results available.
4069
- # You should check `NextToken` after every operation to ensure that you
4070
- # receive all of the results.
4265
+ # The maximum number of items to return in the response. If more results
4266
+ # exist than the specified `MaxResults` value, a token is included in
4267
+ # the response so that you can retrieve the remaining results.
4071
4268
  #
4072
4269
  # @return [Types::ListCreateAccountStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4073
4270
  #
@@ -4158,8 +4355,8 @@ module Aws::Organizations
4158
4355
  # Lists the Amazon Web Services accounts that are designated as
4159
4356
  # delegated administrators in this organization.
4160
4357
  #
4161
- # This operation can be called only from the organization's management
4162
- # account or by a member account that is a delegated administrator.
4358
+ # You can only call this operation from the management account or a
4359
+ # member account that is a delegated administrator.
4163
4360
  #
4164
4361
  # @option params [String] :service_principal
4165
4362
  # Specifies a service principal name. If specified, then the operation
@@ -4176,16 +4373,9 @@ module Aws::Organizations
4176
4373
  # the output should continue from.
4177
4374
  #
4178
4375
  # @option params [Integer] :max_results
4179
- # The total number of results that you want included on each page of the
4180
- # response. If you do not include this parameter, it defaults to a value
4181
- # that is specific to the operation. If additional items exist beyond
4182
- # the maximum you specify, the `NextToken` response element is present
4183
- # and has a value (is not null). Include that value as the `NextToken`
4184
- # request parameter in the next call to the operation to get the next
4185
- # part of the results. Note that Organizations might return fewer
4186
- # results than the maximum even when there are more results available.
4187
- # You should check `NextToken` after every operation to ensure that you
4188
- # receive all of the results.
4376
+ # The maximum number of items to return in the response. If more results
4377
+ # exist than the specified `MaxResults` value, a token is included in
4378
+ # the response so that you can retrieve the remaining results.
4189
4379
  #
4190
4380
  # @return [Types::ListDelegatedAdministratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4191
4381
  #
@@ -4210,6 +4400,7 @@ module Aws::Organizations
4210
4400
  # resp.delegated_administrators[0].email #=> String
4211
4401
  # resp.delegated_administrators[0].name #=> String
4212
4402
  # resp.delegated_administrators[0].status #=> String, one of "ACTIVE", "SUSPENDED", "PENDING_CLOSURE"
4403
+ # resp.delegated_administrators[0].state #=> String, one of "PENDING_ACTIVATION", "ACTIVE", "SUSPENDED", "PENDING_CLOSURE", "CLOSED"
4213
4404
  # resp.delegated_administrators[0].joined_method #=> String, one of "INVITED", "CREATED"
4214
4405
  # resp.delegated_administrators[0].joined_timestamp #=> Time
4215
4406
  # resp.delegated_administrators[0].delegation_enabled_date #=> Time
@@ -4227,8 +4418,8 @@ module Aws::Organizations
4227
4418
  # List the Amazon Web Services services for which the specified account
4228
4419
  # is a delegated administrator.
4229
4420
  #
4230
- # This operation can be called only from the organization's management
4231
- # account or by a member account that is a delegated administrator.
4421
+ # You can only call this operation from the management account or a
4422
+ # member account that is a delegated administrator.
4232
4423
  #
4233
4424
  # @option params [required, String] :account_id
4234
4425
  # The account ID number of a delegated administrator account in the
@@ -4242,16 +4433,9 @@ module Aws::Organizations
4242
4433
  # the output should continue from.
4243
4434
  #
4244
4435
  # @option params [Integer] :max_results
4245
- # The total number of results that you want included on each page of the
4246
- # response. If you do not include this parameter, it defaults to a value
4247
- # that is specific to the operation. If additional items exist beyond
4248
- # the maximum you specify, the `NextToken` response element is present
4249
- # and has a value (is not null). Include that value as the `NextToken`
4250
- # request parameter in the next call to the operation to get the next
4251
- # part of the results. Note that Organizations might return fewer
4252
- # results than the maximum even when there are more results available.
4253
- # You should check `NextToken` after every operation to ensure that you
4254
- # receive all of the results.
4436
+ # The maximum number of items to return in the response. If more results
4437
+ # exist than the specified `MaxResults` value, a token is included in
4438
+ # the response so that you can retrieve the remaining results.
4255
4439
  #
4256
4440
  # @return [Types::ListDelegatedServicesForAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4257
4441
  #
@@ -4287,8 +4471,8 @@ module Aws::Organizations
4287
4471
  # Lists all the validation errors on an [effective policy][1] for a
4288
4472
  # specified account and policy type.
4289
4473
  #
4290
- # This operation can be called only from the organization's management
4291
- # account or by a member account that is a delegated administrator.
4474
+ # You can only call this operation from the management account or a
4475
+ # member account that is a delegated administrator.
4292
4476
  #
4293
4477
  #
4294
4478
  #
@@ -4315,6 +4499,8 @@ module Aws::Organizations
4315
4499
  #
4316
4500
  # * [SECURITYHUB\_POLICY][6]
4317
4501
  #
4502
+ # * [INSPECTOR\_POLICY][7]
4503
+ #
4318
4504
  #
4319
4505
  #
4320
4506
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
@@ -4323,6 +4509,7 @@ module Aws::Organizations
4323
4509
  # [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
4324
4510
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
4325
4511
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
4512
+ # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inspector.html
4326
4513
  #
4327
4514
  # @option params [String] :next_token
4328
4515
  # The parameter for receiving additional results if you receive a
@@ -4332,16 +4519,9 @@ module Aws::Organizations
4332
4519
  # the output should continue from.
4333
4520
  #
4334
4521
  # @option params [Integer] :max_results
4335
- # The total number of results that you want included on each page of the
4336
- # response. If you do not include this parameter, it defaults to a value
4337
- # that is specific to the operation. If additional items exist beyond
4338
- # the maximum you specify, the `NextToken` response element is present
4339
- # and has a value (is not null). Include that value as the `NextToken`
4340
- # request parameter in the next call to the operation to get the next
4341
- # part of the results. Note that Organizations might return fewer
4342
- # results than the maximum even when there are more results available.
4343
- # You should check `NextToken` after every operation to ensure that you
4344
- # receive all of the results.
4522
+ # The maximum number of items to return in the response. If more results
4523
+ # exist than the specified `MaxResults` value, a token is included in
4524
+ # the response so that you can retrieve the remaining results.
4345
4525
  #
4346
4526
  # @return [Types::ListEffectivePolicyValidationErrorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4347
4527
  #
@@ -4396,7 +4576,7 @@ module Aws::Organizations
4396
4576
  #
4397
4577
  # resp = client.list_effective_policy_validation_errors({
4398
4578
  # account_id: "AccountId", # required
4399
- # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
4579
+ # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY, INSPECTOR_POLICY
4400
4580
  # next_token: "NextToken",
4401
4581
  # max_results: 1,
4402
4582
  # })
@@ -4404,7 +4584,7 @@ module Aws::Organizations
4404
4584
  # @example Response structure
4405
4585
  #
4406
4586
  # resp.account_id #=> String
4407
- # resp.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
4587
+ # resp.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
4408
4588
  # resp.path #=> String
4409
4589
  # resp.evaluation_timestamp #=> Time
4410
4590
  # resp.next_token #=> String
@@ -4424,31 +4604,25 @@ module Aws::Organizations
4424
4604
  req.send_request(options)
4425
4605
  end
4426
4606
 
4427
- # Lists the current handshakes that are associated with the account of
4428
- # the requesting user.
4607
+ # Lists the recent handshakes that you have received.
4429
4608
  #
4430
- # Handshakes that are `ACCEPTED`, `DECLINED`, `CANCELED`, or `EXPIRED`
4431
- # appear in the results of this API for only 30 days after changing to
4432
- # that state. After that, they're deleted and no longer accessible.
4609
+ # You can view `CANCELED`, `ACCEPTED`, `DECLINED`, or `EXPIRED`
4610
+ # handshakes in API responses for 30 days before they are deleted.
4433
4611
  #
4434
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
4435
- # when calling a `List*` operation. These operations can occasionally
4436
- # return an empty set of results even when there are more results
4437
- # available. The `NextToken` response parameter value is `null` *only*
4438
- # when there are no more results to display.
4612
+ # You can call this operation from any account in a organization.
4439
4613
  #
4440
- # </note>
4614
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
4615
+ # parameter value, even if you receive an empty result set. These
4616
+ # operations can occasionally return an empty set of results even when
4617
+ # more results are available. Continue making requests until `NextToken`
4618
+ # returns null. A null `NextToken` value indicates that you have
4619
+ # retrieved all available results.
4441
4620
  #
4442
- # This operation can be called from any account in the organization.
4621
+ # </note>
4443
4622
  #
4444
4623
  # @option params [Types::HandshakeFilter] :filter
4445
- # Filters the handshakes that you want included in the response. The
4446
- # default is all types. Use the `ActionType` element to limit the output
4447
- # to only a specified type, such as `INVITE`, `ENABLE_ALL_FEATURES`, or
4448
- # `APPROVE_ALL_FEATURES`. Alternatively, for the `ENABLE_ALL_FEATURES`
4449
- # handshake that generates a separate child handshake for each member
4450
- # account, you can specify `ParentHandshakeId` to see only the
4451
- # handshakes that were generated by that parent request.
4624
+ # A `HandshakeFilter` object. Contains the filer used to select the
4625
+ # handshakes for an operation.
4452
4626
  #
4453
4627
  # @option params [String] :next_token
4454
4628
  # The parameter for receiving additional results if you receive a
@@ -4458,16 +4632,9 @@ module Aws::Organizations
4458
4632
  # the output should continue from.
4459
4633
  #
4460
4634
  # @option params [Integer] :max_results
4461
- # The total number of results that you want included on each page of the
4462
- # response. If you do not include this parameter, it defaults to a value
4463
- # that is specific to the operation. If additional items exist beyond
4464
- # the maximum you specify, the `NextToken` response element is present
4465
- # and has a value (is not null). Include that value as the `NextToken`
4466
- # request parameter in the next call to the operation to get the next
4467
- # part of the results. Note that Organizations might return fewer
4468
- # results than the maximum even when there are more results available.
4469
- # You should check `NextToken` after every operation to ensure that you
4470
- # receive all of the results.
4635
+ # The maximum number of items to return in the response. If more results
4636
+ # exist than the specified `MaxResults` value, a token is included in
4637
+ # the response so that you can retrieve the remaining results.
4471
4638
  #
4472
4639
  # @return [Types::ListHandshakesForAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4473
4640
  #
@@ -4537,7 +4704,7 @@ module Aws::Organizations
4537
4704
  #
4538
4705
  # resp = client.list_handshakes_for_account({
4539
4706
  # filter: {
4540
- # action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE
4707
+ # action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE, TRANSFER_RESPONSIBILITY
4541
4708
  # parent_handshake_id: "HandshakeId",
4542
4709
  # },
4543
4710
  # next_token: "NextToken",
@@ -4555,10 +4722,10 @@ module Aws::Organizations
4555
4722
  # resp.handshakes[0].state #=> String, one of "REQUESTED", "OPEN", "CANCELED", "ACCEPTED", "DECLINED", "EXPIRED"
4556
4723
  # resp.handshakes[0].requested_timestamp #=> Time
4557
4724
  # resp.handshakes[0].expiration_timestamp #=> Time
4558
- # resp.handshakes[0].action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
4725
+ # resp.handshakes[0].action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "TRANSFER_RESPONSIBILITY"
4559
4726
  # resp.handshakes[0].resources #=> Array
4560
4727
  # resp.handshakes[0].resources[0].value #=> String
4561
- # resp.handshakes[0].resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE"
4728
+ # resp.handshakes[0].resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE", "RESPONSIBILITY_TRANSFER", "TRANSFER_START_TIMESTAMP", "TRANSFER_TYPE", "MANAGEMENT_ACCOUNT", "MANAGEMENT_EMAIL", "MANAGEMENT_NAME"
4562
4729
  # resp.handshakes[0].resources[0].resources #=> Types::HandshakeResources
4563
4730
  # resp.next_token #=> String
4564
4731
  #
@@ -4571,34 +4738,26 @@ module Aws::Organizations
4571
4738
  req.send_request(options)
4572
4739
  end
4573
4740
 
4574
- # Lists the handshakes that are associated with the organization that
4575
- # the requesting user is part of. The `ListHandshakesForOrganization`
4576
- # operation returns a list of handshake structures. Each structure
4577
- # contains details and status about a handshake.
4741
+ # Lists the recent handshakes that you have sent.
4578
4742
  #
4579
- # Handshakes that are `ACCEPTED`, `DECLINED`, `CANCELED`, or `EXPIRED`
4580
- # appear in the results of this API for only 30 days after changing to
4581
- # that state. After that, they're deleted and no longer accessible.
4743
+ # You can view `CANCELED`, `ACCEPTED`, `DECLINED`, or `EXPIRED`
4744
+ # handshakes in API responses for 30 days before they are deleted.
4582
4745
  #
4583
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
4584
- # when calling a `List*` operation. These operations can occasionally
4585
- # return an empty set of results even when there are more results
4586
- # available. The `NextToken` response parameter value is `null` *only*
4587
- # when there are no more results to display.
4746
+ # You can only call this operation from the management account or a
4747
+ # member account that is a delegated administrator.
4588
4748
  #
4589
- # </note>
4749
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
4750
+ # parameter value, even if you receive an empty result set. These
4751
+ # operations can occasionally return an empty set of results even when
4752
+ # more results are available. Continue making requests until `NextToken`
4753
+ # returns null. A null `NextToken` value indicates that you have
4754
+ # retrieved all available results.
4590
4755
  #
4591
- # This operation can be called only from the organization's management
4592
- # account or by a member account that is a delegated administrator.
4756
+ # </note>
4593
4757
  #
4594
4758
  # @option params [Types::HandshakeFilter] :filter
4595
- # A filter of the handshakes that you want included in the response. The
4596
- # default is all types. Use the `ActionType` element to limit the output
4597
- # to only a specified type, such as `INVITE`, `ENABLE-ALL-FEATURES`, or
4598
- # `APPROVE-ALL-FEATURES`. Alternatively, for the `ENABLE-ALL-FEATURES`
4599
- # handshake that generates a separate child handshake for each member
4600
- # account, you can specify the `ParentHandshakeId` to see only the
4601
- # handshakes that were generated by that parent request.
4759
+ # A `HandshakeFilter` object. Contains the filer used to select the
4760
+ # handshakes for an operation.
4602
4761
  #
4603
4762
  # @option params [String] :next_token
4604
4763
  # The parameter for receiving additional results if you receive a
@@ -4608,16 +4767,9 @@ module Aws::Organizations
4608
4767
  # the output should continue from.
4609
4768
  #
4610
4769
  # @option params [Integer] :max_results
4611
- # The total number of results that you want included on each page of the
4612
- # response. If you do not include this parameter, it defaults to a value
4613
- # that is specific to the operation. If additional items exist beyond
4614
- # the maximum you specify, the `NextToken` response element is present
4615
- # and has a value (is not null). Include that value as the `NextToken`
4616
- # request parameter in the next call to the operation to get the next
4617
- # part of the results. Note that Organizations might return fewer
4618
- # results than the maximum even when there are more results available.
4619
- # You should check `NextToken` after every operation to ensure that you
4620
- # receive all of the results.
4770
+ # The maximum number of items to return in the response. If more results
4771
+ # exist than the specified `MaxResults` value, a token is included in
4772
+ # the response so that you can retrieve the remaining results.
4621
4773
  #
4622
4774
  # @return [Types::ListHandshakesForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4623
4775
  #
@@ -4728,7 +4880,7 @@ module Aws::Organizations
4728
4880
  #
4729
4881
  # resp = client.list_handshakes_for_organization({
4730
4882
  # filter: {
4731
- # action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE
4883
+ # action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE, TRANSFER_RESPONSIBILITY
4732
4884
  # parent_handshake_id: "HandshakeId",
4733
4885
  # },
4734
4886
  # next_token: "NextToken",
@@ -4746,10 +4898,10 @@ module Aws::Organizations
4746
4898
  # resp.handshakes[0].state #=> String, one of "REQUESTED", "OPEN", "CANCELED", "ACCEPTED", "DECLINED", "EXPIRED"
4747
4899
  # resp.handshakes[0].requested_timestamp #=> Time
4748
4900
  # resp.handshakes[0].expiration_timestamp #=> Time
4749
- # resp.handshakes[0].action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"
4901
+ # resp.handshakes[0].action #=> String, one of "INVITE", "ENABLE_ALL_FEATURES", "APPROVE_ALL_FEATURES", "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE", "TRANSFER_RESPONSIBILITY"
4750
4902
  # resp.handshakes[0].resources #=> Array
4751
4903
  # resp.handshakes[0].resources[0].value #=> String
4752
- # resp.handshakes[0].resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE"
4904
+ # resp.handshakes[0].resources[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATION_FEATURE_SET", "EMAIL", "MASTER_EMAIL", "MASTER_NAME", "NOTES", "PARENT_HANDSHAKE", "RESPONSIBILITY_TRANSFER", "TRANSFER_START_TIMESTAMP", "TRANSFER_TYPE", "MANAGEMENT_ACCOUNT", "MANAGEMENT_EMAIL", "MANAGEMENT_NAME"
4753
4905
  # resp.handshakes[0].resources[0].resources #=> Types::HandshakeResources
4754
4906
  # resp.next_token #=> String
4755
4907
  #
@@ -4762,23 +4914,125 @@ module Aws::Organizations
4762
4914
  req.send_request(options)
4763
4915
  end
4764
4916
 
4917
+ # Lists transfers that allow you to manage the specified
4918
+ # responsibilities for another organization. This operation returns both
4919
+ # transfer invitations and transfers.
4920
+ #
4921
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
4922
+ # parameter value, even if you receive an empty result set. These
4923
+ # operations can occasionally return an empty set of results even when
4924
+ # more results are available. Continue making requests until `NextToken`
4925
+ # returns null. A null `NextToken` value indicates that you have
4926
+ # retrieved all available results.
4927
+ #
4928
+ # </note>
4929
+ #
4930
+ # @option params [required, String] :type
4931
+ # The type of responsibility. Currently, only `BILLING` is supported.
4932
+ #
4933
+ # @option params [String] :id
4934
+ # ID for the transfer.
4935
+ #
4936
+ # @option params [String] :next_token
4937
+ # The parameter for receiving additional results if you receive a
4938
+ # `NextToken` response in a previous request. A `NextToken` response
4939
+ # indicates that more output is available. Set this parameter to the
4940
+ # value of the previous call's `NextToken` response to indicate where
4941
+ # the output should continue from.
4942
+ #
4943
+ # @option params [Integer] :max_results
4944
+ # The maximum number of items to return in the response. If more results
4945
+ # exist than the specified `MaxResults` value, a token is included in
4946
+ # the response so that you can retrieve the remaining results.
4947
+ #
4948
+ # @return [Types::ListInboundResponsibilityTransfersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4949
+ #
4950
+ # * {Types::ListInboundResponsibilityTransfersResponse#responsibility_transfers #responsibility_transfers} => Array&lt;Types::ResponsibilityTransfer&gt;
4951
+ # * {Types::ListInboundResponsibilityTransfersResponse#next_token #next_token} => String
4952
+ #
4953
+ #
4954
+ # @example Example: To get a list of all inbound responsibility transfers
4955
+ #
4956
+ # # The following example shows how to get a list of all inbound responsibility transfers that are associated with the
4957
+ # # account of the credentials that were used to call the operation:
4958
+ #
4959
+ # resp = client.list_inbound_responsibility_transfers({
4960
+ # type: "BILLING",
4961
+ # })
4962
+ #
4963
+ # resp.to_h outputs the following:
4964
+ # {
4965
+ # responsibility_transfers: [
4966
+ # {
4967
+ # arn: "arn:aws:organizations::222222222222:transfer/o-exampleorgid/billing/inbound/rt-exampletransferid222",
4968
+ # end_timestamp: Time.parse("2026-01-31T23:59:59+00:00"),
4969
+ # id: "rt-exampletransferid222",
4970
+ # name: "transfer name",
4971
+ # source: {
4972
+ # management_account_id: "222222222222",
4973
+ # },
4974
+ # start_timestamp: Time.parse("2026-01-01T00:00:00+00:00"),
4975
+ # status: "WITHDRAWN",
4976
+ # target: {
4977
+ # management_account_id: "333333333333",
4978
+ # },
4979
+ # type: "BILLING",
4980
+ # },
4981
+ # ],
4982
+ # }
4983
+ #
4984
+ # @example Request syntax with placeholder values
4985
+ #
4986
+ # resp = client.list_inbound_responsibility_transfers({
4987
+ # type: "BILLING", # required, accepts BILLING
4988
+ # id: "ResponsibilityTransferId",
4989
+ # next_token: "NextToken",
4990
+ # max_results: 1,
4991
+ # })
4992
+ #
4993
+ # @example Response structure
4994
+ #
4995
+ # resp.responsibility_transfers #=> Array
4996
+ # resp.responsibility_transfers[0].arn #=> String
4997
+ # resp.responsibility_transfers[0].name #=> String
4998
+ # resp.responsibility_transfers[0].id #=> String
4999
+ # resp.responsibility_transfers[0].type #=> String, one of "BILLING"
5000
+ # resp.responsibility_transfers[0].status #=> String, one of "REQUESTED", "DECLINED", "CANCELED", "EXPIRED", "ACCEPTED", "WITHDRAWN"
5001
+ # resp.responsibility_transfers[0].source.management_account_id #=> String
5002
+ # resp.responsibility_transfers[0].source.management_account_email #=> String
5003
+ # resp.responsibility_transfers[0].target.management_account_id #=> String
5004
+ # resp.responsibility_transfers[0].target.management_account_email #=> String
5005
+ # resp.responsibility_transfers[0].start_timestamp #=> Time
5006
+ # resp.responsibility_transfers[0].end_timestamp #=> Time
5007
+ # resp.responsibility_transfers[0].active_handshake_id #=> String
5008
+ # resp.next_token #=> String
5009
+ #
5010
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListInboundResponsibilityTransfers AWS API Documentation
5011
+ #
5012
+ # @overload list_inbound_responsibility_transfers(params = {})
5013
+ # @param [Hash] params ({})
5014
+ def list_inbound_responsibility_transfers(params = {}, options = {})
5015
+ req = build_request(:list_inbound_responsibility_transfers, params)
5016
+ req.send_request(options)
5017
+ end
5018
+
4765
5019
  # Lists the organizational units (OUs) in a parent organizational unit
4766
5020
  # or root.
4767
5021
  #
4768
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
4769
- # when calling a `List*` operation. These operations can occasionally
4770
- # return an empty set of results even when there are more results
4771
- # available. The `NextToken` response parameter value is `null` *only*
4772
- # when there are no more results to display.
5022
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
5023
+ # parameter value, even if you receive an empty result set. These
5024
+ # operations can occasionally return an empty set of results even when
5025
+ # more results are available. Continue making requests until `NextToken`
5026
+ # returns null. A null `NextToken` value indicates that you have
5027
+ # retrieved all available results.
4773
5028
  #
4774
5029
  # </note>
4775
5030
  #
4776
- # This operation can be called only from the organization's management
4777
- # account or by a member account that is a delegated administrator.
5031
+ # You can only call this operation from the management account or a
5032
+ # member account that is a delegated administrator.
4778
5033
  #
4779
5034
  # @option params [required, String] :parent_id
4780
- # The unique identifier (ID) of the root or OU whose child OUs you want
4781
- # to list.
5035
+ # ID for the root or OU whose child OUs you want to list.
4782
5036
  #
4783
5037
  # The [regex pattern][1] for a parent ID string requires one of the
4784
5038
  # following:
@@ -4803,16 +5057,9 @@ module Aws::Organizations
4803
5057
  # the output should continue from.
4804
5058
  #
4805
5059
  # @option params [Integer] :max_results
4806
- # The total number of results that you want included on each page of the
4807
- # response. If you do not include this parameter, it defaults to a value
4808
- # that is specific to the operation. If additional items exist beyond
4809
- # the maximum you specify, the `NextToken` response element is present
4810
- # and has a value (is not null). Include that value as the `NextToken`
4811
- # request parameter in the next call to the operation to get the next
4812
- # part of the results. Note that Organizations might return fewer
4813
- # results than the maximum even when there are more results available.
4814
- # You should check `NextToken` after every operation to ensure that you
4815
- # receive all of the results.
5060
+ # The maximum number of items to return in the response. If more results
5061
+ # exist than the specified `MaxResults` value, a token is included in
5062
+ # the response so that you can retrieve the remaining results.
4816
5063
  #
4817
5064
  # @return [Types::ListOrganizationalUnitsForParentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4818
5065
  #
@@ -4871,29 +5118,128 @@ module Aws::Organizations
4871
5118
  req.send_request(options)
4872
5119
  end
4873
5120
 
5121
+ # Lists transfers that allow an account outside your organization to
5122
+ # manage the specified responsibilities for your organization. This
5123
+ # operation returns both transfer invitations and transfers.
5124
+ #
5125
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
5126
+ # parameter value, even if you receive an empty result set. These
5127
+ # operations can occasionally return an empty set of results even when
5128
+ # more results are available. Continue making requests until `NextToken`
5129
+ # returns null. A null `NextToken` value indicates that you have
5130
+ # retrieved all available results.
5131
+ #
5132
+ # </note>
5133
+ #
5134
+ # @option params [required, String] :type
5135
+ # The type of responsibility. Currently, only `BILLING` is supported.
5136
+ #
5137
+ # @option params [String] :next_token
5138
+ # The parameter for receiving additional results if you receive a
5139
+ # `NextToken` response in a previous request. A `NextToken` response
5140
+ # indicates that more output is available. Set this parameter to the
5141
+ # value of the previous call's `NextToken` response to indicate where
5142
+ # the output should continue from.
5143
+ #
5144
+ # @option params [Integer] :max_results
5145
+ # The maximum number of items to return in the response. If more results
5146
+ # exist than the specified `MaxResults` value, a token is included in
5147
+ # the response so that you can retrieve the remaining results.
5148
+ #
5149
+ # @return [Types::ListOutboundResponsibilityTransfersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5150
+ #
5151
+ # * {Types::ListOutboundResponsibilityTransfersResponse#responsibility_transfers #responsibility_transfers} => Array&lt;Types::ResponsibilityTransfer&gt;
5152
+ # * {Types::ListOutboundResponsibilityTransfersResponse#next_token #next_token} => String
5153
+ #
5154
+ #
5155
+ # @example Example: To get a list of all outbound responsibility transfers
5156
+ #
5157
+ # # The following example shows how to get a list of all outbound responsibility transfers that are associated with the
5158
+ # # account of the credentials that were used to call the operation:
5159
+ #
5160
+ # resp = client.list_outbound_responsibility_transfers({
5161
+ # type: "BILLING",
5162
+ # })
5163
+ #
5164
+ # resp.to_h outputs the following:
5165
+ # {
5166
+ # responsibility_transfers: [
5167
+ # {
5168
+ # arn: "arn:aws:organizations::222222222222:transfer/o-exampleorgid222/billing/outbound/rt-exampletransferid222",
5169
+ # end_timestamp: Time.parse("2026-01-31T23:59:59+00:00"),
5170
+ # id: "rt-exampletransferid222",
5171
+ # name: "transfer name",
5172
+ # source: {
5173
+ # management_account_id: "222222222222",
5174
+ # },
5175
+ # start_timestamp: Time.parse("2026-01-01T00:00:00+00:00"),
5176
+ # status: "WITHDRAWN",
5177
+ # target: {
5178
+ # management_account_id: "333333333333",
5179
+ # },
5180
+ # type: "BILLING",
5181
+ # },
5182
+ # ],
5183
+ # }
5184
+ #
5185
+ # @example Request syntax with placeholder values
5186
+ #
5187
+ # resp = client.list_outbound_responsibility_transfers({
5188
+ # type: "BILLING", # required, accepts BILLING
5189
+ # next_token: "NextToken",
5190
+ # max_results: 1,
5191
+ # })
5192
+ #
5193
+ # @example Response structure
5194
+ #
5195
+ # resp.responsibility_transfers #=> Array
5196
+ # resp.responsibility_transfers[0].arn #=> String
5197
+ # resp.responsibility_transfers[0].name #=> String
5198
+ # resp.responsibility_transfers[0].id #=> String
5199
+ # resp.responsibility_transfers[0].type #=> String, one of "BILLING"
5200
+ # resp.responsibility_transfers[0].status #=> String, one of "REQUESTED", "DECLINED", "CANCELED", "EXPIRED", "ACCEPTED", "WITHDRAWN"
5201
+ # resp.responsibility_transfers[0].source.management_account_id #=> String
5202
+ # resp.responsibility_transfers[0].source.management_account_email #=> String
5203
+ # resp.responsibility_transfers[0].target.management_account_id #=> String
5204
+ # resp.responsibility_transfers[0].target.management_account_email #=> String
5205
+ # resp.responsibility_transfers[0].start_timestamp #=> Time
5206
+ # resp.responsibility_transfers[0].end_timestamp #=> Time
5207
+ # resp.responsibility_transfers[0].active_handshake_id #=> String
5208
+ # resp.next_token #=> String
5209
+ #
5210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOutboundResponsibilityTransfers AWS API Documentation
5211
+ #
5212
+ # @overload list_outbound_responsibility_transfers(params = {})
5213
+ # @param [Hash] params ({})
5214
+ def list_outbound_responsibility_transfers(params = {}, options = {})
5215
+ req = build_request(:list_outbound_responsibility_transfers, params)
5216
+ req.send_request(options)
5217
+ end
5218
+
4874
5219
  # Lists the root or organizational units (OUs) that serve as the
4875
5220
  # immediate parent of the specified child OU or account. This operation,
4876
5221
  # along with ListChildren enables you to traverse the tree structure
4877
5222
  # that makes up this root.
4878
5223
  #
4879
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
4880
- # when calling a `List*` operation. These operations can occasionally
4881
- # return an empty set of results even when there are more results
4882
- # available. The `NextToken` response parameter value is `null` *only*
4883
- # when there are no more results to display.
5224
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
5225
+ # parameter value, even if you receive an empty result set. These
5226
+ # operations can occasionally return an empty set of results even when
5227
+ # more results are available. Continue making requests until `NextToken`
5228
+ # returns null. A null `NextToken` value indicates that you have
5229
+ # retrieved all available results.
4884
5230
  #
4885
5231
  # </note>
4886
5232
  #
4887
- # This operation can be called only from the organization's management
4888
- # account or by a member account that is a delegated administrator.
5233
+ # You can only call this operation from the management account or a
5234
+ # member account that is a delegated administrator.
4889
5235
  #
4890
5236
  # <note markdown="1"> In the current release, a child can have only a single parent.
4891
5237
  #
4892
5238
  # </note>
4893
5239
  #
4894
5240
  # @option params [required, String] :child_id
4895
- # The unique identifier (ID) of the OU or account whose parent
4896
- # containers you want to list. Don't specify a root.
5241
+ # ID for the OU or account whose parent containers you want to list.
5242
+ # Don't specify a root.
4897
5243
  #
4898
5244
  # The [regex pattern][1] for a child ID string requires one of the
4899
5245
  # following:
@@ -4917,16 +5263,9 @@ module Aws::Organizations
4917
5263
  # the output should continue from.
4918
5264
  #
4919
5265
  # @option params [Integer] :max_results
4920
- # The total number of results that you want included on each page of the
4921
- # response. If you do not include this parameter, it defaults to a value
4922
- # that is specific to the operation. If additional items exist beyond
4923
- # the maximum you specify, the `NextToken` response element is present
4924
- # and has a value (is not null). Include that value as the `NextToken`
4925
- # request parameter in the next call to the operation to get the next
4926
- # part of the results. Note that Organizations might return fewer
4927
- # results than the maximum even when there are more results available.
4928
- # You should check `NextToken` after every operation to ensure that you
4929
- # receive all of the results.
5266
+ # The maximum number of items to return in the response. If more results
5267
+ # exist than the specified `MaxResults` value, a token is included in
5268
+ # the response so that you can retrieve the remaining results.
4930
5269
  #
4931
5270
  # @return [Types::ListParentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4932
5271
  #
@@ -4981,16 +5320,17 @@ module Aws::Organizations
4981
5320
  # Retrieves the list of all policies in an organization of a specified
4982
5321
  # type.
4983
5322
  #
4984
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
4985
- # when calling a `List*` operation. These operations can occasionally
4986
- # return an empty set of results even when there are more results
4987
- # available. The `NextToken` response parameter value is `null` *only*
4988
- # when there are no more results to display.
5323
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
5324
+ # parameter value, even if you receive an empty result set. These
5325
+ # operations can occasionally return an empty set of results even when
5326
+ # more results are available. Continue making requests until `NextToken`
5327
+ # returns null. A null `NextToken` value indicates that you have
5328
+ # retrieved all available results.
4989
5329
  #
4990
5330
  # </note>
4991
5331
  #
4992
- # This operation can be called only from the organization's management
4993
- # account or by a member account that is a delegated administrator.
5332
+ # You can only call this operation from the management account or a
5333
+ # member account that is a delegated administrator.
4994
5334
  #
4995
5335
  # @option params [required, String] :filter
4996
5336
  # Specifies the type of policy that you want to include in the response.
@@ -5012,6 +5352,8 @@ module Aws::Organizations
5012
5352
  #
5013
5353
  # * [SECURITYHUB\_POLICY][8]
5014
5354
  #
5355
+ # * [INSPECTOR\_POLICY][9]
5356
+ #
5015
5357
  #
5016
5358
  #
5017
5359
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -5022,6 +5364,7 @@ module Aws::Organizations
5022
5364
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
5023
5365
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
5024
5366
  # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
5367
+ # [9]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inspector.html
5025
5368
  #
5026
5369
  # @option params [String] :next_token
5027
5370
  # The parameter for receiving additional results if you receive a
@@ -5031,16 +5374,9 @@ module Aws::Organizations
5031
5374
  # the output should continue from.
5032
5375
  #
5033
5376
  # @option params [Integer] :max_results
5034
- # The total number of results that you want included on each page of the
5035
- # response. If you do not include this parameter, it defaults to a value
5036
- # that is specific to the operation. If additional items exist beyond
5037
- # the maximum you specify, the `NextToken` response element is present
5038
- # and has a value (is not null). Include that value as the `NextToken`
5039
- # request parameter in the next call to the operation to get the next
5040
- # part of the results. Note that Organizations might return fewer
5041
- # results than the maximum even when there are more results available.
5042
- # You should check `NextToken` after every operation to ensure that you
5043
- # receive all of the results.
5377
+ # The maximum number of items to return in the response. If more results
5378
+ # exist than the specified `MaxResults` value, a token is included in
5379
+ # the response so that you can retrieve the remaining results.
5044
5380
  #
5045
5381
  # @return [Types::ListPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5046
5382
  #
@@ -5091,7 +5427,7 @@ module Aws::Organizations
5091
5427
  # @example Request syntax with placeholder values
5092
5428
  #
5093
5429
  # resp = client.list_policies({
5094
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
5430
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY, INSPECTOR_POLICY
5095
5431
  # next_token: "NextToken",
5096
5432
  # max_results: 1,
5097
5433
  # })
@@ -5103,7 +5439,7 @@ module Aws::Organizations
5103
5439
  # resp.policies[0].arn #=> String
5104
5440
  # resp.policies[0].name #=> String
5105
5441
  # resp.policies[0].description #=> String
5106
- # resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
5442
+ # resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
5107
5443
  # resp.policies[0].aws_managed #=> Boolean
5108
5444
  # resp.next_token #=> String
5109
5445
  #
@@ -5120,20 +5456,21 @@ module Aws::Organizations
5120
5456
  # root, organizational unit (OU), or account. You must specify the
5121
5457
  # policy type that you want included in the returned list.
5122
5458
  #
5123
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
5124
- # when calling a `List*` operation. These operations can occasionally
5125
- # return an empty set of results even when there are more results
5126
- # available. The `NextToken` response parameter value is `null` *only*
5127
- # when there are no more results to display.
5459
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
5460
+ # parameter value, even if you receive an empty result set. These
5461
+ # operations can occasionally return an empty set of results even when
5462
+ # more results are available. Continue making requests until `NextToken`
5463
+ # returns null. A null `NextToken` value indicates that you have
5464
+ # retrieved all available results.
5128
5465
  #
5129
5466
  # </note>
5130
5467
  #
5131
- # This operation can be called only from the organization's management
5132
- # account or by a member account that is a delegated administrator.
5468
+ # You can only call this operation from the management account or a
5469
+ # member account that is a delegated administrator.
5133
5470
  #
5134
5471
  # @option params [required, String] :target_id
5135
- # The unique identifier (ID) of the root, organizational unit, or
5136
- # account whose policies you want to list.
5472
+ # ID for the root, organizational unit, or account whose policies you
5473
+ # want to list.
5137
5474
  #
5138
5475
  # The [regex pattern][1] for a target ID string requires one of the
5139
5476
  # following:
@@ -5172,6 +5509,8 @@ module Aws::Organizations
5172
5509
  #
5173
5510
  # * [SECURITYHUB\_POLICY][8]
5174
5511
  #
5512
+ # * [INSPECTOR\_POLICY][9]
5513
+ #
5175
5514
  #
5176
5515
  #
5177
5516
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -5182,6 +5521,7 @@ module Aws::Organizations
5182
5521
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
5183
5522
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
5184
5523
  # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
5524
+ # [9]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inspector.html
5185
5525
  #
5186
5526
  # @option params [String] :next_token
5187
5527
  # The parameter for receiving additional results if you receive a
@@ -5191,16 +5531,9 @@ module Aws::Organizations
5191
5531
  # the output should continue from.
5192
5532
  #
5193
5533
  # @option params [Integer] :max_results
5194
- # The total number of results that you want included on each page of the
5195
- # response. If you do not include this parameter, it defaults to a value
5196
- # that is specific to the operation. If additional items exist beyond
5197
- # the maximum you specify, the `NextToken` response element is present
5198
- # and has a value (is not null). Include that value as the `NextToken`
5199
- # request parameter in the next call to the operation to get the next
5200
- # part of the results. Note that Organizations might return fewer
5201
- # results than the maximum even when there are more results available.
5202
- # You should check `NextToken` after every operation to ensure that you
5203
- # receive all of the results.
5534
+ # The maximum number of items to return in the response. If more results
5535
+ # exist than the specified `MaxResults` value, a token is included in
5536
+ # the response so that you can retrieve the remaining results.
5204
5537
  #
5205
5538
  # @return [Types::ListPoliciesForTargetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5206
5539
  #
@@ -5239,7 +5572,7 @@ module Aws::Organizations
5239
5572
  #
5240
5573
  # resp = client.list_policies_for_target({
5241
5574
  # target_id: "PolicyTargetId", # required
5242
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
5575
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY, INSPECTOR_POLICY
5243
5576
  # next_token: "NextToken",
5244
5577
  # max_results: 1,
5245
5578
  # })
@@ -5251,7 +5584,7 @@ module Aws::Organizations
5251
5584
  # resp.policies[0].arn #=> String
5252
5585
  # resp.policies[0].name #=> String
5253
5586
  # resp.policies[0].description #=> String
5254
- # resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
5587
+ # resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
5255
5588
  # resp.policies[0].aws_managed #=> Boolean
5256
5589
  # resp.next_token #=> String
5257
5590
  #
@@ -5266,16 +5599,17 @@ module Aws::Organizations
5266
5599
 
5267
5600
  # Lists the roots that are defined in the current organization.
5268
5601
  #
5269
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
5270
- # when calling a `List*` operation. These operations can occasionally
5271
- # return an empty set of results even when there are more results
5272
- # available. The `NextToken` response parameter value is `null` *only*
5273
- # when there are no more results to display.
5602
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
5603
+ # parameter value, even if you receive an empty result set. These
5604
+ # operations can occasionally return an empty set of results even when
5605
+ # more results are available. Continue making requests until `NextToken`
5606
+ # returns null. A null `NextToken` value indicates that you have
5607
+ # retrieved all available results.
5274
5608
  #
5275
5609
  # </note>
5276
5610
  #
5277
- # This operation can be called only from the organization's management
5278
- # account or by a member account that is a delegated administrator.
5611
+ # You can only call this operation from the management account or a
5612
+ # member account that is a delegated administrator.
5279
5613
  #
5280
5614
  # <note markdown="1"> Policy types can be enabled and disabled in roots. This is distinct
5281
5615
  # from whether they're available in the organization. When you enable
@@ -5294,16 +5628,9 @@ module Aws::Organizations
5294
5628
  # the output should continue from.
5295
5629
  #
5296
5630
  # @option params [Integer] :max_results
5297
- # The total number of results that you want included on each page of the
5298
- # response. If you do not include this parameter, it defaults to a value
5299
- # that is specific to the operation. If additional items exist beyond
5300
- # the maximum you specify, the `NextToken` response element is present
5301
- # and has a value (is not null). Include that value as the `NextToken`
5302
- # request parameter in the next call to the operation to get the next
5303
- # part of the results. Note that Organizations might return fewer
5304
- # results than the maximum even when there are more results available.
5305
- # You should check `NextToken` after every operation to ensure that you
5306
- # receive all of the results.
5631
+ # The maximum number of items to return in the response. If more results
5632
+ # exist than the specified `MaxResults` value, a token is included in
5633
+ # the response so that you can retrieve the remaining results.
5307
5634
  #
5308
5635
  # @return [Types::ListRootsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5309
5636
  #
@@ -5351,7 +5678,7 @@ module Aws::Organizations
5351
5678
  # resp.roots[0].arn #=> String
5352
5679
  # resp.roots[0].name #=> String
5353
5680
  # resp.roots[0].policy_types #=> Array
5354
- # resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
5681
+ # resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
5355
5682
  # resp.roots[0].policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
5356
5683
  # resp.next_token #=> String
5357
5684
  #
@@ -5376,8 +5703,8 @@ module Aws::Organizations
5376
5703
  #
5377
5704
  # * Policy (any type)
5378
5705
  #
5379
- # This operation can be called only from the organization's management
5380
- # account or by a member account that is a delegated administrator.
5706
+ # You can only call this operation from the management account or a
5707
+ # member account that is a delegated administrator.
5381
5708
  #
5382
5709
  # @option params [required, String] :resource_id
5383
5710
  # The ID of the resource with the tags to list.
@@ -5435,20 +5762,20 @@ module Aws::Organizations
5435
5762
  # Lists all the roots, organizational units (OUs), and accounts that the
5436
5763
  # specified policy is attached to.
5437
5764
  #
5438
- # <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
5439
- # when calling a `List*` operation. These operations can occasionally
5440
- # return an empty set of results even when there are more results
5441
- # available. The `NextToken` response parameter value is `null` *only*
5442
- # when there are no more results to display.
5765
+ # <note markdown="1"> When calling List* operations, always check the `NextToken` response
5766
+ # parameter value, even if you receive an empty result set. These
5767
+ # operations can occasionally return an empty set of results even when
5768
+ # more results are available. Continue making requests until `NextToken`
5769
+ # returns null. A null `NextToken` value indicates that you have
5770
+ # retrieved all available results.
5443
5771
  #
5444
5772
  # </note>
5445
5773
  #
5446
- # This operation can be called only from the organization's management
5447
- # account or by a member account that is a delegated administrator.
5774
+ # You can only call this operation from the management account or a
5775
+ # member account that is a delegated administrator.
5448
5776
  #
5449
5777
  # @option params [required, String] :policy_id
5450
- # The unique identifier (ID) of the policy whose attachments you want to
5451
- # know.
5778
+ # ID for the policy whose attachments you want to know.
5452
5779
  #
5453
5780
  # The [regex pattern][1] for a policy ID string requires "p-" followed
5454
5781
  # by from 8 to 128 lowercase or uppercase letters, digits, or the
@@ -5466,16 +5793,9 @@ module Aws::Organizations
5466
5793
  # the output should continue from.
5467
5794
  #
5468
5795
  # @option params [Integer] :max_results
5469
- # The total number of results that you want included on each page of the
5470
- # response. If you do not include this parameter, it defaults to a value
5471
- # that is specific to the operation. If additional items exist beyond
5472
- # the maximum you specify, the `NextToken` response element is present
5473
- # and has a value (is not null). Include that value as the `NextToken`
5474
- # request parameter in the next call to the operation to get the next
5475
- # part of the results. Note that Organizations might return fewer
5476
- # results than the maximum even when there are more results available.
5477
- # You should check `NextToken` after every operation to ensure that you
5478
- # receive all of the results.
5796
+ # The maximum number of items to return in the response. If more results
5797
+ # exist than the specified `MaxResults` value, a token is included in
5798
+ # the response so that you can retrieve the remaining results.
5479
5799
  #
5480
5800
  # @return [Types::ListTargetsForPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5481
5801
  #
@@ -5547,11 +5867,10 @@ module Aws::Organizations
5547
5867
  # Moves an account from its current source parent root or organizational
5548
5868
  # unit (OU) to the specified destination parent root or OU.
5549
5869
  #
5550
- # This operation can be called only from the organization's management
5551
- # account.
5870
+ # You can only call this operation from the management account.
5552
5871
  #
5553
5872
  # @option params [required, String] :account_id
5554
- # The unique identifier (ID) of the account that you want to move.
5873
+ # ID for the account that you want to move.
5555
5874
  #
5556
5875
  # The [regex pattern][1] for an account ID string requires exactly 12
5557
5876
  # digits.
@@ -5561,8 +5880,8 @@ module Aws::Organizations
5561
5880
  # [1]: http://wikipedia.org/wiki/regex
5562
5881
  #
5563
5882
  # @option params [required, String] :source_parent_id
5564
- # The unique identifier (ID) of the root or organizational unit that you
5565
- # want to move the account from.
5883
+ # ID for the root or organizational unit that you want to move the
5884
+ # account from.
5566
5885
  #
5567
5886
  # The [regex pattern][1] for a parent ID string requires one of the
5568
5887
  # following:
@@ -5580,8 +5899,8 @@ module Aws::Organizations
5580
5899
  # [1]: http://wikipedia.org/wiki/regex
5581
5900
  #
5582
5901
  # @option params [required, String] :destination_parent_id
5583
- # The unique identifier (ID) of the root or organizational unit that you
5584
- # want to move the account to.
5902
+ # ID for the root or organizational unit that you want to move the
5903
+ # account to.
5585
5904
  #
5586
5905
  # The [regex pattern][1] for a parent ID string requires one of the
5587
5906
  # following:
@@ -5630,8 +5949,7 @@ module Aws::Organizations
5630
5949
 
5631
5950
  # Creates or updates a resource policy.
5632
5951
  #
5633
- # This operation can be called only from the organization's management
5634
- # account..
5952
+ # You can only call this operation from the management account..
5635
5953
  #
5636
5954
  # @option params [required, String] :content
5637
5955
  # If provided, the new content for the resource policy. The text must be
@@ -5704,8 +6022,7 @@ module Aws::Organizations
5704
6022
  # [Amazon Web Services Services that you can use with Organizations][1]
5705
6023
  # in the *Organizations User Guide.*
5706
6024
  #
5707
- # This operation can be called only from the organization's management
5708
- # account.
6025
+ # You can only call this operation from the management account.
5709
6026
  #
5710
6027
  #
5711
6028
  #
@@ -5745,9 +6062,8 @@ module Aws::Organizations
5745
6062
  # account is no longer charged for any expenses accrued by the member
5746
6063
  # account after it's removed from the organization.
5747
6064
  #
5748
- # This operation can be called only from the organization's management
5749
- # account. Member accounts can remove themselves with LeaveOrganization
5750
- # instead.
6065
+ # You can only call this operation from the management account. Member
6066
+ # accounts can remove themselves with LeaveOrganization instead.
5751
6067
  #
5752
6068
  # * You can remove an account from your organization only if the account
5753
6069
  # is configured with the information required to operate as a
@@ -5774,8 +6090,8 @@ module Aws::Organizations
5774
6090
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html
5775
6091
  #
5776
6092
  # @option params [required, String] :account_id
5777
- # The unique identifier (ID) of the member account that you want to
5778
- # remove from the organization.
6093
+ # ID for the member account that you want to remove from the
6094
+ # organization.
5779
6095
  #
5780
6096
  # The [regex pattern][1] for an account ID string requires exactly 12
5781
6097
  # digits.
@@ -5823,8 +6139,8 @@ module Aws::Organizations
5823
6139
  #
5824
6140
  # * Policy (any type)
5825
6141
  #
5826
- # This operation can be called only from the organization's management
5827
- # account or by a member account that is a delegated administrator.
6142
+ # You can only call this operation from the management account or a
6143
+ # member account that is a delegated administrator.
5828
6144
  #
5829
6145
  # @option params [required, String] :resource_id
5830
6146
  # The ID of the resource to add a tag to.
@@ -5876,6 +6192,80 @@ module Aws::Organizations
5876
6192
  req.send_request(options)
5877
6193
  end
5878
6194
 
6195
+ # Ends a transfer. A *transfer* is an arrangement between two management
6196
+ # accounts where one account designates the other with specified
6197
+ # responsibilities for their organization.
6198
+ #
6199
+ # @option params [required, String] :id
6200
+ # ID for the transfer.
6201
+ #
6202
+ # @option params [Time,DateTime,Date,Integer,String] :end_timestamp
6203
+ # Timestamp when the responsibility transfer is to end.
6204
+ #
6205
+ # @return [Types::TerminateResponsibilityTransferResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6206
+ #
6207
+ # * {Types::TerminateResponsibilityTransferResponse#responsibility_transfer #responsibility_transfer} => Types::ResponsibilityTransfer
6208
+ #
6209
+ #
6210
+ # @example Example: To terminate a transfer
6211
+ #
6212
+ # # The following example shows how to terminate a transfer:/n/n
6213
+ #
6214
+ # resp = client.terminate_responsibility_transfer({
6215
+ # end_timestamp: Time.parse("1769903999"),
6216
+ # id: "rt-exampletransferid222",
6217
+ # })
6218
+ #
6219
+ # resp.to_h outputs the following:
6220
+ # {
6221
+ # responsibility_transfer: {
6222
+ # arn: "arn:aws:organizations::222222222222:transfer/o-exampleorgid222/billing/outbound/rt-exampletransferid222",
6223
+ # end_timestamp: Time.parse("2026-01-31T23:59:59+00:00"),
6224
+ # id: "rt-exampletransferid222",
6225
+ # name: "transfer name",
6226
+ # source: {
6227
+ # management_account_id: "222222222222",
6228
+ # },
6229
+ # start_timestamp: Time.parse("2026-01-01T00:00:00+00:00"),
6230
+ # status: "WITHDRAWN",
6231
+ # target: {
6232
+ # management_account_id: "333333333333",
6233
+ # },
6234
+ # type: "BILLING",
6235
+ # },
6236
+ # }
6237
+ #
6238
+ # @example Request syntax with placeholder values
6239
+ #
6240
+ # resp = client.terminate_responsibility_transfer({
6241
+ # id: "ResponsibilityTransferId", # required
6242
+ # end_timestamp: Time.now,
6243
+ # })
6244
+ #
6245
+ # @example Response structure
6246
+ #
6247
+ # resp.responsibility_transfer.arn #=> String
6248
+ # resp.responsibility_transfer.name #=> String
6249
+ # resp.responsibility_transfer.id #=> String
6250
+ # resp.responsibility_transfer.type #=> String, one of "BILLING"
6251
+ # resp.responsibility_transfer.status #=> String, one of "REQUESTED", "DECLINED", "CANCELED", "EXPIRED", "ACCEPTED", "WITHDRAWN"
6252
+ # resp.responsibility_transfer.source.management_account_id #=> String
6253
+ # resp.responsibility_transfer.source.management_account_email #=> String
6254
+ # resp.responsibility_transfer.target.management_account_id #=> String
6255
+ # resp.responsibility_transfer.target.management_account_email #=> String
6256
+ # resp.responsibility_transfer.start_timestamp #=> Time
6257
+ # resp.responsibility_transfer.end_timestamp #=> Time
6258
+ # resp.responsibility_transfer.active_handshake_id #=> String
6259
+ #
6260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/TerminateResponsibilityTransfer AWS API Documentation
6261
+ #
6262
+ # @overload terminate_responsibility_transfer(params = {})
6263
+ # @param [Hash] params ({})
6264
+ def terminate_responsibility_transfer(params = {}, options = {})
6265
+ req = build_request(:terminate_responsibility_transfer, params)
6266
+ req.send_request(options)
6267
+ end
6268
+
5879
6269
  # Removes any tags with the specified keys from the specified resource.
5880
6270
  #
5881
6271
  # You can attach tags to the following resources in Organizations.
@@ -5888,8 +6278,8 @@ module Aws::Organizations
5888
6278
  #
5889
6279
  # * Policy (any type)
5890
6280
  #
5891
- # This operation can be called only from the organization's management
5892
- # account or by a member account that is a delegated administrator.
6281
+ # You can only call this operation from the management account or a
6282
+ # member account that is a delegated administrator.
5893
6283
  #
5894
6284
  # @option params [required, String] :resource_id
5895
6285
  # The ID of the resource to remove a tag from.
@@ -5932,12 +6322,11 @@ module Aws::Organizations
5932
6322
  # change. The child OUs and accounts remain in place, and any attached
5933
6323
  # policies of the OU remain attached.
5934
6324
  #
5935
- # This operation can be called only from the organization's management
5936
- # account.
6325
+ # You can only call this operation from the management account.
5937
6326
  #
5938
6327
  # @option params [required, String] :organizational_unit_id
5939
- # The unique identifier (ID) of the OU that you want to rename. You can
5940
- # get the ID from the ListOrganizationalUnitsForParent operation.
6328
+ # ID for the OU that you want to rename. You can get the ID from the
6329
+ # ListOrganizationalUnitsForParent operation.
5941
6330
  #
5942
6331
  # The [regex pattern][1] for an organizational unit ID string requires
5943
6332
  # "ou-" followed by from 4 to 32 lowercase letters or digits (the ID
@@ -6007,11 +6396,11 @@ module Aws::Organizations
6007
6396
  # If you don't supply any parameter, that value remains unchanged. You
6008
6397
  # can't change a policy's type.
6009
6398
  #
6010
- # This operation can be called only from the organization's management
6011
- # account or by a member account that is a delegated administrator.
6399
+ # You can only call this operation from the management account or a
6400
+ # member account that is a delegated administrator.
6012
6401
  #
6013
6402
  # @option params [required, String] :policy_id
6014
- # The unique identifier (ID) of the policy that you want to update.
6403
+ # ID for the policy that you want to update.
6015
6404
  #
6016
6405
  # The [regex pattern][1] for a policy ID string requires "p-" followed
6017
6406
  # by from 8 to 128 lowercase or uppercase letters, digits, or the
@@ -6120,7 +6509,7 @@ module Aws::Organizations
6120
6509
  # resp.policy.policy_summary.arn #=> String
6121
6510
  # resp.policy.policy_summary.name #=> String
6122
6511
  # resp.policy.policy_summary.description #=> String
6123
- # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
6512
+ # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY", "INSPECTOR_POLICY"
6124
6513
  # resp.policy.policy_summary.aws_managed #=> Boolean
6125
6514
  # resp.policy.content #=> String
6126
6515
  #
@@ -6133,6 +6522,82 @@ module Aws::Organizations
6133
6522
  req.send_request(options)
6134
6523
  end
6135
6524
 
6525
+ # Updates a transfer. A *transfer* is the arrangement between two
6526
+ # management accounts where one account designates the other with
6527
+ # specified responsibilities for their organization.
6528
+ #
6529
+ # You can update the name assigned to a transfer.
6530
+ #
6531
+ # @option params [required, String] :id
6532
+ # ID for the transfer.
6533
+ #
6534
+ # @option params [required, String] :name
6535
+ # New name you want to assign to the transfer.
6536
+ #
6537
+ # @return [Types::UpdateResponsibilityTransferResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6538
+ #
6539
+ # * {Types::UpdateResponsibilityTransferResponse#responsibility_transfer #responsibility_transfer} => Types::ResponsibilityTransfer
6540
+ #
6541
+ #
6542
+ # @example Example: To rename a transfer
6543
+ #
6544
+ # # The following example shows how to rename a transfer. The output confirms the new name:/n/n
6545
+ #
6546
+ # resp = client.update_responsibility_transfer({
6547
+ # id: "rt-exampletransferid222",
6548
+ # name: "new name",
6549
+ # })
6550
+ #
6551
+ # resp.to_h outputs the following:
6552
+ # {
6553
+ # responsibility_transfer: {
6554
+ # arn: "arn:aws:organizations::222222222222:transfer/o-exampleorgid222/billing/outbound/rt-exampletransferid222",
6555
+ # end_timestamp: Time.parse("2026-01-31T23:59:59+00:00"),
6556
+ # id: "rt-exampletransferid222",
6557
+ # name: "new name",
6558
+ # source: {
6559
+ # management_account_id: "222222222222",
6560
+ # },
6561
+ # start_timestamp: Time.parse("2026-01-01T00:00:00+00:00"),
6562
+ # status: "WITHDRAWN",
6563
+ # target: {
6564
+ # management_account_id: "333333333333",
6565
+ # },
6566
+ # type: "BILLING",
6567
+ # },
6568
+ # }
6569
+ #
6570
+ # @example Request syntax with placeholder values
6571
+ #
6572
+ # resp = client.update_responsibility_transfer({
6573
+ # id: "ResponsibilityTransferId", # required
6574
+ # name: "ResponsibilityTransferName", # required
6575
+ # })
6576
+ #
6577
+ # @example Response structure
6578
+ #
6579
+ # resp.responsibility_transfer.arn #=> String
6580
+ # resp.responsibility_transfer.name #=> String
6581
+ # resp.responsibility_transfer.id #=> String
6582
+ # resp.responsibility_transfer.type #=> String, one of "BILLING"
6583
+ # resp.responsibility_transfer.status #=> String, one of "REQUESTED", "DECLINED", "CANCELED", "EXPIRED", "ACCEPTED", "WITHDRAWN"
6584
+ # resp.responsibility_transfer.source.management_account_id #=> String
6585
+ # resp.responsibility_transfer.source.management_account_email #=> String
6586
+ # resp.responsibility_transfer.target.management_account_id #=> String
6587
+ # resp.responsibility_transfer.target.management_account_email #=> String
6588
+ # resp.responsibility_transfer.start_timestamp #=> Time
6589
+ # resp.responsibility_transfer.end_timestamp #=> Time
6590
+ # resp.responsibility_transfer.active_handshake_id #=> String
6591
+ #
6592
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdateResponsibilityTransfer AWS API Documentation
6593
+ #
6594
+ # @overload update_responsibility_transfer(params = {})
6595
+ # @param [Hash] params ({})
6596
+ def update_responsibility_transfer(params = {}, options = {})
6597
+ req = build_request(:update_responsibility_transfer, params)
6598
+ req.send_request(options)
6599
+ end
6600
+
6136
6601
  # @!endgroup
6137
6602
 
6138
6603
  # @param params ({})
@@ -6151,7 +6616,7 @@ module Aws::Organizations
6151
6616
  tracer: tracer
6152
6617
  )
6153
6618
  context[:gem_name] = 'aws-sdk-organizations'
6154
- context[:gem_version] = '1.126.0'
6619
+ context[:gem_version] = '1.128.0'
6155
6620
  Seahorse::Client::Request.new(handlers, context)
6156
6621
  end
6157
6622