import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GreengrassClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassClient"; import type { GetConnectivityInfoRequest, GetConnectivityInfoResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetConnectivityInfoCommand}. */ export interface GetConnectivityInfoCommandInput extends GetConnectivityInfoRequest { } /** * @public * * The output of {@link GetConnectivityInfoCommand}. */ export interface GetConnectivityInfoCommandOutput extends GetConnectivityInfoResponse, __MetadataBearer { } declare const GetConnectivityInfoCommand_base: { new (input: GetConnectivityInfoCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetConnectivityInfoCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Retrieves the connectivity information for a core. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, GetConnectivityInfoCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, GetConnectivityInfoCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import * // import type { GreengrassClientConfig } from "@aws-sdk/client-greengrass"; * const config = {}; // type is GreengrassClientConfig * const client = new GreengrassClient(config); * const input = { // GetConnectivityInfoRequest * ThingName: "STRING_VALUE", // required * }; * const command = new GetConnectivityInfoCommand(input); * const response = await client.send(command); * // { // GetConnectivityInfoResponse * // ConnectivityInfo: [ // __listOfConnectivityInfo * // { // ConnectivityInfo * // HostAddress: "STRING_VALUE", * // Id: "STRING_VALUE", * // Metadata: "STRING_VALUE", * // PortNumber: Number("int"), * // }, * // ], * // Message: "STRING_VALUE", * // }; * * ``` * * @param GetConnectivityInfoCommandInput - {@link GetConnectivityInfoCommandInput} * @returns {@link GetConnectivityInfoCommandOutput} * @see {@link GetConnectivityInfoCommandInput} for command's `input` shape. * @see {@link GetConnectivityInfoCommandOutput} for command's `response` shape. * @see {@link GreengrassClientResolvedConfig | config} for GreengrassClient's `config` shape. * * @throws {@link BadRequestException} (client fault) * General error information. * * @throws {@link InternalServerErrorException} (server fault) * General error information. * * @throws {@link GreengrassServiceException} *

Base exception class for all service exceptions from Greengrass service.

* * * @public */ export declare class GetConnectivityInfoCommand extends GetConnectivityInfoCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetConnectivityInfoRequest; output: GetConnectivityInfoResponse; }; sdk: { input: GetConnectivityInfoCommandInput; output: GetConnectivityInfoCommandOutput; }; }; }