import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetProtectedJobInput, GetProtectedJobOutput } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetProtectedJobCommand}. */ export interface GetProtectedJobCommandInput extends GetProtectedJobInput { } /** * @public * * The output of {@link GetProtectedJobCommand}. */ export interface GetProtectedJobCommandOutput extends GetProtectedJobOutput, __MetadataBearer { } declare const GetProtectedJobCommand_base: { new (input: GetProtectedJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetProtectedJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns job processing metadata.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, GetProtectedJobCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, GetProtectedJobCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import * // import type { CleanRoomsClientConfig } from "@aws-sdk/client-cleanrooms"; * const config = {}; // type is CleanRoomsClientConfig * const client = new CleanRoomsClient(config); * const input = { // GetProtectedJobInput * membershipIdentifier: "STRING_VALUE", // required * protectedJobIdentifier: "STRING_VALUE", // required * }; * const command = new GetProtectedJobCommand(input); * const response = await client.send(command); * // { // GetProtectedJobOutput * // protectedJob: { // ProtectedJob * // id: "STRING_VALUE", // required * // membershipId: "STRING_VALUE", // required * // membershipArn: "STRING_VALUE", // required * // createTime: new Date("TIMESTAMP"), // required * // jobParameters: { // ProtectedJobParameters * // analysisTemplateArn: "STRING_VALUE", // required * // parameters: { // JobParameterMap * // "": "STRING_VALUE", * // }, * // }, * // status: "SUBMITTED" || "STARTED" || "CANCELLED" || "CANCELLING" || "FAILED" || "SUCCESS", // required * // resultConfiguration: { // ProtectedJobResultConfigurationOutput * // outputConfiguration: { // ProtectedJobOutputConfigurationOutput Union: only one key present * // s3: { // ProtectedJobS3OutputConfigurationOutput * // bucket: "STRING_VALUE", // required * // keyPrefix: "STRING_VALUE", * // }, * // member: { // ProtectedJobMemberOutputConfigurationOutput * // accountId: "STRING_VALUE", // required * // }, * // }, * // }, * // statistics: { // ProtectedJobStatistics * // totalDurationInMillis: Number("long"), * // billedResourceUtilization: { // BilledJobResourceUtilization * // units: Number("double"), // required * // }, * // }, * // result: { // ProtectedJobResult * // output: { // ProtectedJobOutput Union: only one key present * // s3: { // ProtectedJobS3Output * // location: "STRING_VALUE", // required * // }, * // memberList: [ // ProtectedJobMemberOutputList * // { // ProtectedJobSingleMemberOutput * // accountId: "STRING_VALUE", // required * // }, * // ], * // }, * // }, * // error: { // ProtectedJobError * // message: "STRING_VALUE", // required * // code: "STRING_VALUE", // required * // }, * // computeConfiguration: { // ProtectedJobComputeConfiguration Union: only one key present * // worker: { // ProtectedJobWorkerComputeConfiguration * // type: "CR.1X" || "CR.4X", // required * // number: Number("int"), // required * // properties: { // WorkerComputeConfigurationProperties Union: only one key present * // spark: { // SparkProperties * // "": "STRING_VALUE", * // }, * // }, * // }, * // }, * // jobComputePayerAccountId: "STRING_VALUE", * // }, * // }; * * ``` * * @param GetProtectedJobCommandInput - {@link GetProtectedJobCommandInput} * @returns {@link GetProtectedJobCommandOutput} * @see {@link GetProtectedJobCommandInput} for command's `input` shape. * @see {@link GetProtectedJobCommandOutput} for command's `response` shape. * @see {@link CleanRoomsClientResolvedConfig | config} for CleanRoomsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Caller does not have sufficient access to perform this action.

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

Unexpected error during processing of request.

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

Request references a resource which does not exist.

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

Request was denied due to request throttling.

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

The input fails to satisfy the specified constraints.

* * @throws {@link CleanRoomsServiceException} *

Base exception class for all service exceptions from CleanRooms service.

* * * @public */ export declare class GetProtectedJobCommand extends GetProtectedJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetProtectedJobInput; output: GetProtectedJobOutput; }; sdk: { input: GetProtectedJobCommandInput; output: GetProtectedJobCommandOutput; }; }; }