// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`EncryptData`](crate::operation::encrypt_data::builders::EncryptDataFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`key_identifier(impl Into<String>)`](crate::operation::encrypt_data::builders::EncryptDataFluentBuilder::key_identifier) / [`set_key_identifier(Option<String>)`](crate::operation::encrypt_data::builders::EncryptDataFluentBuilder::set_key_identifier):<br>required: **true**<br><p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.</p><br>
/// - [`plain_text(impl Into<String>)`](crate::operation::encrypt_data::builders::EncryptDataFluentBuilder::plain_text) / [`set_plain_text(Option<String>)`](crate::operation::encrypt_data::builders::EncryptDataFluentBuilder::set_plain_text):<br>required: **true**<br><p>The plaintext to be encrypted.</p><br>
/// - [`encryption_attributes(EncryptionDecryptionAttributes)`](crate::operation::encrypt_data::builders::EncryptDataFluentBuilder::encryption_attributes) / [`set_encryption_attributes(Option<EncryptionDecryptionAttributes>)`](crate::operation::encrypt_data::builders::EncryptDataFluentBuilder::set_encryption_attributes):<br>required: **true**<br><p>The encryption key type and attributes for plaintext encryption.</p><br>
/// - On success, responds with [`EncryptDataOutput`](crate::operation::encrypt_data::EncryptDataOutput) with field(s):
/// - [`key_arn(String)`](crate::operation::encrypt_data::EncryptDataOutput::key_arn): <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.</p>
/// - [`key_check_value(Option<String>)`](crate::operation::encrypt_data::EncryptDataOutput::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>
/// - [`cipher_text(String)`](crate::operation::encrypt_data::EncryptDataOutput::cipher_text): <p>The encrypted ciphertext.</p>
/// - On failure, responds with [`SdkError<EncryptDataError>`](crate::operation::encrypt_data::EncryptDataError)
pub fn encrypt_data(&self) -> crate::operation::encrypt_data::builders::EncryptDataFluentBuilder {
crate::operation::encrypt_data::builders::EncryptDataFluentBuilder::new(self.handle.clone())
}
}