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 [`UpdateSubscriber`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`subscriber_id(impl Into<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::subscriber_id) / [`set_subscriber_id(Option<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_subscriber_id): <p>A value created by Security Lake that uniquely identifies your subscription.</p>
    ///   - [`subscriber_identity(AwsIdentity)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::subscriber_identity) / [`set_subscriber_identity(Option<AwsIdentity>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_subscriber_identity): <p>The AWS identity used to access your data.</p>
    ///   - [`subscriber_name(impl Into<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::subscriber_name) / [`set_subscriber_name(Option<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_subscriber_name): <p>The name of the Security Lake account subscriber.</p>
    ///   - [`subscriber_description(impl Into<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::subscriber_description) / [`set_subscriber_description(Option<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_subscriber_description): <p>The description of the Security Lake account subscriber.</p>
    ///   - [`sources(LogSourceResource)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::sources) / [`set_sources(Option<Vec<LogSourceResource>>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_sources): <p>The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Amazon Security Lake User Guide</a>.</p>
    /// - On success, responds with [`UpdateSubscriberOutput`](crate::operation::update_subscriber::UpdateSubscriberOutput) with field(s):
    ///   - [`subscriber(Option<SubscriberResource>)`](crate::operation::update_subscriber::UpdateSubscriberOutput::subscriber): <p>The updated subscriber information.</p>
    /// - On failure, responds with [`SdkError<UpdateSubscriberError>`](crate::operation::update_subscriber::UpdateSubscriberError)
    pub fn update_subscriber(&self) -> crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder {
        crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::new(self.handle.clone())
    }
}