#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct GetClient;
impl GetClient {
pub fn new() -> Self {
Self
}
pub(crate) async fn send(
client_supplier: &crate::deps::aws_cryptography_materialProviders::types::client_supplier::ClientSupplierRef,
input: crate::deps::aws_cryptography_materialProviders::operation::get_client::GetClientInput,
) -> ::std::result::Result<
crate::deps::com_amazonaws_kms::client::Client,
crate::deps::aws_cryptography_materialProviders::types::error::Error,
> {
crate::deps::aws_cryptography_materialProviders::validation::validate_aws_Pcryptography_PmaterialProviders_HGetClientInput_for_ClientSupplier_GetClient(&input)
.map_err(crate::deps::aws_cryptography_materialProviders::types::error::Error::wrap_validation_err)?;
client_supplier.inner.lock().unwrap().get_client(input)
}
}
pub use crate::deps::aws_cryptography_materialProviders::operation::get_client::_get_client_output::GetClientOutput;
pub use crate::deps::aws_cryptography_materialProviders::operation::get_client::_get_client_input::GetClientInput;
pub(crate) mod _get_client_output;
pub(crate) mod _get_client_input;
pub mod builders;