Skip to main content

aws_esdk/deps/aws_cryptography_primitives/client/
generate_random_bytes.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 [`GenerateRandomBytes`](crate::operation::generate_random_bytes::builders::GenerateRandomBytesFluentBuilder) operation.
6    ///
7    /// - The fluent builder is configurable:
8    ///   - [`length(impl Into<Option<::std::primitive::i32>>)`](crate::operation::generate_random_bytes::builders::GenerateRandomBytesFluentBuilder::length) / [`set_length(Option<::std::primitive::i32>)`](crate::operation::generate_random_bytes::builders::GenerateRandomBytesFluentBuilder::set_length): (undocumented)<br>
9    /// - On success, responds with [`GenerateRandomBytesOutput`](crate::operation::generate_random_bytes::GenerateRandomBytesOutput) with field(s):
10    ///   - [`data(Option<::aws_smithy_types::Blob>)`](crate::operation::generate_random_bytes::GenerateRandomBytesOutput::data): (undocumented)
11    /// - On failure, responds with [`SdkError<GenerateRandomBytesError>`](crate::operation::generate_random_bytes::GenerateRandomBytesError)
12    pub fn generate_random_bytes(&self) -> crate::deps::aws_cryptography_primitives::operation::generate_random_bytes::builders::GenerateRandomBytesFluentBuilder{
13        crate::deps::aws_cryptography_primitives::operation::generate_random_bytes::builders::GenerateRandomBytesFluentBuilder::new(self.clone())
14    }
15}