1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ModifyInstanceEventStartTime`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    ///   - [`instance_id(impl Into<String>)`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::set_instance_id):<br>required: **true**<br><p>The ID of the instance with the scheduled event.</p><br>
    ///   - [`instance_event_id(impl Into<String>)`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::instance_event_id) / [`set_instance_event_id(Option<String>)`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::set_instance_event_id):<br>required: **true**<br><p>The ID of the event whose date and time you are modifying.</p><br>
    ///   - [`not_before(DateTime)`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::not_before) / [`set_not_before(Option<DateTime>)`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::set_not_before):<br>required: **true**<br><p>The new date and time when the event will take place.</p><br>
    /// - On success, responds with [`ModifyInstanceEventStartTimeOutput`](crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeOutput) with field(s):
    ///   - [`event(Option<InstanceStatusEvent>)`](crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeOutput::event): <p>Information about the event.</p>
    /// - On failure, responds with [`SdkError<ModifyInstanceEventStartTimeError>`](crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError)
    pub fn modify_instance_event_start_time(
        &self,
    ) -> crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder {
        crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::new(self.handle.clone())
    }
}