aws_sdk_config/client/describe_configuration_recorder_status.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 [`DescribeConfigurationRecorderStatus`](crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`configuration_recorder_names(impl Into<String>)`](crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder::configuration_recorder_names) / [`set_configuration_recorder_names(Option<Vec::<String>>)`](crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder::set_configuration_recorder_names):<br>required: **false**<br><p>The name of the configuration recorder. If the name is not specified, the opertation returns the status for the customer managed configuration recorder configured for the account, if applicable.</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_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder::service_principal) / [`set_service_principal(Option<String>)`](crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder::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>
8 /// - [`arn(impl Into<String>)`](crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder::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 [`DescribeConfigurationRecorderStatusOutput`](crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusOutput) with field(s):
10 /// - [`configuration_recorders_status(Option<Vec::<ConfigurationRecorderStatus>>)`](crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusOutput::configuration_recorders_status): <p>A list that contains status of the specified recorders.</p>
11 /// - On failure, responds with [`SdkError<DescribeConfigurationRecorderStatusError>`](crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusError)
12 pub fn describe_configuration_recorder_status(
13 &self,
14 ) -> crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder {
15 crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder::new(self.handle.clone())
16 }
17}