deleteEnvironment method
Deletes an Amazon Managed Workflows for Apache Airflow (Amazon MWAA) environment.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ValidationException.
Parameter name :
The name of the Amazon MWAA environment. For example,
MyMWAAEnvironment.
Implementation
Future<void> deleteEnvironment({
required String name,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/environments/${Uri.encodeComponent(name)}',
exceptionFnMap: _exceptionFns,
);
}