import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetProbeInput, GetProbeOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetProbeCommand}. */ export interface GetProbeCommandInput extends GetProbeInput { } /** * @public * * The output of {@link GetProbeCommand}. */ export interface GetProbeCommandOutput extends GetProbeOutput, __MetadataBearer { } declare const GetProbeCommand_base: { new (input: GetProbeCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetProbeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns the details about a probe. This action requires both the * monitorName and probeId parameters. Run * ListMonitors to get a list of monitor names. Run * GetMonitor to get a list of probes and probe IDs.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkMonitorClient, GetProbeCommand } from "@aws-sdk/client-networkmonitor"; // ES Modules import * // const { NetworkMonitorClient, GetProbeCommand } = require("@aws-sdk/client-networkmonitor"); // CommonJS import * // import type { NetworkMonitorClientConfig } from "@aws-sdk/client-networkmonitor"; * const config = {}; // type is NetworkMonitorClientConfig * const client = new NetworkMonitorClient(config); * const input = { // GetProbeInput * monitorName: "STRING_VALUE", // required * probeId: "STRING_VALUE", // required * }; * const command = new GetProbeCommand(input); * const response = await client.send(command); * // { // GetProbeOutput * // probeId: "STRING_VALUE", * // probeArn: "STRING_VALUE", * // sourceArn: "STRING_VALUE", // required * // destination: "STRING_VALUE", // required * // destinationPort: Number("int"), * // protocol: "TCP" || "ICMP", // required * // packetSize: Number("int"), * // addressFamily: "IPV4" || "IPV6", * // vpcId: "STRING_VALUE", * // state: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING" || "DELETED", * // createdAt: new Date("TIMESTAMP"), * // modifiedAt: new Date("TIMESTAMP"), * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param GetProbeCommandInput - {@link GetProbeCommandInput} * @returns {@link GetProbeCommandOutput} * @see {@link GetProbeCommandInput} for command's `input` shape. * @see {@link GetProbeCommandOutput} for command's `response` shape. * @see {@link NetworkMonitorClientResolvedConfig | config} for NetworkMonitorClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The request processing has failed because of an unknown error, exception or failure.

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

The specified resource does not exist.

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

The request was denied due to request throttling

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

One of the parameters for the request is not valid.

* * @throws {@link NetworkMonitorServiceException} *

Base exception class for all service exceptions from NetworkMonitor service.

* * * @public */ export declare class GetProbeCommand extends GetProbeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetProbeInput; output: GetProbeOutput; }; sdk: { input: GetProbeCommandInput; output: GetProbeCommandOutput; }; }; }