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 |
Removes a user from a group so that the user is no longer a member of the group.
Synopsis
- data DeleteGroupMembership = DeleteGroupMembership' {
- memberName :: Text
- groupName :: Text
- awsAccountId :: Text
- namespace :: Text
- newDeleteGroupMembership :: Text -> Text -> Text -> Text -> DeleteGroupMembership
- deleteGroupMembership_memberName :: Lens' DeleteGroupMembership Text
- deleteGroupMembership_groupName :: Lens' DeleteGroupMembership Text
- deleteGroupMembership_awsAccountId :: Lens' DeleteGroupMembership Text
- deleteGroupMembership_namespace :: Lens' DeleteGroupMembership Text
- data DeleteGroupMembershipResponse = DeleteGroupMembershipResponse' {}
- newDeleteGroupMembershipResponse :: Int -> DeleteGroupMembershipResponse
- deleteGroupMembershipResponse_requestId :: Lens' DeleteGroupMembershipResponse (Maybe Text)
- deleteGroupMembershipResponse_status :: Lens' DeleteGroupMembershipResponse Int
Creating a Request
data DeleteGroupMembership Source #
See: newDeleteGroupMembership
smart constructor.
DeleteGroupMembership' | |
|
Instances
newDeleteGroupMembership Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> DeleteGroupMembership |
Create a value of DeleteGroupMembership
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:memberName:DeleteGroupMembership'
, deleteGroupMembership_memberName
- The name of the user that you want to delete from the group membership.
$sel:groupName:DeleteGroupMembership'
, deleteGroupMembership_groupName
- The name of the group that you want to delete the user from.
$sel:awsAccountId:DeleteGroupMembership'
, deleteGroupMembership_awsAccountId
- The ID for the Amazon Web Services account that the group is in.
Currently, you use the ID for the Amazon Web Services account that
contains your Amazon QuickSight account.
$sel:namespace:DeleteGroupMembership'
, deleteGroupMembership_namespace
- The namespace. Currently, you should set this to default
.
Request Lenses
deleteGroupMembership_memberName :: Lens' DeleteGroupMembership Text Source #
The name of the user that you want to delete from the group membership.
deleteGroupMembership_groupName :: Lens' DeleteGroupMembership Text Source #
The name of the group that you want to delete the user from.
deleteGroupMembership_awsAccountId :: Lens' DeleteGroupMembership Text Source #
The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
deleteGroupMembership_namespace :: Lens' DeleteGroupMembership Text Source #
The namespace. Currently, you should set this to default
.
Destructuring the Response
data DeleteGroupMembershipResponse Source #
See: newDeleteGroupMembershipResponse
smart constructor.
Instances
newDeleteGroupMembershipResponse Source #
Create a value of DeleteGroupMembershipResponse
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:requestId:DeleteGroupMembershipResponse'
, deleteGroupMembershipResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:status:DeleteGroupMembershipResponse'
, deleteGroupMembershipResponse_status
- The HTTP status of the request.
Response Lenses
deleteGroupMembershipResponse_requestId :: Lens' DeleteGroupMembershipResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteGroupMembershipResponse_status :: Lens' DeleteGroupMembershipResponse Int Source #
The HTTP status of the request.