aws_sdk_connect/client/
create_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 [`CreateHoursOfOperationOverride`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::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::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::hours_of_operation_id) / [`set_hours_of_operation_id(Option<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::set_hours_of_operation_id):<br>required: **true**<br><p>The identifier for the hours of operation</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::set_name):<br>required: **true**<br><p>The name of the hours of operation override.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::set_description):<br>required: **false**<br><p>The description of the hours of operation override.</p><br>
    ///   - [`config(HoursOfOperationOverrideConfig)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::config) / [`set_config(Option<Vec::<HoursOfOperationOverrideConfig>>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::set_config):<br>required: **true**<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::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::effective_from) / [`set_effective_from(Option<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::set_effective_from):<br>required: **true**<br><p>The date from when the hours of operation override would be effective.</p><br>
    ///   - [`effective_till(impl Into<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::effective_till) / [`set_effective_till(Option<String>)`](crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::set_effective_till):<br>required: **true**<br><p>The date until when the hours of operation override would be effective.</p><br>
    /// - On success, responds with [`CreateHoursOfOperationOverrideOutput`](crate::operation::create_hours_of_operation_override::CreateHoursOfOperationOverrideOutput) with field(s):
    ///   - [`hours_of_operation_override_id(Option<String>)`](crate::operation::create_hours_of_operation_override::CreateHoursOfOperationOverrideOutput::hours_of_operation_override_id): <p>The identifier for the hours of operation override.</p>
    /// - On failure, responds with [`SdkError<CreateHoursOfOperationOverrideError>`](crate::operation::create_hours_of_operation_override::CreateHoursOfOperationOverrideError)
    pub fn create_hours_of_operation_override(
        &self,
    ) -> crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder {
        crate::operation::create_hours_of_operation_override::builders::CreateHoursOfOperationOverrideFluentBuilder::new(self.handle.clone())
    }
}