AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateEnvironment operation. Updates an environment.
Namespace: Amazon.AppConfig.Model
Assembly: AWSSDK.AppConfig.dll
Version: 3.x.y.z
public class UpdateEnvironmentRequest : AmazonAppConfigRequest IAmazonWebServiceRequest
The UpdateEnvironmentRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
UpdateEnvironmentRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ApplicationId | System.String |
Gets and sets the property ApplicationId. The application ID. |
![]() |
Description | System.String |
Gets and sets the property Description. A description of the environment. |
![]() |
EnvironmentId | System.String |
Gets and sets the property EnvironmentId. The environment ID. |
![]() |
Monitors | System.Collections.Generic.List<Amazon.AppConfig.Model.Monitor> |
Gets and sets the property Monitors. Amazon CloudWatch alarms to monitor during the deployment process. |
![]() |
Name | System.String |
Gets and sets the property Name. The name of the environment. |
The following update-environment example updates an environment's description.
var client = new AmazonAppConfigClient(); var response = client.UpdateEnvironment(new UpdateEnvironmentRequest { ApplicationId = "339ohji", Description = "An environment for examples.", EnvironmentId = "54j1r29" }); string applicationId = response.ApplicationId; string description = response.Description; string id = response.Id; string name = response.Name; string state = response.State;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5