aws_sdk_config/client/
describe_configuration_recorders.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeConfigurationRecorders`](crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`configuration_recorder_names(impl Into<String>)`](crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder::configuration_recorder_names) / [`set_configuration_recorder_names(Option<Vec::<String>>)`](crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder::set_configuration_recorder_names):<br>required: **false**<br><p>A list of names of the configuration recorders that you want to specify.</p><br>
    ///   - [`service_principal(impl Into<String>)`](crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder::service_principal) / [`set_service_principal(Option<String>)`](crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder::set_service_principal):<br>required: **false**<br><p>For service-linked configuration recorders, you can use the service principal of the linked Amazon Web Services service to specify the configuration recorder.</p><br>
    ///   - [`arn(impl Into<String>)`](crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder::set_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the configuration recorder that you want to specify.</p><br>
    /// - On success, responds with [`DescribeConfigurationRecordersOutput`](crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersOutput) with field(s):
    ///   - [`configuration_recorders(Option<Vec::<ConfigurationRecorder>>)`](crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersOutput::configuration_recorders): <p>A list that contains the descriptions of the specified configuration recorders.</p>
    /// - On failure, responds with [`SdkError<DescribeConfigurationRecordersError>`](crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError)
    pub fn describe_configuration_recorders(
        &self,
    ) -> crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder {
        crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder::new(self.handle.clone())
    }
}