import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetImportJobRequest, GetImportJobResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetImportJobCommand}. */ export interface GetImportJobCommandInput extends GetImportJobRequest { } /** * @public * * The output of {@link GetImportJobCommand}. */ export interface GetImportJobCommandOutput extends GetImportJobResponse, __MetadataBearer { } declare const GetImportJobCommand_base: { new (input: GetImportJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetImportJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves the started import job.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { QConnectClient, GetImportJobCommand } from "@aws-sdk/client-qconnect"; // ES Modules import * // const { QConnectClient, GetImportJobCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import * // import type { QConnectClientConfig } from "@aws-sdk/client-qconnect"; * const config = {}; // type is QConnectClientConfig * const client = new QConnectClient(config); * const input = { // GetImportJobRequest * importJobId: "STRING_VALUE", // required * knowledgeBaseId: "STRING_VALUE", // required * }; * const command = new GetImportJobCommand(input); * const response = await client.send(command); * // { // GetImportJobResponse * // importJob: { // ImportJobData * // importJobId: "STRING_VALUE", // required * // knowledgeBaseId: "STRING_VALUE", // required * // uploadId: "STRING_VALUE", // required * // knowledgeBaseArn: "STRING_VALUE", // required * // importJobType: "STRING_VALUE", // required * // status: "STRING_VALUE", // required * // url: "STRING_VALUE", // required * // failedRecordReport: "STRING_VALUE", * // urlExpiry: new Date("TIMESTAMP"), // required * // createdTime: new Date("TIMESTAMP"), // required * // lastModifiedTime: new Date("TIMESTAMP"), // required * // metadata: { // ContentMetadata * // "": "STRING_VALUE", * // }, * // externalSourceConfiguration: { // ExternalSourceConfiguration * // source: "STRING_VALUE", // required * // configuration: { // Configuration Union: only one key present * // connectConfiguration: { // ConnectConfiguration * // instanceId: "STRING_VALUE", * // }, * // }, * // }, * // }, * // }; * * ``` * * @param GetImportJobCommandInput - {@link GetImportJobCommandInput} * @returns {@link GetImportJobCommandOutput} * @see {@link GetImportJobCommandInput} for command's `input` shape. * @see {@link GetImportJobCommandOutput} for command's `response` shape. * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The specified resource does not exist.

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

The input fails to satisfy the constraints specified by a service.

* * @throws {@link QConnectServiceException} *

Base exception class for all service exceptions from QConnect service.

* * * @public */ export declare class GetImportJobCommand extends GetImportJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetImportJobRequest; output: GetImportJobResponse; }; sdk: { input: GetImportJobCommandInput; output: GetImportJobCommandOutput; }; }; }