import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetJobRequest, GetJobResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetJobCommand}. */ export interface GetJobCommandInput extends GetJobRequest { } /** * @public * * The output of {@link GetJobCommand}. */ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer { } declare const GetJobCommand_base: { new (input: GetJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This operation returns information about a job.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataExchangeClient, GetJobCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import * // const { DataExchangeClient, GetJobCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import * // import type { DataExchangeClientConfig } from "@aws-sdk/client-dataexchange"; * const config = {}; // type is DataExchangeClientConfig * const client = new DataExchangeClient(config); * const input = { // GetJobRequest * JobId: "STRING_VALUE", // required * }; * const command = new GetJobCommand(input); * const response = await client.send(command); * // { // GetJobResponse * // Arn: "STRING_VALUE", * // AssetConfiguration: { // AssetConfiguration * // Tags: [ // ListOfTag * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // }, * // CreatedAt: new Date("TIMESTAMP"), * // Details: { // ResponseDetails * // ExportAssetToSignedUrl: { // ExportAssetToSignedUrlResponseDetails * // AssetId: "STRING_VALUE", // required * // DataSetId: "STRING_VALUE", // required * // RevisionId: "STRING_VALUE", // required * // SignedUrl: "STRING_VALUE", * // SignedUrlExpiresAt: new Date("TIMESTAMP"), * // }, * // ExportAssetsToS3: { // ExportAssetsToS3ResponseDetails * // AssetDestinations: [ // ListOfAssetDestinationEntry // required * // { // AssetDestinationEntry * // AssetId: "STRING_VALUE", // required * // Bucket: "STRING_VALUE", // required * // Key: "STRING_VALUE", * // }, * // ], * // DataSetId: "STRING_VALUE", // required * // Encryption: { // ExportServerSideEncryption * // KmsKeyArn: "STRING_VALUE", * // Type: "STRING_VALUE", // required * // }, * // RevisionId: "STRING_VALUE", // required * // }, * // ExportRevisionsToS3: { // ExportRevisionsToS3ResponseDetails * // DataSetId: "STRING_VALUE", // required * // Encryption: { * // KmsKeyArn: "STRING_VALUE", * // Type: "STRING_VALUE", // required * // }, * // RevisionDestinations: [ // ListOfRevisionDestinationEntry // required * // { // RevisionDestinationEntry * // Bucket: "STRING_VALUE", // required * // KeyPattern: "STRING_VALUE", * // RevisionId: "STRING_VALUE", // required * // }, * // ], * // EventActionArn: "STRING_VALUE", * // }, * // ImportAssetFromSignedUrl: { // ImportAssetFromSignedUrlResponseDetails * // AssetName: "STRING_VALUE", // required * // DataSetId: "STRING_VALUE", // required * // Md5Hash: "STRING_VALUE", * // RevisionId: "STRING_VALUE", // required * // SignedUrl: "STRING_VALUE", * // SignedUrlExpiresAt: new Date("TIMESTAMP"), * // }, * // ImportAssetsFromS3: { // ImportAssetsFromS3ResponseDetails * // AssetSources: [ // ListOfAssetSourceEntry // required * // { // AssetSourceEntry * // Bucket: "STRING_VALUE", // required * // Key: "STRING_VALUE", // required * // }, * // ], * // DataSetId: "STRING_VALUE", // required * // RevisionId: "STRING_VALUE", // required * // }, * // ImportAssetsFromRedshiftDataShares: { // ImportAssetsFromRedshiftDataSharesResponseDetails * // AssetSources: [ // ListOfRedshiftDataShareAssetSourceEntry // required * // { // RedshiftDataShareAssetSourceEntry * // DataShareArn: "STRING_VALUE", // required * // }, * // ], * // DataSetId: "STRING_VALUE", // required * // RevisionId: "STRING_VALUE", // required * // }, * // ImportAssetFromApiGatewayApi: { // ImportAssetFromApiGatewayApiResponseDetails * // ApiDescription: "STRING_VALUE", * // ApiId: "STRING_VALUE", // required * // ApiKey: "STRING_VALUE", * // ApiName: "STRING_VALUE", // required * // ApiSpecificationMd5Hash: "STRING_VALUE", // required * // ApiSpecificationUploadUrl: "STRING_VALUE", // required * // ApiSpecificationUploadUrlExpiresAt: new Date("TIMESTAMP"), // required * // DataSetId: "STRING_VALUE", // required * // ProtocolType: "STRING_VALUE", // required * // RevisionId: "STRING_VALUE", // required * // Stage: "STRING_VALUE", // required * // }, * // CreateS3DataAccessFromS3Bucket: { // CreateS3DataAccessFromS3BucketResponseDetails * // AssetSource: { // S3DataAccessAssetSourceEntry * // Bucket: "STRING_VALUE", // required * // KeyPrefixes: [ // ListOf__string * // "STRING_VALUE", * // ], * // Keys: [ * // "STRING_VALUE", * // ], * // KmsKeysToGrant: [ // ListOfKmsKeysToGrant * // { // KmsKeyToGrant * // KmsKeyArn: "STRING_VALUE", // required * // }, * // ], * // }, * // DataSetId: "STRING_VALUE", // required * // RevisionId: "STRING_VALUE", // required * // }, * // ImportAssetsFromLakeFormationTagPolicy: { // ImportAssetsFromLakeFormationTagPolicyResponseDetails * // CatalogId: "STRING_VALUE", // required * // Database: { // DatabaseLFTagPolicyAndPermissions * // Expression: [ // ListOfLFTags // required * // { // LFTag * // TagKey: "STRING_VALUE", // required * // TagValues: [ // ListOfLFTagValues // required * // "STRING_VALUE", * // ], * // }, * // ], * // Permissions: [ // ListOfDatabaseLFTagPolicyPermissions // required * // "STRING_VALUE", * // ], * // }, * // Table: { // TableLFTagPolicyAndPermissions * // Expression: [ // required * // { * // TagKey: "STRING_VALUE", // required * // TagValues: [ // required * // "STRING_VALUE", * // ], * // }, * // ], * // Permissions: [ // ListOfTableTagPolicyLFPermissions // required * // "STRING_VALUE", * // ], * // }, * // RoleArn: "STRING_VALUE", // required * // DataSetId: "STRING_VALUE", // required * // RevisionId: "STRING_VALUE", // required * // }, * // }, * // Errors: [ // ListOfJobError * // { // JobError * // Code: "STRING_VALUE", // required * // Details: { // Details * // ImportAssetFromSignedUrlJobErrorDetails: { // ImportAssetFromSignedUrlJobErrorDetails * // AssetName: "STRING_VALUE", // required * // }, * // ImportAssetsFromS3JobErrorDetails: [ * // { * // Bucket: "STRING_VALUE", // required * // Key: "STRING_VALUE", // required * // }, * // ], * // }, * // LimitName: "STRING_VALUE", * // LimitValue: Number("double"), * // Message: "STRING_VALUE", // required * // ResourceId: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // }, * // ], * // Id: "STRING_VALUE", * // State: "STRING_VALUE", * // Type: "STRING_VALUE", * // UpdatedAt: new Date("TIMESTAMP"), * // }; * * ``` * * @param GetJobCommandInput - {@link GetJobCommandInput} * @returns {@link GetJobCommandOutput} * @see {@link GetJobCommandInput} for command's `input` shape. * @see {@link GetJobCommandOutput} for command's `response` shape. * @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An exception occurred with the service.

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

The resource couldn't be found.

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

The limit on the number of requests per second was exceeded.

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

The request was invalid.

* * @throws {@link DataExchangeServiceException} *

Base exception class for all service exceptions from DataExchange service.

* * * @public */ export declare class GetJobCommand extends GetJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetJobRequest; output: GetJobResponse; }; sdk: { input: GetJobCommandInput; output: GetJobCommandOutput; }; }; }