aws_sdk_config/client/
describe_retention_configurations.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeRetentionConfigurations`](crate::operation::describe_retention_configurations::builders::DescribeRetentionConfigurationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_retention_configurations::builders::DescribeRetentionConfigurationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`retention_configuration_names(impl Into<String>)`](crate::operation::describe_retention_configurations::builders::DescribeRetentionConfigurationsFluentBuilder::retention_configuration_names) / [`set_retention_configuration_names(Option<Vec::<String>>)`](crate::operation::describe_retention_configurations::builders::DescribeRetentionConfigurationsFluentBuilder::set_retention_configuration_names):<br>required: **false**<br><p>A list of names of retention configurations for which you want details. If you do not specify a name, Config returns details for all the retention configurations for that account.</p><note>  <p>Currently, Config supports only one retention configuration per region in your account.</p> </note><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_retention_configurations::builders::DescribeRetentionConfigurationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_retention_configurations::builders::DescribeRetentionConfigurationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p><br>
    /// - On success, responds with [`DescribeRetentionConfigurationsOutput`](crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsOutput) with field(s):
    ///   - [`retention_configurations(Option<Vec::<RetentionConfiguration>>)`](crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsOutput::retention_configurations): <p>Returns a retention configuration object.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsOutput::next_token): <p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
    /// - On failure, responds with [`SdkError<DescribeRetentionConfigurationsError>`](crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsError)
    pub fn describe_retention_configurations(
        &self,
    ) -> crate::operation::describe_retention_configurations::builders::DescribeRetentionConfigurationsFluentBuilder {
        crate::operation::describe_retention_configurations::builders::DescribeRetentionConfigurationsFluentBuilder::new(self.handle.clone())
    }
}