Class: Aws::QLDBSession::Types::CommitTransactionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/types.rb

Overview

Note:

When making an API call, you may pass CommitTransactionRequest data as a hash:

{
  transaction_id: "TransactionId", # required
  commit_digest: "data", # required
}

Contains the details of the transaction to commit.

Instance Attribute Summary collapse

Instance Attribute Details

#commit_digestString

Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates CommitDigest and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB.

Returns:

  • (String)


65
66
67
68
69
# File 'gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/types.rb', line 65

class CommitTransactionRequest < Struct.new(
  :transaction_id,
  :commit_digest)
  include Aws::Structure
end

#transaction_idString

Specifies the transaction ID of the transaction to commit.

Returns:

  • (String)


65
66
67
68
69
# File 'gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/types.rb', line 65

class CommitTransactionRequest < Struct.new(
  :transaction_id,
  :commit_digest)
  include Aws::Structure
end