Cancel Subscription
| datazone_cancel_subscription | R Documentation |
Cancels the subscription to the specified asset¶
Description¶
Cancels the subscription to the specified asset.
Usage¶
datazone_cancel_subscription(domainIdentifier, identifier)
Arguments¶
domainIdentifier |
[required] The unique identifier of the Amazon DataZone domain where the subscription request is being cancelled. |
identifier |
[required] The unique identifier of the subscription that is being cancelled. |
Value¶
A list with the following syntax:
list(
id = "string",
createdBy = "string",
updatedBy = "string",
domainId = "string",
status = "APPROVED"|"REVOKED"|"CANCELLED",
createdAt = as.POSIXct(
"2015-01-01"
),
updatedAt = as.POSIXct(
"2015-01-01"
),
subscribedPrincipal = list(
project = list(
id = "string",
name = "string"
),
user = list(
id = "string",
details = list(
iam = list(
arn = "string",
principalId = "string",
sessionName = "string",
groupProfileId = "string"
),
sso = list(
username = "string",
firstName = "string",
lastName = "string"
)
)
),
group = list(
id = "string",
name = "string"
),
iam = list(
principalArn = "string"
)
),
subscribedListing = list(
id = "string",
revision = "string",
name = "string",
description = "string",
item = list(
assetListing = list(
entityId = "string",
entityRevision = "string",
entityType = "string",
forms = "string",
glossaryTerms = list(
list(
name = "string",
shortDescription = "string"
)
),
assetScope = list(
assetId = "string",
filterIds = list(
"string"
),
status = "string",
errorMessage = "string"
),
permissions = list(
s3 = list(
"READ"|"WRITE"
)
)
),
productListing = list(
entityId = "string",
entityRevision = "string",
glossaryTerms = list(
list(
name = "string",
shortDescription = "string"
)
),
name = "string",
description = "string",
assetListings = list(
list(
entityId = "string",
entityRevision = "string",
entityType = "string"
)
)
)
),
ownerProjectId = "string",
ownerProjectName = "string"
),
subscriptionRequestId = "string",
retainPermissions = TRUE|FALSE
)
Request syntax¶
svc$cancel_subscription(
domainIdentifier = "string",
identifier = "string"
)