Create Asset
datazone_create_asset | R Documentation |
Creates an asset in Amazon DataZone catalog¶
Description¶
Creates an asset in Amazon DataZone catalog.
Usage¶
datazone_create_asset(clientToken, description, domainIdentifier,
externalIdentifier, formsInput, glossaryTerms, name,
owningProjectIdentifier, predictionConfiguration, typeIdentifier,
typeRevision)
Arguments¶
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
description
Asset description.
domainIdentifier
[required] Amazon DataZone domain where the asset is created.
externalIdentifier
The external identifier of the asset.
formsInput
Metadata forms attached to the asset.
glossaryTerms
Glossary terms attached to the asset.
name
[required] Asset name.
owningProjectIdentifier
[required] The unique identifier of the project that owns this asset.
predictionConfiguration
The configuration of the automatically generated business-friendly metadata for the asset.
typeIdentifier
[required] The unique identifier of this asset's type.
typeRevision
The revision of this asset's type.
Value¶
A list with the following syntax:
list(
createdAt = as.POSIXct(
"2015-01-01"
),
createdBy = "string",
description = "string",
domainId = "string",
externalIdentifier = "string",
firstRevisionCreatedAt = as.POSIXct(
"2015-01-01"
),
firstRevisionCreatedBy = "string",
formsOutput = list(
list(
content = "string",
formName = "string",
typeName = "string",
typeRevision = "string"
)
),
glossaryTerms = list(
"string"
),
id = "string",
latestTimeSeriesDataPointFormsOutput = list(
list(
contentSummary = "string",
formName = "string",
id = "string",
timestamp = as.POSIXct(
"2015-01-01"
),
typeIdentifier = "string",
typeRevision = "string"
)
),
listing = list(
listingId = "string",
listingStatus = "CREATING"|"ACTIVE"|"INACTIVE"
),
name = "string",
owningProjectId = "string",
predictionConfiguration = list(
businessNameGeneration = list(
enabled = TRUE|FALSE
)
),
readOnlyFormsOutput = list(
list(
content = "string",
formName = "string",
typeName = "string",
typeRevision = "string"
)
),
revision = "string",
typeIdentifier = "string",
typeRevision = "string"
)
Request syntax¶
svc$create_asset(
clientToken = "string",
description = "string",
domainIdentifier = "string",
externalIdentifier = "string",
formsInput = list(
list(
content = "string",
formName = "string",
typeIdentifier = "string",
typeRevision = "string"
)
),
glossaryTerms = list(
"string"
),
name = "string",
owningProjectIdentifier = "string",
predictionConfiguration = list(
businessNameGeneration = list(
enabled = TRUE|FALSE
)
),
typeIdentifier = "string",
typeRevision = "string"
)