amazonka-cloud9-2.0: Amazon Cloud9 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Cloud9.UpdateEnvironment

Description

Changes the settings of an existing Cloud9 development environment.

Synopsis

Creating a Request

data UpdateEnvironment Source #

See: newUpdateEnvironment smart constructor.

Constructors

UpdateEnvironment' 

Fields

  • description :: Maybe (Sensitive Text)

    Any new or replacement description for the environment.

  • managedCredentialsAction :: Maybe 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.

  • name :: Maybe Text

    A replacement name for the environment.

  • environmentId :: Text

    The ID of the environment to change settings.

Instances

Instances details
ToJSON UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

ToHeaders UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

ToPath UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

ToQuery UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

AWSRequest UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Associated Types

type AWSResponse UpdateEnvironment #

Generic UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Associated Types

type Rep UpdateEnvironment :: Type -> Type #

Show UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

NFData UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Methods

rnf :: UpdateEnvironment -> () #

Eq UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Hashable UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

type AWSResponse UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

type Rep UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

type Rep UpdateEnvironment = D1 ('MetaData "UpdateEnvironment" "Amazonka.Cloud9.UpdateEnvironment" "amazonka-cloud9-2.0-7b5PlMySrOa4RK8dYvmjDd" 'False) (C1 ('MetaCons "UpdateEnvironment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "managedCredentialsAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedCredentialsAction))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateEnvironment Source #

Create a value of UpdateEnvironment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateEnvironment, updateEnvironment_description - Any new or replacement description for the environment.

$sel:managedCredentialsAction:UpdateEnvironment', updateEnvironment_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.

UpdateEnvironment, updateEnvironment_name - A replacement name for the environment.

UpdateEnvironment, updateEnvironment_environmentId - The ID of the environment to change settings.

Request Lenses

updateEnvironment_description :: Lens' UpdateEnvironment (Maybe Text) Source #

Any new or replacement description for the environment.

updateEnvironment_managedCredentialsAction :: Lens' UpdateEnvironment (Maybe ManagedCredentialsAction) Source #

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.

updateEnvironment_name :: Lens' UpdateEnvironment (Maybe Text) Source #

A replacement name for the environment.

updateEnvironment_environmentId :: Lens' UpdateEnvironment Text Source #

The ID of the environment to change settings.

Destructuring the Response

data UpdateEnvironmentResponse Source #

See: newUpdateEnvironmentResponse smart constructor.

Constructors

UpdateEnvironmentResponse' 

Fields

Instances

Instances details
Generic UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Associated Types

type Rep UpdateEnvironmentResponse :: Type -> Type #

Read UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Show UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

NFData UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Eq UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

type Rep UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

type Rep UpdateEnvironmentResponse = D1 ('MetaData "UpdateEnvironmentResponse" "Amazonka.Cloud9.UpdateEnvironment" "amazonka-cloud9-2.0-7b5PlMySrOa4RK8dYvmjDd" 'False) (C1 ('MetaCons "UpdateEnvironmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateEnvironmentResponse Source #

Create a value of UpdateEnvironmentResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateEnvironmentResponse', updateEnvironmentResponse_httpStatus - The response's http status code.

Response Lenses