Skip to content

Upgrade Applied Schema

clouddirectory_upgrade_applied_schema R Documentation

Upgrades a single directory in-place using the PublishedSchemaArn with schema updates found in MinorVersion

Description

Upgrades a single directory in-place using the PublishedSchemaArn with schema updates found in MinorVersion. Backwards-compatible minor version upgrades are instantaneously available for readers on all objects in the directory. Note: This is a synchronous API call and upgrades only one schema on a given directory per call. To upgrade multiple directories from one schema, you would need to call this API on each directory.

Usage

clouddirectory_upgrade_applied_schema(PublishedSchemaArn, DirectoryArn,
  DryRun)

Arguments

PublishedSchemaArn

[required] The revision of the published schema to upgrade the directory to.

DirectoryArn

[required] The ARN for the directory to which the upgraded schema will be applied.

DryRun

Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.

Value

A list with the following syntax:

list(
  UpgradedSchemaArn = "string",
  DirectoryArn = "string"
)

Request syntax

svc$upgrade_applied_schema(
  PublishedSchemaArn = "string",
  DirectoryArn = "string",
  DryRun = TRUE|FALSE
)