Skip to content

Creates a data product revision

Description

Creates a data product revision.

Prerequisites:

  • The original data product must exist in the given domain.
  • User must have permissions on the data product.
  • The domain must be valid and accessible.
  • The new revision name must comply with naming constraints (if required).

Usage

datazone_create_data_product_revision(domainIdentifier, identifier,
  name, description, glossaryTerms, items, formsInput, clientToken)

Arguments

  • domainIdentifier

[required] The ID of the domain where the data product revision is created.

  • identifier

[required] The ID of the data product revision.

  • name

[required] The name of the data product revision.

  • description

The description of the data product revision.

  • glossaryTerms

The glossary terms of the data product revision.

  • items

The data assets of the data product revision.

  • formsInput

The metadata forms of the data product revision.

  • clientToken

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

Value

A list with the following syntax:

list(
  domainId = "string",
  id = "string",
  revision = "string",
  owningProjectId = "string",
  name = "string",
  status = "CREATED"|"CREATING"|"CREATE_FAILED",
  description = "string",
  glossaryTerms = list(
    "string"
  ),
  items = list(
    list(
      itemType = "ASSET",
      identifier = "string",
      revision = "string",
      glossaryTerms = list(
        "string"
      )
    )
  ),
  formsOutput = list(
    list(
      formName = "string",
      typeName = "string",
      typeRevision = "string",
      content = "string"
    )
  ),
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  createdBy = "string",
  firstRevisionCreatedAt = as.POSIXct(
    "2015-01-01"
  ),
  firstRevisionCreatedBy = "string"
)

Request syntax

svc$create_data_product_revision(
  domainIdentifier = "string",
  identifier = "string",
  name = "string",
  description = "string",
  glossaryTerms = list(
    "string"
  ),
  items = list(
    list(
      itemType = "ASSET",
      identifier = "string",
      revision = "string",
      glossaryTerms = list(
        "string"
      )
    )
  ),
  formsInput = list(
    list(
      formName = "string",
      typeIdentifier = "string",
      typeRevision = "string",
      content = "string"
    )
  ),
  clientToken = "string"
)