aws_sdk_robomaker/client/register_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 [`RegisterRobot`](crate::operation::register_robot::builders::RegisterRobotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`fleet(impl Into<String>)`](crate::operation::register_robot::builders::RegisterRobotFluentBuilder::fleet) / [`set_fleet(Option<String>)`](crate::operation::register_robot::builders::RegisterRobotFluentBuilder::set_fleet):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the fleet.</p><br>
7 /// - [`robot(impl Into<String>)`](crate::operation::register_robot::builders::RegisterRobotFluentBuilder::robot) / [`set_robot(Option<String>)`](crate::operation::register_robot::builders::RegisterRobotFluentBuilder::set_robot):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the robot.</p><br>
8 /// - On success, responds with [`RegisterRobotOutput`](crate::operation::register_robot::RegisterRobotOutput) with field(s):
9 /// - [`fleet(Option<String>)`](crate::operation::register_robot::RegisterRobotOutput::fleet): <p>The Amazon Resource Name (ARN) of the fleet that the robot will join.</p>
10 /// - [`robot(Option<String>)`](crate::operation::register_robot::RegisterRobotOutput::robot): <p>Information about the robot registration.</p>
11 /// - On failure, responds with [`SdkError<RegisterRobotError>`](crate::operation::register_robot::RegisterRobotError)
12 #[deprecated(
13 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."
14 )]
15 pub fn register_robot(&self) -> crate::operation::register_robot::builders::RegisterRobotFluentBuilder {
16 crate::operation::register_robot::builders::RegisterRobotFluentBuilder::new(self.handle.clone())
17 }
18}