[][src]Struct rusoto_rds_data::RdsDataClient

pub struct RdsDataClient { /* fields omitted */ }

A client for the AWS RDS DataService API.

Methods

impl RdsDataClient[src]

pub fn new(region: Region) -> RdsDataClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> RdsDataClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl RdsData for RdsDataClient[src]

fn batch_execute_statement(
    &self,
    input: BatchExecuteStatementRequest
) -> RusotoFuture<BatchExecuteStatementResponse, BatchExecuteStatementError>
[src]

Runs a batch SQL statement over an array of data.

    <p>You can run bulk update and insert operations for multiple records using a DML
statement with different parameter sets. Bulk operations can provide a significant
performance improvement over individual insert and update operations.</p>
<important>
<p>If a call isn't part of a transaction because it doesn't include the
<code>transactionID</code> parameter, changes that result from the call are
committed automatically.</p>
</important>

fn begin_transaction(
    &self,
    input: BeginTransactionRequest
) -> RusotoFuture<BeginTransactionResponse, BeginTransactionError>
[src]

Starts a SQL transaction.

    <important>
<p>A transaction can run for a maximum of 24 hours. A transaction is terminated and
rolled back automatically after 24 hours.</p>
<p>A transaction times out if no calls use its transaction ID in three minutes.
If a transaction times out before it's committed, it's rolled back
automatically.</p>
<p>DDL statements inside a transaction cause an implicit commit. We recommend
that you run each DDL statement in a separate <code>ExecuteStatement</code> call with
<code>continueAfterTimeout</code> enabled.</p>
</important>

fn commit_transaction(
    &self,
    input: CommitTransactionRequest
) -> RusotoFuture<CommitTransactionResponse, CommitTransactionError>
[src]

Ends a SQL transaction started with the BeginTransaction operation and commits the changes.

fn execute_sql(
    &self,
    input: ExecuteSqlRequest
) -> RusotoFuture<ExecuteSqlResponse, ExecuteSqlError>
[src]

Runs one or more SQL statements.

    <important>
<p>This operation is deprecated. Use the <code>BatchExecuteStatement</code> or
<code>ExecuteStatement</code> operation.</p>
</important>

fn execute_statement(
    &self,
    input: ExecuteStatementRequest
) -> RusotoFuture<ExecuteStatementResponse, ExecuteStatementError>
[src]

Runs a SQL statement against a database.

    <important>
<p>If a call isn't part of a transaction because it doesn't include the
<code>transactionID</code> parameter, changes that result from the call are
committed automatically.</p>
</important>
<p>The response size limit is 1 MB or 1,000 records. If the call returns more than 1 MB of response data or over 1,000 records, the call is terminated.</p>

fn rollback_transaction(
    &self,
    input: RollbackTransactionRequest
) -> RusotoFuture<RollbackTransactionResponse, RollbackTransactionError>
[src]

Performs a rollback of a transaction. Rolling back a transaction cancels its changes.

impl Clone for RdsDataClient[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for RdsDataClient

impl Sync for RdsDataClient

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self