- 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.
DeleteAppMonitorCommand
Deletes an existing app monitor. This immediately stops the collection of data.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { RUMClient, DeleteAppMonitorCommand } from "@aws-sdk/client-rum"; // ES Modules import
// const { RUMClient, DeleteAppMonitorCommand } = require("@aws-sdk/client-rum"); // CommonJS import
const client = new RUMClient(config);
const input = { // DeleteAppMonitorRequest
Name: "STRING_VALUE", // required
};
const command = new DeleteAppMonitorCommand(input);
const response = await client.send(command);
// {};
DeleteAppMonitorCommand Input
See DeleteAppMonitorCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
Name Required | string | undefined | The name of the app monitor to delete. |
DeleteAppMonitorCommand Output
See DeleteAppMonitorCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | You don't have sufficient permissions to perform this action. |
ConflictException | client | This operation attempted to create a resource that already exists. |
InternalServerException | server | Internal service exception. |
ResourceNotFoundException | client | Resource not found. |
ThrottlingException | client | The request was throttled because of quota limits. |
ValidationException | client | One of the arguments for the request is not valid. |
RUMServiceException | Base exception class for all service exceptions from RUM service. |