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.
environmentIdThe identifier of the Amazon DataZone environment.
maxResultsThe 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 ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call tolist_subscription_grantsto list the next set of subscription grants.nextTokenWhen the number of subscription grants is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of subscription grants, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call tolist_subscription_grantsto list the next set of subscription grants.owningProjectIdThe ID of the owning project of the subscription grants.
sortBySpecifies the way of sorting the results of this action.
sortOrderSpecifies the sort order of this action.
subscribedListingIdThe identifier of the subscribed listing.
subscriptionIdThe identifier of the subscription.
subscriptionTargetIdThe 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"
)