fn begin_transaction(
        &self,
        input: BeginTransactionRequest,
    ) -> RusotoFuture<BeginTransactionResponse, BeginTransactionError> {
        let request_uri = "/BeginTransaction";

        let mut request = SignedRequest::new("POST", "rds-data", &self.region, &request_uri);
        request.set_content_type("application/x-amz-json-1.1".to_owned());

        let encoded = Some(serde_json::to_vec(&input).unwrap());
        request.set_payload(encoded);

        self.client.sign_and_dispatch(request, |response| {
            if response.status.as_u16() == 200 {
                Box::new(response.buffer().from_err().and_then(|response| {
                    let result = proto::json::ResponsePayload::new(&response)
                        .deserialize::<BeginTransactionResponse, _>()?;

                    Ok(result)
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(BeginTransactionError::from_response(response))),
                )
            }
        })
    }
/// <p>Starts a SQL transaction.</p>
///
/// <pre><code>    &lt;important&gt;
/// &lt;p&gt;A transaction can run for a maximum of 24 hours. A transaction is terminated and
/// rolled back automatically after 24 hours.&lt;/p&gt;
/// &lt;p&gt;A transaction times out if no calls use its transaction ID in three minutes.
/// If a transaction times out before it&#39;s committed, it&#39;s rolled back
/// automatically.&lt;/p&gt;
/// &lt;p&gt;DDL statements inside a transaction cause an implicit commit. We recommend
/// that you run each DDL statement in a separate &lt;code&gt;ExecuteStatement&lt;/code&gt; call with
/// &lt;code&gt;continueAfterTimeout&lt;/code&gt; enabled.&lt;/p&gt;
/// &lt;/important&gt;
/// </code></pre>
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.
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 .
fn begin_transaction(
        &self,
        input: BeginTransactionRequest,
    ) -> RusotoFuture<BeginTransactionResponse, BeginTransactionError> {
        let request_uri = "/BeginTransaction";
        let mut request = SignedRequest::new("POST", "rds-data", &self.region, &request_uri);
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        let encoded = Some(serde_json::to_vec(&input).unwrap());
        request.set_payload(encoded);
        self.client.sign_and_dispatch(request, |response| {
            if response.status.as_u16() == 200 {
                Box::new(response.buffer().from_err().and_then(|response| {
                    let result = proto::json::ResponsePayload::new(&response)
                        .deserialize::<BeginTransactionResponse, _>()?;
                    Ok(result)
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(BeginTransactionError::from_response(response))),
                )
            }
        })
    }
fn begin_transaction ( & self , input : BeginTransactionRequest , ) -> RusotoFuture < BeginTransactionResponse , BeginTransactionError > { let request_uri = " " ; let mut request = SignedRequest :: new ( " " , " " , & self . region , & request_uri ) ; request . set_content_type ( " " . to_owned ( ) ) ; let encoded = Some ( serde_json :: to_vec ( & input ) . unwrap ( ) ) ; request . set_payload ( encoded ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . as_u16 ( ) == 200 { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { let result = proto :: json :: ResponsePayload :: new ( & response ) . deserialize :: < BeginTransactionResponse , _ > ( ) ? ; Ok ( result ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | Err ( BeginTransactionError :: from_response ( response ) ) ) , ) } } ) }
<p>Starts a SQL transaction.</p>
<pre><code>    &lt;important&gt;
&lt;p&gt;A transaction can run for a maximum of 24 hours.
<p > Starts a SQL transaction . < / p > <pre > <code > &lt ; important&gt ; &lt ; p&gt ; A transaction can run for a maximum of 24 hours .
&self
input
BeginTransactionRequest