Protected
This operation revokes subscribers' access to a revision.
Use a bare-bones client and the command you need to make an API call.
import { DataExchangeClient, RevokeRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import// const { DataExchangeClient, RevokeRevisionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS importconst client = new DataExchangeClient(config);const input = { // RevokeRevisionRequest DataSetId: "STRING_VALUE", // required RevisionId: "STRING_VALUE", // required RevocationComment: "STRING_VALUE", // required};const command = new RevokeRevisionCommand(input);const response = await client.send(command);
RevokeRevisionCommandInput
RevokeRevisionCommandOutput
input
response
config
AccessDeniedException (client fault)
Access to the resource is denied.
ConflictException (client fault)
The request couldn't be completed because it conflicted with the current state of the resource.
InternalServerException (server fault)
An exception occurred with the service.
ResourceNotFoundException (client fault)
The resource couldn't be found.
ThrottlingException (client fault)
The limit on the number of requests per second was exceeded.
ValidationException (client fault)
The request was invalid.
Readonly
Static
This operation revokes subscribers' access to a revision.
Example
Use a bare-bones client and the command you need to make an API call.
Param
RevokeRevisionCommandInput
Returns
RevokeRevisionCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
Access to the resource is denied.
Throws
ConflictException (client fault)
The request couldn't be completed because it conflicted with the current state of the resource.
Throws
InternalServerException (server fault)
An exception occurred with the service.
Throws
ResourceNotFoundException (client fault)
The resource couldn't be found.
Throws
ThrottlingException (client fault)
The limit on the number of requests per second was exceeded.
Throws
ValidationException (client fault)
The request was invalid.