import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetCloudConnectorRequest, GetCloudConnectorResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetCloudConnectorCommand}. */ export interface GetCloudConnectorCommandInput extends GetCloudConnectorRequest { } /** * @public * * The output of {@link GetCloudConnectorCommand}. */ export interface GetCloudConnectorCommandOutput extends GetCloudConnectorResponse, __MetadataBearer { } declare const GetCloudConnectorCommand_base: { new (input: GetCloudConnectorCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetCloudConnectorCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Get configuration details for a cloud connector.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTManagedIntegrationsClient, GetCloudConnectorCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import * // const { IoTManagedIntegrationsClient, GetCloudConnectorCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import * // import type { IoTManagedIntegrationsClientConfig } from "@aws-sdk/client-iot-managed-integrations"; * const config = {}; // type is IoTManagedIntegrationsClientConfig * const client = new IoTManagedIntegrationsClient(config); * const input = { // GetCloudConnectorRequest * Identifier: "STRING_VALUE", // required * }; * const command = new GetCloudConnectorCommand(input); * const response = await client.send(command); * // { // GetCloudConnectorResponse * // Name: "STRING_VALUE", // required * // EndpointConfig: { // EndpointConfig * // lambda: { // LambdaConfig * // arn: "STRING_VALUE", // required * // }, * // }, * // Description: "STRING_VALUE", * // EndpointType: "LAMBDA", * // Id: "STRING_VALUE", * // Type: "LISTED" || "UNLISTED", * // }; * * ``` * * @param GetCloudConnectorCommandInput - {@link GetCloudConnectorCommandInput} * @returns {@link GetCloudConnectorCommandOutput} * @see {@link GetCloudConnectorCommandInput} for command's `input` shape. * @see {@link GetCloudConnectorCommandOutput} for command's `response` shape. * @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User is not authorized.

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

Internal error from the service that indicates an unexpected error or that the service is unavailable.

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

The specified resource does not exist.

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

The rate exceeds the limit.

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

A validation error occurred when performing the API request.

* * @throws {@link IoTManagedIntegrationsServiceException} *

Base exception class for all service exceptions from IoTManagedIntegrations service.

* * * @example GetCloudConnector happy path for TP Link to get connector resource * ```javascript * // * const input = { * Identifier: "123456789012" * }; * const command = new GetCloudConnectorCommand(input); * const response = await client.send(command); * /* response is * { * EndpointConfig: { * lambda: { * arn: "arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion" * } * }, * EndpointType: "LAMBDA", * Id: "123456789012", * Name: "Connector for TP Link Cloud V2" * } * *\/ * ``` * * @example GetCloudConnector happy path for Ring to pending status * ```javascript * // * const input = { * Identifier: "123456789012" * }; * const command = new GetCloudConnectorCommand(input); * const response = await client.send(command); * /* response is * { * EndpointConfig: { * lambda: { * arn: "arn:aws:lambda:us-east-1:111122223333:function:my-function:myVersion" * } * }, * Name: "Connector for Ring Cloud" * } * *\/ * ``` * * @example GetCloudConnector error Id for Ring connector which does not exist * ```javascript * // * const input = { * Identifier: "123456789012" * }; * const command = new GetCloudConnectorCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class GetCloudConnectorCommand extends GetCloudConnectorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetCloudConnectorRequest; output: GetCloudConnectorResponse; }; sdk: { input: GetCloudConnectorCommandInput; output: GetCloudConnectorCommandOutput; }; }; }