aws_db_esdk/operation/
resolve_attributes.rs1#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
6#[non_exhaustive]
7pub struct ResolveAttributes;
8impl ResolveAttributes {
9 pub fn new() -> Self {
11 Self
12 }
13
14 pub(crate) async fn send(
15 client: &crate::client::Client,
16 input: crate::operation::resolve_attributes::ResolveAttributesInput,
17 ) -> ::std::result::Result<
18 crate::operation::resolve_attributes::ResolveAttributesOutput,
19 crate::types::error::Error,
20 > {
21 crate::validation::validate_aws_Pcryptography_PdbEncryptionSdk_PdynamoDb_Ptransforms_HResolveAttributesInput_for_DynamoDbEncryptionTransforms_ResolveAttributes(&input)
22 .map_err(crate::types::error::Error::wrap_validation_err)?;
23 let inner_input =
24 crate::conversions::resolve_attributes::_resolve_attributes_input::to_dafny(input);
25 let inner_result =
26 ::dafny_runtime::md!(client.dafny_client.clone()).ResolveAttributes(&inner_input);
27 if matches!(
28 inner_result.as_ref(),
29 crate::r#_Wrappers_Compile::Result::Success { .. }
30 ) {
31 Ok(
32 crate::conversions::resolve_attributes::_resolve_attributes_output::from_dafny(
33 inner_result.value().clone(),
34 ),
35 )
36 } else {
37 Err(crate::conversions::error::from_dafny(
38 inner_result.error().clone(),
39 ))
40 }
41 }
42}
43
44pub use crate::operation::resolve_attributes::_resolve_attributes_output::ResolveAttributesOutput;
45
46pub use crate::operation::resolve_attributes::_resolve_attributes_input::ResolveAttributesInput;
47
48pub(crate) mod _resolve_attributes_output;
49
50pub(crate) mod _resolve_attributes_input;
51
52pub mod builders;