aws_esdk/deps/aws_cryptography_primitives/client/rsa_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 [`RSAEncrypt`](crate::operation::rsa_encrypt::builders::RsaEncryptFluentBuilder) operation.
6 ///
7 /// - The fluent builder is configurable:
8 /// - [`padding(impl Into<Option<crate::deps::aws_cryptography_primitives::types::RsaPaddingMode>>)`](crate::operation::rsa_encrypt::builders::RSAEncryptFluentBuilder::padding) / [`set_padding(Option<crate::deps::aws_cryptography_primitives::types::RsaPaddingMode>)`](crate::operation::rsa_encrypt::builders::RSAEncryptFluentBuilder::set_padding): (undocumented)<br>
9 /// - [`plaintext(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::rsa_encrypt::builders::RSAEncryptFluentBuilder::plaintext) / [`set_plaintext(Option<::aws_smithy_types::Blob>)`](crate::operation::rsa_encrypt::builders::RSAEncryptFluentBuilder::set_plaintext): (undocumented)<br>
10 /// - [`public_key(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::rsa_encrypt::builders::RSAEncryptFluentBuilder::public_key) / [`set_public_key(Option<::aws_smithy_types::Blob>)`](crate::operation::rsa_encrypt::builders::RSAEncryptFluentBuilder::set_public_key): (undocumented)<br>
11 /// - On success, responds with [`RsaEncryptOutput`](crate::operation::rsa_encrypt::RsaEncryptOutput) with field(s):
12 /// - [`cipher_text(Option<::aws_smithy_types::Blob>)`](crate::operation::rsa_encrypt::RSAEncryptOutput::cipher_text): (undocumented)
13 /// - On failure, responds with [`SdkError<RsaEncryptError>`](crate::operation::rsa_encrypt::RsaEncryptError)
14 pub fn rsa_encrypt(&self) -> crate::deps::aws_cryptography_primitives::operation::rsa_encrypt::builders::RsaEncryptFluentBuilder{
15 crate::deps::aws_cryptography_primitives::operation::rsa_encrypt::builders::RsaEncryptFluentBuilder::new(self.clone())
16 }
17}