Skip to content

Deletes an asset in Amazon DataZone

Description

Deletes an asset in Amazon DataZone.

  • --domain-identifier must refer to a valid and existing domain.
  • --identifier must refer to an existing asset in the specified domain.
  • Asset must not be referenced in any existing asset filters.
  • Asset must not be linked to any draft or published data product.
  • User must have delete permissions for the domain and project.

Usage

datazone_delete_asset(domainIdentifier, identifier)

Arguments

  • domainIdentifier

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

  • identifier

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

Value

An empty list.

Request syntax

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