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 { UpdateConnectivityInfoRequest, UpdateConnectivityInfoResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateConnectivityInfoCommand}. */ export interface UpdateConnectivityInfoCommandInput extends UpdateConnectivityInfoRequest { } /** * @public * * The output of {@link UpdateConnectivityInfoCommand}. */ export interface UpdateConnectivityInfoCommandOutput extends UpdateConnectivityInfoResponse, __MetadataBearer { } declare const UpdateConnectivityInfoCommand_base: { new (input: UpdateConnectivityInfoCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateConnectivityInfoCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, UpdateConnectivityInfoCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, UpdateConnectivityInfoCommand } = 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 = { // UpdateConnectivityInfoRequest * ConnectivityInfo: [ // __listOfConnectivityInfo * { // ConnectivityInfo * HostAddress: "STRING_VALUE", * Id: "STRING_VALUE", * Metadata: "STRING_VALUE", * PortNumber: Number("int"), * }, * ], * ThingName: "STRING_VALUE", // required * }; * const command = new UpdateConnectivityInfoCommand(input); * const response = await client.send(command); * // { // UpdateConnectivityInfoResponse * // Message: "STRING_VALUE", * // Version: "STRING_VALUE", * // }; * * ``` * * @param UpdateConnectivityInfoCommandInput - {@link UpdateConnectivityInfoCommandInput} * @returns {@link UpdateConnectivityInfoCommandOutput} * @see {@link UpdateConnectivityInfoCommandInput} for command's `input` shape. * @see {@link UpdateConnectivityInfoCommandOutput} 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 UpdateConnectivityInfoCommand extends UpdateConnectivityInfoCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateConnectivityInfoRequest; output: UpdateConnectivityInfoResponse; }; sdk: { input: UpdateConnectivityInfoCommandInput; output: UpdateConnectivityInfoCommandOutput; }; }; }