Create Subscription Request
datazone_create_subscription_request | R Documentation |
Creates a subscription request in Amazon DataZone¶
Description¶
Creates a subscription request in Amazon DataZone.
Usage¶
datazone_create_subscription_request(clientToken, domainIdentifier,
requestReason, subscribedListings, subscribedPrincipals)
Arguments¶
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
domainIdentifier
[required] The ID of the Amazon DataZone domain in which the subscription request is created.
requestReason
[required] The reason for the subscription request.
subscribedListings
[required] The published asset for which the subscription grant is to be created.
subscribedPrincipals
[required] The Amazon DataZone principals for whom the subscription request is created.
Value¶
A list with the following syntax:
list(
createdAt = as.POSIXct(
"2015-01-01"
),
createdBy = "string",
decisionComment = "string",
domainId = "string",
id = "string",
requestReason = "string",
reviewerId = "string",
status = "PENDING"|"ACCEPTED"|"REJECTED",
subscribedListings = list(
list(
description = "string",
id = "string",
item = list(
assetListing = list(
entityId = "string",
entityRevision = "string",
entityType = "string",
forms = "string",
glossaryTerms = list(
list(
name = "string",
shortDescription = "string"
)
)
),
productListing = list(
assetListings = list(
list(
entityId = "string",
entityRevision = "string",
entityType = "string"
)
),
description = "string",
entityId = "string",
entityRevision = "string",
glossaryTerms = list(
list(
name = "string",
shortDescription = "string"
)
),
name = "string"
)
),
name = "string",
ownerProjectId = "string",
ownerProjectName = "string",
revision = "string"
)
),
subscribedPrincipals = list(
list(
project = list(
id = "string",
name = "string"
)
)
),
updatedAt = as.POSIXct(
"2015-01-01"
),
updatedBy = "string"
)