Skip to content

Delete Asset Type

datazone_delete_asset_type R Documentation

Deletes an asset type in Amazon DataZone

Description

Deletes an asset type in Amazon DataZone.

Prerequisites:

  • The asset type must exist in the domain.

  • You must have DeleteAssetType permission.

  • The asset type must not be in use (e.g., assigned to any asset). If used, deletion will fail.

  • You should retrieve the asset type using get-asset-type to confirm its presence before deletion.

Usage

datazone_delete_asset_type(domainIdentifier, identifier)

Arguments

domainIdentifier

[required] The ID of the Amazon DataZone domain in which the asset type is deleted.

identifier

[required] The identifier of the asset type that is deleted.

Value

An empty list.

Request syntax

svc$delete_asset_type(
  domainIdentifier = "string",
  identifier = "string"
)