Class EnableEventStoreCommandProtected

Enable Event Store.

Example

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

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

Param

EnableEventStoreCommandInput

Returns

EnableEventStoreCommandOutput

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