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 |
Deletes an environment member from an Cloud9 development environment.
Synopsis
- data DeleteEnvironmentMembership = DeleteEnvironmentMembership' {
- environmentId :: Text
- userArn :: Text
- newDeleteEnvironmentMembership :: Text -> Text -> DeleteEnvironmentMembership
- deleteEnvironmentMembership_environmentId :: Lens' DeleteEnvironmentMembership Text
- deleteEnvironmentMembership_userArn :: Lens' DeleteEnvironmentMembership Text
- data DeleteEnvironmentMembershipResponse = DeleteEnvironmentMembershipResponse' {
- httpStatus :: Int
- newDeleteEnvironmentMembershipResponse :: Int -> DeleteEnvironmentMembershipResponse
- deleteEnvironmentMembershipResponse_httpStatus :: Lens' DeleteEnvironmentMembershipResponse Int
Creating a Request
data DeleteEnvironmentMembership Source #
See: newDeleteEnvironmentMembership
smart constructor.
DeleteEnvironmentMembership' | |
|
Instances
newDeleteEnvironmentMembership Source #
:: Text | |
-> Text | |
-> DeleteEnvironmentMembership |
Create a value of DeleteEnvironmentMembership
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:DeleteEnvironmentMembership'
, deleteEnvironmentMembership_environmentId
- The ID of the environment to delete the environment member from.
$sel:userArn:DeleteEnvironmentMembership'
, deleteEnvironmentMembership_userArn
- The Amazon Resource Name (ARN) of the environment member to delete from
the environment.
Request Lenses
deleteEnvironmentMembership_environmentId :: Lens' DeleteEnvironmentMembership Text Source #
The ID of the environment to delete the environment member from.
deleteEnvironmentMembership_userArn :: Lens' DeleteEnvironmentMembership Text Source #
The Amazon Resource Name (ARN) of the environment member to delete from the environment.
Destructuring the Response
data DeleteEnvironmentMembershipResponse Source #
See: newDeleteEnvironmentMembershipResponse
smart constructor.
DeleteEnvironmentMembershipResponse' | |
|
Instances
Eq DeleteEnvironmentMembershipResponse Source # | |
Read DeleteEnvironmentMembershipResponse Source # | |
Show DeleteEnvironmentMembershipResponse Source # | |
Generic DeleteEnvironmentMembershipResponse Source # | |
NFData DeleteEnvironmentMembershipResponse Source # | |
Defined in Amazonka.Cloud9.DeleteEnvironmentMembership rnf :: DeleteEnvironmentMembershipResponse -> () # | |
type Rep DeleteEnvironmentMembershipResponse Source # | |
Defined in Amazonka.Cloud9.DeleteEnvironmentMembership type Rep DeleteEnvironmentMembershipResponse = D1 ('MetaData "DeleteEnvironmentMembershipResponse" "Amazonka.Cloud9.DeleteEnvironmentMembership" "libZSservicesZSamazonka-cloud9ZSamazonka-cloud9" 'False) (C1 ('MetaCons "DeleteEnvironmentMembershipResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteEnvironmentMembershipResponse Source #
Create a value of DeleteEnvironmentMembershipResponse
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:DeleteEnvironmentMembershipResponse'
, deleteEnvironmentMembershipResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEnvironmentMembershipResponse_httpStatus :: Lens' DeleteEnvironmentMembershipResponse Int Source #
The response's http status code.