File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed
DynamoDbEncryption/runtimes/rust/examples/clientsupplier
TestVectors/runtimes/rust/src Expand file tree Collapse file tree 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 {
3535
3636 let sdk_config = tokio:: task:: block_in_place ( || {
3737 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
3939 } )
4040 } ) ;
4141 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 {
2727
2828 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) ;
2929 let shared_config = DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
30- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) ) ;
30+ aws_config:: BehaviorVersion :: latest ( ) ) ) ;
3131
3232 let shared_config = shared_config
3333 . to_builder ( )
@@ -49,7 +49,7 @@ impl _CreateInterceptedDDBClient_Compile::_default {
4949 -> Rc < _Wrappers_Compile:: Result < Object < dyn IDynamoDBClient > , Rc < Error > > >
5050 {
5151 let shared_config = DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
52- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ) ) ;
52+ aws_config:: BehaviorVersion :: latest ( ) ) ) ;
5353
5454 let shared_config = shared_config
5555 . to_builder ( )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ impl ClientSupplier for RegionalRoleClientSupplier {
3535
3636 let sdk_config = tokio:: task:: block_in_place ( || {
3737 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
3939 } )
4040 } ) ;
4141 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:
3030 let shared_config = match tokio:: runtime:: Handle :: try_current ( ) {
3131 Ok ( curr) => tokio:: task:: block_in_place ( || {
3232 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
3434 } )
3535 } ) ,
3636 Err ( _) => DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
37- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ,
37+ aws_config:: BehaviorVersion :: latest ( ) ,
3838 ) ) ,
3939 } ;
4040 let shared_config = shared_config
@@ -58,11 +58,11 @@ impl crate::r#software::amazon::cryptography::services::dynamodb::internaldafny:
5858 let shared_config = match tokio:: runtime:: Handle :: try_current ( ) {
5959 Ok ( curr) => tokio:: task:: block_in_place ( || {
6060 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
6262 } )
6363 } ) ,
6464 Err ( _) => DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
65- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ,
65+ aws_config:: BehaviorVersion :: latest ( ) ,
6666 ) ) ,
6767 } ;
6868 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
2626 let shared_config = match tokio:: runtime:: Handle :: try_current ( ) {
2727 Ok ( curr) => tokio:: task:: block_in_place ( || {
2828 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
3030 } )
3131 } ) ,
3232 Err ( _) => DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
33- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ,
33+ aws_config:: BehaviorVersion :: latest ( ) ,
3434 ) ) ,
3535 } ;
3636
@@ -51,11 +51,11 @@ impl crate::r#software::amazon::cryptography::services::kms::internaldafny::_def
5151 let shared_config = match tokio:: runtime:: Handle :: try_current ( ) {
5252 Ok ( curr) => tokio:: task:: block_in_place ( || {
5353 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
5555 } )
5656 } ) ,
5757 Err ( _) => DAFNY_TOKIO_RUNTIME . block_on ( aws_config:: load_defaults (
58- aws_config:: BehaviorVersion :: v2024_03_28 ( ) ,
58+ aws_config:: BehaviorVersion :: latest ( ) ,
5959 ) ) ,
6060 } ;
6161
You can’t perform that action at this time.
0 commit comments