1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RequestSpotFleet`](crate::operation::request_spot_fleet::builders::RequestSpotFleetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::request_spot_fleet::builders::RequestSpotFleetFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::request_spot_fleet::builders::RequestSpotFleetFluentBuilder::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>
    ///   - [`spot_fleet_request_config(SpotFleetRequestConfigData)`](crate::operation::request_spot_fleet::builders::RequestSpotFleetFluentBuilder::spot_fleet_request_config) / [`set_spot_fleet_request_config(Option<SpotFleetRequestConfigData>)`](crate::operation::request_spot_fleet::builders::RequestSpotFleetFluentBuilder::set_spot_fleet_request_config):<br>required: **true**<br><p>The configuration for the Spot Fleet request.</p><br>
    /// - On success, responds with [`RequestSpotFleetOutput`](crate::operation::request_spot_fleet::RequestSpotFleetOutput) with field(s):
    ///   - [`spot_fleet_request_id(Option<String>)`](crate::operation::request_spot_fleet::RequestSpotFleetOutput::spot_fleet_request_id): <p>The ID of the Spot Fleet request.</p>
    /// - On failure, responds with [`SdkError<RequestSpotFleetError>`](crate::operation::request_spot_fleet::RequestSpotFleetError)
    pub fn request_spot_fleet(&self) -> crate::operation::request_spot_fleet::builders::RequestSpotFleetFluentBuilder {
        crate::operation::request_spot_fleet::builders::RequestSpotFleetFluentBuilder::new(self.handle.clone())
    }
}