aws-sdk-bedrock 1.146.0

AWS SDK for Amazon Bedrock
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAccountDataRetention`](crate::operation::get_account_data_retention::builders::GetAccountDataRetentionFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_data_retention::builders::GetAccountDataRetentionFluentBuilder::send) it.
    /// - On success, responds with [`GetAccountDataRetentionOutput`](crate::operation::get_account_data_retention::GetAccountDataRetentionOutput) with field(s):
    ///   - [`mode(DataRetentionMode)`](crate::operation::get_account_data_retention::GetAccountDataRetentionOutput::mode): <p>The data retention mode configured for the account.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_account_data_retention::GetAccountDataRetentionOutput::updated_at): <p>The time at which the data retention mode was last updated.</p>
    /// - On failure, responds with [`SdkError<GetAccountDataRetentionError>`](crate::operation::get_account_data_retention::GetAccountDataRetentionError)
    pub fn get_account_data_retention(&self) -> crate::operation::get_account_data_retention::builders::GetAccountDataRetentionFluentBuilder {
        crate::operation::get_account_data_retention::builders::GetAccountDataRetentionFluentBuilder::new(self.handle.clone())
    }
}