// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
use std::future::Future;
use tokio::runtime::Builder;
use tokio::runtime::Handle;
use tokio::runtime::RuntimeFlavor;

pub fn escape_to_async<F, O>(fut: F) -> O
where
    F: Future<Output = O> + Send,
    O: Send,
{
    match Handle::try_current() {
        Ok(handle) => match handle.runtime_flavor() {
            RuntimeFlavor::CurrentThread => std::thread::scope(move |t| {
                t.spawn(move || {
                    Builder::new_current_thread()
                        .enable_all()
                        .build()
                        .unwrap()
                        .block_on(fut)
                })
                .join()
                .unwrap()
            }),
            _ => tokio::task::block_in_place(move || handle.block_on(fut)),
        },
        Err(_) => Builder::new_current_thread()
            .enable_all()
            .build()
            .unwrap()
            .block_on(fut),
    }
}

use crate::deps::com_amazonaws_dynamodb::conversions;

#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct Client {
    pub inner: aws_sdk_dynamodb::Client,
}

impl ::std::cmp::PartialEq for Client {
    fn eq(&self, other: &Self) -> bool {
        false
    }
}

impl ::std::convert::Into<Client> for aws_sdk_dynamodb::Client {
    fn into(self) -> Client {
        Client { inner: self }
    }
}

impl dafny_runtime::UpcastObject<::dafny_runtime::DynAny> for Client {
    ::dafny_runtime::UpcastObjectFn!(::dafny_runtime::DynAny);
}

impl dafny_runtime::UpcastObject<dyn crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::IDynamoDBClient> for Client {
          ::dafny_runtime::UpcastObjectFn!(dyn crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::IDynamoDBClient);
        }

impl crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::IDynamoDBClient
          for Client {
          fn BatchExecuteStatement(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::BatchExecuteStatementInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::BatchExecuteStatementOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::batch_execute_statement::_batch_execute_statement_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.batch_execute_statement()
        .set_statements(inner_input.r#statements)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::batch_execute_statement::_batch_execute_statement_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::batch_execute_statement::to_dafny_error)
}
 fn BatchGetItem(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::BatchGetItemInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::BatchGetItemOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::batch_get_item::_batch_get_item_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.batch_get_item()
        .set_request_items(inner_input.r#request_items)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::batch_get_item::_batch_get_item_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::batch_get_item::to_dafny_error)
}
 fn BatchWriteItem(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::BatchWriteItemInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::BatchWriteItemOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::batch_write_item::_batch_write_item_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.batch_write_item()
        .set_request_items(inner_input.r#request_items)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
.set_return_item_collection_metrics(inner_input.r#return_item_collection_metrics)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::batch_write_item::_batch_write_item_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::batch_write_item::to_dafny_error)
}
 fn CreateBackup(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::CreateBackupInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::CreateBackupOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::create_backup::_create_backup_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.create_backup()
        .set_table_name(inner_input.r#table_name)
.set_backup_name(inner_input.r#backup_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::create_backup::_create_backup_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::create_backup::to_dafny_error)
}
 fn CreateGlobalTable(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::CreateGlobalTableInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::CreateGlobalTableOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::create_global_table::_create_global_table_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.create_global_table()
        .set_global_table_name(inner_input.r#global_table_name)
.set_replication_group(inner_input.r#replication_group)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::create_global_table::_create_global_table_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::create_global_table::to_dafny_error)
}
 fn CreateTable(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::CreateTableInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::CreateTableOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::create_table::_create_table_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.create_table()
        .set_attribute_definitions(inner_input.r#attribute_definitions)
.set_table_name(inner_input.r#table_name)
.set_key_schema(inner_input.r#key_schema)
.set_local_secondary_indexes(inner_input.r#local_secondary_indexes)
.set_global_secondary_indexes(inner_input.r#global_secondary_indexes)
.set_billing_mode(inner_input.r#billing_mode)
.set_provisioned_throughput(inner_input.r#provisioned_throughput)
.set_stream_specification(inner_input.r#stream_specification)
.set_sse_specification(inner_input.r#sse_specification)
.set_tags(inner_input.r#tags)
.set_table_class(inner_input.r#table_class)
.set_deletion_protection_enabled(inner_input.r#deletion_protection_enabled)
.set_resource_policy(inner_input.r#resource_policy)
.set_on_demand_throughput(inner_input.r#on_demand_throughput)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::create_table::_create_table_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::create_table::to_dafny_error)
}
 fn DeleteBackup(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DeleteBackupInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DeleteBackupOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::delete_backup::_delete_backup_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.delete_backup()
        .set_backup_arn(inner_input.r#backup_arn)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::delete_backup::_delete_backup_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::delete_backup::to_dafny_error)
}
 fn DeleteItem(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DeleteItemInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DeleteItemOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::delete_item::_delete_item_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.delete_item()
        .set_table_name(inner_input.r#table_name)
.set_key(inner_input.r#key)
.set_expected(inner_input.r#expected)
.set_conditional_operator(inner_input.r#conditional_operator)
.set_return_values(inner_input.r#return_values)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
.set_return_item_collection_metrics(inner_input.r#return_item_collection_metrics)
.set_condition_expression(inner_input.r#condition_expression)
.set_expression_attribute_names(inner_input.r#expression_attribute_names)
.set_expression_attribute_values(inner_input.r#expression_attribute_values)
.set_return_values_on_condition_check_failure(inner_input.r#return_values_on_condition_check_failure)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::delete_item::_delete_item_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::delete_item::to_dafny_error)
}
 fn DeleteResourcePolicy(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DeleteResourcePolicyInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DeleteResourcePolicyOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::delete_resource_policy::_delete_resource_policy_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.delete_resource_policy()
        .set_resource_arn(inner_input.r#resource_arn)
.set_expected_revision_id(inner_input.r#expected_revision_id)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::delete_resource_policy::_delete_resource_policy_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::delete_resource_policy::to_dafny_error)
}
 fn DeleteTable(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DeleteTableInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DeleteTableOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::delete_table::_delete_table_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.delete_table()
        .set_table_name(inner_input.r#table_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::delete_table::_delete_table_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::delete_table::to_dafny_error)
}
 fn DescribeBackup(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeBackupInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeBackupOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_backup::_describe_backup_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_backup()
        .set_backup_arn(inner_input.r#backup_arn)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_backup::_describe_backup_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_backup::to_dafny_error)
}
 fn DescribeContinuousBackups(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeContinuousBackupsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeContinuousBackupsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_continuous_backups::_describe_continuous_backups_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_continuous_backups()
        .set_table_name(inner_input.r#table_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_continuous_backups::_describe_continuous_backups_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_continuous_backups::to_dafny_error)
}
 fn DescribeContributorInsights(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeContributorInsightsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeContributorInsightsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_contributor_insights::_describe_contributor_insights_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_contributor_insights()
        .set_table_name(inner_input.r#table_name)
.set_index_name(inner_input.r#index_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_contributor_insights::_describe_contributor_insights_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_contributor_insights::to_dafny_error)
}
 fn DescribeEndpoints(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeEndpointsRequest>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeEndpointsResponse>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_endpoints::_describe_endpoints_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_endpoints()

        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_endpoints::_describe_endpoints_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_endpoints::to_dafny_error)
}
 fn DescribeExport(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeExportInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeExportOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_export::_describe_export_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_export()
        .set_export_arn(inner_input.r#export_arn)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_export::_describe_export_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_export::to_dafny_error)
}
 fn DescribeGlobalTable(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeGlobalTableInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeGlobalTableOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_global_table::_describe_global_table_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_global_table()
        .set_global_table_name(inner_input.r#global_table_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_global_table::_describe_global_table_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_global_table::to_dafny_error)
}
 fn DescribeGlobalTableSettings(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeGlobalTableSettingsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeGlobalTableSettingsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_global_table_settings::_describe_global_table_settings_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_global_table_settings()
        .set_global_table_name(inner_input.r#global_table_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_global_table_settings::_describe_global_table_settings_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_global_table_settings::to_dafny_error)
}
 fn DescribeImport(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeImportInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeImportOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_import::_describe_import_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_import()
        .set_import_arn(inner_input.r#import_arn)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_import::_describe_import_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_import::to_dafny_error)
}
 fn DescribeKinesisStreamingDestination(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeKinesisStreamingDestinationInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeKinesisStreamingDestinationOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_kinesis_streaming_destination::_describe_kinesis_streaming_destination_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_kinesis_streaming_destination()
        .set_table_name(inner_input.r#table_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_kinesis_streaming_destination::_describe_kinesis_streaming_destination_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_kinesis_streaming_destination::to_dafny_error)
}
 fn DescribeLimits(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeLimitsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeLimitsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_limits::_describe_limits_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_limits()

        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_limits::_describe_limits_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_limits::to_dafny_error)
}
 fn DescribeTable(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeTableInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeTableOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_table::_describe_table_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_table()
        .set_table_name(inner_input.r#table_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_table::_describe_table_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_table::to_dafny_error)
}
 fn DescribeTableReplicaAutoScaling(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeTableReplicaAutoScalingInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeTableReplicaAutoScalingOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_table_replica_auto_scaling::_describe_table_replica_auto_scaling_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_table_replica_auto_scaling()
        .set_table_name(inner_input.r#table_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_table_replica_auto_scaling::_describe_table_replica_auto_scaling_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_table_replica_auto_scaling::to_dafny_error)
}
 fn DescribeTimeToLive(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeTimeToLiveInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DescribeTimeToLiveOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::describe_time_to_live::_describe_time_to_live_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.describe_time_to_live()
        .set_table_name(inner_input.r#table_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_time_to_live::_describe_time_to_live_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::describe_time_to_live::to_dafny_error)
}
 fn DisableKinesisStreamingDestination(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DisableKinesisStreamingDestinationInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::DisableKinesisStreamingDestinationOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::disable_kinesis_streaming_destination::_disable_kinesis_streaming_destination_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.disable_kinesis_streaming_destination()
        .set_table_name(inner_input.r#table_name)
.set_stream_arn(inner_input.r#stream_arn)
.set_enable_kinesis_streaming_configuration(inner_input.r#enable_kinesis_streaming_configuration)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::disable_kinesis_streaming_destination::_disable_kinesis_streaming_destination_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::disable_kinesis_streaming_destination::to_dafny_error)
}
 fn EnableKinesisStreamingDestination(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::EnableKinesisStreamingDestinationInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::EnableKinesisStreamingDestinationOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::enable_kinesis_streaming_destination::_enable_kinesis_streaming_destination_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.enable_kinesis_streaming_destination()
        .set_table_name(inner_input.r#table_name)
.set_stream_arn(inner_input.r#stream_arn)
.set_enable_kinesis_streaming_configuration(inner_input.r#enable_kinesis_streaming_configuration)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::enable_kinesis_streaming_destination::_enable_kinesis_streaming_destination_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::enable_kinesis_streaming_destination::to_dafny_error)
}
 fn ExecuteStatement(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ExecuteStatementInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ExecuteStatementOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::execute_statement::_execute_statement_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.execute_statement()
        .set_statement(inner_input.r#statement)
.set_parameters(inner_input.r#parameters)
.set_consistent_read(inner_input.r#consistent_read)
.set_next_token(inner_input.r#next_token)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
.set_limit(inner_input.r#limit)
.set_return_values_on_condition_check_failure(inner_input.r#return_values_on_condition_check_failure)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::execute_statement::_execute_statement_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::execute_statement::to_dafny_error)
}
 fn ExecuteTransaction(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ExecuteTransactionInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ExecuteTransactionOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::execute_transaction::_execute_transaction_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.execute_transaction()
        .set_transact_statements(inner_input.r#transact_statements)
.set_client_request_token(inner_input.r#client_request_token)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::execute_transaction::_execute_transaction_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::execute_transaction::to_dafny_error)
}
 fn ExportTableToPointInTime(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ExportTableToPointInTimeInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ExportTableToPointInTimeOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::export_table_to_point_in_time::_export_table_to_point_in_time_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.export_table_to_point_in_time()
        .set_table_arn(inner_input.r#table_arn)
.set_export_time(inner_input.r#export_time)
.set_client_token(inner_input.r#client_token)
.set_s3_bucket(inner_input.r#s3_bucket)
.set_s3_bucket_owner(inner_input.r#s3_bucket_owner)
.set_s3_prefix(inner_input.r#s3_prefix)
.set_s3_sse_algorithm(inner_input.r#s3_sse_algorithm)
.set_s3_sse_kms_key_id(inner_input.r#s3_sse_kms_key_id)
.set_export_format(inner_input.r#export_format)
.set_export_type(inner_input.r#export_type)
.set_incremental_export_specification(inner_input.r#incremental_export_specification)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::export_table_to_point_in_time::_export_table_to_point_in_time_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::export_table_to_point_in_time::to_dafny_error)
}
 fn GetItem(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::GetItemInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::GetItemOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::get_item::_get_item_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.get_item()
        .set_table_name(inner_input.r#table_name)
.set_key(inner_input.r#key)
.set_attributes_to_get(inner_input.r#attributes_to_get)
.set_consistent_read(inner_input.r#consistent_read)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
.set_projection_expression(inner_input.r#projection_expression)
.set_expression_attribute_names(inner_input.r#expression_attribute_names)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::get_item::_get_item_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::get_item::to_dafny_error)
}
 fn GetResourcePolicy(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::GetResourcePolicyInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::GetResourcePolicyOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::get_resource_policy::_get_resource_policy_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.get_resource_policy()
        .set_resource_arn(inner_input.r#resource_arn)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::get_resource_policy::_get_resource_policy_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::get_resource_policy::to_dafny_error)
}
 fn ImportTable(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ImportTableInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ImportTableOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::import_table::_import_table_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.import_table()
        .set_client_token(inner_input.r#client_token)
.set_s3_bucket_source(inner_input.r#s3_bucket_source)
.set_input_format(inner_input.r#input_format)
.set_input_format_options(inner_input.r#input_format_options)
.set_input_compression_type(inner_input.r#input_compression_type)
.set_table_creation_parameters(inner_input.r#table_creation_parameters)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::import_table::_import_table_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::import_table::to_dafny_error)
}
 fn ListBackups(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListBackupsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListBackupsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::list_backups::_list_backups_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.list_backups()
        .set_table_name(inner_input.r#table_name)
.set_limit(inner_input.r#limit)
.set_time_range_lower_bound(inner_input.r#time_range_lower_bound)
.set_time_range_upper_bound(inner_input.r#time_range_upper_bound)
.set_exclusive_start_backup_arn(inner_input.r#exclusive_start_backup_arn)
.set_backup_type(inner_input.r#backup_type)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::list_backups::_list_backups_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::list_backups::to_dafny_error)
}
 fn ListContributorInsights(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListContributorInsightsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListContributorInsightsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::list_contributor_insights::_list_contributor_insights_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.list_contributor_insights()
        .set_table_name(inner_input.r#table_name)
.set_next_token(inner_input.r#next_token)
.set_max_results(inner_input.r#max_results)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::list_contributor_insights::_list_contributor_insights_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::list_contributor_insights::to_dafny_error)
}
 fn ListExports(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListExportsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListExportsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::list_exports::_list_exports_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.list_exports()
        .set_table_arn(inner_input.r#table_arn)
.set_max_results(inner_input.r#max_results)
.set_next_token(inner_input.r#next_token)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::list_exports::_list_exports_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::list_exports::to_dafny_error)
}
 fn ListGlobalTables(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListGlobalTablesInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListGlobalTablesOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::list_global_tables::_list_global_tables_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.list_global_tables()
        .set_exclusive_start_global_table_name(inner_input.r#exclusive_start_global_table_name)
.set_limit(inner_input.r#limit)
.set_region_name(inner_input.r#region_name)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::list_global_tables::_list_global_tables_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::list_global_tables::to_dafny_error)
}
 fn ListImports(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListImportsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListImportsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::list_imports::_list_imports_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.list_imports()
        .set_table_arn(inner_input.r#table_arn)
.set_page_size(inner_input.r#page_size)
.set_next_token(inner_input.r#next_token)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::list_imports::_list_imports_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::list_imports::to_dafny_error)
}
 fn ListTables(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListTablesInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListTablesOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::list_tables::_list_tables_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.list_tables()
        .set_exclusive_start_table_name(inner_input.r#exclusive_start_table_name)
.set_limit(inner_input.r#limit)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::list_tables::_list_tables_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::list_tables::to_dafny_error)
}
 fn ListTagsOfResource(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListTagsOfResourceInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ListTagsOfResourceOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::list_tags_of_resource::_list_tags_of_resource_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.list_tags_of_resource()
        .set_resource_arn(inner_input.r#resource_arn)
.set_next_token(inner_input.r#next_token)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::list_tags_of_resource::_list_tags_of_resource_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::list_tags_of_resource::to_dafny_error)
}
 fn PutItem(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::PutItemInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::PutItemOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::put_item::_put_item_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.put_item()
        .set_table_name(inner_input.r#table_name)
.set_item(inner_input.r#item)
.set_expected(inner_input.r#expected)
.set_return_values(inner_input.r#return_values)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
.set_return_item_collection_metrics(inner_input.r#return_item_collection_metrics)
.set_conditional_operator(inner_input.r#conditional_operator)
.set_condition_expression(inner_input.r#condition_expression)
.set_expression_attribute_names(inner_input.r#expression_attribute_names)
.set_expression_attribute_values(inner_input.r#expression_attribute_values)
.set_return_values_on_condition_check_failure(inner_input.r#return_values_on_condition_check_failure)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::put_item::_put_item_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::put_item::to_dafny_error)
}
 fn PutResourcePolicy(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::PutResourcePolicyInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::PutResourcePolicyOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::put_resource_policy::_put_resource_policy_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.put_resource_policy()
        .set_resource_arn(inner_input.r#resource_arn)
.set_policy(inner_input.r#policy)
.set_expected_revision_id(inner_input.r#expected_revision_id)
.set_confirm_remove_self_resource_access(inner_input.r#confirm_remove_self_resource_access)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::put_resource_policy::_put_resource_policy_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::put_resource_policy::to_dafny_error)
}
 fn Query(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::QueryInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::QueryOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::query::_query_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.query()
        .set_table_name(inner_input.r#table_name)
.set_index_name(inner_input.r#index_name)
.set_select(inner_input.r#select)
.set_attributes_to_get(inner_input.r#attributes_to_get)
.set_limit(inner_input.r#limit)
.set_consistent_read(inner_input.r#consistent_read)
.set_key_conditions(inner_input.r#key_conditions)
.set_query_filter(inner_input.r#query_filter)
.set_conditional_operator(inner_input.r#conditional_operator)
.set_scan_index_forward(inner_input.r#scan_index_forward)
.set_exclusive_start_key(inner_input.r#exclusive_start_key)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
.set_projection_expression(inner_input.r#projection_expression)
.set_filter_expression(inner_input.r#filter_expression)
.set_key_condition_expression(inner_input.r#key_condition_expression)
.set_expression_attribute_names(inner_input.r#expression_attribute_names)
.set_expression_attribute_values(inner_input.r#expression_attribute_values)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::query::_query_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::query::to_dafny_error)
}
 fn RestoreTableFromBackup(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::RestoreTableFromBackupInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::RestoreTableFromBackupOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::restore_table_from_backup::_restore_table_from_backup_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.restore_table_from_backup()
        .set_target_table_name(inner_input.r#target_table_name)
.set_backup_arn(inner_input.r#backup_arn)
.set_billing_mode_override(inner_input.r#billing_mode_override)
.set_global_secondary_index_override(inner_input.r#global_secondary_index_override)
.set_local_secondary_index_override(inner_input.r#local_secondary_index_override)
.set_provisioned_throughput_override(inner_input.r#provisioned_throughput_override)
.set_on_demand_throughput_override(inner_input.r#on_demand_throughput_override)
.set_sse_specification_override(inner_input.r#sse_specification_override)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::restore_table_from_backup::_restore_table_from_backup_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::restore_table_from_backup::to_dafny_error)
}
 fn RestoreTableToPointInTime(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::RestoreTableToPointInTimeInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::RestoreTableToPointInTimeOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::restore_table_to_point_in_time::_restore_table_to_point_in_time_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.restore_table_to_point_in_time()
        .set_source_table_arn(inner_input.r#source_table_arn)
.set_source_table_name(inner_input.r#source_table_name)
.set_target_table_name(inner_input.r#target_table_name)
.set_use_latest_restorable_time(inner_input.r#use_latest_restorable_time)
.set_restore_date_time(inner_input.r#restore_date_time)
.set_billing_mode_override(inner_input.r#billing_mode_override)
.set_global_secondary_index_override(inner_input.r#global_secondary_index_override)
.set_local_secondary_index_override(inner_input.r#local_secondary_index_override)
.set_provisioned_throughput_override(inner_input.r#provisioned_throughput_override)
.set_on_demand_throughput_override(inner_input.r#on_demand_throughput_override)
.set_sse_specification_override(inner_input.r#sse_specification_override)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::restore_table_to_point_in_time::_restore_table_to_point_in_time_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::restore_table_to_point_in_time::to_dafny_error)
}
 fn Scan(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ScanInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::ScanOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::scan::_scan_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.scan()
        .set_table_name(inner_input.r#table_name)
.set_index_name(inner_input.r#index_name)
.set_attributes_to_get(inner_input.r#attributes_to_get)
.set_limit(inner_input.r#limit)
.set_select(inner_input.r#select)
.set_scan_filter(inner_input.r#scan_filter)
.set_conditional_operator(inner_input.r#conditional_operator)
.set_exclusive_start_key(inner_input.r#exclusive_start_key)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
.set_total_segments(inner_input.r#total_segments)
.set_segment(inner_input.r#segment)
.set_projection_expression(inner_input.r#projection_expression)
.set_filter_expression(inner_input.r#filter_expression)
.set_expression_attribute_names(inner_input.r#expression_attribute_names)
.set_expression_attribute_values(inner_input.r#expression_attribute_values)
.set_consistent_read(inner_input.r#consistent_read)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::scan::_scan_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::scan::to_dafny_error)
}
 fn TagResource(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::TagResourceInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    (),
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::tag_resource::_tag_resource_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.tag_resource()
        .set_resource_arn(inner_input.r#resource_arn)
.set_tags(inner_input.r#tags)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    |x| (),
    crate::deps::com_amazonaws_dynamodb::conversions::tag_resource::to_dafny_error)
}
 fn TransactGetItems(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::TransactGetItemsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::TransactGetItemsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::transact_get_items::_transact_get_items_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.transact_get_items()
        .set_transact_items(inner_input.r#transact_items)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::transact_get_items::_transact_get_items_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::transact_get_items::to_dafny_error)
}
 fn TransactWriteItems(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::TransactWriteItemsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::TransactWriteItemsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::transact_write_items::_transact_write_items_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.transact_write_items()
        .set_transact_items(inner_input.r#transact_items)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
.set_return_item_collection_metrics(inner_input.r#return_item_collection_metrics)
.set_client_request_token(inner_input.r#client_request_token)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::transact_write_items::_transact_write_items_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::transact_write_items::to_dafny_error)
}
 fn UntagResource(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UntagResourceInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    (),
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::untag_resource::_untag_resource_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.untag_resource()
        .set_resource_arn(inner_input.r#resource_arn)
.set_tag_keys(inner_input.r#tag_keys)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    |x| (),
    crate::deps::com_amazonaws_dynamodb::conversions::untag_resource::to_dafny_error)
}
 fn UpdateContinuousBackups(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateContinuousBackupsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateContinuousBackupsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::update_continuous_backups::_update_continuous_backups_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.update_continuous_backups()
        .set_table_name(inner_input.r#table_name)
.set_point_in_time_recovery_specification(inner_input.r#point_in_time_recovery_specification)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::update_continuous_backups::_update_continuous_backups_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::update_continuous_backups::to_dafny_error)
}
 fn UpdateContributorInsights(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateContributorInsightsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateContributorInsightsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::update_contributor_insights::_update_contributor_insights_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.update_contributor_insights()
        .set_table_name(inner_input.r#table_name)
.set_index_name(inner_input.r#index_name)
.set_contributor_insights_action(inner_input.r#contributor_insights_action)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::update_contributor_insights::_update_contributor_insights_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::update_contributor_insights::to_dafny_error)
}
 fn UpdateGlobalTable(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateGlobalTableInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateGlobalTableOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::update_global_table::_update_global_table_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.update_global_table()
        .set_global_table_name(inner_input.r#global_table_name)
.set_replica_updates(inner_input.r#replica_updates)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::update_global_table::_update_global_table_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::update_global_table::to_dafny_error)
}
 fn UpdateGlobalTableSettings(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateGlobalTableSettingsInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateGlobalTableSettingsOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::update_global_table_settings::_update_global_table_settings_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.update_global_table_settings()
        .set_global_table_name(inner_input.r#global_table_name)
.set_global_table_billing_mode(inner_input.r#global_table_billing_mode)
.set_global_table_provisioned_write_capacity_units(inner_input.r#global_table_provisioned_write_capacity_units)
.set_global_table_provisioned_write_capacity_auto_scaling_settings_update(inner_input.r#global_table_provisioned_write_capacity_auto_scaling_settings_update)
.set_global_table_global_secondary_index_settings_update(inner_input.r#global_table_global_secondary_index_settings_update)
.set_replica_settings_update(inner_input.r#replica_settings_update)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::update_global_table_settings::_update_global_table_settings_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::update_global_table_settings::to_dafny_error)
}
 fn UpdateItem(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateItemInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateItemOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::update_item::_update_item_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.update_item()
        .set_table_name(inner_input.r#table_name)
.set_key(inner_input.r#key)
.set_attribute_updates(inner_input.r#attribute_updates)
.set_expected(inner_input.r#expected)
.set_conditional_operator(inner_input.r#conditional_operator)
.set_return_values(inner_input.r#return_values)
.set_return_consumed_capacity(inner_input.r#return_consumed_capacity)
.set_return_item_collection_metrics(inner_input.r#return_item_collection_metrics)
.set_update_expression(inner_input.r#update_expression)
.set_condition_expression(inner_input.r#condition_expression)
.set_expression_attribute_names(inner_input.r#expression_attribute_names)
.set_expression_attribute_values(inner_input.r#expression_attribute_values)
.set_return_values_on_condition_check_failure(inner_input.r#return_values_on_condition_check_failure)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::update_item::_update_item_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::update_item::to_dafny_error)
}
 fn UpdateKinesisStreamingDestination(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateKinesisStreamingDestinationInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateKinesisStreamingDestinationOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::update_kinesis_streaming_destination::_update_kinesis_streaming_destination_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.update_kinesis_streaming_destination()
        .set_table_name(inner_input.r#table_name)
.set_stream_arn(inner_input.r#stream_arn)
.set_update_kinesis_streaming_configuration(inner_input.r#update_kinesis_streaming_configuration)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::update_kinesis_streaming_destination::_update_kinesis_streaming_destination_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::update_kinesis_streaming_destination::to_dafny_error)
}
 fn UpdateTable(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateTableInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateTableOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::update_table::_update_table_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.update_table()
        .set_attribute_definitions(inner_input.r#attribute_definitions)
.set_table_name(inner_input.r#table_name)
.set_billing_mode(inner_input.r#billing_mode)
.set_provisioned_throughput(inner_input.r#provisioned_throughput)
.set_global_secondary_index_updates(inner_input.r#global_secondary_index_updates)
.set_stream_specification(inner_input.r#stream_specification)
.set_sse_specification(inner_input.r#sse_specification)
.set_replica_updates(inner_input.r#replica_updates)
.set_table_class(inner_input.r#table_class)
.set_deletion_protection_enabled(inner_input.r#deletion_protection_enabled)
.set_on_demand_throughput(inner_input.r#on_demand_throughput)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::update_table::_update_table_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::update_table::to_dafny_error)
}
 fn UpdateTableReplicaAutoScaling(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateTableReplicaAutoScalingInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateTableReplicaAutoScalingOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::update_table_replica_auto_scaling::_update_table_replica_auto_scaling_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.update_table_replica_auto_scaling()
        .set_global_secondary_index_updates(inner_input.r#global_secondary_index_updates)
.set_table_name(inner_input.r#table_name)
.set_provisioned_write_capacity_auto_scaling_update(inner_input.r#provisioned_write_capacity_auto_scaling_update)
.set_replica_updates(inner_input.r#replica_updates)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::update_table_replica_auto_scaling::_update_table_replica_auto_scaling_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::update_table_replica_auto_scaling::to_dafny_error)
}
 fn UpdateTimeToLive(&self, input: &dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateTimeToLiveInput>)
  -> dafny_runtime::Rc<crate::r#_Wrappers_Compile::Result<
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::UpdateTimeToLiveOutput>,
    dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Error>
  >
> {
  let inner_input = crate::deps::com_amazonaws_dynamodb::conversions::update_time_to_live::_update_time_to_live_request::from_dafny(input.clone());
  let native_result = escape_to_async(
      self.inner.update_time_to_live()
        .set_table_name(inner_input.r#table_name)
.set_time_to_live_specification(inner_input.r#time_to_live_specification)
        .send()
    );
  crate::standard_library_conversions::result_to_dafny(&native_result,
    crate::deps::com_amazonaws_dynamodb::conversions::update_time_to_live::_update_time_to_live_response::to_dafny,
    crate::deps::com_amazonaws_dynamodb::conversions::update_time_to_live::to_dafny_error)
}
        }
