aws_db_esdk/deps/aws_cryptography_materialProviders/operation/
get_cache_entry.rs1#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
6#[non_exhaustive]
7pub struct GetCacheEntry;
8impl GetCacheEntry {
9 pub fn new() -> Self {
11 Self
12 }
13
14 pub(crate) async fn send(
15 cryptographic_materials_cache: &crate::deps::aws_cryptography_materialProviders::types::cryptographic_materials_cache::CryptographicMaterialsCacheRef,
16 input: crate::deps::aws_cryptography_materialProviders::operation::get_cache_entry::GetCacheEntryInput,
17 ) -> ::std::result::Result<
18 crate::deps::aws_cryptography_materialProviders::operation::get_cache_entry::GetCacheEntryOutput,
19 crate::deps::aws_cryptography_materialProviders::types::error::Error,
20 >{
21 crate::deps::aws_cryptography_materialProviders::validation::validate_aws_Pcryptography_PmaterialProviders_HGetCacheEntryInput_for_CryptographicMaterialsCache_GetCacheEntry(&input)
22 .map_err(crate::deps::aws_cryptography_materialProviders::types::error::Error::wrap_validation_err)?;
23 cryptographic_materials_cache
24 .inner
25 .lock()
26 .unwrap()
27 .get_cache_entry(input)
28 }
29}
30
31pub use crate::deps::aws_cryptography_materialProviders::operation::get_cache_entry::_get_cache_entry_output::GetCacheEntryOutput;
32
33pub use crate::deps::aws_cryptography_materialProviders::operation::get_cache_entry::_get_cache_entry_input::GetCacheEntryInput;
34
35pub(crate) mod _get_cache_entry_output;
36
37pub(crate) mod _get_cache_entry_input;
38
39pub mod builders;