Class UpdateSimpleFunctionAlarmCommandProtected

Update an existing function alarm.

Example

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

import { MonitoringClient, UpdateSimpleFunctionAlarmCommand } from "@stedi/sdk-client-monitoring"; // ES Modules import
// const { MonitoringClient, UpdateSimpleFunctionAlarmCommand } = require("@stedi/sdk-client-monitoring"); // CommonJS import
const client = new MonitoringClient(config);
const input = { // UpdateSimpleFunctionAlarmInput
functionName: "STRING_VALUE", // required
idempotencyKey: "STRING_VALUE",
actionsEnabled: "ENABLED" || "DISABLED",
};
const command = new UpdateSimpleFunctionAlarmCommand(input);
const response = await client.send(command);
// { // UpdateSimpleFunctionAlarmOutput
// functionName: "STRING_VALUE", // required
// resourceDetail: { // UpdateResourceDetail
// idempotencyKey: "STRING_VALUE", // required
// },
// };

Param

UpdateSimpleFunctionAlarmCommandInput

Returns

UpdateSimpleFunctionAlarmCommandOutput

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