aws_sdk_robomaker/client/create_robot.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 [`CreateRobot`](crate::operation::create_robot::builders::CreateRobotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::create_robot::builders::CreateRobotFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_robot::builders::CreateRobotFluentBuilder::set_name):<br>required: **true**<br><p>The name for the robot.</p><br>
7 /// - [`architecture(Architecture)`](crate::operation::create_robot::builders::CreateRobotFluentBuilder::architecture) / [`set_architecture(Option<Architecture>)`](crate::operation::create_robot::builders::CreateRobotFluentBuilder::set_architecture):<br>required: **true**<br><p>The target architecture of the robot.</p><br>
8 /// - [`greengrass_group_id(impl Into<String>)`](crate::operation::create_robot::builders::CreateRobotFluentBuilder::greengrass_group_id) / [`set_greengrass_group_id(Option<String>)`](crate::operation::create_robot::builders::CreateRobotFluentBuilder::set_greengrass_group_id):<br>required: **true**<br><p>The Greengrass group id.</p><br>
9 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_robot::builders::CreateRobotFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_robot::builders::CreateRobotFluentBuilder::set_tags):<br>required: **false**<br><p>A map that contains tag keys and tag values that are attached to the robot.</p><br>
10 /// - On success, responds with [`CreateRobotOutput`](crate::operation::create_robot::CreateRobotOutput) with field(s):
11 /// - [`arn(Option<String>)`](crate::operation::create_robot::CreateRobotOutput::arn): <p>The Amazon Resource Name (ARN) of the robot.</p>
12 /// - [`name(Option<String>)`](crate::operation::create_robot::CreateRobotOutput::name): <p>The name of the robot.</p>
13 /// - [`created_at(Option<DateTime>)`](crate::operation::create_robot::CreateRobotOutput::created_at): <p>The time, in milliseconds since the epoch, when the robot was created.</p>
14 /// - [`greengrass_group_id(Option<String>)`](crate::operation::create_robot::CreateRobotOutput::greengrass_group_id): <p>The Amazon Resource Name (ARN) of the Greengrass group associated with the robot.</p>
15 /// - [`architecture(Option<Architecture>)`](crate::operation::create_robot::CreateRobotOutput::architecture): <p>The target architecture of the robot.</p>
16 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_robot::CreateRobotOutput::tags): <p>The list of all tags added to the robot.</p>
17 /// - On failure, responds with [`SdkError<CreateRobotError>`](crate::operation::create_robot::CreateRobotError)
18 #[deprecated(
19 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."
20 )]
21 pub fn create_robot(&self) -> crate::operation::create_robot::builders::CreateRobotFluentBuilder {
22 crate::operation::create_robot::builders::CreateRobotFluentBuilder::new(self.handle.clone())
23 }
24}