aws_sdk_robomaker/client/create_fleet.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateFleet`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_fleet::builders::CreateFleetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the fleet.</p><br>
7 /// - [`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):<br>required: **false**<br><p>A map that contains tag keys and tag values that are attached to the fleet.</p><br>
8 /// - On success, responds with [`CreateFleetOutput`](crate::operation::create_fleet::CreateFleetOutput) with field(s):
9 /// - [`arn(Option<String>)`](crate::operation::create_fleet::CreateFleetOutput::arn): <p>The Amazon Resource Name (ARN) of the fleet.</p>
10 /// - [`name(Option<String>)`](crate::operation::create_fleet::CreateFleetOutput::name): <p>The name of the fleet.</p>
11 /// - [`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>
12 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_fleet::CreateFleetOutput::tags): <p>The list of all tags added to the fleet.</p>
13 /// - On failure, responds with [`SdkError<CreateFleetError>`](crate::operation::create_fleet::CreateFleetError)
14 #[deprecated(
15 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."
16 )]
17 pub fn create_fleet(&self) -> crate::operation::create_fleet::builders::CreateFleetFluentBuilder {
18 crate::operation::create_fleet::builders::CreateFleetFluentBuilder::new(self.handle.clone())
19 }
20}