aws-db-esdk 1.2.4

aws-db-esdk is a library for implementing client side encryption with DynamoDB.
Documentation
// 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.
#[allow(dead_code)]
pub fn to_dafny(
    value: &aws_sdk_dynamodb::types::Endpoint,
) -> ::dafny_runtime::Rc<
    crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Endpoint,
> {
    ::dafny_runtime::Rc::new(
    crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Endpoint::Endpoint {
        Address: dafny_runtime::dafny_runtime_conversions::unicode_chars_false::string_to_dafny_string(&value.address),
 CachePeriodInMinutes: value.cache_period_in_minutes,
    }
  )
}
#[allow(dead_code)]
pub fn from_dafny(
    dafny_value: ::dafny_runtime::Rc<
        crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::Endpoint,
    >,
) -> aws_sdk_dynamodb::types::Endpoint {
    aws_sdk_dynamodb::types::Endpoint::builder()
        .set_address(Some(
            dafny_runtime::dafny_runtime_conversions::unicode_chars_false::dafny_string_to_string(
                dafny_value.Address(),
            ),
        ))
        .set_cache_period_in_minutes(Some(dafny_value.CachePeriodInMinutes().clone()))
        .build()
        .unwrap()
}