Skip to content

Updates the schema definition

Description

Updates the schema definition

Inactive schemas will be deleted after two years.

Usage

schemas_update_schema(ClientTokenId, Content, Description, RegistryName,
  SchemaName, Type)

Arguments

  • ClientTokenId

    The ID of the client token.

  • Content

    The source of the schema definition.

  • Description

    The description of the schema.

  • RegistryName

    [required] The name of the registry.

  • SchemaName

    [required] The name of the schema.

  • Type

    The schema type for the events schema.

Value

A list with the following syntax:

list(
  Description = "string",
  LastModified = as.POSIXct(
    "2015-01-01"
  ),
  SchemaArn = "string",
  SchemaName = "string",
  SchemaVersion = "string",
  Tags = list(
    "string"
  ),
  Type = "string",
  VersionCreatedDate = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_schema(
  ClientTokenId = "string",
  Content = "string",
  Description = "string",
  RegistryName = "string",
  SchemaName = "string",
  Type = "OpenApi3"|"JSONSchemaDraft4"
)