We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Cancels the specified world generator job.
Use a bare-bones client and the command you need to make an API call.
import { RoboMakerClient, CancelWorldGenerationJobCommand } from "@aws-sdk/client-robomaker"; // ES Modules import// const { RoboMakerClient, CancelWorldGenerationJobCommand } = require("@aws-sdk/client-robomaker"); // CommonJS importconst client = new RoboMakerClient(config);const input = { // CancelWorldGenerationJobRequest job: "STRING_VALUE", // required};const command = new CancelWorldGenerationJobCommand(input);const response = await client.send(command);// {};
CancelWorldGenerationJobCommandInput
CancelWorldGenerationJobCommandOutput
input
response
config
InternalServerException (server fault)
AWS RoboMaker experienced a service issue. Try your call again.
InvalidParameterException (client fault)
A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message provides an explanation of the error value.
ResourceNotFoundException (client fault)
The specified resource does not exist.
ThrottlingException (client fault)
AWS RoboMaker is temporarily unable to process the request. Try your call again.
RoboMakerServiceException
Base exception class for all service exceptions from RoboMaker service.
Readonly
Static
Cancels the specified world generator job.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CancelWorldGenerationJobCommandInput
Returns
CancelWorldGenerationJobCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerException (server fault)
AWS RoboMaker experienced a service issue. Try your call again.
Throws
InvalidParameterException (client fault)
A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message provides an explanation of the error value.
Throws
ResourceNotFoundException (client fault)
The specified resource does not exist.
Throws
ThrottlingException (client fault)
AWS RoboMaker is temporarily unable to process the request. Try your call again.
Throws
RoboMakerServiceException
Base exception class for all service exceptions from RoboMaker service.