

# AbortEnvironmentUpdate
<a name="API_AbortEnvironmentUpdate"></a>

Cancels in-progress environment configuration update or application version deployment.

## Request Parameters
<a name="API_AbortEnvironmentUpdate_RequestParameters"></a>

 For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

 ** EnvironmentId **   
This specifies the ID of the environment with the in-progress update that you want to cancel.  
Type: String  
Required: No

 ** EnvironmentName **   
This specifies the name of the environment with the in-progress update that you want to cancel.  
Type: String  
Length Constraints: Minimum length of 4. Maximum length of 40.  
Required: No

## Errors
<a name="API_AbortEnvironmentUpdate_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InsufficientPrivileges **   
The specified account does not have sufficient privileges for one or more Amazon services.  
HTTP Status Code: 403

## See Also
<a name="API_AbortEnvironmentUpdate_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 
+  [Amazon SDK for Python](https://docs.amazonaws.cn/goto/boto3/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate) 