aws_esdk/deps/aws_cryptography_primitives/client/generate_rsa_key_pair.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 [`GenerateRSAKeyPair`](crate::operation::generate_rsa_key_pair::builders::GenerateRsaKeyPairFluentBuilder) operation.
6 ///
7 /// - The fluent builder is configurable:
8 /// - [`length_bits(impl Into<Option<::std::primitive::i32>>)`](crate::operation::generate_rsa_key_pair::builders::GenerateRSAKeyPairFluentBuilder::length_bits) / [`set_length_bits(Option<::std::primitive::i32>)`](crate::operation::generate_rsa_key_pair::builders::GenerateRSAKeyPairFluentBuilder::set_length_bits): (undocumented)<br>
9 /// - On success, responds with [`GenerateRsaKeyPairOutput`](crate::operation::generate_rsa_key_pair::GenerateRsaKeyPairOutput) with field(s):
10 /// - [`private_key(Option<crate::deps::aws_cryptography_primitives::types::RsaPrivateKey>)`](crate::operation::generate_rsa_key_pair::GenerateRSAKeyPairOutput::private_key): (undocumented)
11 /// - [`public_key(Option<crate::deps::aws_cryptography_primitives::types::RsaPublicKey>)`](crate::operation::generate_rsa_key_pair::GenerateRSAKeyPairOutput::public_key): (undocumented)
12 /// - On failure, responds with [`SdkError<GenerateRsaKeyPairError>`](crate::operation::generate_rsa_key_pair::GenerateRsaKeyPairError)
13 pub fn generate_rsa_key_pair(&self) -> crate::deps::aws_cryptography_primitives::operation::generate_rsa_key_pair::builders::GenerateRsaKeyPairFluentBuilder{
14 crate::deps::aws_cryptography_primitives::operation::generate_rsa_key_pair::builders::GenerateRsaKeyPairFluentBuilder::new(self.clone())
15 }
16}