aws_sdk_ec2/client/
modify_instance_event_start_time.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 [`ModifyInstanceEventStartTime`](crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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 operation, 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>
7    ///   - [`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>
8    ///   - [`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>
9    ///   - [`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>
10    /// - On success, responds with [`ModifyInstanceEventStartTimeOutput`](crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeOutput) with field(s):
11    ///   - [`event(Option<InstanceStatusEvent>)`](crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeOutput::event): <p>Information about the event.</p>
12    /// - On failure, responds with [`SdkError<ModifyInstanceEventStartTimeError>`](crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError)
13    pub fn modify_instance_event_start_time(
14        &self,
15    ) -> crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder {
16        crate::operation::modify_instance_event_start_time::builders::ModifyInstanceEventStartTimeFluentBuilder::new(self.handle.clone())
17    }
18}