Skip to content

List Subscription Grants

datazone_list_subscription_grants R Documentation

Lists subscription grants

Description

Lists subscription grants.

Usage

datazone_list_subscription_grants(domainIdentifier, environmentId,
  maxResults, nextToken, owningProjectId, sortBy, sortOrder,
  subscribedListingId, subscriptionId, subscriptionTargetId)

Arguments

domainIdentifier

[required] The identifier of the Amazon DataZone domain.

environmentId

The identifier of the Amazon DataZone environment.

maxResults

The maximum number of subscription grants to return in a single call to list_subscription_grants. When the number of subscription grants 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_grants to list the next set of subscription grants.

nextToken

When the number of subscription grants 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 grants, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to list_subscription_grants to list the next set of subscription grants.

owningProjectId

The ID of the owning project of the subscription grants.

sortBy

Specifies the way of sorting the results of this action.

sortOrder

Specifies the sort order of this action.

subscribedListingId

The identifier of the subscribed listing.

subscriptionId

The identifier of the subscription.

subscriptionTargetId

The identifier of the subscription target.

Value

A list with the following syntax:

list(
  items = list(
    list(
      assets = list(
        list(
          assetId = "string",
          assetRevision = "string",
          failureCause = list(
            message = "string"
          ),
          failureTimestamp = as.POSIXct(
            "2015-01-01"
          ),
          grantedTimestamp = as.POSIXct(
            "2015-01-01"
          ),
          status = "GRANT_PENDING"|"REVOKE_PENDING"|"GRANT_IN_PROGRESS"|"REVOKE_IN_PROGRESS"|"GRANTED"|"REVOKED"|"GRANT_FAILED"|"REVOKE_FAILED",
          targetName = "string"
        )
      ),
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      createdBy = "string",
      domainId = "string",
      grantedEntity = list(
        listing = list(
          id = "string",
          revision = "string"
        )
      ),
      id = "string",
      status = "PENDING"|"IN_PROGRESS"|"GRANT_FAILED"|"REVOKE_FAILED"|"GRANT_AND_REVOKE_FAILED"|"COMPLETED"|"INACCESSIBLE",
      subscriptionId = "string",
      subscriptionTargetId = "string",
      updatedAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedBy = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_subscription_grants(
  domainIdentifier = "string",
  environmentId = "string",
  maxResults = 123,
  nextToken = "string",
  owningProjectId = "string",
  sortBy = "CREATED_AT"|"UPDATED_AT",
  sortOrder = "ASCENDING"|"DESCENDING",
  subscribedListingId = "string",
  subscriptionId = "string",
  subscriptionTargetId = "string"
)