Protected
This operation creates a revision for a data set.
Use a bare-bones client and the command you need to make an API call.
import { DataExchangeClient, CreateRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import// const { DataExchangeClient, CreateRevisionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS importconst client = new DataExchangeClient(config);const input = { // CreateRevisionRequest Comment: "STRING_VALUE", DataSetId: "STRING_VALUE", // required Tags: { // MapOf__string "<keys>": "STRING_VALUE", },};const command = new CreateRevisionCommand(input);const response = await client.send(command);
CreateRevisionCommandInput
CreateRevisionCommandOutput
input
response
config
AccessDeniedException (client fault)
Access to the resource is denied.
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 creates a revision for a data set.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateRevisionCommandInput
Returns
CreateRevisionCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
Access to the resource is denied.
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.