| 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.RegisterRobot
Description
Registers a robot with a fleet.
Synopsis
- data RegisterRobot = RegisterRobot' {}
- newRegisterRobot :: Text -> Text -> RegisterRobot
- registerRobot_fleet :: Lens' RegisterRobot Text
- registerRobot_robot :: Lens' RegisterRobot Text
- data RegisterRobotResponse = RegisterRobotResponse' {}
- newRegisterRobotResponse :: Int -> RegisterRobotResponse
- registerRobotResponse_robot :: Lens' RegisterRobotResponse (Maybe Text)
- registerRobotResponse_fleet :: Lens' RegisterRobotResponse (Maybe Text)
- registerRobotResponse_httpStatus :: Lens' RegisterRobotResponse Int
Creating a Request
data RegisterRobot Source #
See: newRegisterRobot smart constructor.
Constructors
| RegisterRobot' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> RegisterRobot |
Create a value of RegisterRobot 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:fleet:RegisterRobot', registerRobot_fleet - The Amazon Resource Name (ARN) of the fleet.
$sel:robot:RegisterRobot', registerRobot_robot - The Amazon Resource Name (ARN) of the robot.
Request Lenses
registerRobot_fleet :: Lens' RegisterRobot Text Source #
The Amazon Resource Name (ARN) of the fleet.
registerRobot_robot :: Lens' RegisterRobot Text Source #
The Amazon Resource Name (ARN) of the robot.
Destructuring the Response
data RegisterRobotResponse Source #
See: newRegisterRobotResponse smart constructor.
Constructors
| RegisterRobotResponse' | |
Instances
newRegisterRobotResponse Source #
Create a value of RegisterRobotResponse 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:RegisterRobot', registerRobotResponse_robot - Information about the robot registration.
$sel:fleet:RegisterRobot', registerRobotResponse_fleet - The Amazon Resource Name (ARN) of the fleet that the robot will join.
$sel:httpStatus:RegisterRobotResponse', registerRobotResponse_httpStatus - The response's http status code.
Response Lenses
registerRobotResponse_robot :: Lens' RegisterRobotResponse (Maybe Text) Source #
Information about the robot registration.
registerRobotResponse_fleet :: Lens' RegisterRobotResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the fleet that the robot will join.
registerRobotResponse_httpStatus :: Lens' RegisterRobotResponse Int Source #
The response's http status code.