aws_sdk_config/client/
describe_configuration_recorder_status.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 [`DescribeConfigurationRecorderStatus`](crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DescribeConfigurationRecorderStatusOutput`](crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<DescribeConfigurationRecorderStatusError>`](crate::operation::describe_configuration_recorder_status::DescribeConfigurationRecorderStatusError)
    pub fn describe_configuration_recorder_status(
        &self,
    ) -> crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder {
        crate::operation::describe_configuration_recorder_status::builders::DescribeConfigurationRecorderStatusFluentBuilder::new(self.handle.clone())
    }
}