Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Changes the settings of an existing Cloud9 development environment.
Synopsis
- data UpdateEnvironment = UpdateEnvironment' {}
- newUpdateEnvironment :: Text -> UpdateEnvironment
- updateEnvironment_managedCredentialsAction :: Lens' UpdateEnvironment (Maybe ManagedCredentialsAction)
- updateEnvironment_name :: Lens' UpdateEnvironment (Maybe Text)
- updateEnvironment_description :: Lens' UpdateEnvironment (Maybe Text)
- updateEnvironment_environmentId :: Lens' UpdateEnvironment Text
- data UpdateEnvironmentResponse = UpdateEnvironmentResponse' {
- httpStatus :: Int
- newUpdateEnvironmentResponse :: Int -> UpdateEnvironmentResponse
- updateEnvironmentResponse_httpStatus :: Lens' UpdateEnvironmentResponse Int
Creating a Request
data UpdateEnvironment Source #
See: newUpdateEnvironment
smart constructor.
UpdateEnvironment' | |
|
Instances
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.
UpdateEnvironmentResponse' | |
|
Instances
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
updateEnvironmentResponse_httpStatus :: Lens' UpdateEnvironmentResponse Int Source #
The response's http status code.