import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetUploadJobRequest, GetUploadJobResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetUploadJobCommand}. */ export interface GetUploadJobCommandInput extends GetUploadJobRequest { } /** * @public * * The output of {@link GetUploadJobCommand}. */ export interface GetUploadJobCommandOutput extends GetUploadJobResponse, __MetadataBearer { } declare const GetUploadJobCommand_base: { new (input: GetUploadJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetUploadJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This API retrieves the details of a specific upload job.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CustomerProfilesClient, GetUploadJobCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import * // const { CustomerProfilesClient, GetUploadJobCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles"; * const config = {}; // type is CustomerProfilesClientConfig * const client = new CustomerProfilesClient(config); * const input = { // GetUploadJobRequest * DomainName: "STRING_VALUE", // required * JobId: "STRING_VALUE", // required * }; * const command = new GetUploadJobCommand(input); * const response = await client.send(command); * // { // GetUploadJobResponse * // JobId: "STRING_VALUE", * // DisplayName: "STRING_VALUE", * // Status: "CREATED" || "IN_PROGRESS" || "PARTIALLY_SUCCEEDED" || "SUCCEEDED" || "FAILED" || "STOPPED", * // StatusReason: "VALIDATION_FAILURE" || "INTERNAL_FAILURE", * // CreatedAt: new Date("TIMESTAMP"), * // CompletedAt: new Date("TIMESTAMP"), * // Fields: { // FieldMap * // "": { // ObjectTypeField * // Source: "STRING_VALUE", * // Target: "STRING_VALUE", * // ContentType: "STRING" || "NUMBER" || "PHONE_NUMBER" || "EMAIL_ADDRESS" || "NAME", * // }, * // }, * // UniqueKey: "STRING_VALUE", * // ResultsSummary: { // ResultsSummary * // UpdatedRecords: Number("long"), * // CreatedRecords: Number("long"), * // FailedRecords: Number("long"), * // }, * // DataExpiry: Number("int"), * // }; * * ``` * * @param GetUploadJobCommandInput - {@link GetUploadJobCommandInput} * @returns {@link GetUploadJobCommandOutput} * @see {@link GetUploadJobCommandInput} for command's `input` shape. * @see {@link GetUploadJobCommandOutput} for command's `response` shape. * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The input you provided is invalid.

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

An internal service error occurred.

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

The requested resource does not exist, or access was denied.

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

You exceeded the maximum number of requests.

* * @throws {@link CustomerProfilesServiceException} *

Base exception class for all service exceptions from CustomerProfiles service.

* * * @public */ export declare class GetUploadJobCommand extends GetUploadJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetUploadJobRequest; output: GetUploadJobResponse; }; sdk: { input: GetUploadJobCommandInput; output: GetUploadJobCommandOutput; }; }; }