deleteEnvironment method

Future<void> deleteEnvironment({
  1. required String environmentId,
})

Delete an FinSpace environment.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter environmentId : The identifier for the FinSpace environment.

Implementation

Future<void> deleteEnvironment({
  required String environmentId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/environment/${Uri.encodeComponent(environmentId)}',
    exceptionFnMap: _exceptionFns,
  );
}