Learn R Programming

paws (version 0.1.12)

organizations: AWS Organizations

Description

AWS Organizations

Usage

organizations(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- organizations(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

accept_handshakeSends a response to the originator of a handshake agreeing to the action proposed by the handshake request
attach_policyAttaches a policy to a root, an organizational unit (OU), or an individual account
cancel_handshakeCancels a handshake
create_accountCreates an AWS account that is automatically a member of the organization whose credentials made the request
create_gov_cloud_accountThis action is available if all of the following are true:
create_organizationCreates an AWS organization
create_organizational_unitCreates an organizational unit (OU) within a root or parent OU
create_policyCreates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account
decline_handshakeDeclines a handshake request
delete_organizationDeletes the organization
delete_organizational_unitDeletes an organizational unit (OU) from a root or another OU
delete_policyDeletes the specified policy from your organization
deregister_delegated_administratorRemoves the specified member AWS account as a delegated administrator for the specified AWS service
describe_accountRetrieves AWS Organizations-related information about the specified account
describe_create_account_statusRetrieves the current status of an asynchronous request to create an account
describe_effective_policyReturns the contents of the effective policy for specified policy type and account
describe_handshakeRetrieves information about a previously requested handshake
describe_organizationRetrieves information about the organization that the user's account belongs to
describe_organizational_unitRetrieves information about an organizational unit (OU)
describe_policyRetrieves information about a policy
detach_policyDetaches a policy from a target root, organizational unit (OU), or account
disable_aws_service_accessDisables the integration of an AWS service (the service that is specified by ServicePrincipal) with AWS Organizations
disable_policy_typeDisables an organizational policy type in a root
enable_all_featuresEnables all features in an organization
enable_aws_service_accessEnables the integration of an AWS service (the service that is specified by ServicePrincipal) with AWS Organizations
enable_policy_typeEnables a policy type in a root
invite_account_to_organizationSends an invitation to another account to join your organization as a member account
leave_organizationRemoves a member account from its parent organization
list_accountsLists all the accounts in the organization
list_accounts_for_parentLists the accounts in an organization that are contained by the specified target root or organizational unit (OU)
list_aws_service_access_for_organizationReturns a list of the AWS services that you enabled to integrate with your organization
list_childrenLists all of the organizational units (OUs) or accounts that are contained in the specified parent OU or root
list_create_account_statusLists the account creation requests that match the specified status that is currently being tracked for the organization
list_delegated_administratorsLists the AWS accounts that are designated as delegated administrators in this organization
list_delegated_services_for_accountList the AWS services for which the specified account is a delegated administrator
list_handshakes_for_accountLists the current handshakes that are associated with the account of the requesting user
list_handshakes_for_organizationLists the handshakes that are associated with the organization that the requesting user is part of
list_organizational_units_for_parentLists the organizational units (OUs) in a parent organizational unit or root
list_parentsLists the root or organizational units (OUs) that serve as the immediate parent of the specified child OU or account
list_policiesRetrieves the list of all policies in an organization of a specified type
list_policies_for_targetLists the policies that are directly attached to the specified target root, organizational unit (OU), or account
list_rootsLists the roots that are defined in the current organization
list_tags_for_resourceLists tags that are attached to the specified resource
list_targets_for_policyLists all the roots, organizational units (OUs), and accounts that the specified policy is attached to
move_accountMoves an account from its current source parent root or organizational unit (OU) to the specified destination parent root or OU
register_delegated_administratorEnables the specified member account to administer the Organizations features of the specified AWS service
remove_account_from_organizationRemoves the specified account from the organization
tag_resourceAdds one or more tags to the specified resource
untag_resourceRemoves any tags with the specified keys from the specified resource
update_organizational_unitRenames the specified organizational unit (OU)
update_policyUpdates an existing policy with a new name, description, or content

Examples

Run this code
if (FALSE) {
svc <- organizations()
# Bill is the owner of an organization, and he invites Juan's account
# (222222222222) to join his organization. The following example shows
# Juan's account accepting the handshake and thus agreeing to the
# invitation.
svc$accept_handshake(
  HandshakeId = "h-examplehandshakeid111"
)
}

Run the code above in your browser using DataLab