class Aws::QLDBSession::Types::SendCommandRequest
@note When making an API call, you may pass SendCommandRequest
data as a 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 }, }
@!attribute [rw] session_token
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. @return [String]
@!attribute [rw] start_session
Command to start a new session. A session token is obtained as part of the response. @return [Types::StartSessionRequest]
@!attribute [rw] start_transaction
Command to start a new transaction. @return [Types::StartTransactionRequest]
@!attribute [rw] end_session
Command to end the current session. @return [Types::EndSessionRequest]
@!attribute [rw] commit_transaction
Command to commit the specified transaction. @return [Types::CommitTransactionRequest]
@!attribute [rw] abort_transaction
Command to abort the current transaction. @return [Types::AbortTransactionRequest]
@!attribute [rw] execute_statement
Command to execute a statement in the specified transaction. @return [Types::ExecuteStatementRequest]
@!attribute [rw] fetch_page
Command to fetch a page. @return [Types::FetchPageRequest]
@see docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/SendCommandRequest AWS API Documentation
Constants
- SENSITIVE