aws_sdk_config/client/
delete_retention_configuration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteRetentionConfiguration`](crate::operation::delete_retention_configuration::builders::DeleteRetentionConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`retention_configuration_name(impl Into<String>)`](crate::operation::delete_retention_configuration::builders::DeleteRetentionConfigurationFluentBuilder::retention_configuration_name) / [`set_retention_configuration_name(Option<String>)`](crate::operation::delete_retention_configuration::builders::DeleteRetentionConfigurationFluentBuilder::set_retention_configuration_name):<br>required: **true**<br><p>The name of the retention configuration to delete.</p><br>
    /// - On success, responds with [`DeleteRetentionConfigurationOutput`](crate::operation::delete_retention_configuration::DeleteRetentionConfigurationOutput)
    /// - On failure, responds with [`SdkError<DeleteRetentionConfigurationError>`](crate::operation::delete_retention_configuration::DeleteRetentionConfigurationError)
    pub fn delete_retention_configuration(
        &self,
    ) -> crate::operation::delete_retention_configuration::builders::DeleteRetentionConfigurationFluentBuilder {
        crate::operation::delete_retention_configuration::builders::DeleteRetentionConfigurationFluentBuilder::new(self.handle.clone())
    }
}