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 CreateRobotApplicationCommandProtected

Creates a robot application.

Example

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

import { RoboMakerClient, CreateRobotApplicationCommand } from "@aws-sdk/client-robomaker"; // ES Modules import
// const { RoboMakerClient, CreateRobotApplicationCommand } = require("@aws-sdk/client-robomaker"); // CommonJS import
const client = new RoboMakerClient(config);
const input = { // CreateRobotApplicationRequest
name: "STRING_VALUE", // required
sources: [ // SourceConfigs
{ // SourceConfig
s3Bucket: "STRING_VALUE",
s3Key: "STRING_VALUE",
architecture: "STRING_VALUE",
},
],
robotSoftwareSuite: { // RobotSoftwareSuite
name: "STRING_VALUE",
version: "STRING_VALUE",
},
tags: { // TagMap
"<keys>": "STRING_VALUE",
},
environment: { // Environment
uri: "STRING_VALUE",
},
};
const command = new CreateRobotApplicationCommand(input);
const response = await client.send(command);
// { // CreateRobotApplicationResponse
// arn: "STRING_VALUE",
// name: "STRING_VALUE",
// version: "STRING_VALUE",
// sources: [ // Sources
// { // Source
// s3Bucket: "STRING_VALUE",
// s3Key: "STRING_VALUE",
// etag: "STRING_VALUE",
// architecture: "STRING_VALUE",
// },
// ],
// robotSoftwareSuite: { // RobotSoftwareSuite
// name: "STRING_VALUE",
// version: "STRING_VALUE",
// },
// lastUpdatedAt: new Date("TIMESTAMP"),
// revisionId: "STRING_VALUE",
// tags: { // TagMap
// "<keys>": "STRING_VALUE",
// },
// environment: { // Environment
// uri: "STRING_VALUE",
// },
// };

Param

CreateRobotApplicationCommandInput

Returns

CreateRobotApplicationCommandOutput

See

Throws

IdempotentParameterMismatchException (client fault)

The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.

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

ResourceAlreadyExistsException (client fault)

The specified resource already exists.

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

Methods