1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::delete_fleets::_delete_fleets_output::DeleteFleetsOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::delete_fleets::_delete_fleets_input::DeleteFleetsInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::delete_fleets::_delete_fleets_output::DeleteFleetsOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::delete_fleets::builders::DeleteFleetsInputBuilder {
|
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::delete_fleets::DeleteFleetsOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::delete_fleets::DeleteFleetsError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.delete_fleets();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DeleteFleets`.
|
24 24 | ///
|
25 25 | /// <p>Deletes the specified EC2 Fleet request.</p>
|
26 26 | /// <p>After you delete an EC2 Fleet request, it launches no new instances.</p>
|
27 27 | /// <p>You must also specify whether a deleted EC2 Fleet request should terminate its instances. If you choose to terminate the instances, the EC2 Fleet request enters the <code>deleted_terminating</code> state. Otherwise, it enters the <code>deleted_running</code> state, and the instances continue to run until they are interrupted or you terminate them manually.</p>
|
28 28 | /// <p>A deleted <code>instant</code> fleet with running instances is not supported. When you delete an <code>instant</code> fleet, Amazon EC2 automatically terminates all its instances. For fleets with more than 1000 instances, the deletion request might fail. If your fleet has more than 1000 instances, first terminate most of the instances manually, leaving 1000 or fewer. Then delete the fleet, and the remaining instances will be terminated automatically.</p>
|
29 29 | /// <p class="title"><b>Restrictions</b></p>
|
30 30 | /// <ul>
|
31 31 | /// <li>
|
32 32 | /// <p>You can delete up to 25 fleets of type <code>instant</code> in a single request.</p></li>
|
33 33 | /// <li>
|
34 34 | /// <p>You can delete up to 100 fleets of type <code>maintain</code> or <code>request</code> in a single request.</p></li>
|
35 35 | /// <li>
|