deleteSystem method

Future<DeleteSystemResponse> deleteSystem({
  1. required String systemArn,
})

Deletes a system.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Implementation

Future<DeleteSystemResponse> deleteSystem({
  required String systemArn,
}) async {
  final $payload = <String, dynamic>{
    'systemArn': systemArn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/v2/delete-system',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteSystemResponse.fromJson(response);
}