| 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.CreateEnvironmentMembership
Description
Adds an environment member to an AWS Cloud9 development environment.
Synopsis
- createEnvironmentMembership :: Text -> Text -> MemberPermissions -> CreateEnvironmentMembership
- data CreateEnvironmentMembership
- cemEnvironmentId :: Lens' CreateEnvironmentMembership Text
- cemUserARN :: Lens' CreateEnvironmentMembership Text
- cemPermissions :: Lens' CreateEnvironmentMembership MemberPermissions
- createEnvironmentMembershipResponse :: Int -> CreateEnvironmentMembershipResponse
- data CreateEnvironmentMembershipResponse
- cemrsMembership :: Lens' CreateEnvironmentMembershipResponse (Maybe EnvironmentMember)
- cemrsResponseStatus :: Lens' CreateEnvironmentMembershipResponse Int
Creating a Request
createEnvironmentMembership Source #
Arguments
| :: Text | |
| -> Text | |
| -> MemberPermissions | |
| -> CreateEnvironmentMembership |
Creates a value of CreateEnvironmentMembership with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cemEnvironmentId- The ID of the environment that contains the environment member you want to add.cemUserARN- The Amazon Resource Name (ARN) of the environment member you want to add.cemPermissions- The 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 CreateEnvironmentMembership Source #
See: createEnvironmentMembership smart constructor.
Instances
Request Lenses
cemEnvironmentId :: Lens' CreateEnvironmentMembership Text Source #
The ID of the environment that contains the environment member you want to add.
cemUserARN :: Lens' CreateEnvironmentMembership Text Source #
The Amazon Resource Name (ARN) of the environment member you want to add.
cemPermissions :: Lens' CreateEnvironmentMembership MemberPermissions Source #
The 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
createEnvironmentMembershipResponse Source #
Arguments
| :: Int | |
| -> CreateEnvironmentMembershipResponse |
Creates a value of CreateEnvironmentMembershipResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cemrsMembership- Information about the environment member that was added.cemrsResponseStatus- -- | The response status code.
data CreateEnvironmentMembershipResponse Source #
See: createEnvironmentMembershipResponse smart constructor.
Instances
Response Lenses
cemrsMembership :: Lens' CreateEnvironmentMembershipResponse (Maybe EnvironmentMember) Source #
Information about the environment member that was added.
cemrsResponseStatus :: Lens' CreateEnvironmentMembershipResponse Int Source #
- - | The response status code.