Skip to content

Creates a subscription target in Amazon DataZone

Description

Creates a subscription target in Amazon DataZone.

Usage

datazone_create_subscription_target(domainIdentifier,
  environmentIdentifier, name, type, subscriptionTargetConfig,
  authorizedPrincipals, manageAccessRole, applicableAssetTypes, provider,
  clientToken, subscriptionGrantCreationMode)

Arguments

  • domainIdentifier

    [required] The ID of the Amazon DataZone domain in which subscription target is created.

  • environmentIdentifier

    [required] The ID of the environment in which subscription target is created.

  • name

    [required] The name of the subscription target.

  • type

    [required] The type of the subscription target.

  • subscriptionTargetConfig

    [required] The configuration of the subscription target.

  • authorizedPrincipals

    [required] The authorized principals of the subscription target.

  • manageAccessRole

    [required] The manage access role that is used to create the subscription target.

  • applicableAssetTypes

    [required] The asset types that can be included in the subscription target.

  • provider

    The provider of the subscription target.

  • clientToken

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

  • subscriptionGrantCreationMode

    Determines the subscription grant creation mode for this target, defining if grants are auto-created upon subscription approval or managed manually.

Value

A list with the following syntax:

list(
  id = "string",
  authorizedPrincipals = list(
    "string"
  ),
  domainId = "string",
  projectId = "string",
  environmentId = "string",
  name = "string",
  type = "string",
  createdBy = "string",
  updatedBy = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedAt = as.POSIXct(
    "2015-01-01"
  ),
  manageAccessRole = "string",
  applicableAssetTypes = list(
    "string"
  ),
  subscriptionTargetConfig = list(
    list(
      formName = "string",
      content = "string"
    )
  ),
  provider = "string",
  subscriptionGrantCreationMode = "AUTOMATIC"|"MANUAL"
)

Request syntax

svc$create_subscription_target(
  domainIdentifier = "string",
  environmentIdentifier = "string",
  name = "string",
  type = "string",
  subscriptionTargetConfig = list(
    list(
      formName = "string",
      content = "string"
    )
  ),
  authorizedPrincipals = list(
    "string"
  ),
  manageAccessRole = "string",
  applicableAssetTypes = list(
    "string"
  ),
  provider = "string",
  clientToken = "string",
  subscriptionGrantCreationMode = "AUTOMATIC"|"MANUAL"
)