Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Root

import type { Root } from "https://aws-api.deno.dev/v0.4/services/organizations.ts?docs=full";

Contains details about a root. A root is a top-level parent node in the hierarchy of an organization that can contain organizational units (OUs) and accounts. The root contains every Amazon Web Services account in the organization.

interface Root {
Arn?: string | null;
Id?: string | null;
Name?: string | null;
PolicyTypes?: PolicyTypeSummary[] | null;
}

§Properties

§
Arn?: string | null
[src]

The Amazon Resource Name (ARN) of the root.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

§
Id?: string | null
[src]

The unique identifier (ID) for the root.

The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.

§
Name?: string | null
[src]

The friendly name of the root.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

§
PolicyTypes?: PolicyTypeSummary[] | null
[src]

The types of policies that are currently enabled for the root and therefore can be attached to the root or to its OUs or accounts.

Note: Even if a policy type is shown as available in the organization, you can separately enable and disable them at the root level by using "EnablePolicyType" and "DisablePolicyType". Use "DescribeOrganization" to see the availability of the policy types in that organization.