aws_esdk/deps/aws_cryptography_primitives/client/h_mac.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 [`HMac`](crate::operation::h_mac::builders::HMacFluentBuilder) operation.
6 ///
7 /// - The fluent builder is configurable:
8 /// - [`digest_algorithm(impl Into<Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>>)`](crate::operation::h_mac::builders::HMacFluentBuilder::digest_algorithm) / [`set_digest_algorithm(Option<crate::deps::aws_cryptography_primitives::types::DigestAlgorithm>)`](crate::operation::h_mac::builders::HMacFluentBuilder::set_digest_algorithm): (undocumented)<br>
9 /// - [`key(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::h_mac::builders::HMacFluentBuilder::key) / [`set_key(Option<::aws_smithy_types::Blob>)`](crate::operation::h_mac::builders::HMacFluentBuilder::set_key): (undocumented)<br>
10 /// - [`message(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::h_mac::builders::HMacFluentBuilder::message) / [`set_message(Option<::aws_smithy_types::Blob>)`](crate::operation::h_mac::builders::HMacFluentBuilder::set_message): (undocumented)<br>
11 /// - On success, responds with [`HMacOutput`](crate::operation::h_mac::HMacOutput) with field(s):
12 /// - [`digest(Option<::aws_smithy_types::Blob>)`](crate::operation::h_mac::HMacOutput::digest): (undocumented)
13 /// - On failure, responds with [`SdkError<HMacError>`](crate::operation::h_mac::HMacError)
14 pub fn h_mac(
15 &self,
16 ) -> crate::deps::aws_cryptography_primitives::operation::h_mac::builders::HMacFluentBuilder
17 {
18 crate::deps::aws_cryptography_primitives::operation::h_mac::builders::HMacFluentBuilder::new(
19 self.clone(),
20 )
21 }
22}