revoke_revision
async
¶
revoke_revision(
data_set_id: Id,
revision_id: Id,
revocation_comment: __stringMin10Max512,
*,
config_overrides: Optional[AsyncDataExchangeClientConfig] = None,
) -> RevokeRevisionResponse
This operation revokes subscribers' access to a revision.
Parameters:
-
data_set_id(Id) –The unique identifier for a data set.
-
revision_id(Id) –The unique identifier for a revision.
-
revocation_comment(__stringMin10Max512) –A required comment to inform subscribers of the reason their access to the revision was revoked.
Raises:
-
AccessDeniedException–Access to the resource is denied.
-
ConflictException–The request couldn't be completed because it conflicted with the current state of the resource.
-
InternalServerException–An exception occurred with the service.
-
ResourceNotFoundException–The resource couldn't be found.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request was invalid.
-
UnknownServiceError–The service returned an error code this client does not model.