deleteRobot method

Future<void> deleteRobot({
  1. required String robot,
})

Deletes a robot.

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

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

Implementation

Future<void> deleteRobot({
  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: '/deleteRobot',
    exceptionFnMap: _exceptionFns,
  );
}