Class DeleteSimpleFunctionAlarmCommandProtected

Delete an existing function alarm.

Example

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

import { MonitoringClient, DeleteSimpleFunctionAlarmCommand } from "@stedi/sdk-client-monitoring"; // ES Modules import
// const { MonitoringClient, DeleteSimpleFunctionAlarmCommand } = require("@stedi/sdk-client-monitoring"); // CommonJS import
const client = new MonitoringClient(config);
const input = { // DeleteSimpleFunctionAlarmInput
functionName: "STRING_VALUE", // required
idempotencyKey: "STRING_VALUE",
};
const command = new DeleteSimpleFunctionAlarmCommand(input);
const response = await client.send(command);
// { // DeleteSimpleFunctionAlarmOutput
// functionName: "STRING_VALUE", // required
// resourceDetail: { // DeleteResourceDetail
// idempotencyKey: "STRING_VALUE", // required
// },
// };

Param

DeleteSimpleFunctionAlarmCommandInput

Returns

DeleteSimpleFunctionAlarmCommandOutput

See

Throws

ProductUnavailableException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ResourceUnderChangeException (client fault)

Throws

ServiceException (server fault)

Throws

MonitoringServiceException

Base exception class for all service exceptions from Monitoring service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions