Skip to main content

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