- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
DeleteInputCommand
Deletes an input.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { IoTEventsClient, DeleteInputCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
// const { IoTEventsClient, DeleteInputCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
const client = new IoTEventsClient(config);
const input = { // DeleteInputRequest
inputName: "STRING_VALUE", // required
};
const command = new DeleteInputCommand(input);
const response = await client.send(command);
// {};
DeleteInputCommand Input
See DeleteInputCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
inputName Required | string | undefined | The name of the input to delete. |
DeleteInputCommand Output
See DeleteInputCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
InternalFailureException | server | An internal failure occurred. |
InvalidRequestException | client | The request was invalid. |
ResourceInUseException | client | The resource is in use. |
ResourceNotFoundException | client | The resource was not found. |
ServiceUnavailableException | server | The service is currently unavailable. |
ThrottlingException | client | The request could not be completed due to throttling. |
IoTEventsServiceException | Base exception class for all service exceptions from IoTEvents service. |