Protected
Create a new cloud.
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 importconst 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",// };
CreateCloudCommandInput
CreateCloudCommandOutput
input
response
config
ServiceException (server fault)
CloudServiceException
Base exception class for all service exceptions from Cloud service.
Readonly
Static
Create a new cloud.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateCloudCommandInput
Returns
CreateCloudCommandOutput
See
inputshape.responseshape.configshape.Throws
ServiceException (server fault)
Throws
CloudServiceException
Base exception class for all service exceptions from Cloud service.