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 deployment job.
This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service.
Use a bare-bones client and the command you need to make an API call.
import { RoboMakerClient, CancelDeploymentJobCommand } from "@aws-sdk/client-robomaker"; // ES Modules import// const { RoboMakerClient, CancelDeploymentJobCommand } = require("@aws-sdk/client-robomaker"); // CommonJS importconst client = new RoboMakerClient(config);const input = { // CancelDeploymentJobRequest job: "STRING_VALUE", // required};const command = new CancelDeploymentJobCommand(input);const response = await client.send(command);// {};
CancelDeploymentJobCommandInput
CancelDeploymentJobCommandOutput
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
Deprecated
Cancels the specified deployment job.
This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CancelDeploymentJobCommandInput
Returns
CancelDeploymentJobCommandOutput
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.