Skip to content

Create Asset Revision

datazone_create_asset_revision R Documentation

Creates a revision of the asset

Description

Creates a revision of the asset.

Usage

datazone_create_asset_revision(clientToken, description,
  domainIdentifier, formsInput, glossaryTerms, identifier, name,
  predictionConfiguration, typeRevision)

Arguments

clientToken

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

description

The revised description of the asset.

domainIdentifier

[required] The unique identifier of the domain where the asset is being revised.

formsInput

The metadata forms to be attached to the asset as part of asset revision.

glossaryTerms

The glossary terms to be attached to the asset as part of asset revision.

identifier

[required] The identifier of the asset.

name

[required] Te revised name of the asset.

predictionConfiguration

The configuration of the automatically generated business-friendly metadata for the asset.

typeRevision

The revision type of the asset.

Value

A list with the following syntax:

list(
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  createdBy = "string",
  description = "string",
  domainId = "string",
  externalIdentifier = "string",
  firstRevisionCreatedAt = as.POSIXct(
    "2015-01-01"
  ),
  firstRevisionCreatedBy = "string",
  formsOutput = list(
    list(
      content = "string",
      formName = "string",
      typeName = "string",
      typeRevision = "string"
    )
  ),
  glossaryTerms = list(
    "string"
  ),
  id = "string",
  latestTimeSeriesDataPointFormsOutput = list(
    list(
      contentSummary = "string",
      formName = "string",
      id = "string",
      timestamp = as.POSIXct(
        "2015-01-01"
      ),
      typeIdentifier = "string",
      typeRevision = "string"
    )
  ),
  listing = list(
    listingId = "string",
    listingStatus = "CREATING"|"ACTIVE"|"INACTIVE"
  ),
  name = "string",
  owningProjectId = "string",
  predictionConfiguration = list(
    businessNameGeneration = list(
      enabled = TRUE|FALSE
    )
  ),
  readOnlyFormsOutput = list(
    list(
      content = "string",
      formName = "string",
      typeName = "string",
      typeRevision = "string"
    )
  ),
  revision = "string",
  typeIdentifier = "string",
  typeRevision = "string"
)

Request syntax

svc$create_asset_revision(
  clientToken = "string",
  description = "string",
  domainIdentifier = "string",
  formsInput = list(
    list(
      content = "string",
      formName = "string",
      typeIdentifier = "string",
      typeRevision = "string"
    )
  ),
  glossaryTerms = list(
    "string"
  ),
  identifier = "string",
  name = "string",
  predictionConfiguration = list(
    businessNameGeneration = list(
      enabled = TRUE|FALSE
    )
  ),
  typeRevision = "string"
)