Skip to main content

aws_esdk/deps/aws_cryptography_primitives/client/
hkdf.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 [`Hkdf`](crate::operation::hkdf::builders::HkdfFluentBuilder) operation.
6    ///
7    /// - The fluent builder is configurable:
8    ///   - [`digest_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::digest_algorithm) / [`set_digest_algorithm(Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::set_digest_algorithm): (undocumented)<br>
9    ///   - [`expected_length(impl Into<Option<::std::primitive::i32>>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::expected_length) / [`set_expected_length(Option<::std::primitive::i32>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::set_expected_length): (undocumented)<br>
10    ///   - [`ikm(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::ikm) / [`set_ikm(Option<::aws_smithy_types::Blob>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::set_ikm): (undocumented)<br>
11    ///   - [`info(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::info) / [`set_info(Option<::aws_smithy_types::Blob>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::set_info): (undocumented)<br>
12    ///   - [`salt(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::salt) / [`set_salt(Option<::aws_smithy_types::Blob>)`](crate::operation::hkdf::builders::HkdfFluentBuilder::set_salt): (undocumented)<br>
13    /// - On success, responds with [`HkdfOutput`](crate::operation::hkdf::HkdfOutput) with field(s):
14    ///   - [`okm(Option<::aws_smithy_types::Blob>)`](crate::operation::hkdf::HkdfOutput::okm): (undocumented)
15    /// - On failure, responds with [`SdkError<HkdfError>`](crate::operation::hkdf::HkdfError)
16    pub fn hkdf(
17        &self,
18    ) -> crate::deps::aws_cryptography_primitives::operation::hkdf::builders::HkdfFluentBuilder
19    {
20        crate::deps::aws_cryptography_primitives::operation::hkdf::builders::HkdfFluentBuilder::new(
21            self.clone(),
22        )
23    }
24}