Skip to main content

aws_esdk/deps/aws_cryptography_primitives/client/
aes_encrypt.rs

1// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2// SPDX-License-Identifier: Apache-2.0
3// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4impl crate::deps::aws_cryptography_primitives::client::Client {
5    /// Constructs a fluent builder for the [`AESEncrypt`](crate::operation::aes_encrypt::builders::AesEncryptFluentBuilder) operation.
6    ///
7    /// - The fluent builder is configurable:
8    ///   - [`aad(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::aad) / [`set_aad(Option<::aws_smithy_types::Blob>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::set_aad): (undocumented)<br>
9    ///   - [`enc_alg(impl Into<Option<crate::deps::aws_cryptography_primitives::types::AesGcm>>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::enc_alg) / [`set_enc_alg(Option<crate::deps::aws_cryptography_primitives::types::AesGcm>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::set_enc_alg): (undocumented)<br>
10    ///   - [`iv(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::iv) / [`set_iv(Option<::aws_smithy_types::Blob>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::set_iv): (undocumented)<br>
11    ///   - [`key(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::key) / [`set_key(Option<::aws_smithy_types::Blob>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::set_key): (undocumented)<br>
12    ///   - [`msg(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::msg) / [`set_msg(Option<::aws_smithy_types::Blob>)`](crate::operation::aes_encrypt::builders::AESEncryptFluentBuilder::set_msg): (undocumented)<br>
13    /// - On success, responds with [`AesEncryptOutput`](crate::operation::aes_encrypt::AesEncryptOutput) with field(s):
14    ///   - [`auth_tag(Option<::aws_smithy_types::Blob>)`](crate::operation::aes_encrypt::AESEncryptOutput::auth_tag): (undocumented)
15    ///   - [`cipher_text(Option<::aws_smithy_types::Blob>)`](crate::operation::aes_encrypt::AESEncryptOutput::cipher_text): (undocumented)
16    /// - On failure, responds with [`SdkError<AesEncryptError>`](crate::operation::aes_encrypt::AesEncryptError)
17    pub fn aes_encrypt(&self) -> crate::deps::aws_cryptography_primitives::operation::aes_encrypt::builders::AesEncryptFluentBuilder{
18        crate::deps::aws_cryptography_primitives::operation::aes_encrypt::builders::AesEncryptFluentBuilder::new(self.clone())
19    }
20}