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 [`CreateAwsLogSource`](crate::operation::create_aws_log_source::builders::CreateAwsLogSourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`sources(AwsLogSourceConfiguration)`](crate::operation::create_aws_log_source::builders::CreateAwsLogSourceFluentBuilder::sources) / [`set_sources(Option<Vec<AwsLogSourceConfiguration>>)`](crate::operation::create_aws_log_source::builders::CreateAwsLogSourceFluentBuilder::set_sources): <p>Specify the natively-supported Amazon Web Services service to add as a source in Security Lake.</p>
    /// - On success, responds with [`CreateAwsLogSourceOutput`](crate::operation::create_aws_log_source::CreateAwsLogSourceOutput) with field(s):
    ///   - [`failed(Option<Vec<String>>)`](crate::operation::create_aws_log_source::CreateAwsLogSourceOutput::failed): <p>Lists all accounts in which enabling a natively supported Amazon Web Service as a Security Lake source failed. The failure occurred as these accounts are not part of an organization.</p>
    /// - On failure, responds with [`SdkError<CreateAwsLogSourceError>`](crate::operation::create_aws_log_source::CreateAwsLogSourceError)
    pub fn create_aws_log_source(&self) -> crate::operation::create_aws_log_source::builders::CreateAwsLogSourceFluentBuilder {
        crate::operation::create_aws_log_source::builders::CreateAwsLogSourceFluentBuilder::new(self.handle.clone())
    }
}