| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Cloud9.CreateEnvironmentMembership
Description
Adds an environment member to an Cloud9 development environment.
Synopsis
- data CreateEnvironmentMembership = CreateEnvironmentMembership' {}
- newCreateEnvironmentMembership :: Text -> Text -> MemberPermissions -> CreateEnvironmentMembership
- createEnvironmentMembership_environmentId :: Lens' CreateEnvironmentMembership Text
- createEnvironmentMembership_userArn :: Lens' CreateEnvironmentMembership Text
- createEnvironmentMembership_permissions :: Lens' CreateEnvironmentMembership MemberPermissions
- data CreateEnvironmentMembershipResponse = CreateEnvironmentMembershipResponse' {}
- newCreateEnvironmentMembershipResponse :: Int -> EnvironmentMember -> CreateEnvironmentMembershipResponse
- createEnvironmentMembershipResponse_httpStatus :: Lens' CreateEnvironmentMembershipResponse Int
- createEnvironmentMembershipResponse_membership :: Lens' CreateEnvironmentMembershipResponse EnvironmentMember
Creating a Request
data CreateEnvironmentMembership Source #
See: newCreateEnvironmentMembership smart constructor.
Constructors
| CreateEnvironmentMembership' | |
Fields
| |
Instances
newCreateEnvironmentMembership Source #
Arguments
| :: Text | |
| -> Text | |
| -> MemberPermissions | |
| -> CreateEnvironmentMembership |
Create a value of CreateEnvironmentMembership 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:
CreateEnvironmentMembership, createEnvironmentMembership_environmentId - The ID of the environment that contains the environment member you want
to add.
CreateEnvironmentMembership, createEnvironmentMembership_userArn - The Amazon Resource Name (ARN) of the environment member you want to
add.
CreateEnvironmentMembership, createEnvironmentMembership_permissions - 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.
Request Lenses
createEnvironmentMembership_environmentId :: Lens' CreateEnvironmentMembership Text Source #
The ID of the environment that contains the environment member you want to add.
createEnvironmentMembership_userArn :: Lens' CreateEnvironmentMembership Text Source #
The Amazon Resource Name (ARN) of the environment member you want to add.
createEnvironmentMembership_permissions :: 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
data CreateEnvironmentMembershipResponse Source #
See: newCreateEnvironmentMembershipResponse smart constructor.
Constructors
| CreateEnvironmentMembershipResponse' | |
Fields
| |
Instances
newCreateEnvironmentMembershipResponse Source #
Arguments
| :: Int | |
| -> EnvironmentMember | |
| -> CreateEnvironmentMembershipResponse |
Create a value of CreateEnvironmentMembershipResponse 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:CreateEnvironmentMembershipResponse', createEnvironmentMembershipResponse_httpStatus - The response's http status code.
$sel:membership:CreateEnvironmentMembershipResponse', createEnvironmentMembershipResponse_membership - Information about the environment member that was added.
Response Lenses
createEnvironmentMembershipResponse_httpStatus :: Lens' CreateEnvironmentMembershipResponse Int Source #
The response's http status code.
createEnvironmentMembershipResponse_membership :: Lens' CreateEnvironmentMembershipResponse EnvironmentMember Source #
Information about the environment member that was added.