// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`VerifyMac`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`key_identifier(impl Into<String>)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::key_identifier) / [`set_key_identifier(Option<String>)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::set_key_identifier):<br>required: **true**<br><p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.</p><br>
/// - [`message_data(impl Into<String>)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::message_data) / [`set_message_data(Option<String>)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::set_message_data):<br>required: **true**<br><p>The data on for which MAC is under verification.</p><br>
/// - [`mac(impl Into<String>)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::mac) / [`set_mac(Option<String>)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::set_mac):<br>required: **true**<br><p>The MAC being verified.</p><br>
/// - [`verification_attributes(MacAttributes)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::verification_attributes) / [`set_verification_attributes(Option<MacAttributes>)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::set_verification_attributes):<br>required: **true**<br><p>The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.</p><br>
/// - [`mac_length(i32)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::mac_length) / [`set_mac_length(Option<i32>)`](crate::operation::verify_mac::builders::VerifyMacFluentBuilder::set_mac_length):<br>required: **false**<br><p>The length of the MAC.</p><br>
/// - On success, responds with [`VerifyMacOutput`](crate::operation::verify_mac::VerifyMacOutput) with field(s):
/// - [`key_arn(String)`](crate::operation::verify_mac::VerifyMacOutput::key_arn): <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses for MAC verification.</p>
/// - [`key_check_value(String)`](crate::operation::verify_mac::VerifyMacOutput::key_check_value): <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.</p>
/// - On failure, responds with [`SdkError<VerifyMacError>`](crate::operation::verify_mac::VerifyMacError)
pub fn verify_mac(&self) -> crate::operation::verify_mac::builders::VerifyMacFluentBuilder {
crate::operation::verify_mac::builders::VerifyMacFluentBuilder::new(self.handle.clone())
}
}