List Subscriptions
| datazone_list_subscriptions | R Documentation |
Lists subscriptions in Amazon DataZone¶
Description¶
Lists subscriptions in Amazon DataZone.
Usage¶
datazone_list_subscriptions(approverProjectId, domainIdentifier,
maxResults, nextToken, owningProjectId, sortBy, sortOrder, status,
subscribedListingId, subscriptionRequestIdentifier)
Arguments¶
approverProjectIdThe identifier of the project for the subscription's approver.
domainIdentifier[required] The identifier of the Amazon DataZone domain.
maxResultsThe maximum number of subscriptions to return in a single call to
list_subscriptions. When the number of subscriptions to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call tolist_subscriptionsto list the next set of Subscriptions.nextTokenWhen the number of subscriptions is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of subscriptions, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call tolist_subscriptionsto list the next set of subscriptions.owningProjectIdThe identifier of the owning project.
sortBySpecifies the way in which the results of this action are to be sorted.
sortOrderSpecifies the sort order for the results of this action.
statusThe status of the subscriptions that you want to list.
This is not a required parameter, but if not provided, by default, Amazon DataZone returns only
APPROVEDsubscriptions.subscribedListingIdThe identifier of the subscribed listing for the subscriptions that you want to list.
subscriptionRequestIdentifierThe identifier of the subscription request for the subscriptions that you want to list.
Value¶
A list with the following syntax:
list(
items = list(
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"
)
),
nextToken = "string"
)
Request syntax¶
svc$list_subscriptions(
approverProjectId = "string",
domainIdentifier = "string",
maxResults = 123,
nextToken = "string",
owningProjectId = "string",
sortBy = "CREATED_AT"|"UPDATED_AT",
sortOrder = "ASCENDING"|"DESCENDING",
status = "APPROVED"|"REVOKED"|"CANCELLED",
subscribedListingId = "string",
subscriptionRequestIdentifier = "string"
)