aws_sdk_config/client/put_retention_configuration.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutRetentionConfiguration`](crate::operation::put_retention_configuration::builders::PutRetentionConfigurationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`retention_period_in_days(i32)`](crate::operation::put_retention_configuration::builders::PutRetentionConfigurationFluentBuilder::retention_period_in_days) / [`set_retention_period_in_days(Option<i32>)`](crate::operation::put_retention_configuration::builders::PutRetentionConfigurationFluentBuilder::set_retention_period_in_days):<br>required: **true**<br><p>Number of days Config stores your historical information.</p><note> <p>Currently, only applicable to the configuration item history.</p> </note><br>
/// - On success, responds with [`PutRetentionConfigurationOutput`](crate::operation::put_retention_configuration::PutRetentionConfigurationOutput) with field(s):
/// - [`retention_configuration(Option<RetentionConfiguration>)`](crate::operation::put_retention_configuration::PutRetentionConfigurationOutput::retention_configuration): <p>Returns a retention configuration object.</p>
/// - On failure, responds with [`SdkError<PutRetentionConfigurationError>`](crate::operation::put_retention_configuration::PutRetentionConfigurationError)
pub fn put_retention_configuration(&self) -> crate::operation::put_retention_configuration::builders::PutRetentionConfigurationFluentBuilder {
crate::operation::put_retention_configuration::builders::PutRetentionConfigurationFluentBuilder::new(self.handle.clone())
}
}