abortEnvironmentUpdate method
Cancels in-progress environment configuration update or application version deployment.
May throw InsufficientPrivilegesException.
Parameter environmentId :
This specifies the ID of the environment with the in-progress update that
you want to cancel.
Parameter environmentName :
This specifies the name of the environment with the in-progress update
that you want to cancel.
Implementation
Future<void> abortEnvironmentUpdate({
String? environmentId,
String? environmentName,
}) async {
final $request = <String, String>{
if (environmentId != null) 'EnvironmentId': environmentId,
if (environmentName != null) 'EnvironmentName': environmentName,
};
await _protocol.send(
$request,
action: 'AbortEnvironmentUpdate',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
);
}