aws_sdk_config/client/
put_configuration_recorder.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutConfigurationRecorder`](crate::operation::put_configuration_recorder::builders::PutConfigurationRecorderFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`configuration_recorder(ConfigurationRecorder)`](crate::operation::put_configuration_recorder::builders::PutConfigurationRecorderFluentBuilder::configuration_recorder) / [`set_configuration_recorder(Option<ConfigurationRecorder>)`](crate::operation::put_configuration_recorder::builders::PutConfigurationRecorderFluentBuilder::set_configuration_recorder):<br>required: **true**<br><p>An object for the configuration recorder. A configuration recorder records configuration changes for the resource types in scope.</p><br>
    ///   - [`tags(Tag)`](crate::operation::put_configuration_recorder::builders::PutConfigurationRecorderFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::put_configuration_recorder::builders::PutConfigurationRecorderFluentBuilder::set_tags):<br>required: **false**<br><p>The tags for the customer managed configuration recorder. Each tag consists of a key and an optional value, both of which you define.</p><br>
    /// - On success, responds with [`PutConfigurationRecorderOutput`](crate::operation::put_configuration_recorder::PutConfigurationRecorderOutput)
    /// - On failure, responds with [`SdkError<PutConfigurationRecorderError>`](crate::operation::put_configuration_recorder::PutConfigurationRecorderError)
    pub fn put_configuration_recorder(&self) -> crate::operation::put_configuration_recorder::builders::PutConfigurationRecorderFluentBuilder {
        crate::operation::put_configuration_recorder::builders::PutConfigurationRecorderFluentBuilder::new(self.handle.clone())
    }
}