aws_sdk_connect/client/
get_effective_hours_of_operations.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetEffectiveHoursOfOperations`](crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder::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::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder::hours_of_operation_id) / [`set_hours_of_operation_id(Option<String>)`](crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder::set_hours_of_operation_id):<br>required: **true**<br><p>The identifier for the hours of operation.</p><br>
    ///   - [`from_date(impl Into<String>)`](crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder::from_date) / [`set_from_date(Option<String>)`](crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder::set_from_date):<br>required: **true**<br><p>The Date from when the hours of operation are listed.</p><br>
    ///   - [`to_date(impl Into<String>)`](crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder::to_date) / [`set_to_date(Option<String>)`](crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder::set_to_date):<br>required: **true**<br><p>The Date until when the hours of operation are listed.</p><br>
    /// - On success, responds with [`GetEffectiveHoursOfOperationsOutput`](crate::operation::get_effective_hours_of_operations::GetEffectiveHoursOfOperationsOutput) with field(s):
    ///   - [`effective_hours_of_operation_list(Option<Vec::<EffectiveHoursOfOperations>>)`](crate::operation::get_effective_hours_of_operations::GetEffectiveHoursOfOperationsOutput::effective_hours_of_operation_list): <p>Information about the effective hours of operations</p>
    ///   - [`time_zone(Option<String>)`](crate::operation::get_effective_hours_of_operations::GetEffectiveHoursOfOperationsOutput::time_zone): <p>The time zone for the hours of operation.</p>
    /// - On failure, responds with [`SdkError<GetEffectiveHoursOfOperationsError>`](crate::operation::get_effective_hours_of_operations::GetEffectiveHoursOfOperationsError)
    pub fn get_effective_hours_of_operations(
        &self,
    ) -> crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder {
        crate::operation::get_effective_hours_of_operations::builders::GetEffectiveHoursOfOperationsFluentBuilder::new(self.handle.clone())
    }
}