Create a new cloud.

Example

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

import { CloudClient, CreateCloudCommand } from "@stedi/sdk-client-cloud"; // ES Modules import
// const { CloudClient, CreateCloudCommand } = require("@stedi/sdk-client-cloud"); // CommonJS import
const client = new CloudClient(config);
const input = { // CreateCloudInput
stediAccountId: "STRING_VALUE", // required
};
const command = new CreateCloudCommand(input);
const response = await client.send(command);
// { // CreateCloudOutput
// stediAccountId: "STRING_VALUE", // required
// awsAccountId: "STRING_VALUE",
// };

Param

CreateCloudCommandInput

Returns

CreateCloudCommandOutput

See

Throws

ServiceException (server fault)

Throws

CloudServiceException

Base exception class for all service exceptions from Cloud service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions