Skip to content

Revoke Subscription

datazone_revoke_subscription R Documentation

Revokes a specified subscription in Amazon DataZone

Description

Revokes a specified subscription in Amazon DataZone.

Usage

datazone_revoke_subscription(domainIdentifier, identifier,
  retainPermissions)

Arguments

domainIdentifier

[required] The identifier of the Amazon DataZone domain where you want to revoke a subscription.

identifier

[required] The identifier of the revoked subscription.

retainPermissions

Specifies whether permissions are retained when the subscription is revoked.

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$revoke_subscription(
  domainIdentifier = "string",
  identifier = "string",
  retainPermissions = TRUE|FALSE
)