Module Smaws_Client_Organizations

Organizations client library built on EIO.

Types

module Types : sig ... end

Builders

val make_transfer_participant : ?management_account_email:Types.email -> ?management_account_id:Types.account_id -> unit -> Types.transfer_participant
val make_update_responsibility_transfer_response : ?responsibility_transfer:Types.responsibility_transfer -> unit -> Types.update_responsibility_transfer_response
val make_update_responsibility_transfer_request : name:Types.responsibility_transfer_name -> id:Types.responsibility_transfer_id -> unit -> Types.update_responsibility_transfer_request
val make_policy_summary : ?aws_managed:Types.aws_managed_policy -> ?type_:Types.policy_type -> ?description:Types.policy_description -> ?name:Types.policy_name -> ?arn:Types.policy_arn -> ?id:Types.policy_id -> unit -> Types.policy_summary
val make_policy : ?content:Types.policy_content -> ?policy_summary:Types.policy_summary -> unit -> Types.policy
val make_update_policy_response : ?policy:Types.policy -> unit -> Types.update_policy_response
val make_update_policy_request : ?content:Types.policy_content -> ?description:Types.policy_description -> ?name:Types.policy_name -> policy_id:Types.policy_id -> unit -> Types.update_policy_request
val make_update_organizational_unit_response : ?organizational_unit:Types.organizational_unit -> unit -> Types.update_organizational_unit_response
val make_update_organizational_unit_request : ?name:Types.organizational_unit_name -> organizational_unit_id:Types.organizational_unit_id -> unit -> Types.update_organizational_unit_request
val make_untag_resource_request : tag_keys:Types.tag_keys -> resource_id:Types.taggable_resource_id -> unit -> Types.untag_resource_request
val make_terminate_responsibility_transfer_response : ?responsibility_transfer:Types.responsibility_transfer -> unit -> Types.terminate_responsibility_transfer_response
val make_terminate_responsibility_transfer_request : ?end_timestamp:Types.timestamp -> id:Types.responsibility_transfer_id -> unit -> Types.terminate_responsibility_transfer_request
val make_tag : value:Types.tag_value -> key:Types.tag_key -> unit -> Types.tag
val make_tag_resource_request : tags:Types.tags -> resource_id:Types.taggable_resource_id -> unit -> Types.tag_resource_request
val make_policy_type_summary : ?status:Types.policy_type_status -> ?type_:Types.policy_type -> unit -> Types.policy_type_summary
val make_root : ?policy_types:Types.policy_types -> ?name:Types.root_name -> ?arn:Types.root_arn -> ?id:Types.root_id -> unit -> Types.root
val make_resource_policy_summary : ?arn:Types.resource_policy_arn -> ?id:Types.resource_policy_id -> unit -> Types.resource_policy_summary
val make_resource_policy : ?content:Types.resource_policy_content -> ?resource_policy_summary:Types.resource_policy_summary -> unit -> Types.resource_policy
val make_remove_account_from_organization_request : account_id:Types.account_id -> unit -> Types.remove_account_from_organization_request
val make_register_delegated_administrator_request : service_principal:Types.service_principal -> account_id:Types.account_id -> unit -> Types.register_delegated_administrator_request
val make_put_resource_policy_response : ?resource_policy:Types.resource_policy -> unit -> Types.put_resource_policy_response
val make_put_resource_policy_request : ?tags:Types.tags -> content:Types.resource_policy_content -> unit -> Types.put_resource_policy_request
val make_policy_target_summary : ?type_:Types.target_type -> ?name:Types.target_name -> ?arn:Types.generic_arn -> ?target_id:Types.policy_target_id -> unit -> Types.policy_target_summary
val make_parent : ?type_:Types.parent_type -> ?id:Types.parent_id -> unit -> Types.parent
val make_organization : ?available_policy_types:Types.policy_types -> ?master_account_email:Types.email -> ?master_account_id:Types.account_id -> ?master_account_arn:Types.account_arn -> ?feature_set:Types.organization_feature_set -> ?arn:Types.organization_arn -> ?id:Types.organization_id -> unit -> Types.organization
val make_move_account_request : destination_parent_id:Types.parent_id -> source_parent_id:Types.parent_id -> account_id:Types.account_id -> unit -> Types.move_account_request
val make_list_targets_for_policy_response : ?next_token:Types.next_token -> ?targets:Types.policy_targets -> unit -> Types.list_targets_for_policy_response
val make_list_targets_for_policy_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> policy_id:Types.policy_id -> unit -> Types.list_targets_for_policy_request
val make_list_tags_for_resource_response : ?next_token:Types.next_token -> ?tags:Types.tags -> unit -> Types.list_tags_for_resource_response
val make_list_tags_for_resource_request : ?next_token:Types.next_token -> resource_id:Types.taggable_resource_id -> unit -> Types.list_tags_for_resource_request
val make_list_roots_response : ?next_token:Types.next_token -> ?roots:Types.roots -> unit -> Types.list_roots_response
val make_list_roots_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> unit -> Types.list_roots_request
val make_list_policies_response : ?next_token:Types.next_token -> ?policies:Types.policies -> unit -> Types.list_policies_response
val make_list_policies_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> filter:Types.policy_type -> unit -> Types.list_policies_request
val make_list_policies_for_target_response : ?next_token:Types.next_token -> ?policies:Types.policies -> unit -> Types.list_policies_for_target_response
val make_list_policies_for_target_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> filter:Types.policy_type -> target_id:Types.policy_target_id -> unit -> Types.list_policies_for_target_request
val make_list_parents_response : ?next_token:Types.next_token -> ?parents:Types.parents -> unit -> Types.list_parents_response
val make_list_parents_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> child_id:Types.child_id -> unit -> Types.list_parents_request
val make_list_outbound_responsibility_transfers_response : ?next_token:Types.next_token -> ?responsibility_transfers:Types.responsibility_transfers -> unit -> Types.list_outbound_responsibility_transfers_response
val make_list_outbound_responsibility_transfers_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> type_:Types.responsibility_transfer_type -> unit -> Types.list_outbound_responsibility_transfers_request
val make_list_organizational_units_for_parent_response : ?next_token:Types.next_token -> ?organizational_units:Types.organizational_units -> unit -> Types.list_organizational_units_for_parent_response
val make_list_organizational_units_for_parent_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> parent_id:Types.parent_id -> unit -> Types.list_organizational_units_for_parent_request
val make_list_inbound_responsibility_transfers_response : ?next_token:Types.next_token -> ?responsibility_transfers:Types.responsibility_transfers -> unit -> Types.list_inbound_responsibility_transfers_response
val make_list_inbound_responsibility_transfers_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> ?id:Types.responsibility_transfer_id -> type_:Types.responsibility_transfer_type -> unit -> Types.list_inbound_responsibility_transfers_request
val make_handshake_party : type_:Types.handshake_party_type -> id:Types.handshake_party_id -> unit -> Types.handshake_party
val make_handshake_resource : ?resources:Types.handshake_resources -> ?type_:Types.handshake_resource_type -> ?value:Types.handshake_resource_value -> unit -> Types.handshake_resource
val make_handshake : ?resources:Types.handshake_resources -> ?action:Types.action_type -> ?expiration_timestamp:Types.timestamp -> ?requested_timestamp:Types.timestamp -> ?state:Types.handshake_state -> ?parties:Types.handshake_parties -> ?arn:Types.handshake_arn -> ?id:Types.handshake_id -> unit -> Types.handshake
val make_list_handshakes_for_organization_response : ?next_token:Types.next_token -> ?handshakes:Types.handshakes -> unit -> Types.list_handshakes_for_organization_response
val make_handshake_filter : ?parent_handshake_id:Types.handshake_id -> ?action_type:Types.action_type -> unit -> Types.handshake_filter
val make_list_handshakes_for_organization_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> ?filter:Types.handshake_filter -> unit -> Types.list_handshakes_for_organization_request
val make_list_handshakes_for_account_response : ?next_token:Types.next_token -> ?handshakes:Types.handshakes -> unit -> Types.list_handshakes_for_account_response
val make_list_handshakes_for_account_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> ?filter:Types.handshake_filter -> unit -> Types.list_handshakes_for_account_request
val make_effective_policy_validation_error : ?contributing_policies:Types.policy_ids -> ?path_to_error:Types.path_to_error -> ?error_message:Types.error_message -> ?error_code:Types.error_code -> unit -> Types.effective_policy_validation_error
val make_list_effective_policy_validation_errors_response : ?effective_policy_validation_errors:Types.effective_policy_validation_errors -> ?next_token:Types.next_token -> ?evaluation_timestamp:Types.timestamp -> ?path:Types.path -> ?policy_type:Types.effective_policy_type -> ?account_id:Types.account_id -> unit -> Types.list_effective_policy_validation_errors_response
val make_list_effective_policy_validation_errors_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> policy_type:Types.effective_policy_type -> account_id:Types.account_id -> unit -> Types.list_effective_policy_validation_errors_request
val make_delegated_service : ?delegation_enabled_date:Types.timestamp -> ?service_principal:Types.service_principal -> unit -> Types.delegated_service
val make_list_delegated_services_for_account_response : ?next_token:Types.next_token -> ?delegated_services:Types.delegated_services -> unit -> Types.list_delegated_services_for_account_response
val make_list_delegated_services_for_account_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> account_id:Types.account_id -> unit -> Types.list_delegated_services_for_account_request
val make_delegated_administrator : ?delegation_enabled_date:Types.timestamp -> ?joined_timestamp:Types.timestamp -> ?joined_method:Types.account_joined_method -> ?state:Types.account_state -> ?status:Types.account_status -> ?name:Types.account_name -> ?email:Types.email -> ?arn:Types.account_arn -> ?id:Types.account_id -> unit -> Types.delegated_administrator
val make_list_delegated_administrators_response : ?next_token:Types.next_token -> ?delegated_administrators:Types.delegated_administrators -> unit -> Types.list_delegated_administrators_response
val make_list_delegated_administrators_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> ?service_principal:Types.service_principal -> unit -> Types.list_delegated_administrators_request
val make_create_account_status : ?failure_reason:Types.create_account_failure_reason -> ?gov_cloud_account_id:Types.account_id -> ?account_id:Types.account_id -> ?completed_timestamp:Types.timestamp -> ?requested_timestamp:Types.timestamp -> ?state:Types.create_account_state -> ?account_name:Types.create_account_name -> ?id:Types.create_account_request_id -> unit -> Types.create_account_status
val make_list_create_account_status_response : ?next_token:Types.next_token -> ?create_account_statuses:Types.create_account_statuses -> unit -> Types.list_create_account_status_response
val make_list_create_account_status_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> ?states:Types.create_account_states -> unit -> Types.list_create_account_status_request
val make_child : ?type_:Types.child_type -> ?id:Types.child_id -> unit -> Types.child
val make_list_children_response : ?next_token:Types.next_token -> ?children:Types.children -> unit -> Types.list_children_response
val make_list_children_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> child_type:Types.child_type -> parent_id:Types.parent_id -> unit -> Types.list_children_request
val make_account : ?joined_timestamp:Types.timestamp -> ?joined_method:Types.account_joined_method -> ?paths:Types.paths -> ?state:Types.account_state -> ?status:Types.account_status -> ?name:Types.account_name -> ?email:Types.email -> ?arn:Types.account_arn -> ?id:Types.account_id -> unit -> Types.account
val make_list_accounts_with_invalid_effective_policy_response : ?next_token:Types.next_token -> ?policy_type:Types.effective_policy_type -> ?accounts:Types.accounts -> unit -> Types.list_accounts_with_invalid_effective_policy_response
val make_list_accounts_with_invalid_effective_policy_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> policy_type:Types.effective_policy_type -> unit -> Types.list_accounts_with_invalid_effective_policy_request
val make_list_accounts_response : ?next_token:Types.next_token -> ?accounts:Types.accounts -> unit -> Types.list_accounts_response
val make_list_accounts_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> unit -> Types.list_accounts_request
val make_list_accounts_for_parent_response : ?next_token:Types.next_token -> ?accounts:Types.accounts -> unit -> Types.list_accounts_for_parent_response
val make_list_accounts_for_parent_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> parent_id:Types.parent_id -> unit -> Types.list_accounts_for_parent_request
val make_enabled_service_principal : ?date_enabled:Types.timestamp -> ?service_principal:Types.service_principal -> unit -> Types.enabled_service_principal
val make_list_aws_service_access_for_organization_response : ?next_token:Types.next_token -> ?enabled_service_principals:Types.enabled_service_principals -> unit -> Types.list_aws_service_access_for_organization_response
val make_list_aws_service_access_for_organization_request : ?max_results:Types.max_results -> ?next_token:Types.next_token -> unit -> Types.list_aws_service_access_for_organization_request
val make_invite_organization_to_transfer_responsibility_response : ?handshake:Types.handshake -> unit -> Types.invite_organization_to_transfer_responsibility_response
val make_invite_organization_to_transfer_responsibility_request : ?tags:Types.tags -> ?notes:Types.handshake_notes -> source_name:Types.responsibility_transfer_name -> start_timestamp:Types.timestamp -> target:Types.handshake_party -> type_:Types.responsibility_transfer_type -> unit -> Types.invite_organization_to_transfer_responsibility_request
val make_invite_account_to_organization_response : ?handshake:Types.handshake -> unit -> Types.invite_account_to_organization_response
val make_invite_account_to_organization_request : ?tags:Types.tags -> ?notes:Types.handshake_notes -> target:Types.handshake_party -> unit -> Types.invite_account_to_organization_request
val make_enable_policy_type_response : ?root:Types.root -> unit -> Types.enable_policy_type_response
val make_enable_policy_type_request : policy_type:Types.policy_type -> root_id:Types.root_id -> unit -> Types.enable_policy_type_request
val make_enable_all_features_response : ?handshake:Types.handshake -> unit -> Types.enable_all_features_response
val make_enable_all_features_request : unit -> unit
val make_enable_aws_service_access_request : service_principal:Types.service_principal -> unit -> Types.enable_aws_service_access_request
val make_effective_policy : ?policy_type:Types.effective_policy_type -> ?target_id:Types.policy_target_id -> ?last_updated_timestamp:Types.timestamp -> ?policy_content:Types.policy_content -> unit -> Types.effective_policy
val make_disable_policy_type_response : ?root:Types.root -> unit -> Types.disable_policy_type_response
val make_disable_policy_type_request : policy_type:Types.policy_type -> root_id:Types.root_id -> unit -> Types.disable_policy_type_request
val make_disable_aws_service_access_request : service_principal:Types.service_principal -> unit -> Types.disable_aws_service_access_request
val make_detach_policy_request : target_id:Types.policy_target_id -> policy_id:Types.policy_id -> unit -> Types.detach_policy_request
val make_describe_responsibility_transfer_response : ?responsibility_transfer:Types.responsibility_transfer -> unit -> Types.describe_responsibility_transfer_response
val make_describe_responsibility_transfer_request : id:Types.responsibility_transfer_id -> unit -> Types.describe_responsibility_transfer_request
val make_describe_resource_policy_response : ?resource_policy:Types.resource_policy -> unit -> Types.describe_resource_policy_response
val make_describe_policy_response : ?policy:Types.policy -> unit -> Types.describe_policy_response
val make_describe_policy_request : policy_id:Types.policy_id -> unit -> Types.describe_policy_request
val make_describe_organizational_unit_response : ?organizational_unit:Types.organizational_unit -> unit -> Types.describe_organizational_unit_response
val make_describe_organizational_unit_request : organizational_unit_id:Types.organizational_unit_id -> unit -> Types.describe_organizational_unit_request
val make_describe_organization_response : ?organization:Types.organization -> unit -> Types.describe_organization_response
val make_describe_handshake_response : ?handshake:Types.handshake -> unit -> Types.describe_handshake_response
val make_describe_handshake_request : handshake_id:Types.handshake_id -> unit -> Types.describe_handshake_request
val make_describe_effective_policy_response : ?effective_policy:Types.effective_policy -> unit -> Types.describe_effective_policy_response
val make_describe_effective_policy_request : ?target_id:Types.policy_target_id -> policy_type:Types.effective_policy_type -> unit -> Types.describe_effective_policy_request
val make_describe_create_account_status_response : ?create_account_status:Types.create_account_status -> unit -> Types.describe_create_account_status_response
val make_describe_create_account_status_request : create_account_request_id:Types.create_account_request_id -> unit -> Types.describe_create_account_status_request
val make_describe_account_response : ?account:Types.account -> unit -> Types.describe_account_response
val make_describe_account_request : account_id:Types.account_id -> unit -> Types.describe_account_request
val make_deregister_delegated_administrator_request : service_principal:Types.service_principal -> account_id:Types.account_id -> unit -> Types.deregister_delegated_administrator_request
val make_delete_policy_request : policy_id:Types.policy_id -> unit -> Types.delete_policy_request
val make_delete_organizational_unit_request : organizational_unit_id:Types.organizational_unit_id -> unit -> Types.delete_organizational_unit_request
val make_decline_handshake_response : ?handshake:Types.handshake -> unit -> Types.decline_handshake_response
val make_decline_handshake_request : handshake_id:Types.handshake_id -> unit -> Types.decline_handshake_request
val make_create_policy_response : ?policy:Types.policy -> unit -> Types.create_policy_response
val make_create_policy_request : ?tags:Types.tags -> type_:Types.policy_type -> name:Types.policy_name -> description:Types.policy_description -> content:Types.policy_content -> unit -> Types.create_policy_request
val make_create_organizational_unit_response : ?organizational_unit:Types.organizational_unit -> unit -> Types.create_organizational_unit_response
val make_create_organizational_unit_request : ?tags:Types.tags -> name:Types.organizational_unit_name -> parent_id:Types.parent_id -> unit -> Types.create_organizational_unit_request
val make_create_organization_response : ?organization:Types.organization -> unit -> Types.create_organization_response
val make_create_organization_request : ?feature_set:Types.organization_feature_set -> unit -> Types.create_organization_request
val make_create_gov_cloud_account_response : ?create_account_status:Types.create_account_status -> unit -> Types.create_gov_cloud_account_response
val make_create_gov_cloud_account_request : ?tags:Types.tags -> ?iam_user_access_to_billing:Types.iam_user_access_to_billing -> ?role_name:Types.role_name -> account_name:Types.create_account_name -> email:Types.email -> unit -> Types.create_gov_cloud_account_request
val make_create_account_response : ?create_account_status:Types.create_account_status -> unit -> Types.create_account_response
val make_create_account_request : ?tags:Types.tags -> ?iam_user_access_to_billing:Types.iam_user_access_to_billing -> ?role_name:Types.role_name -> account_name:Types.create_account_name -> email:Types.email -> unit -> Types.create_account_request
val make_close_account_request : account_id:Types.account_id -> unit -> Types.close_account_request
val make_cancel_handshake_response : ?handshake:Types.handshake -> unit -> Types.cancel_handshake_response
val make_cancel_handshake_request : handshake_id:Types.handshake_id -> unit -> Types.cancel_handshake_request
val make_attach_policy_request : target_id:Types.policy_target_id -> policy_id:Types.policy_id -> unit -> Types.attach_policy_request
val make_accept_handshake_response : ?handshake:Types.handshake -> unit -> Types.accept_handshake_response
val make_accept_handshake_request : handshake_id:Types.handshake_id -> unit -> Types.accept_handshake_request

Operations

module AcceptHandshake : sig ... end

Accepts a handshake by sending an ACCEPTED response to the sender. You can view accepted handshakes in API responses for 30 days before they are deleted.

module AttachPolicy : sig ... end

Attaches a policy to a root, an organizational unit (OU), or an individual account. How the policy affects accounts depends on the type of policy. Refer to the Organizations User Guide for information about each policy type:

module CancelHandshake : sig ... end

Cancels a Handshake.

module CloseAccount : sig ... end

Closes an Amazon Web Services member account within an organization. You can close an account when all features are enabled. You can't close the management account with this API. This is an asynchronous request that Amazon Web Services performs in the background. Because CloseAccount operates asynchronously, it can return a successful completion message even though account closure might still be in progress. You need to wait a few minutes before the account is fully closed. To check the status of the request, do one of the following:

module CreateAccount : sig ... end

Creates an Amazon Web Services account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that Amazon Web Services performs in the background. Because CreateAccount operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:

module CreateGovCloudAccount : sig ... end

This action is available if all of the following are true:

module CreateOrganization : sig ... end

Creates an Amazon Web Services organization. The account whose user is calling the CreateOrganization operation automatically becomes the management account of the new organization.

module CreateOrganizationalUnit : sig ... end

Creates an organizational unit (OU) within a root or parent OU. An OU is a container for accounts that enables you to organize your accounts to apply policies according to your business requirements. The number of levels deep that you can nest OUs is dependent upon the policy types enabled for that root. For service control policies, the limit is five.

module CreatePolicy : sig ... end

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual Amazon Web Services account.

module DeclineHandshake : sig ... end

Declines a Handshake.

module DeleteOrganization : sig ... end

Deletes the organization. You can delete an organization only by using credentials from the management account. The organization must be empty of member accounts.

module DeleteOrganizationalUnit : sig ... end

Deletes an organizational unit (OU) from a root or another OU. You must first remove all accounts and child OUs from the OU that you want to delete.

module DeletePolicy : sig ... end

Deletes the specified policy from your organization. Before you perform this operation, you must first detach the policy from all organizational units (OUs), roots, and accounts.

module DeleteResourcePolicy : sig ... end

Deletes the resource policy from your organization.

Removes the specified member Amazon Web Services account as a delegated administrator for the specified Amazon Web Services service.

module DescribeAccount : sig ... end

Retrieves Organizations-related information about the specified account.

module DescribeCreateAccountStatus : sig ... end

Retrieves the current status of an asynchronous request to create an account.

module DescribeEffectivePolicy : sig ... end

Returns the contents of the effective policy for specified policy type and account. The effective policy is the aggregation of any policies of the specified type that the account inherits, plus any policy of that type that is directly attached to the account.

module DescribeHandshake : sig ... end

Returns details for a handshake. A handshake is the secure exchange of information between two Amazon Web Services accounts: a sender and a recipient.

module DescribeOrganization : sig ... end

Retrieves information about the organization that the user's account belongs to.

module DescribeOrganizationalUnit : sig ... end

Retrieves information about an organizational unit (OU).

module DescribePolicy : sig ... end

Retrieves information about a policy.

module DescribeResourcePolicy : sig ... end

Retrieves information about a resource policy.

module DescribeResponsibilityTransfer : sig ... end

Returns details for a transfer. A transfer is an arrangement between two management accounts where one account designates the other with specified responsibilities for their organization.

module DetachPolicy : sig ... end

Detaches a policy from a target root, organizational unit (OU), or account.

module DisableAWSServiceAccess : sig ... end

Disables the integration of an Amazon Web Services service (the service that is specified by ServicePrincipal) with Organizations. When you disable integration, the specified service no longer can create a service-linked role in new accounts in your organization. This means the service can't perform operations on your behalf on any new accounts in your organization. The service can still perform operations in older accounts until the service completes its clean-up from Organizations.

module DisablePolicyType : sig ... end

Disables an organizational policy type in a root. A policy of a certain type can be attached to entities in a root only if that type is enabled in the root. After you perform this operation, you no longer can attach policies of the specified type to that root or to any organizational unit (OU) or account in that root. You can undo this by using the EnablePolicyType operation.

module EnableAWSServiceAccess : sig ... end

Provides an Amazon Web Services service (the service that is specified by ServicePrincipal) with permissions to view the structure of an organization, create a service-linked role in all the accounts in the organization, and allow the service to perform operations on behalf of the organization and its accounts. Establishing these permissions can be a first step in enabling the integration of an Amazon Web Services service with Organizations.

module EnableAllFeatures : sig ... end

Enables all features in an organization. This enables the use of organization policies that can restrict the services and actions that can be called in each account. Until you enable all features, you have access only to consolidated billing, and you can't use any of the advanced account administration features that Organizations supports. For more information, see Enabling all features in your organization in the Organizations User Guide.

module EnablePolicyType : sig ... end

Enables a policy type in a root. After you enable a policy type in a root, you can attach policies of that type to the root, any organizational unit (OU), or account in that root. You can undo this by using the DisablePolicyType operation.

module InviteAccountToOrganization : sig ... end

Sends an invitation to another account to join your organization as a member account. Organizations sends email on your behalf to the email address that is associated with the other account's owner. The invitation is implemented as a Handshake whose details are in the response.

Sends an invitation to another organization's management account to designate your account with the specified responsibilities for their organization. The invitation is implemented as a Handshake whose details are in the response.

module LeaveOrganization : sig ... end

Removes a member account from its parent organization. This version of the operation is performed by the account that wants to leave. To remove a member account as a user in the management account, use RemoveAccountFromOrganization instead.

Returns a list of the Amazon Web Services services that you enabled to integrate with your organization. After a service on this list creates the resources that it requires for the integration, it can perform operations on your organization and its accounts.

module ListAccounts : sig ... end

Lists all the accounts in the organization. To request only the accounts in a specified root or organizational unit (OU), use the ListAccountsForParent operation instead.

module ListAccountsForParent : sig ... end

Lists the accounts in an organization that are contained by the specified target root or organizational unit (OU). If you specify the root, you get a list of all the accounts that aren't in any OU. If you specify an OU, you get a list of all the accounts in only that OU and not in any child OUs. To get a list of all accounts in the organization, use the ListAccounts operation.

Lists all the accounts in an organization that have invalid effective policies. An invalid effective policy is an effective policy that fails validation checks, resulting in the effective policy not being fully enforced on all the intended accounts within an organization.

module ListChildren : sig ... end

Lists all of the organizational units (OUs) or accounts that are contained in the specified parent OU or root. This operation, along with ListParents enables you to traverse the tree structure that makes up this root.

module ListCreateAccountStatus : sig ... end

Lists the account creation requests that match the specified status that is currently being tracked for the organization.

module ListDelegatedAdministrators : sig ... end

Lists the Amazon Web Services accounts that are designated as delegated administrators in this organization.

module ListDelegatedServicesForAccount : sig ... end

List the Amazon Web Services services for which the specified account is a delegated administrator.

Lists all the validation errors on an effective policy for a specified account and policy type.

module ListHandshakesForAccount : sig ... end

Lists the recent handshakes that you have received.

module ListHandshakesForOrganization : sig ... end

Lists the recent handshakes that you have sent.

Lists transfers that allow you to manage the specified responsibilities for another organization. This operation returns both transfer invitations and transfers.

Lists the organizational units (OUs) in a parent organizational unit or root.

Lists transfers that allow an account outside your organization to manage the specified responsibilities for your organization. This operation returns both transfer invitations and transfers.

module ListParents : sig ... end

Lists the root or organizational units (OUs) that serve as the immediate parent of the specified child OU or account. This operation, along with ListChildren enables you to traverse the tree structure that makes up this root.

module ListPolicies : sig ... end

Retrieves the list of all policies in an organization of a specified type.

module ListPoliciesForTarget : sig ... end

Lists the policies that are directly attached to the specified target root, organizational unit (OU), or account. You must specify the policy type that you want included in the returned list.

module ListRoots : sig ... end

Lists the roots that are defined in the current organization.

module ListTagsForResource : sig ... end

Lists tags that are attached to the specified resource.

module ListTargetsForPolicy : sig ... end

Lists all the roots, organizational units (OUs), and accounts that the specified policy is attached to.

module MoveAccount : sig ... end

Moves an account from its current source parent root or organizational unit (OU) to the specified destination parent root or OU.

module PutResourcePolicy : sig ... end

Creates or updates a resource policy.

module RegisterDelegatedAdministrator : sig ... end

Enables the specified member account to administer the Organizations features of the specified Amazon Web Services service. It grants read-only access to Organizations service data. The account still requires IAM permissions to access and administer the Amazon Web Services service.

module RemoveAccountFromOrganization : sig ... end

Removes the specified account from the organization.

module TagResource : sig ... end

Adds one or more tags to the specified resource.

module TerminateResponsibilityTransfer : sig ... end

Ends a transfer. A transfer is an arrangement between two management accounts where one account designates the other with specified responsibilities for their organization.

module UntagResource : sig ... end

Removes any tags with the specified keys from the specified resource.

module UpdateOrganizationalUnit : sig ... end

Renames the specified organizational unit (OU). The ID and ARN don't change. The child OUs and accounts remain in place, and any attached policies of the OU remain attached.

module UpdatePolicy : sig ... end

Updates an existing policy with a new name, description, or content. If you don't supply any parameter, that value remains unchanged. You can't change a policy's type.

module UpdateResponsibilityTransfer : sig ... end
module Json_serializers : sig ... end
module Json_deserializers : sig ... end