You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::QLDBSession::Types::SendCommandRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SendCommandRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  session_token: "SessionToken",
  start_session: {
    ledger_name: "LedgerName", # required
  },
  start_transaction: {
  },
  end_session: {
  },
  commit_transaction: {
    transaction_id: "TransactionId", # required
    commit_digest: "data", # required
  },
  abort_transaction: {
  },
  execute_statement: {
    transaction_id: "TransactionId", # required
    statement: "Statement", # required
    parameters: [
      {
        ion_binary: "data",
        ion_text: "IonText",
      },
    ],
  },
  fetch_page: {
    transaction_id: "TransactionId", # required
    next_page_token: "PageToken", # required
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#abort_transactionTypes::AbortTransactionRequest

Command to abort the current transaction.

Returns:

#commit_transactionTypes::CommitTransactionRequest

Command to commit the specified transaction.

Returns:

#end_sessionTypes::EndSessionRequest

Command to end the current session.

Returns:

#execute_statementTypes::ExecuteStatementRequest

Command to execute a statement in the specified transaction.

Returns:

#fetch_pageTypes::FetchPageRequest

Command to fetch a page.

Returns:

#session_tokenString

Specifies the session token for the current command. A session token is constant throughout the life of the session.

To obtain a session token, run the StartSession command. This SessionToken is required for every subsequent command that is issued during the current session.

Returns:

  • (String)

    Specifies the session token for the current command.

#start_sessionTypes::StartSessionRequest

Command to start a new session. A session token is obtained as part of the response.

Returns:

#start_transactionTypes::StartTransactionRequest

Command to start a new transaction.

Returns: