aws_sdk_connect/client/
update_contact_schedule.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateContactSchedule`](crate::operation::update_contact_schedule::builders::UpdateContactScheduleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::update_contact_schedule::builders::UpdateContactScheduleFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_contact_schedule::builders::UpdateContactScheduleFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
7    ///   - [`contact_id(impl Into<String>)`](crate::operation::update_contact_schedule::builders::UpdateContactScheduleFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::update_contact_schedule::builders::UpdateContactScheduleFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact.</p><br>
8    ///   - [`scheduled_time(DateTime)`](crate::operation::update_contact_schedule::builders::UpdateContactScheduleFluentBuilder::scheduled_time) / [`set_scheduled_time(Option<DateTime>)`](crate::operation::update_contact_schedule::builders::UpdateContactScheduleFluentBuilder::set_scheduled_time):<br>required: **true**<br><p>The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.</p><br>
9    /// - On success, responds with [`UpdateContactScheduleOutput`](crate::operation::update_contact_schedule::UpdateContactScheduleOutput)
10    /// - On failure, responds with [`SdkError<UpdateContactScheduleError>`](crate::operation::update_contact_schedule::UpdateContactScheduleError)
11    pub fn update_contact_schedule(&self) -> crate::operation::update_contact_schedule::builders::UpdateContactScheduleFluentBuilder {
12        crate::operation::update_contact_schedule::builders::UpdateContactScheduleFluentBuilder::new(self.handle.clone())
13    }
14}