import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ReportInstrumentationConfigurationStatusRequest, ReportInstrumentationConfigurationStatusResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ReportInstrumentationConfigurationStatusCommand}. */ export interface ReportInstrumentationConfigurationStatusCommandInput extends ReportInstrumentationConfigurationStatusRequest { } /** * @public * * The output of {@link ReportInstrumentationConfigurationStatusCommand}. */ export interface ReportInstrumentationConfigurationStatusCommandOutput extends ReportInstrumentationConfigurationStatusResponse, __MetadataBearer { } declare const ReportInstrumentationConfigurationStatusCommand_base: { new (input: ReportInstrumentationConfigurationStatusCommandInput): import("@smithy/core/client").CommandImpl; new (input: ReportInstrumentationConfigurationStatusCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Reports the status of one or more instrumentation configurations from SDK instances. Use this to record when configurations become ready, hit errors, become active, or are disabled by limits.

Report READY, ERROR, and DISABLED when the status changes. Report ACTIVE periodically (for example, every minute) while instrumentation is running.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationSignalsClient, ReportInstrumentationConfigurationStatusCommand } from "@aws-sdk/client-application-signals"; // ES Modules import * // const { ApplicationSignalsClient, ReportInstrumentationConfigurationStatusCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import * // import type { ApplicationSignalsClientConfig } from "@aws-sdk/client-application-signals"; * const config = {}; // type is ApplicationSignalsClientConfig * const client = new ApplicationSignalsClient(config); * const input = { // ReportInstrumentationConfigurationStatusRequest * Service: "STRING_VALUE", // required * Environment: "STRING_VALUE", // required * Configurations: [ // InstrumentationConfigurationStatusList // required * { // InstrumentationConfigurationStatusReport * InstrumentationType: "BREAKPOINT" || "PROBE", // required * SignalType: "SNAPSHOT", // required * LocationHash: "STRING_VALUE", // required * Status: "READY" || "ERROR" || "ACTIVE" || "DISABLED", // required * Time: new Date("TIMESTAMP"), // required * ErrorCause: "FILE_NOT_FOUND" || "METHOD_NOT_FOUND" || "LINE_NOT_EXECUTABLE" || "OVERLOADED_METHODS" || "LANGUAGE_MISMATCH" || "RUNTIME_ERROR", * }, * ], * }; * const command = new ReportInstrumentationConfigurationStatusCommand(input); * const response = await client.send(command); * // { // ReportInstrumentationConfigurationStatusResponse * // Service: "STRING_VALUE", // required * // Environment: "STRING_VALUE", // required * // UnprocessedStatusEvents: [ // UnprocessedStatusEventList // required * // { // UnprocessedStatusEvent * // InstrumentationType: "BREAKPOINT" || "PROBE", // required * // SignalType: "SNAPSHOT", // required * // LocationHash: "STRING_VALUE", // required * // Status: "READY" || "ERROR" || "ACTIVE" || "DISABLED", // required * // Time: new Date("TIMESTAMP"), // required * // FailedReason: "THROTTLED" || "INTERNAL_ERROR" || "VALIDATION_ERROR", // required * // }, * // ], * // }; * * ``` * * @param ReportInstrumentationConfigurationStatusCommandInput - {@link ReportInstrumentationConfigurationStatusCommandInput} * @returns {@link ReportInstrumentationConfigurationStatusCommandOutput} * @see {@link ReportInstrumentationConfigurationStatusCommandInput} for command's `input` shape. * @see {@link ReportInstrumentationConfigurationStatusCommandOutput} for command's `response` shape. * @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape. * * @throws {@link ThrottlingException} (client fault) *

The request was throttled because of quota limits.

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

The resource is not valid.

* * @throws {@link ApplicationSignalsServiceException} *

Base exception class for all service exceptions from ApplicationSignals service.

* * * @public */ export declare class ReportInstrumentationConfigurationStatusCommand extends ReportInstrumentationConfigurationStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ReportInstrumentationConfigurationStatusRequest; output: ReportInstrumentationConfigurationStatusResponse; }; sdk: { input: ReportInstrumentationConfigurationStatusCommandInput; output: ReportInstrumentationConfigurationStatusCommandOutput; }; }; }