1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::modify_instance_event_window::_modify_instance_event_window_output::ModifyInstanceEventWindowOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::modify_instance_event_window::_modify_instance_event_window_input::ModifyInstanceEventWindowInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::modify_instance_event_window::_modify_instance_event_window_output::ModifyInstanceEventWindowOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::modify_instance_event_window::builders::ModifyInstanceEventWindowInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::modify_instance_event_window::ModifyInstanceEventWindowOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.modify_instance_event_window();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `ModifyInstanceEventWindow`.
|
24 24 | ///
|
25 25 | /// <p>Modifies the specified event window.</p>
|
26 26 | /// <p>You can define either a set of time ranges or a cron expression when modifying the event window, but not both.</p>
|
27 27 | /// <p>To modify the targets associated with the event window, use the <code>AssociateInstanceEventWindow</code> and <code>DisassociateInstanceEventWindow</code> API.</p>
|
28 28 | /// <p>If Amazon Web Services has already scheduled an event, modifying an event window won't change the time of the scheduled event.</p>
|
29 29 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html">Define event windows for scheduled events</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
30 30 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
31 31 | pub struct ModifyInstanceEventWindowFluentBuilder {
|
32 32 | handle: ::std::sync::Arc<crate::client::Handle>,
|
33 33 | inner: crate::operation::modify_instance_event_window::builders::ModifyInstanceEventWindowInputBuilder,
|
34 34 | config_override: ::std::option::Option<crate::config::Builder>,
|
35 35 | }
|