1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateFleet`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_name): <p>The name of the fleet.</p>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_tags): <p>A map that contains tag keys and tag values that are attached to the fleet.</p>
    /// - On success, responds with [`CreateFleetOutput`](crate::operation::create_fleet::CreateFleetOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_fleet::CreateFleetOutput::arn): <p>The Amazon Resource Name (ARN) of the fleet.</p>
    ///   - [`name(Option<String>)`](crate::operation::create_fleet::CreateFleetOutput::name): <p>The name of the fleet.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_fleet::CreateFleetOutput::created_at): <p>The time, in milliseconds since the epoch, when the fleet was created.</p>
    ///   - [`tags(Option<HashMap<String, String>>)`](crate::operation::create_fleet::CreateFleetOutput::tags): <p>The list of all tags added to the fleet.</p>
    /// - On failure, responds with [`SdkError<CreateFleetError>`](crate::operation::create_fleet::CreateFleetError)
    #[deprecated(
        note = "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."
    )]
    pub fn create_fleet(&self) -> crate::operation::create_fleet::builders::CreateFleetFluentBuilder {
        crate::operation::create_fleet::builders::CreateFleetFluentBuilder::new(self.handle.clone())
    }
}