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
- Struct
- Aws::QLDBSession::Types::SendCommandRequest
- Defined in:
- (unknown)
Overview
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
-
#abort_transaction ⇒ Types::AbortTransactionRequest
Command to abort the current transaction.
-
#commit_transaction ⇒ Types::CommitTransactionRequest
Command to commit the specified transaction.
-
#end_session ⇒ Types::EndSessionRequest
Command to end the current session.
-
#execute_statement ⇒ Types::ExecuteStatementRequest
Command to execute a statement in the specified transaction.
-
#fetch_page ⇒ Types::FetchPageRequest
Command to fetch a page.
-
#session_token ⇒ String
Specifies the session token for the current command.
-
#start_session ⇒ Types::StartSessionRequest
Command to start a new session.
-
#start_transaction ⇒ Types::StartTransactionRequest
Command to start a new transaction.
Instance Attribute Details
#abort_transaction ⇒ Types::AbortTransactionRequest
Command to abort the current transaction.
#commit_transaction ⇒ Types::CommitTransactionRequest
Command to commit the specified transaction.
#end_session ⇒ Types::EndSessionRequest
Command to end the current session.
#execute_statement ⇒ Types::ExecuteStatementRequest
Command to execute a statement in the specified transaction.
#fetch_page ⇒ Types::FetchPageRequest
Command to fetch a page.
#session_token ⇒ String
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.
#start_session ⇒ Types::StartSessionRequest
Command to start a new session. A session token is obtained as part of the response.
#start_transaction ⇒ Types::StartTransactionRequest
Command to start a new transaction.