aws-db-esdk 1.2.4

aws-db-esdk is a library for implementing client side encryption with DynamoDB.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
// 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)
}
        }