import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient"; import type { ImportPublicKeyRequest, ImportPublicKeyResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ImportPublicKeyCommand}. */ export interface ImportPublicKeyCommandInput extends ImportPublicKeyRequest { } /** * @public * * The output of {@link ImportPublicKeyCommand}. */ export interface ImportPublicKeyCommandOutput extends ImportPublicKeyResponse, __MetadataBearer { } declare const ImportPublicKeyCommand_base: { new (input: ImportPublicKeyCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ImportPublicKeyCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Import a public key to be used for signing stage participant tokens.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IVSRealTimeClient, ImportPublicKeyCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import * // const { IVSRealTimeClient, ImportPublicKeyCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import * // import type { IVSRealTimeClientConfig } from "@aws-sdk/client-ivs-realtime"; * const config = {}; // type is IVSRealTimeClientConfig * const client = new IVSRealTimeClient(config); * const input = { // ImportPublicKeyRequest * publicKeyMaterial: "STRING_VALUE", // required * name: "STRING_VALUE", * tags: { // Tags * "": "STRING_VALUE", * }, * }; * const command = new ImportPublicKeyCommand(input); * const response = await client.send(command); * // { // ImportPublicKeyResponse * // publicKey: { // PublicKey * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // publicKeyMaterial: "STRING_VALUE", * // fingerprint: "STRING_VALUE", * // tags: { // Tags * // "": "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param ImportPublicKeyCommandInput - {@link ImportPublicKeyCommandInput} * @returns {@link ImportPublicKeyCommandOutput} * @see {@link ImportPublicKeyCommandInput} for command's `input` shape. * @see {@link ImportPublicKeyCommandOutput} for command's `response` shape. * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

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

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

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

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

* * @throws {@link IVSRealTimeServiceException} *

Base exception class for all service exceptions from IVSRealTime service.

* * * @public */ export declare class ImportPublicKeyCommand extends ImportPublicKeyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ImportPublicKeyRequest; output: ImportPublicKeyResponse; }; sdk: { input: ImportPublicKeyCommandInput; output: ImportPublicKeyCommandOutput; }; }; }