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 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.
UpdateEnvironmentMembership' | |
|
Instances
newUpdateEnvironmentMembership Source #
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.
UpdateEnvironmentMembershipResponse' | |
|
Instances
Eq UpdateEnvironmentMembershipResponse Source # | |
Read UpdateEnvironmentMembershipResponse Source # | |
Show UpdateEnvironmentMembershipResponse Source # | |
Generic UpdateEnvironmentMembershipResponse Source # | |
NFData UpdateEnvironmentMembershipResponse Source # | |
Defined in Amazonka.Cloud9.UpdateEnvironmentMembership rnf :: UpdateEnvironmentMembershipResponse -> () # | |
type Rep UpdateEnvironmentMembershipResponse Source # | |
Defined in Amazonka.Cloud9.UpdateEnvironmentMembership type Rep UpdateEnvironmentMembershipResponse = D1 ('MetaData "UpdateEnvironmentMembershipResponse" "Amazonka.Cloud9.UpdateEnvironmentMembership" "libZSservicesZSamazonka-cloud9ZSamazonka-cloud9" 'False) (C1 ('MetaCons "UpdateEnvironmentMembershipResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "membership") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentMember)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateEnvironmentMembershipResponse Source #
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.