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
Gets the world template body.
Use a bare-bones client and the command you need to make an API call.
import { RoboMakerClient, GetWorldTemplateBodyCommand } from "@aws-sdk/client-robomaker"; // ES Modules import// const { RoboMakerClient, GetWorldTemplateBodyCommand } = require("@aws-sdk/client-robomaker"); // CommonJS importconst client = new RoboMakerClient(config);const input = { // GetWorldTemplateBodyRequest template: "STRING_VALUE", generationJob: "STRING_VALUE",};const command = new GetWorldTemplateBodyCommand(input);const response = await client.send(command);// { // GetWorldTemplateBodyResponse// templateBody: "STRING_VALUE",// };
GetWorldTemplateBodyCommandInput
GetWorldTemplateBodyCommandOutput
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
Gets the world template body.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetWorldTemplateBodyCommandInput
Returns
GetWorldTemplateBodyCommandOutput
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.