describeRobot method

Future<DescribeRobotResponse> describeRobot({
  1. required String robot,
})

Describes a robot.

May throw ResourceNotFoundException. May throw InvalidParameterException. May throw InternalServerException. May throw ThrottlingException.

Parameter robot : The Amazon Resource Name (ARN) of the robot to be described.

Implementation

Future<DescribeRobotResponse> describeRobot({
  required String robot,
}) async {
  ArgumentError.checkNotNull(robot, 'robot');
  _s.validateStringLength(
    'robot',
    robot,
    1,
    1224,
    isRequired: true,
  );
  final $payload = <String, dynamic>{
    'robot': robot,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/describeRobot',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeRobotResponse.fromJson(response);
}