aws_db_esdk/deps/aws_cryptography_materialProviders/operation/
get_client.rs1#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
6#[non_exhaustive]
7pub struct GetClient;
8impl GetClient {
9 pub fn new() -> Self {
11 Self
12 }
13
14 pub(crate) async fn send(
15 client_supplier: &crate::deps::aws_cryptography_materialProviders::types::client_supplier::ClientSupplierRef,
16 input: crate::deps::aws_cryptography_materialProviders::operation::get_client::GetClientInput,
17 ) -> ::std::result::Result<
18 crate::deps::com_amazonaws_kms::client::Client,
19 crate::deps::aws_cryptography_materialProviders::types::error::Error,
20 > {
21 crate::deps::aws_cryptography_materialProviders::validation::validate_aws_Pcryptography_PmaterialProviders_HGetClientInput_for_ClientSupplier_GetClient(&input)
22 .map_err(crate::deps::aws_cryptography_materialProviders::types::error::Error::wrap_validation_err)?;
23 client_supplier.inner.lock().unwrap().get_client(input)
24 }
25}
26
27pub use crate::deps::aws_cryptography_materialProviders::operation::get_client::_get_client_output::GetClientOutput;
28
29pub use crate::deps::aws_cryptography_materialProviders::operation::get_client::_get_client_input::GetClientInput;
30
31pub(crate) mod _get_client_output;
32
33pub(crate) mod _get_client_input;
34
35pub mod builders;