Jump to Content

New API Documentation - Developer Preview Available

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.

Class RegisterRobotCommandProtected

Deprecated

Registers a robot with a fleet.

This API is no longer supported and will throw an error if used.

Example

Use a bare-bones client and the command you need to make an API call.

import { RoboMakerClient, RegisterRobotCommand } from "@aws-sdk/client-robomaker"; // ES Modules import
// const { RoboMakerClient, RegisterRobotCommand } = require("@aws-sdk/client-robomaker"); // CommonJS import
const client = new RoboMakerClient(config);
const input = { // RegisterRobotRequest
fleet: "STRING_VALUE", // required
robot: "STRING_VALUE", // required
};
const command = new RegisterRobotCommand(input);
const response = await client.send(command);
// { // RegisterRobotResponse
// fleet: "STRING_VALUE",
// robot: "STRING_VALUE",
// };

Param

RegisterRobotCommandInput

Returns

RegisterRobotCommandOutput

See

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

LimitExceededException (client fault)

The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

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.

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<RegisterRobotCommandInput, RegisterRobotCommandOutput>

Methods