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 |
Amazonka.Cloud9.UpdateEnvironmentMembership
Description
Changes the settings of an existing environment member for an Cloud9 development environment.
Synopsis
- data UpdateEnvironmentMembership = UpdateEnvironmentMembership' {}
- newUpdateEnvironmentMembership :: Text -> Text -> MemberPermissions -> UpdateEnvironmentMembership
- updateEnvironmentMembership_environmentId :: Lens' UpdateEnvironmentMembership Text
- updateEnvironmentMembership_userArn :: Lens' UpdateEnvironmentMembership Text
- updateEnvironmentMembership_permissions :: Lens' UpdateEnvironmentMembership MemberPermissions
- data UpdateEnvironmentMembershipResponse = UpdateEnvironmentMembershipResponse' {}
- newUpdateEnvironmentMembershipResponse :: Int -> UpdateEnvironmentMembershipResponse
- updateEnvironmentMembershipResponse_membership :: Lens' UpdateEnvironmentMembershipResponse (Maybe EnvironmentMember)
- updateEnvironmentMembershipResponse_httpStatus :: Lens' UpdateEnvironmentMembershipResponse Int
Creating a Request
data UpdateEnvironmentMembership Source #
See: newUpdateEnvironmentMembership
smart constructor.
Constructors
UpdateEnvironmentMembership' | |
Fields
|
Instances
newUpdateEnvironmentMembership Source #
Arguments
:: Text | |
-> Text | |
-> MemberPermissions | |
-> UpdateEnvironmentMembership |
Create a value of UpdateEnvironmentMembership
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:environmentId:UpdateEnvironmentMembership'
, updateEnvironmentMembership_environmentId
- The ID of the environment for the environment member whose settings you
want to change.
$sel:userArn:UpdateEnvironmentMembership'
, updateEnvironmentMembership_userArn
- The Amazon Resource Name (ARN) of the environment member whose settings
you want to change.
$sel:permissions:UpdateEnvironmentMembership'
, updateEnvironmentMembership_permissions
- 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.
Request Lenses
updateEnvironmentMembership_environmentId :: Lens' UpdateEnvironmentMembership Text Source #
The ID of the environment for the environment member whose settings you want to change.
updateEnvironmentMembership_userArn :: Lens' UpdateEnvironmentMembership Text Source #
The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
updateEnvironmentMembership_permissions :: 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
data UpdateEnvironmentMembershipResponse Source #
See: newUpdateEnvironmentMembershipResponse
smart constructor.
Constructors
UpdateEnvironmentMembershipResponse' | |
Fields
|
Instances
newUpdateEnvironmentMembershipResponse Source #
Arguments
:: Int | |
-> UpdateEnvironmentMembershipResponse |
Create a value of UpdateEnvironmentMembershipResponse
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:membership:UpdateEnvironmentMembershipResponse'
, updateEnvironmentMembershipResponse_membership
- Information about the environment member whose settings were changed.
$sel:httpStatus:UpdateEnvironmentMembershipResponse'
, updateEnvironmentMembershipResponse_httpStatus
- The response's http status code.
Response Lenses
updateEnvironmentMembershipResponse_membership :: Lens' UpdateEnvironmentMembershipResponse (Maybe EnvironmentMember) Source #
Information about the environment member whose settings were changed.
updateEnvironmentMembershipResponse_httpStatus :: Lens' UpdateEnvironmentMembershipResponse Int Source #
The response's http status code.