#[allow(dead_code)]
pub fn to_dafny(
value: &aws_sdk_dynamodb::types::OnDemandThroughputOverride,
) -> ::dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::OnDemandThroughputOverride>{
::dafny_runtime::Rc::new(
crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::OnDemandThroughputOverride::OnDemandThroughputOverride {
MaxReadRequestUnits: crate::standard_library_conversions::olong_to_dafny(&value.max_read_request_units),
}
)
}
#[allow(dead_code)]
pub fn from_dafny(
dafny_value: ::dafny_runtime::Rc<
crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::OnDemandThroughputOverride,
>,
) -> aws_sdk_dynamodb::types::OnDemandThroughputOverride {
aws_sdk_dynamodb::types::OnDemandThroughputOverride::builder()
.set_max_read_request_units(crate::standard_library_conversions::olong_from_dafny(
dafny_value.MaxReadRequestUnits().clone(),
))
.build()
}