Skip to content

Create Directory

clouddirectory_create_directory R Documentation

Creates a Directory by copying the published schema into the directory

Description

Creates a Directory by copying the published schema into the directory. A directory cannot be created without a schema.

You can also quickly create a directory using a managed schema, called the QuickStartSchema. For more information, see Managed Schema in the Amazon Cloud Directory Developer Guide.

Usage

clouddirectory_create_directory(Name, SchemaArn)

Arguments

Name

[required] The name of the Directory. Should be unique per account, per region.

SchemaArn

[required] The Amazon Resource Name (ARN) of the published schema that will be copied into the data Directory. For more information, see arns.

Value

A list with the following syntax:

list(
  DirectoryArn = "string",
  Name = "string",
  ObjectIdentifier = "string",
  AppliedSchemaArn = "string"
)

Request syntax

svc$create_directory(
  Name = "string",
  SchemaArn = "string"
)