// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. impl super::Client { /// Constructs a fluent builder for the [`SendCommand`](crate::operation::send_command::builders::SendCommandFluentBuilder) operation. /// /// - The fluent builder is configurable: /// - [`session_token(impl Into)`](crate::operation::send_command::builders::SendCommandFluentBuilder::session_token) / [`set_session_token(Option)`](crate::operation::send_command::builders::SendCommandFluentBuilder::set_session_token):
required: **false**

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(StartSessionRequest)`](crate::operation::send_command::builders::SendCommandFluentBuilder::start_session) / [`set_start_session(Option)`](crate::operation::send_command::builders::SendCommandFluentBuilder::set_start_session):
required: **false**

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


/// - [`start_transaction(StartTransactionRequest)`](crate::operation::send_command::builders::SendCommandFluentBuilder::start_transaction) / [`set_start_transaction(Option)`](crate::operation::send_command::builders::SendCommandFluentBuilder::set_start_transaction):
required: **false**

Command to start a new transaction.


/// - [`end_session(EndSessionRequest)`](crate::operation::send_command::builders::SendCommandFluentBuilder::end_session) / [`set_end_session(Option)`](crate::operation::send_command::builders::SendCommandFluentBuilder::set_end_session):
required: **false**

Command to end the current session.


/// - [`commit_transaction(CommitTransactionRequest)`](crate::operation::send_command::builders::SendCommandFluentBuilder::commit_transaction) / [`set_commit_transaction(Option)`](crate::operation::send_command::builders::SendCommandFluentBuilder::set_commit_transaction):
required: **false**

Command to commit the specified transaction.


/// - [`abort_transaction(AbortTransactionRequest)`](crate::operation::send_command::builders::SendCommandFluentBuilder::abort_transaction) / [`set_abort_transaction(Option)`](crate::operation::send_command::builders::SendCommandFluentBuilder::set_abort_transaction):
required: **false**

Command to abort the current transaction.


/// - [`execute_statement(ExecuteStatementRequest)`](crate::operation::send_command::builders::SendCommandFluentBuilder::execute_statement) / [`set_execute_statement(Option)`](crate::operation::send_command::builders::SendCommandFluentBuilder::set_execute_statement):
required: **false**

Command to execute a statement in the specified transaction.


/// - [`fetch_page(FetchPageRequest)`](crate::operation::send_command::builders::SendCommandFluentBuilder::fetch_page) / [`set_fetch_page(Option)`](crate::operation::send_command::builders::SendCommandFluentBuilder::set_fetch_page):
required: **false**

Command to fetch a page.


/// - On success, responds with [`SendCommandOutput`](crate::operation::send_command::SendCommandOutput) with field(s): /// - [`start_session(Option)`](crate::operation::send_command::SendCommandOutput::start_session):

Contains the details of the started session that includes a session token. This SessionToken is required for every subsequent command that is issued during the current session.

/// - [`start_transaction(Option)`](crate::operation::send_command::SendCommandOutput::start_transaction):

Contains the details of the started transaction.

/// - [`end_session(Option)`](crate::operation::send_command::SendCommandOutput::end_session):

Contains the details of the ended session.

/// - [`commit_transaction(Option)`](crate::operation::send_command::SendCommandOutput::commit_transaction):

Contains the details of the committed transaction.

/// - [`abort_transaction(Option)`](crate::operation::send_command::SendCommandOutput::abort_transaction):

Contains the details of the aborted transaction.

/// - [`execute_statement(Option)`](crate::operation::send_command::SendCommandOutput::execute_statement):

Contains the details of the executed statement.

/// - [`fetch_page(Option)`](crate::operation::send_command::SendCommandOutput::fetch_page):

Contains the details of the fetched page.

/// - On failure, responds with [`SdkError`](crate::operation::send_command::SendCommandError) pub fn send_command(&self) -> crate::operation::send_command::builders::SendCommandFluentBuilder { crate::operation::send_command::builders::SendCommandFluentBuilder::new(self.handle.clone()) } }