AWS SDK Version 3 for .NET
API Reference

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. Changes the settings of an existing Cloud9 development environment.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Cloud9.AmazonCloud9Request
      Amazon.Cloud9.Model.UpdateEnvironmentRequest

Namespace: Amazon.Cloud9.Model
Assembly: AWSSDK.Cloud9.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateEnvironmentRequest : AmazonCloud9Request
         IAmazonWebServiceRequest

The UpdateEnvironmentRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateEnvironmentRequest()

Properties

NameTypeDescription
Public Property Description System.String

Gets and sets the property Description.

Any new or replacement description for the environment.

Public Property EnvironmentId System.String

Gets and sets the property EnvironmentId.

The ID of the environment to change settings.

Public Property ManagedCredentialsAction Amazon.Cloud9.ManagedCredentialsAction

Gets and sets the property ManagedCredentialsAction.

Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:

  • ENABLE

  • DISABLE

Only the environment owner can change the status of managed temporary credentials. An AccessDeniedException is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.

Public Property Name System.String

Gets and sets the property Name.

A replacement name for the environment.

Examples

UpdateEnvironment


var client = new AmazonCloud9Client();
var response = client.UpdateEnvironment(new UpdateEnvironmentRequest 
{
    Name = "my-changed-demo-environment",
    Description = "This is my changed demonstration environment.",
    EnvironmentId = "8d9967e2f0624182b74e7690ad69ebEX"
});


            

Version Information

.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