aws_sdk_config/client/describe_configuration_recorders.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DescribeConfigurationRecorders`](crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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><note> <p>When making a request to this operation, you can only specify one configuration recorder.</p> </note><br>
7 /// - [`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. This field is only supported for Amazon Web Services service principals. For third-party service-linked configuration recorders, use <code>Arn</code> instead.</p><br>
8 /// - [`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>
9 /// - On success, responds with [`DescribeConfigurationRecordersOutput`](crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersOutput) with field(s):
10 /// - [`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>
11 /// - On failure, responds with [`SdkError<DescribeConfigurationRecordersError>`](crate::operation::describe_configuration_recorders::DescribeConfigurationRecordersError)
12 pub fn describe_configuration_recorders(
13 &self,
14 ) -> crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder {
15 crate::operation::describe_configuration_recorders::builders::DescribeConfigurationRecordersFluentBuilder::new(self.handle.clone())
16 }
17}