Skip to content

Create Data Product

datazone_create_data_product R Documentation

Creates a data product

Description

Creates a data product.

Usage

datazone_create_data_product(clientToken, description, domainIdentifier,
  formsInput, glossaryTerms, items, name, owningProjectIdentifier)

Arguments

clientToken

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

description

The description of the data product.

domainIdentifier

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

formsInput

The metadata forms of the data product.

glossaryTerms

The glossary terms of the data product.

items

The data assets of the data product.

name

[required] The name of the data product.

owningProjectIdentifier

[required] The ID of the owning project of the data product.

Value

A list with the following syntax:

list(
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  createdBy = "string",
  description = "string",
  domainId = "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",
  items = list(
    list(
      glossaryTerms = list(
        "string"
      ),
      identifier = "string",
      itemType = "ASSET",
      revision = "string"
    )
  ),
  name = "string",
  owningProjectId = "string",
  revision = "string",
  status = "CREATED"|"CREATING"|"CREATE_FAILED"
)

Request syntax

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