deleteRobotApplication method

Future<void> deleteRobotApplication({
  1. required String application,
  2. String? applicationVersion,
})

Deletes a robot application.

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

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

Parameter applicationVersion : The version of the robot application to delete.

Implementation

Future<void> deleteRobotApplication({
  required String application,
  String? applicationVersion,
}) async {
  ArgumentError.checkNotNull(application, 'application');
  _s.validateStringLength(
    'application',
    application,
    1,
    1224,
    isRequired: true,
  );
  _s.validateStringLength(
    'applicationVersion',
    applicationVersion,
    1,
    255,
  );
  final $payload = <String, dynamic>{
    'application': application,
    if (applicationVersion != null) 'applicationVersion': applicationVersion,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/deleteRobotApplication',
    exceptionFnMap: _exceptionFns,
  );
}