Skip to content

Create Project

datazone_create_project R Documentation

Creates an Amazon DataZone project

Description

Creates an Amazon DataZone project.

Usage

datazone_create_project(domainIdentifier, name, description,
  resourceTags, glossaryTerms, domainUnitId, projectProfileId,
  userParameters, projectCategory, projectExecutionRole,
  membershipAssignments)

Arguments

domainIdentifier

[required] The ID of the Amazon DataZone domain in which this project is created.

name

[required] The name of the Amazon DataZone project.

description

The description of the Amazon DataZone project.

resourceTags

The resource tags of the project.

glossaryTerms

The glossary terms that can be used in this Amazon DataZone project.

domainUnitId

The ID of the domain unit. This parameter is not required and if it is not specified, then the project is created at the root domain unit level.

projectProfileId

The ID of the project profile.

userParameters

The user parameters of the project.

projectCategory

The category of the project. Set to 'ADMIN' designates this as an administrative project for the Amazon DataZone domain.

projectExecutionRole

The default project IAM role that is used to access project resources and run computes such as Glue and Sagemaker.

membershipAssignments

The members to be assigned to the project.

Value

A list with the following syntax:

list(
  domainId = "string",
  id = "string",
  name = "string",
  description = "string",
  projectStatus = "ACTIVE"|"DELETING"|"DELETE_FAILED"|"UPDATING"|"UPDATE_FAILED"|"MOVING",
  failureReasons = list(
    list(
      code = "string",
      message = "string"
    )
  ),
  createdBy = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedAt = as.POSIXct(
    "2015-01-01"
  ),
  resourceTags = list(
    list(
      key = "string",
      value = "string",
      source = "PROJECT"|"PROJECT_PROFILE"
    )
  ),
  glossaryTerms = list(
    "string"
  ),
  domainUnitId = "string",
  projectProfileId = "string",
  userParameters = list(
    list(
      environmentId = "string",
      environmentResolvedAccount = list(
        awsAccountId = "string",
        regionName = "string",
        sourceAccountPoolId = "string"
      ),
      environmentConfigurationName = "string",
      environmentParameters = list(
        list(
          name = "string",
          value = "string"
        )
      )
    )
  ),
  environmentDeploymentDetails = list(
    overallDeploymentStatus = "PENDING_DEPLOYMENT"|"IN_PROGRESS"|"SUCCESSFUL"|"FAILED_VALIDATION"|"FAILED_DEPLOYMENT",
    environmentFailureReasons = list(
      list(
        list(
          code = "string",
          message = "string"
        )
      )
    )
  ),
  projectCategory = "string"
)

Request syntax

svc$create_project(
  domainIdentifier = "string",
  name = "string",
  description = "string",
  resourceTags = list(
    "string"
  ),
  glossaryTerms = list(
    "string"
  ),
  domainUnitId = "string",
  projectProfileId = "string",
  userParameters = list(
    list(
      environmentId = "string",
      environmentResolvedAccount = list(
        awsAccountId = "string",
        regionName = "string",
        sourceAccountPoolId = "string"
      ),
      environmentConfigurationName = "string",
      environmentParameters = list(
        list(
          name = "string",
          value = "string"
        )
      )
    )
  ),
  projectCategory = "string",
  projectExecutionRole = "string",
  membershipAssignments = list(
    list(
      member = list(
        userIdentifier = "string",
        groupIdentifier = "string"
      ),
      designation = "PROJECT_OWNER"|"PROJECT_CONTRIBUTOR"|"PROJECT_CATALOG_VIEWER"|"PROJECT_CATALOG_CONSUMER"|"PROJECT_CATALOG_STEWARD"
    )
  )
)