Protected
Lists all ongoing RetryHttpDestinationFailure tasks.
Use a bare-bones client and the command you need to make an API call.
import { EventsClient, ListRetryHttpDestinationFailuresTasksCommand } from "@stedi/sdk-client-events"; // ES Modules import// const { EventsClient, ListRetryHttpDestinationFailuresTasksCommand } = require("@stedi/sdk-client-events"); // CommonJS importconst client = new EventsClient(config);const input = { // ListRetryHttpDestinationFailuresTasksInput httpDestinationName: "STRING_VALUE", // required destinationType: "STRING_VALUE",};const command = new ListRetryHttpDestinationFailuresTasksCommand(input);const response = await client.send(command);// { // ListRetryHttpDestinationFailuresTasksOutput// items: [ // RetryHttpDestinationFailureItems// { // RetryHttpDestinationFailure// approximateNumberOfMessagesMoved: Number("int"),// approximateNumberOfMessagesToMove: Number("int"),// maxNumberOfMessagesPerSecond: Number("int"),// startedTimestamp: new Date("TIMESTAMP"),// status: "RUNNING" || "COMPLETED" || "CANCELLING" || "CANCELED" || "FAILED",// failureReason: "STRING_VALUE",// taskHandle: "STRING_VALUE",// },// ],// };
ListRetryHttpDestinationFailuresTasksCommandInput
ListRetryHttpDestinationFailuresTasksCommandOutput
input
response
config
AccessDeniedException (client fault)
ProductUnavailableException (client fault)
ResourceAlreadyExistsException (client fault)
ResourceNotFoundException (client fault)
ResourceUnderChangeException (client fault)
ServiceException (server fault)
EventsServiceException
Base exception class for all service exceptions from Events service.
Readonly
Static
Lists all ongoing RetryHttpDestinationFailure tasks.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListRetryHttpDestinationFailuresTasksCommandInput
Returns
ListRetryHttpDestinationFailuresTasksCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
Throws
ProductUnavailableException (client fault)
Throws
ResourceAlreadyExistsException (client fault)
Throws
ResourceNotFoundException (client fault)
Throws
ResourceUnderChangeException (client fault)
Throws
ServiceException (server fault)
Throws
EventsServiceException
Base exception class for all service exceptions from Events service.