aws_sdk_connect/client/
update_hours_of_operation_override.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateHoursOfOperationOverride`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance.</p><br>
    ///   - [`hours_of_operation_id(impl Into<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::hours_of_operation_id) / [`set_hours_of_operation_id(Option<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::set_hours_of_operation_id):<br>required: **true**<br><p>The identifier for the hours of operation.</p><br>
    ///   - [`hours_of_operation_override_id(impl Into<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::hours_of_operation_override_id) / [`set_hours_of_operation_override_id(Option<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::set_hours_of_operation_override_id):<br>required: **true**<br><p>The identifier for the hours of operation override.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::set_name):<br>required: **false**<br><p>The name of the hours of operation override.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::set_description):<br>required: **false**<br><p>The description of the hours of operation override.</p><br>
    ///   - [`config(HoursOfOperationOverrideConfig)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::config) / [`set_config(Option<Vec::<HoursOfOperationOverrideConfig>>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::set_config):<br>required: **false**<br><p>Configuration information for the hours of operation override: day, start time, and end time.</p><br>
    ///   - [`effective_from(impl Into<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::effective_from) / [`set_effective_from(Option<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::set_effective_from):<br>required: **false**<br><p>The date from when the hours of operation override would be effective.</p><br>
    ///   - [`effective_till(impl Into<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::effective_till) / [`set_effective_till(Option<String>)`](crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::set_effective_till):<br>required: **false**<br><p>The date till when the hours of operation override would be effective.</p><br>
    /// - On success, responds with [`UpdateHoursOfOperationOverrideOutput`](crate::operation::update_hours_of_operation_override::UpdateHoursOfOperationOverrideOutput)
    /// - On failure, responds with [`SdkError<UpdateHoursOfOperationOverrideError>`](crate::operation::update_hours_of_operation_override::UpdateHoursOfOperationOverrideError)
    pub fn update_hours_of_operation_override(
        &self,
    ) -> crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder {
        crate::operation::update_hours_of_operation_override::builders::UpdateHoursOfOperationOverrideFluentBuilder::new(self.handle.clone())
    }
}