aws_sdk_robomaker/client/
describe_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 [`DescribeRobot`](crate::operation::describe_robot::builders::DescribeRobotFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`robot(impl Into<String>)`](crate::operation::describe_robot::builders::DescribeRobotFluentBuilder::robot) / [`set_robot(Option<String>)`](crate::operation::describe_robot::builders::DescribeRobotFluentBuilder::set_robot):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the robot to be described.</p><br>
7    /// - On success, responds with [`DescribeRobotOutput`](crate::operation::describe_robot::DescribeRobotOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::describe_robot::DescribeRobotOutput::arn): <p>The Amazon Resource Name (ARN) of the robot.</p>
9    ///   - [`name(Option<String>)`](crate::operation::describe_robot::DescribeRobotOutput::name): <p>The name of the robot.</p>
10    ///   - [`fleet_arn(Option<String>)`](crate::operation::describe_robot::DescribeRobotOutput::fleet_arn): <p>The Amazon Resource Name (ARN) of the fleet.</p>
11    ///   - [`status(Option<RobotStatus>)`](crate::operation::describe_robot::DescribeRobotOutput::status): <p>The status of the fleet.</p>
12    ///   - [`greengrass_group_id(Option<String>)`](crate::operation::describe_robot::DescribeRobotOutput::greengrass_group_id): <p>The Greengrass group id.</p>
13    ///   - [`created_at(Option<DateTime>)`](crate::operation::describe_robot::DescribeRobotOutput::created_at): <p>The time, in milliseconds since the epoch, when the robot was created.</p>
14    ///   - [`architecture(Option<Architecture>)`](crate::operation::describe_robot::DescribeRobotOutput::architecture): <p>The target architecture of the robot application.</p>
15    ///   - [`last_deployment_job(Option<String>)`](crate::operation::describe_robot::DescribeRobotOutput::last_deployment_job): <p>The Amazon Resource Name (ARN) of the last deployment job.</p>
16    ///   - [`last_deployment_time(Option<DateTime>)`](crate::operation::describe_robot::DescribeRobotOutput::last_deployment_time): <p>The time of the last deployment job.</p>
17    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::describe_robot::DescribeRobotOutput::tags): <p>The list of all tags added to the specified robot.</p>
18    /// - On failure, responds with [`SdkError<DescribeRobotError>`](crate::operation::describe_robot::DescribeRobotError)
19    #[deprecated(
20        note = "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."
21    )]
22    pub fn describe_robot(&self) -> crate::operation::describe_robot::builders::DescribeRobotFluentBuilder {
23        crate::operation::describe_robot::builders::DescribeRobotFluentBuilder::new(self.handle.clone())
24    }
25}