- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
ExtendTransactionCommand
Indicates to the service that the specified transaction is still active and should not be treated as idle and aborted.
Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, ExtendTransactionCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
// const { LakeFormationClient, ExtendTransactionCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
const client = new LakeFormationClient(config);
const input = { // ExtendTransactionRequest
TransactionId: "STRING_VALUE",
};
const command = new ExtendTransactionCommand(input);
const response = await client.send(command);
// {};
ExtendTransactionCommand Input
See ExtendTransactionCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
TransactionId | string | undefined | The transaction to extend. |
ExtendTransactionCommand Output
See ExtendTransactionCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
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. |
TransactionCanceledException | client | Contains details about an error related to a transaction that was cancelled. |
TransactionCommitInProgressException | client | Contains details about an error related to a transaction commit that was in progress. |
TransactionCommittedException | client | Contains details about an error where the specified transaction has already been committed and cannot be used for |
LakeFormationServiceException | Base exception class for all service exceptions from LakeFormation service. |