File tree 5 files changed +12
-12
lines changed
DynamoDbEncryption/runtimes/rust/examples/clientsupplier
TestVectors/runtimes/rust/src
5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ impl ClientSupplier for RegionalRoleClientSupplier {
35
35
36
36
let sdk_config = tokio:: task:: block_in_place ( || {
37
37
tokio:: runtime:: Handle :: current ( ) . block_on ( async {
38
- aws_config:: load_defaults ( aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) . await
38
+ aws_config:: load_defaults ( aws_config:: BehaviorVersion :: latest ( ) ) . await
39
39
} )
40
40
} ) ;
41
41
let kms_config = aws_sdk_kms:: config:: Builder :: from ( & sdk_config)
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ impl _CreateInterceptedDDBClient_Compile::_default {
27
27
28
28
let table_configs = crate :: deps:: aws_cryptography_dbEncryptionSdk_dynamoDb_transforms:: conversions:: dynamo_db_tables_encryption_config:: _dynamo_db_tables_encryption_config:: plain_from_dafny ( config) ;
29
29
let shared_config = DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
30
- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) ) ;
30
+ aws_config:: BehaviorVersion :: latest ( ) ) ) ;
31
31
32
32
let shared_config = shared_config
33
33
. to_builder ( )
@@ -49,7 +49,7 @@ impl _CreateInterceptedDDBClient_Compile::_default {
49
49
-> Rc < _Wrappers_Compile:: Result < Object < dyn IDynamoDBClient > , Rc < Error > > >
50
50
{
51
51
let shared_config = DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
52
- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) ) ;
52
+ aws_config:: BehaviorVersion :: latest ( ) ) ) ;
53
53
54
54
let shared_config = shared_config
55
55
. to_builder ( )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ impl ClientSupplier for RegionalRoleClientSupplier {
35
35
36
36
let sdk_config = tokio:: task:: block_in_place ( || {
37
37
tokio:: runtime:: Handle :: current ( ) . block_on ( async {
38
- aws_config:: load_defaults ( aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) . await
38
+ aws_config:: load_defaults ( aws_config:: BehaviorVersion :: latest ( ) ) . await
39
39
} )
40
40
} ) ;
41
41
let kms_config = aws_sdk_kms:: config:: Builder :: from ( & sdk_config)
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ impl crate::r#software::amazon::cryptography::services::dynamodb::internaldafny:
30
30
let shared_config = match tokio:: runtime:: Handle :: try_current ( ) {
31
31
Ok ( curr) => tokio:: task:: block_in_place ( || {
32
32
curr. block_on ( async {
33
- aws_config:: load_defaults ( aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) . await
33
+ aws_config:: load_defaults ( aws_config:: BehaviorVersion :: latest ( ) ) . await
34
34
} )
35
35
} ) ,
36
36
Err ( _) => DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
37
- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ,
37
+ aws_config:: BehaviorVersion :: latest ( ) ,
38
38
) ) ,
39
39
} ;
40
40
let shared_config = shared_config
@@ -58,11 +58,11 @@ impl crate::r#software::amazon::cryptography::services::dynamodb::internaldafny:
58
58
let shared_config = match tokio:: runtime:: Handle :: try_current ( ) {
59
59
Ok ( curr) => tokio:: task:: block_in_place ( || {
60
60
curr. block_on ( async {
61
- aws_config:: load_defaults ( aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) . await
61
+ aws_config:: load_defaults ( aws_config:: BehaviorVersion :: latest ( ) ) . await
62
62
} )
63
63
} ) ,
64
64
Err ( _) => DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
65
- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ,
65
+ aws_config:: BehaviorVersion :: latest ( ) ,
66
66
) ) ,
67
67
} ;
68
68
let inner = aws_sdk_dynamodb:: Client :: new ( & shared_config) ;
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ impl crate::r#software::amazon::cryptography::services::kms::internaldafny::_def
26
26
let shared_config = match tokio:: runtime:: Handle :: try_current ( ) {
27
27
Ok ( curr) => tokio:: task:: block_in_place ( || {
28
28
curr. block_on ( async {
29
- aws_config:: load_defaults ( aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) . await
29
+ aws_config:: load_defaults ( aws_config:: BehaviorVersion :: latest ( ) ) . await
30
30
} )
31
31
} ) ,
32
32
Err ( _) => DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
33
- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ,
33
+ aws_config:: BehaviorVersion :: latest ( ) ,
34
34
) ) ,
35
35
} ;
36
36
@@ -51,11 +51,11 @@ impl crate::r#software::amazon::cryptography::services::kms::internaldafny::_def
51
51
let shared_config = match tokio:: runtime:: Handle :: try_current ( ) {
52
52
Ok ( curr) => tokio:: task:: block_in_place ( || {
53
53
curr. block_on ( async {
54
- aws_config:: load_defaults ( aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) . await
54
+ aws_config:: load_defaults ( aws_config:: BehaviorVersion :: latest ( ) ) . await
55
55
} )
56
56
} ) ,
57
57
Err ( _) => DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
58
- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ,
58
+ aws_config:: BehaviorVersion :: latest ( ) ,
59
59
) ) ,
60
60
} ;
61
61
You can’t perform that action at this time.
0 commit comments