Skip to content

Create Schema

clouddirectory_create_schema R Documentation

Creates a new schema in a development state

Description

Creates a new schema in a development state. A schema can exist in three phases:

  • Development: This is a mutable phase of the schema. All new schemas are in the development phase. Once the schema is finalized, it can be published.

  • Published: Published schemas are immutable and have a version associated with them.

  • Applied: Applied schemas are mutable in a way that allows you to add new schema facets. You can also add new, nonrequired attributes to existing schema facets. You can apply only published schemas to directories.

Usage

clouddirectory_create_schema(Name)

Arguments

Name

[required] The name that is associated with the schema. This is unique to each account and in each region.

Value

A list with the following syntax:

list(
  SchemaArn = "string"
)

Request syntax

svc$create_schema(
  Name = "string"
)