Skip to main content

aws_esdk/client/
decrypt.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::client::Client {
5    /// Constructs a fluent builder for the [`Decrypt`](crate::operation::decrypt::builders::DecryptFluentBuilder) operation.
6    ///
7    /// - The fluent builder is configurable:
8    ///   - [`ciphertext(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::decrypt::builders::DecryptFluentBuilder::ciphertext) / [`set_ciphertext(Option<::aws_smithy_types::Blob>)`](crate::operation::decrypt::builders::DecryptFluentBuilder::set_ciphertext): (undocumented)<br>
9    ///   - [`encryption_context(impl Into<Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>>)`](crate::operation::decrypt::builders::DecryptFluentBuilder::encryption_context) / [`set_encryption_context(Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>)`](crate::operation::decrypt::builders::DecryptFluentBuilder::set_encryption_context): (undocumented)<br>
10    ///   - [`keyring(impl Into<Option<crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef>>)`](crate::operation::decrypt::builders::DecryptFluentBuilder::keyring) / [`set_keyring(Option<crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef>)`](crate::operation::decrypt::builders::DecryptFluentBuilder::set_keyring): (undocumented)<br>
11    ///   - [`materials_manager(impl Into<Option<crate::deps::aws_cryptography_materialProviders::types::cryptographic_materials_manager::CryptographicMaterialsManagerRef>>)`](crate::operation::decrypt::builders::DecryptFluentBuilder::materials_manager) / [`set_materials_manager(Option<crate::deps::aws_cryptography_materialProviders::types::cryptographic_materials_manager::CryptographicMaterialsManagerRef>)`](crate::operation::decrypt::builders::DecryptFluentBuilder::set_materials_manager): (undocumented)<br>
12    /// - On success, responds with [`DecryptOutput`](crate::operation::decrypt::DecryptOutput) with field(s):
13    ///   - [`algorithm_suite_id(Option<crate::deps::aws_cryptography_materialProviders::types::EsdkAlgorithmSuiteId>)`](crate::operation::decrypt::DecryptOutput::algorithm_suite_id): (undocumented)
14    ///   - [`encryption_context(Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>)`](crate::operation::decrypt::DecryptOutput::encryption_context): (undocumented)
15    ///   - [`plaintext(Option<::aws_smithy_types::Blob>)`](crate::operation::decrypt::DecryptOutput::plaintext): (undocumented)
16    /// - On failure, responds with [`SdkError<DecryptError>`](crate::operation::decrypt::DecryptError)
17    pub fn decrypt(&self) -> crate::operation::decrypt::builders::DecryptFluentBuilder {
18        crate::operation::decrypt::builders::DecryptFluentBuilder::new(self.clone())
19    }
20}