#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DeleteCacheEntry;
impl DeleteCacheEntry {
pub fn new() -> Self {
Self
}
pub(crate) async fn send(
cryptographic_materials_cache: &crate::deps::aws_cryptography_materialProviders::types::cryptographic_materials_cache::CryptographicMaterialsCacheRef,
input: crate::deps::aws_cryptography_materialProviders::operation::delete_cache_entry::DeleteCacheEntryInput,
) -> ::std::result::Result<
(),
crate::deps::aws_cryptography_materialProviders::types::error::Error,
> {
crate::deps::aws_cryptography_materialProviders::validation::validate_aws_Pcryptography_PmaterialProviders_HDeleteCacheEntryInput_for_CryptographicMaterialsCache_DeleteCacheEntry(&input)
.map_err(crate::deps::aws_cryptography_materialProviders::types::error::Error::wrap_validation_err)?;
cryptographic_materials_cache
.inner
.lock()
.unwrap()
.delete_cache_entry(input)
}
}
pub use crate::deps::aws_cryptography_materialProviders::operation::delete_cache_entry::_unit::Unit;
pub use crate::deps::aws_cryptography_materialProviders::operation::delete_cache_entry::_delete_cache_entry_input::DeleteCacheEntryInput;
pub(crate) mod _unit;
pub(crate) mod _delete_cache_entry_input;
pub mod builders;