GetJobBookmarkCommand

Returns information on a job bookmark entry.

For more information about enabling and using job bookmarks, see:

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { GlueClient, GetJobBookmarkCommand } from "@aws-sdk/client-glue"; // ES Modules import
// const { GlueClient, GetJobBookmarkCommand } = require("@aws-sdk/client-glue"); // CommonJS import
const client = new GlueClient(config);
const input = { // GetJobBookmarkRequest
  JobName: "STRING_VALUE", // required
  RunId: "STRING_VALUE",
};
const command = new GetJobBookmarkCommand(input);
const response = await client.send(command);
// { // GetJobBookmarkResponse
//   JobBookmarkEntry: { // JobBookmarkEntry
//     JobName: "STRING_VALUE",
//     Version: Number("int"),
//     Run: Number("int"),
//     Attempt: Number("int"),
//     PreviousRunId: "STRING_VALUE",
//     RunId: "STRING_VALUE",
//     JobBookmark: "STRING_VALUE",
//   },
// };

GetJobBookmarkCommand Input

See GetJobBookmarkCommandInput for more details

Parameter
Type
Description
JobName
Required
string | undefined

The name of the job in question.

RunId
string | undefined

The unique run identifier associated with this job run.

GetJobBookmarkCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
JobBookmarkEntry
JobBookmarkEntry | undefined

A structure that defines a point that a job can resume processing.

Throws

Name
Fault
Details
EntityNotFoundException
client

A specified entity does not exist

InternalServiceException
server

An internal service error occurred.

InvalidInputException
client

The input provided was not valid.

OperationTimeoutException
client

The operation timed out.

ValidationException
client

A value could not be validated.

GlueServiceException
Base exception class for all service exceptions from Glue service.