1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopFleetActions`](crate::operation::stop_fleet_actions::builders::StopFleetActionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`fleet_id(impl Into<String>)`](crate::operation::stop_fleet_actions::builders::StopFleetActionsFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::stop_fleet_actions::builders::StopFleetActionsFluentBuilder::set_fleet_id):<br>required: **true**<br><p>A unique identifier for the fleet to stop actions on. You can use either the fleet ID or ARN value.</p><br>
    ///   - [`actions(FleetAction)`](crate::operation::stop_fleet_actions::builders::StopFleetActionsFluentBuilder::actions) / [`set_actions(Option<Vec::<FleetAction>>)`](crate::operation::stop_fleet_actions::builders::StopFleetActionsFluentBuilder::set_actions):<br>required: **true**<br><p>List of actions to suspend on the fleet.</p><br>
    ///   - [`location(impl Into<String>)`](crate::operation::stop_fleet_actions::builders::StopFleetActionsFluentBuilder::location) / [`set_location(Option<String>)`](crate::operation::stop_fleet_actions::builders::StopFleetActionsFluentBuilder::set_location):<br>required: **false**<br><p>The fleet location to stop fleet actions for. Specify a location in the form of an Amazon Web Services Region code, such as <code>us-west-2</code>.</p><br>
    /// - On success, responds with [`StopFleetActionsOutput`](crate::operation::stop_fleet_actions::StopFleetActionsOutput) with field(s):
    ///   - [`fleet_id(Option<String>)`](crate::operation::stop_fleet_actions::StopFleetActionsOutput::fleet_id): <p>A unique identifier for the fleet to stop actions on.</p>
    ///   - [`fleet_arn(Option<String>)`](crate::operation::stop_fleet_actions::StopFleetActionsOutput::fleet_arn): <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is <code>arn:aws:gamelift:<region>    ::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912   </region></code>.</p>
    /// - On failure, responds with [`SdkError<StopFleetActionsError>`](crate::operation::stop_fleet_actions::StopFleetActionsError)
    pub fn stop_fleet_actions(&self) -> crate::operation::stop_fleet_actions::builders::StopFleetActionsFluentBuilder {
        crate::operation::stop_fleet_actions::builders::StopFleetActionsFluentBuilder::new(self.handle.clone())
    }
}