Skip to content

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(
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  createdBy = "string",
  domainId = "string",
  id = "string",
  retainPermissions = TRUE|FALSE,
  status = "APPROVED"|"REVOKED"|"CANCELLED",
  subscribedListing = 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"
  ),
  subscribedPrincipal = list(
    project = list(
      id = "string",
      name = "string"
    )
  ),
  subscriptionRequestId = "string",
  updatedAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedBy = "string"
)

Request syntax

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