Skip to main content

aws_esdk/deps/aws_cryptography_primitives/client/
generate_ecc_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 [`GenerateECCKeyPair`](crate::operation::generate_ecc_key_pair::builders::GenerateEccKeyPairFluentBuilder) operation.
6    ///
7    /// - The fluent builder is configurable:
8    ///   - [`ecc_curve(impl Into<Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>>)`](crate::operation::generate_ecc_key_pair::builders::GenerateECCKeyPairFluentBuilder::ecc_curve) / [`set_ecc_curve(Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>)`](crate::operation::generate_ecc_key_pair::builders::GenerateECCKeyPairFluentBuilder::set_ecc_curve): (undocumented)<br>
9    /// - On success, responds with [`GenerateEccKeyPairOutput`](crate::operation::generate_ecc_key_pair::GenerateEccKeyPairOutput) with field(s):
10    ///   - [`ecc_curve(Option<crate::deps::aws_cryptography_primitives::types::EcdhCurveSpec>)`](crate::operation::generate_ecc_key_pair::GenerateECCKeyPairOutput::ecc_curve): (undocumented)
11    ///   - [`private_key(Option<crate::deps::aws_cryptography_primitives::types::EccPrivateKey>)`](crate::operation::generate_ecc_key_pair::GenerateECCKeyPairOutput::private_key): (undocumented)
12    ///   - [`public_key(Option<crate::deps::aws_cryptography_primitives::types::EccPublicKey>)`](crate::operation::generate_ecc_key_pair::GenerateECCKeyPairOutput::public_key): (undocumented)
13    /// - On failure, responds with [`SdkError<GenerateEccKeyPairError>`](crate::operation::generate_ecc_key_pair::GenerateEccKeyPairError)
14    pub fn generate_ecc_key_pair(&self) -> crate::deps::aws_cryptography_primitives::operation::generate_ecc_key_pair::builders::GenerateEccKeyPairFluentBuilder{
15        crate::deps::aws_cryptography_primitives::operation::generate_ecc_key_pair::builders::GenerateEccKeyPairFluentBuilder::new(self.clone())
16    }
17}