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(domainIdentifier, identifier,
assetIdentifier, status, failureCause, targetName)
Arguments¶
domainIdentifier |
[required] The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated. |
identifier |
[required] The identifier of the subscription grant the status of which is to be updated. |
assetIdentifier |
[required] The identifier of the asset the subscription grant status of which is to be updated. |
status |
[required] The status to be updated as part of the
|
failureCause |
Specifies the error message that is returned if the operation cannot be successfully completed. |
targetName |
The target name to be updated as part of the
|
Value¶
A list with the following syntax:
list(
id = "string",
createdBy = "string",
updatedBy = "string",
domainId = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
updatedAt = as.POSIXct(
"2015-01-01"
),
environmentId = "string",
subscriptionTargetId = "string",
grantedEntity = list(
listing = list(
id = "string",
revision = "string"
)
),
status = "PENDING"|"IN_PROGRESS"|"GRANT_FAILED"|"REVOKE_FAILED"|"GRANT_AND_REVOKE_FAILED"|"COMPLETED"|"INACCESSIBLE",
assets = list(
list(
assetId = "string",
assetRevision = "string",
status = "GRANT_PENDING"|"REVOKE_PENDING"|"GRANT_IN_PROGRESS"|"REVOKE_IN_PROGRESS"|"GRANTED"|"REVOKED"|"GRANT_FAILED"|"REVOKE_FAILED",
targetName = "string",
failureCause = list(
message = "string"
),
grantedTimestamp = as.POSIXct(
"2015-01-01"
),
failureTimestamp = as.POSIXct(
"2015-01-01"
),
assetScope = list(
assetId = "string",
filterIds = list(
"string"
),
status = "string",
errorMessage = "string"
),
permissions = list(
s3 = list(
"READ"|"WRITE"
)
)
)
),
subscriptionId = "string"
)
Request syntax¶
svc$update_subscription_grant_status(
domainIdentifier = "string",
identifier = "string",
assetIdentifier = "string",
status = "GRANT_PENDING"|"REVOKE_PENDING"|"GRANT_IN_PROGRESS"|"REVOKE_IN_PROGRESS"|"GRANTED"|"REVOKED"|"GRANT_FAILED"|"REVOKE_FAILED",
failureCause = list(
message = "string"
),
targetName = "string"
)