aws-sdk-config 1.101.0

AWS SDK for AWS Config
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutServiceLinkedConfigurationRecorder`](crate::operation::put_service_linked_configuration_recorder::builders::PutServiceLinkedConfigurationRecorderFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_principal(impl Into<String>)`](crate::operation::put_service_linked_configuration_recorder::builders::PutServiceLinkedConfigurationRecorderFluentBuilder::service_principal) / [`set_service_principal(Option<String>)`](crate::operation::put_service_linked_configuration_recorder::builders::PutServiceLinkedConfigurationRecorderFluentBuilder::set_service_principal):<br>required: **true**<br><p>The service principal of the Amazon Web Services service for the service-linked configuration recorder that you want to create.</p><br>
    ///   - [`tags(Tag)`](crate::operation::put_service_linked_configuration_recorder::builders::PutServiceLinkedConfigurationRecorderFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::put_service_linked_configuration_recorder::builders::PutServiceLinkedConfigurationRecorderFluentBuilder::set_tags):<br>required: **false**<br><p>The tags for a service-linked configuration recorder. Each tag consists of a key and an optional value, both of which you define.</p><br>
    /// - On success, responds with [`PutServiceLinkedConfigurationRecorderOutput`](crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderOutput::arn): <p>The Amazon Resource Name (ARN) of the specified configuration recorder.</p>
    ///   - [`name(Option<String>)`](crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderOutput::name): <p>The name of the specified configuration recorder.</p> <p>For service-linked configuration recorders, Config automatically assigns a name that has the prefix "<code>AWSConfigurationRecorderFor</code>" to the new service-linked configuration recorder.</p>
    /// - On failure, responds with [`SdkError<PutServiceLinkedConfigurationRecorderError>`](crate::operation::put_service_linked_configuration_recorder::PutServiceLinkedConfigurationRecorderError)
    pub fn put_service_linked_configuration_recorder(
        &self,
    ) -> crate::operation::put_service_linked_configuration_recorder::builders::PutServiceLinkedConfigurationRecorderFluentBuilder {
        crate::operation::put_service_linked_configuration_recorder::builders::PutServiceLinkedConfigurationRecorderFluentBuilder::new(
            self.handle.clone(),
        )
    }
}