Skip to content

Get Subscription

datazone_get_subscription R Documentation

Gets a subscription in Amazon DataZone

Description

Gets a subscription in Amazon DataZone.

Usage

datazone_get_subscription(domainIdentifier, identifier)

Arguments

domainIdentifier

[required] The ID of the Amazon DataZone domain in which the subscription exists.

identifier

[required] The ID of the subscription.

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$get_subscription(
  domainIdentifier = "string",
  identifier = "string"
)