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 the Amazon QuickSight user that is associated with the identity of the Identity and Access Management (IAM) user or role that's making the call. The IAM user isn't deleted as a result of this call.
Synopsis
- data DeleteUser = DeleteUser' {}
- newDeleteUser :: Text -> Text -> Text -> DeleteUser
- deleteUser_userName :: Lens' DeleteUser Text
- deleteUser_awsAccountId :: Lens' DeleteUser Text
- deleteUser_namespace :: Lens' DeleteUser Text
- data DeleteUserResponse = DeleteUserResponse' {}
- newDeleteUserResponse :: Int -> DeleteUserResponse
- deleteUserResponse_requestId :: Lens' DeleteUserResponse (Maybe Text)
- deleteUserResponse_status :: Lens' DeleteUserResponse Int
Creating a Request
data DeleteUser Source #
See: newDeleteUser
smart constructor.
DeleteUser' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> DeleteUser |
Create a value of DeleteUser
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:userName:DeleteUser'
, deleteUser_userName
- The name of the user that you want to delete.
$sel:awsAccountId:DeleteUser'
, deleteUser_awsAccountId
- The ID for the Amazon Web Services account that the user is in.
Currently, you use the ID for the Amazon Web Services account that
contains your Amazon QuickSight account.
$sel:namespace:DeleteUser'
, deleteUser_namespace
- The namespace. Currently, you should set this to default
.
Request Lenses
deleteUser_userName :: Lens' DeleteUser Text Source #
The name of the user that you want to delete.
deleteUser_awsAccountId :: Lens' DeleteUser Text Source #
The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
deleteUser_namespace :: Lens' DeleteUser Text Source #
The namespace. Currently, you should set this to default
.
Destructuring the Response
data DeleteUserResponse Source #
See: newDeleteUserResponse
smart constructor.
Instances
newDeleteUserResponse Source #
Create a value of DeleteUserResponse
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:DeleteUserResponse'
, deleteUserResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:status:DeleteUserResponse'
, deleteUserResponse_status
- The HTTP status of the request.
Response Lenses
deleteUserResponse_requestId :: Lens' DeleteUserResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteUserResponse_status :: Lens' DeleteUserResponse Int Source #
The HTTP status of the request.