Update Subscription Grant Status
datazone_update_subscription_grant_status | R Documentation |
Updates the status of the specified subscription grant status in Amazon DataZone¶
Description¶
Updates the status of the specified subscription grant status in Amazon DataZone.
Usage¶
datazone_update_subscription_grant_status(assetIdentifier,
domainIdentifier, failureCause, identifier, status, targetName)
Arguments¶
assetIdentifier
[required] The identifier of the asset the subscription grant status of which is to be updated.
domainIdentifier
[required] The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
failureCause
Specifies the error message that is returned if the operation cannot be successfully completed.
identifier
[required] The identifier of the subscription grant the status of which is to be updated.
status
[required] The status to be updated as part of the
update_subscription_grant_status
action.targetName
The target name to be updated as part of the
update_subscription_grant_status
action.
Value¶
A list with the following syntax:
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"
)
Request syntax¶
svc$update_subscription_grant_status(
assetIdentifier = "string",
domainIdentifier = "string",
failureCause = list(
message = "string"
),
identifier = "string",
status = "GRANT_PENDING"|"REVOKE_PENDING"|"GRANT_IN_PROGRESS"|"REVOKE_IN_PROGRESS"|"GRANTED"|"REVOKED"|"GRANT_FAILED"|"REVOKE_FAILED",
targetName = "string"
)