Skip to content

Create Asset Type

datazone_create_asset_type R Documentation

Creates a custom asset type

Description

Creates a custom asset type.

Usage

datazone_create_asset_type(description, domainIdentifier, formsInput,
  name, owningProjectIdentifier)

Arguments

description

The descripton of the custom asset type.

domainIdentifier

[required] The unique identifier of the Amazon DataZone domain where the custom asset type is being created.

formsInput

[required] The metadata forms that are to be attached to the custom asset type.

name

[required] The name of the custom asset type.

owningProjectIdentifier

[required] The identifier of the Amazon DataZone project that is to own the custom asset type.

Value

A list with the following syntax:

list(
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  createdBy = "string",
  description = "string",
  domainId = "string",
  formsOutput = list(
    list(
      required = TRUE|FALSE,
      typeName = "string",
      typeRevision = "string"
    )
  ),
  name = "string",
  originDomainId = "string",
  originProjectId = "string",
  owningProjectId = "string",
  revision = "string",
  updatedAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedBy = "string"
)

Request syntax

svc$create_asset_type(
  description = "string",
  domainIdentifier = "string",
  formsInput = list(
    list(
      required = TRUE|FALSE,
      typeIdentifier = "string",
      typeRevision = "string"
    )
  ),
  name = "string",
  owningProjectIdentifier = "string"
)