aws_sdk_workmail/client/
update_availability_configuration.rs

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 [`UpdateAvailabilityConfiguration`](crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder::set_organization_id):<br>required: **true**<br><p>The WorkMail organization for which the <code>AvailabilityConfiguration</code> will be updated.</p><br>
    ///   - [`domain_name(impl Into<String>)`](crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder::set_domain_name):<br>required: **true**<br><p>The domain to which the provider applies the availability configuration.</p><br>
    ///   - [`ews_provider(EwsAvailabilityProvider)`](crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder::ews_provider) / [`set_ews_provider(Option<EwsAvailabilityProvider>)`](crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder::set_ews_provider):<br>required: **false**<br><p>The EWS availability provider definition. The request must contain exactly one provider definition, either <code>EwsProvider</code> or <code>LambdaProvider</code>. The previously stored provider will be overridden by the one provided.</p><br>
    ///   - [`lambda_provider(LambdaAvailabilityProvider)`](crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder::lambda_provider) / [`set_lambda_provider(Option<LambdaAvailabilityProvider>)`](crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder::set_lambda_provider):<br>required: **false**<br><p>The Lambda availability provider definition. The request must contain exactly one provider definition, either <code>EwsProvider</code> or <code>LambdaProvider</code>. The previously stored provider will be overridden by the one provided.</p><br>
    /// - On success, responds with [`UpdateAvailabilityConfigurationOutput`](crate::operation::update_availability_configuration::UpdateAvailabilityConfigurationOutput)
    /// - On failure, responds with [`SdkError<UpdateAvailabilityConfigurationError>`](crate::operation::update_availability_configuration::UpdateAvailabilityConfigurationError)
    pub fn update_availability_configuration(
        &self,
    ) -> crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder {
        crate::operation::update_availability_configuration::builders::UpdateAvailabilityConfigurationFluentBuilder::new(self.handle.clone())
    }
}