aws_sdk_paymentcryptographydata/client/translate_key_material.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`TranslateKeyMaterial`](crate::operation::translate_key_material::builders::TranslateKeyMaterialFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`incoming_key_material(IncomingKeyMaterial)`](crate::operation::translate_key_material::builders::TranslateKeyMaterialFluentBuilder::incoming_key_material) / [`set_incoming_key_material(Option<IncomingKeyMaterial>)`](crate::operation::translate_key_material::builders::TranslateKeyMaterialFluentBuilder::set_incoming_key_material):<br>required: **true**<br><p>Parameter information of the TR31WrappedKeyBlock containing the transaction key.</p><br>
7 /// - [`outgoing_key_material(OutgoingKeyMaterial)`](crate::operation::translate_key_material::builders::TranslateKeyMaterialFluentBuilder::outgoing_key_material) / [`set_outgoing_key_material(Option<OutgoingKeyMaterial>)`](crate::operation::translate_key_material::builders::TranslateKeyMaterialFluentBuilder::set_outgoing_key_material):<br>required: **true**<br><p>Parameter information of the wrapping key used to wrap the transaction key in the outgoing TR31WrappedKeyBlock.</p><br>
8 /// - [`key_check_value_algorithm(KeyCheckValueAlgorithm)`](crate::operation::translate_key_material::builders::TranslateKeyMaterialFluentBuilder::key_check_value_algorithm) / [`set_key_check_value_algorithm(Option<KeyCheckValueAlgorithm>)`](crate::operation::translate_key_material::builders::TranslateKeyMaterialFluentBuilder::set_key_check_value_algorithm):<br>required: **false**<br><p>The key check value (KCV) algorithm used for calculating the KCV.</p><br>
9 /// - On success, responds with [`TranslateKeyMaterialOutput`](crate::operation::translate_key_material::TranslateKeyMaterialOutput) with field(s):
10 /// - [`wrapped_key(Option<WrappedWorkingKey>)`](crate::operation::translate_key_material::TranslateKeyMaterialOutput::wrapped_key): <p>The outgoing KEK wrapped TR31WrappedKeyBlock.</p>
11 /// - On failure, responds with [`SdkError<TranslateKeyMaterialError>`](crate::operation::translate_key_material::TranslateKeyMaterialError)
12 pub fn translate_key_material(&self) -> crate::operation::translate_key_material::builders::TranslateKeyMaterialFluentBuilder {
13 crate::operation::translate_key_material::builders::TranslateKeyMaterialFluentBuilder::new(self.handle.clone())
14 }
15}