1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutEventsConfiguration`](crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Chime account ID.</p><br>
    ///   - [`bot_id(impl Into<String>)`](crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder::set_bot_id):<br>required: **true**<br><p>The bot ID.</p><br>
    ///   - [`outbound_events_https_endpoint(impl Into<String>)`](crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder::outbound_events_https_endpoint) / [`set_outbound_events_https_endpoint(Option<String>)`](crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder::set_outbound_events_https_endpoint):<br>required: **false**<br><p>HTTPS endpoint that allows the bot to receive outgoing events.</p><br>
    ///   - [`lambda_function_arn(impl Into<String>)`](crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder::lambda_function_arn) / [`set_lambda_function_arn(Option<String>)`](crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder::set_lambda_function_arn):<br>required: **false**<br><p>Lambda function ARN that allows the bot to receive outgoing events.</p><br>
    /// - On success, responds with [`PutEventsConfigurationOutput`](crate::operation::put_events_configuration::PutEventsConfigurationOutput) with field(s):
    ///   - [`events_configuration(Option<EventsConfiguration>)`](crate::operation::put_events_configuration::PutEventsConfigurationOutput::events_configuration): <p>The configuration that allows a bot to receive outgoing events. Can be an HTTPS endpoint or an AWS Lambda function ARN.</p>
    /// - On failure, responds with [`SdkError<PutEventsConfigurationError>`](crate::operation::put_events_configuration::PutEventsConfigurationError)
    pub fn put_events_configuration(&self) -> crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder {
        crate::operation::put_events_configuration::builders::PutEventsConfigurationFluentBuilder::new(self.handle.clone())
    }
}