Skip to content

Create Domain Unit

datazone_create_domain_unit R Documentation

Creates a domain unit in Amazon DataZone

Description

Creates a domain unit in Amazon DataZone.

Usage

datazone_create_domain_unit(clientToken, description, domainIdentifier,
  name, parentDomainUnitIdentifier)

Arguments

clientToken

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

description

The description of the domain unit.

domainIdentifier

[required] The ID of the domain where you want to crate a domain unit.

name

[required] The name of the domain unit.

parentDomainUnitIdentifier

[required] The ID of the parent domain unit.

Value

A list with the following syntax:

list(
  ancestorDomainUnitIds = list(
    "string"
  ),
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  createdBy = "string",
  description = "string",
  domainId = "string",
  id = "string",
  name = "string",
  owners = list(
    list(
      group = list(
        groupId = "string"
      ),
      user = list(
        userId = "string"
      )
    )
  ),
  parentDomainUnitId = "string"
)

Request syntax

svc$create_domain_unit(
  clientToken = "string",
  description = "string",
  domainIdentifier = "string",
  name = "string",
  parentDomainUnitIdentifier = "string"
)