Update an existing core.

Example

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

import { CoresClient, UpdateCoreCommand } from "@stedi/sdk-client-cores"; // ES Modules import
// const { CoresClient, UpdateCoreCommand } = require("@stedi/sdk-client-cores"); // CommonJS import
const client = new CoresClient(config);
const input = { // UpdateCoreInput
idempotencyKey: "STRING_VALUE",
coreName: "STRING_VALUE", // required
};
const command = new UpdateCoreCommand(input);
const response = await client.send(command);
// { // UpdateCoreOutput
// coreName: "STRING_VALUE", // required
// resourceDetail: { // UpdateResourceDetail
// idempotencyKey: "STRING_VALUE", // required
// },
// };

Param

UpdateCoreCommandInput

Returns

UpdateCoreCommandOutput

See

Throws

ResourceNotFoundException (client fault)

Throws

ResourceUnderChangeException (client fault)

Throws

ServiceException (server fault)

Throws

CoresServiceException

Base exception class for all service exceptions from Cores service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions