We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Remove one anomaly notifications channel for a profiling group.
Use a bare-bones client and the command you need to make an API call.
import { CodeGuruProfilerClient, RemoveNotificationChannelCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import// const { CodeGuruProfilerClient, RemoveNotificationChannelCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS importconst client = new CodeGuruProfilerClient(config);const input = { // RemoveNotificationChannelRequest profilingGroupName: "STRING_VALUE", // required channelId: "STRING_VALUE", // required};const command = new RemoveNotificationChannelCommand(input);const response = await client.send(command);// { // RemoveNotificationChannelResponse// notificationConfiguration: { // NotificationConfiguration// channels: [ // Channels// { // Channel// id: "STRING_VALUE",// uri: "STRING_VALUE", // required// eventPublishers: [ // EventPublishers // required// "STRING_VALUE",// ],// },// ],// },// };
RemoveNotificationChannelCommandInput
RemoveNotificationChannelCommandOutput
input
response
config
InternalServerException (server fault)
The server encountered an internal error and is unable to complete the request.
ResourceNotFoundException (client fault)
The resource specified in the request does not exist.
ThrottlingException (client fault)
The request was denied due to request throttling.
ValidationException (client fault)
The parameter is not valid.
CodeGuruProfilerServiceException
Base exception class for all service exceptions from CodeGuruProfiler service.
Readonly
Static
Remove one anomaly notifications channel for a profiling group.
Example
Use a bare-bones client and the command you need to make an API call.
Param
RemoveNotificationChannelCommandInput
Returns
RemoveNotificationChannelCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerException (server fault)
The server encountered an internal error and is unable to complete the request.
Throws
ResourceNotFoundException (client fault)
The resource specified in the request does not exist.
Throws
ThrottlingException (client fault)
The request was denied due to request throttling.
Throws
ValidationException (client fault)
The parameter is not valid.
Throws
CodeGuruProfilerServiceException
Base exception class for all service exceptions from CodeGuruProfiler service.