| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Cloud9.UpdateEnvironmentMembership
Description
Changes the settings of an existing environment member for an AWS Cloud9 development environment.
Synopsis
- updateEnvironmentMembership :: Text -> Text -> MemberPermissions -> UpdateEnvironmentMembership
- data UpdateEnvironmentMembership
- uemEnvironmentId :: Lens' UpdateEnvironmentMembership Text
- uemUserARN :: Lens' UpdateEnvironmentMembership Text
- uemPermissions :: Lens' UpdateEnvironmentMembership MemberPermissions
- updateEnvironmentMembershipResponse :: Int -> UpdateEnvironmentMembershipResponse
- data UpdateEnvironmentMembershipResponse
- uemrsMembership :: Lens' UpdateEnvironmentMembershipResponse (Maybe EnvironmentMember)
- uemrsResponseStatus :: Lens' UpdateEnvironmentMembershipResponse Int
Creating a Request
updateEnvironmentMembership Source #
Arguments
| :: Text | |
| -> Text | |
| -> MemberPermissions | |
| -> UpdateEnvironmentMembership |
Creates a value of UpdateEnvironmentMembership with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uemEnvironmentId- The ID of the environment for the environment member whose settings you want to change.uemUserARN- The Amazon Resource Name (ARN) of the environment member whose settings you want to change.uemPermissions- The replacement type of environment member permissions you want to associate with this environment member. Available values include: *read-only: Has read-only access to the environment. *read-write: Has read-write access to the environment.
data UpdateEnvironmentMembership Source #
See: updateEnvironmentMembership smart constructor.
Instances
Request Lenses
uemEnvironmentId :: Lens' UpdateEnvironmentMembership Text Source #
The ID of the environment for the environment member whose settings you want to change.
uemUserARN :: Lens' UpdateEnvironmentMembership Text Source #
The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
uemPermissions :: Lens' UpdateEnvironmentMembership MemberPermissions Source #
The replacement type of environment member permissions you want to associate with this environment member. Available values include: * read-only : Has read-only access to the environment. * read-write : Has read-write access to the environment.
Destructuring the Response
updateEnvironmentMembershipResponse Source #
Arguments
| :: Int | |
| -> UpdateEnvironmentMembershipResponse |
Creates a value of UpdateEnvironmentMembershipResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uemrsMembership- Information about the environment member whose settings were changed.uemrsResponseStatus- -- | The response status code.
data UpdateEnvironmentMembershipResponse Source #
See: updateEnvironmentMembershipResponse smart constructor.
Instances
Response Lenses
uemrsMembership :: Lens' UpdateEnvironmentMembershipResponse (Maybe EnvironmentMember) Source #
Information about the environment member whose settings were changed.
uemrsResponseStatus :: Lens' UpdateEnvironmentMembershipResponse Int Source #
- - | The response status code.