Skip to content

List Subscription Requests

datazone_list_subscription_requests R Documentation

Lists Amazon DataZone subscription requests

Description

Lists Amazon DataZone subscription requests.

Usage

datazone_list_subscription_requests(approverProjectId, domainIdentifier,
  maxResults, nextToken, owningProjectId, sortBy, sortOrder, status,
  subscribedListingId)

Arguments

approverProjectId

The identifier of the subscription request approver's project.

domainIdentifier

[required] The identifier of the Amazon DataZone domain.

maxResults

The maximum number of subscription requests to return in a single call to list_subscription_requests. When the number of subscription requests to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to list_subscription_requests to list the next set of subscription requests.

nextToken

When the number of subscription requests is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of subscription requests, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to list_subscription_requests to list the next set of subscription requests.

owningProjectId

The identifier of the project for the subscription requests.

sortBy

Specifies the way to sort the results of this action.

sortOrder

Specifies the sort order for the results of this action.

status

Specifies the status of the subscription requests.

This is not a required parameter, but if not specified, by default, Amazon DataZone returns only PENDING subscription requests.

subscribedListingId

The identifier of the subscribed listing.

Value

A list with the following syntax:

list(
  items = list(
    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"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_subscription_requests(
  approverProjectId = "string",
  domainIdentifier = "string",
  maxResults = 123,
  nextToken = "string",
  owningProjectId = "string",
  sortBy = "CREATED_AT"|"UPDATED_AT",
  sortOrder = "ASCENDING"|"DESCENDING",
  status = "PENDING"|"ACCEPTED"|"REJECTED",
  subscribedListingId = "string"
)