import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { TestTelemetryPipelineInput, TestTelemetryPipelineOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link TestTelemetryPipelineCommand}. */ export interface TestTelemetryPipelineCommandInput extends TestTelemetryPipelineInput { } /** * @public * * The output of {@link TestTelemetryPipelineCommand}. */ export interface TestTelemetryPipelineCommandOutput extends TestTelemetryPipelineOutput, __MetadataBearer { } declare const TestTelemetryPipelineCommand_base: { new (input: TestTelemetryPipelineCommandInput): import("@smithy/core/client").CommandImpl; new (input: TestTelemetryPipelineCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Tests a pipeline configuration with sample records to validate data processing before deployment. This operation helps ensure your pipeline configuration works as expected.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ObservabilityAdminClient, TestTelemetryPipelineCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import * // const { ObservabilityAdminClient, TestTelemetryPipelineCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import * // import type { ObservabilityAdminClientConfig } from "@aws-sdk/client-observabilityadmin"; * const config = {}; // type is ObservabilityAdminClientConfig * const client = new ObservabilityAdminClient(config); * const input = { // TestTelemetryPipelineInput * Records: [ // Records // required * { // Record * Data: "STRING_VALUE", * Type: "STRING" || "JSON", * }, * ], * Configuration: { // TelemetryPipelineConfiguration * Body: "STRING_VALUE", // required * }, * SignalType: "LOG" || "METRIC", * }; * const command = new TestTelemetryPipelineCommand(input); * const response = await client.send(command); * // { // TestTelemetryPipelineOutput * // Results: [ // PipelineOutputs * // { // PipelineOutput * // Record: { // Record * // Data: "STRING_VALUE", * // Type: "STRING" || "JSON", * // }, * // Error: { // PipelineOutputError * // Message: "STRING_VALUE", * // }, * // }, * // ], * // }; * * ``` * * @param TestTelemetryPipelineCommandInput - {@link TestTelemetryPipelineCommandInput} * @returns {@link TestTelemetryPipelineCommandOutput} * @see {@link TestTelemetryPipelineCommandInput} for command's `input` shape. * @see {@link TestTelemetryPipelineCommandOutput} for command's `response` shape. * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.

* * @throws {@link InternalServerException} (server fault) *

Indicates the request has failed to process because of an unknown server error, exception, or failure.

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

The request throughput limit was exceeded.

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

Indicates input validation failed. Check your request parameters and retry the request.

* * @throws {@link ObservabilityAdminServiceException} *

Base exception class for all service exceptions from ObservabilityAdmin service.

* * * @public */ export declare class TestTelemetryPipelineCommand extends TestTelemetryPipelineCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: TestTelemetryPipelineInput; output: TestTelemetryPipelineOutput; }; sdk: { input: TestTelemetryPipelineCommandInput; output: TestTelemetryPipelineCommandOutput; }; }; }