import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListProblemsRequest, ListProblemsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListProblemsCommand}. */ export interface ListProblemsCommandInput extends ListProblemsRequest { } /** * @public * * The output of {@link ListProblemsCommand}. */ export interface ListProblemsCommandOutput extends ListProblemsResponse, __MetadataBearer { } declare const ListProblemsCommand_base: { new (input: ListProblemsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListProblemsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists the problems with your application.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationInsightsClient, ListProblemsCommand } from "@aws-sdk/client-application-insights"; // ES Modules import * // const { ApplicationInsightsClient, ListProblemsCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import * // import type { ApplicationInsightsClientConfig } from "@aws-sdk/client-application-insights"; * const config = {}; // type is ApplicationInsightsClientConfig * const client = new ApplicationInsightsClient(config); * const input = { // ListProblemsRequest * AccountId: "STRING_VALUE", * ResourceGroupName: "STRING_VALUE", * StartTime: new Date("TIMESTAMP"), * EndTime: new Date("TIMESTAMP"), * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * ComponentName: "STRING_VALUE", * Visibility: "IGNORED" || "VISIBLE", * }; * const command = new ListProblemsCommand(input); * const response = await client.send(command); * // { // ListProblemsResponse * // ProblemList: [ // ProblemList * // { // Problem * // Id: "STRING_VALUE", * // Title: "STRING_VALUE", * // ShortName: "STRING_VALUE", * // Insights: "STRING_VALUE", * // Status: "IGNORE" || "RESOLVED" || "PENDING" || "RECURRING" || "RECOVERING", * // AffectedResource: "STRING_VALUE", * // StartTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), * // SeverityLevel: "Informative" || "Low" || "Medium" || "High", * // AccountId: "STRING_VALUE", * // ResourceGroupName: "STRING_VALUE", * // Feedback: { // Feedback * // "": "NOT_SPECIFIED" || "USEFUL" || "NOT_USEFUL", * // }, * // RecurringCount: Number("long"), * // LastRecurrenceTime: new Date("TIMESTAMP"), * // Visibility: "IGNORED" || "VISIBLE", * // ResolutionMethod: "MANUAL" || "AUTOMATIC" || "UNRESOLVED", * // }, * // ], * // NextToken: "STRING_VALUE", * // ResourceGroupName: "STRING_VALUE", * // AccountId: "STRING_VALUE", * // }; * * ``` * * @param ListProblemsCommandInput - {@link ListProblemsCommandInput} * @returns {@link ListProblemsCommandOutput} * @see {@link ListProblemsCommandInput} for command's `input` shape. * @see {@link ListProblemsCommandOutput} for command's `response` shape. * @see {@link ApplicationInsightsClientResolvedConfig | config} for ApplicationInsightsClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

The server encountered an internal error and is unable to complete the request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource does not exist in the customer account.

* * @throws {@link ValidationException} (client fault) *

The parameter is not valid.

* * @throws {@link ApplicationInsightsServiceException} *

Base exception class for all service exceptions from ApplicationInsights service.

* * * @public */ export declare class ListProblemsCommand extends ListProblemsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListProblemsRequest; output: ListProblemsResponse; }; sdk: { input: ListProblemsCommandInput; output: ListProblemsCommandOutput; }; }; }