Skip to content

Accept Subscription Request

datazone_accept_subscription_request R Documentation

Accepts a subscription request to a specific asset

Description

Accepts a subscription request to a specific asset.

Usage

datazone_accept_subscription_request(decisionComment, domainIdentifier,
  identifier)

Arguments

decisionComment

A description that specifies the reason for accepting the specified subscription request.

domainIdentifier

[required] The Amazon DataZone domain where the specified subscription request is being accepted.

identifier

[required] The unique identifier of the subscription request that is to be accepted.

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"
)

Request syntax

svc$accept_subscription_request(
  decisionComment = "string",
  domainIdentifier = "string",
  identifier = "string"
)