libZSservicesZSamazonka-cloud9ZSamazonka-cloud9
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • 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.

  • description :: Maybe (Sensitive Text)

    Any new or replacement description for the environment.

  • environmentId :: Text

    The ID of the environment to change settings.

Instances

Instances details
Eq UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Show UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Generic UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Associated Types

type Rep UpdateEnvironment :: Type -> Type #

NFData UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Methods

rnf :: UpdateEnvironment -> () #

Hashable UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

ToJSON UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

AWSRequest UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Associated Types

type AWSResponse 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

type Rep UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

type Rep UpdateEnvironment = D1 ('MetaData "UpdateEnvironment" "Amazonka.Cloud9.UpdateEnvironment" "libZSservicesZSamazonka-cloud9ZSamazonka-cloud9" 'False) (C1 ('MetaCons "UpdateEnvironment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "managedCredentialsAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedCredentialsAction)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateEnvironment Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

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:

$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.

$sel:name:UpdateEnvironment', updateEnvironment_name - A replacement name for the environment.

$sel:description:UpdateEnvironment', updateEnvironment_description - Any new or replacement description for the environment.

$sel:environmentId:UpdateEnvironment', updateEnvironment_environmentId - The ID of the environment to change settings.

Request Lenses

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_description :: Lens' UpdateEnvironment (Maybe Text) Source #

Any new or replacement description 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
Eq UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Read UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Show UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Generic UpdateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.Cloud9.UpdateEnvironment

Associated Types

type Rep UpdateEnvironmentResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cloud9ZSamazonka-cloud9" '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