| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.RobOMaker.DescribeRobot
Description
Describes a robot.
Synopsis
- data DescribeRobot = DescribeRobot' {}
- newDescribeRobot :: Text -> DescribeRobot
- describeRobot_robot :: Lens' DescribeRobot Text
- data DescribeRobotResponse = DescribeRobotResponse' {
- lastDeploymentJob :: Maybe Text
- status :: Maybe RobotStatus
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- greengrassGroupId :: Maybe Text
- fleetArn :: Maybe Text
- name :: Maybe Text
- architecture :: Maybe Architecture
- lastDeploymentTime :: Maybe POSIX
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newDescribeRobotResponse :: Int -> DescribeRobotResponse
- describeRobotResponse_lastDeploymentJob :: Lens' DescribeRobotResponse (Maybe Text)
- describeRobotResponse_status :: Lens' DescribeRobotResponse (Maybe RobotStatus)
- describeRobotResponse_arn :: Lens' DescribeRobotResponse (Maybe Text)
- describeRobotResponse_createdAt :: Lens' DescribeRobotResponse (Maybe UTCTime)
- describeRobotResponse_greengrassGroupId :: Lens' DescribeRobotResponse (Maybe Text)
- describeRobotResponse_fleetArn :: Lens' DescribeRobotResponse (Maybe Text)
- describeRobotResponse_name :: Lens' DescribeRobotResponse (Maybe Text)
- describeRobotResponse_architecture :: Lens' DescribeRobotResponse (Maybe Architecture)
- describeRobotResponse_lastDeploymentTime :: Lens' DescribeRobotResponse (Maybe UTCTime)
- describeRobotResponse_tags :: Lens' DescribeRobotResponse (Maybe (HashMap Text Text))
- describeRobotResponse_httpStatus :: Lens' DescribeRobotResponse Int
Creating a Request
data DescribeRobot Source #
See: newDescribeRobot smart constructor.
Constructors
| DescribeRobot' | |
Instances
Arguments
| :: Text | |
| -> DescribeRobot |
Create a value of DescribeRobot with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:robot:DescribeRobot', describeRobot_robot - The Amazon Resource Name (ARN) of the robot to be described.
Request Lenses
describeRobot_robot :: Lens' DescribeRobot Text Source #
The Amazon Resource Name (ARN) of the robot to be described.
Destructuring the Response
data DescribeRobotResponse Source #
See: newDescribeRobotResponse smart constructor.
Constructors
| DescribeRobotResponse' | |
Fields
| |
Instances
newDescribeRobotResponse Source #
Create a value of DescribeRobotResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastDeploymentJob:DescribeRobotResponse', describeRobotResponse_lastDeploymentJob - The Amazon Resource Name (ARN) of the last deployment job.
$sel:status:DescribeRobotResponse', describeRobotResponse_status - The status of the fleet.
$sel:arn:DescribeRobotResponse', describeRobotResponse_arn - The Amazon Resource Name (ARN) of the robot.
$sel:createdAt:DescribeRobotResponse', describeRobotResponse_createdAt - The time, in milliseconds since the epoch, when the robot was created.
$sel:greengrassGroupId:DescribeRobotResponse', describeRobotResponse_greengrassGroupId - The Greengrass group id.
$sel:fleetArn:DescribeRobotResponse', describeRobotResponse_fleetArn - The Amazon Resource Name (ARN) of the fleet.
$sel:name:DescribeRobotResponse', describeRobotResponse_name - The name of the robot.
$sel:architecture:DescribeRobotResponse', describeRobotResponse_architecture - The target architecture of the robot application.
$sel:lastDeploymentTime:DescribeRobotResponse', describeRobotResponse_lastDeploymentTime - The time of the last deployment job.
$sel:tags:DescribeRobotResponse', describeRobotResponse_tags - The list of all tags added to the specified robot.
$sel:httpStatus:DescribeRobotResponse', describeRobotResponse_httpStatus - The response's http status code.
Response Lenses
describeRobotResponse_lastDeploymentJob :: Lens' DescribeRobotResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the last deployment job.
describeRobotResponse_status :: Lens' DescribeRobotResponse (Maybe RobotStatus) Source #
The status of the fleet.
describeRobotResponse_arn :: Lens' DescribeRobotResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the robot.
describeRobotResponse_createdAt :: Lens' DescribeRobotResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the robot was created.
describeRobotResponse_greengrassGroupId :: Lens' DescribeRobotResponse (Maybe Text) Source #
The Greengrass group id.
describeRobotResponse_fleetArn :: Lens' DescribeRobotResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the fleet.
describeRobotResponse_name :: Lens' DescribeRobotResponse (Maybe Text) Source #
The name of the robot.
describeRobotResponse_architecture :: Lens' DescribeRobotResponse (Maybe Architecture) Source #
The target architecture of the robot application.
describeRobotResponse_lastDeploymentTime :: Lens' DescribeRobotResponse (Maybe UTCTime) Source #
The time of the last deployment job.
describeRobotResponse_tags :: Lens' DescribeRobotResponse (Maybe (HashMap Text Text)) Source #
The list of all tags added to the specified robot.
describeRobotResponse_httpStatus :: Lens' DescribeRobotResponse Int Source #
The response's http status code.