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 |
Amazonka.QuickSight.DeleteUserByPrincipalId
Description
Deletes a user identified by its principal ID.
Synopsis
- data DeleteUserByPrincipalId = DeleteUserByPrincipalId' {
- principalId :: Text
- awsAccountId :: Text
- namespace :: Text
- newDeleteUserByPrincipalId :: Text -> Text -> Text -> DeleteUserByPrincipalId
- deleteUserByPrincipalId_principalId :: Lens' DeleteUserByPrincipalId Text
- deleteUserByPrincipalId_awsAccountId :: Lens' DeleteUserByPrincipalId Text
- deleteUserByPrincipalId_namespace :: Lens' DeleteUserByPrincipalId Text
- data DeleteUserByPrincipalIdResponse = DeleteUserByPrincipalIdResponse' {}
- newDeleteUserByPrincipalIdResponse :: Int -> DeleteUserByPrincipalIdResponse
- deleteUserByPrincipalIdResponse_requestId :: Lens' DeleteUserByPrincipalIdResponse (Maybe Text)
- deleteUserByPrincipalIdResponse_status :: Lens' DeleteUserByPrincipalIdResponse Int
Creating a Request
data DeleteUserByPrincipalId Source #
See: newDeleteUserByPrincipalId
smart constructor.
Constructors
DeleteUserByPrincipalId' | |
Fields
|
Instances
newDeleteUserByPrincipalId Source #
Arguments
:: Text | |
-> Text | |
-> Text | |
-> DeleteUserByPrincipalId |
Create a value of DeleteUserByPrincipalId
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:principalId:DeleteUserByPrincipalId'
, deleteUserByPrincipalId_principalId
- The principal ID of the user.
$sel:awsAccountId:DeleteUserByPrincipalId'
, deleteUserByPrincipalId_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:DeleteUserByPrincipalId'
, deleteUserByPrincipalId_namespace
- The namespace. Currently, you should set this to default
.
Request Lenses
deleteUserByPrincipalId_principalId :: Lens' DeleteUserByPrincipalId Text Source #
The principal ID of the user.
deleteUserByPrincipalId_awsAccountId :: Lens' DeleteUserByPrincipalId 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.
deleteUserByPrincipalId_namespace :: Lens' DeleteUserByPrincipalId Text Source #
The namespace. Currently, you should set this to default
.
Destructuring the Response
data DeleteUserByPrincipalIdResponse Source #
See: newDeleteUserByPrincipalIdResponse
smart constructor.
Constructors
DeleteUserByPrincipalIdResponse' | |
Instances
newDeleteUserByPrincipalIdResponse Source #
Create a value of DeleteUserByPrincipalIdResponse
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:DeleteUserByPrincipalIdResponse'
, deleteUserByPrincipalIdResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:status:DeleteUserByPrincipalIdResponse'
, deleteUserByPrincipalIdResponse_status
- The HTTP status of the request.
Response Lenses
deleteUserByPrincipalIdResponse_requestId :: Lens' DeleteUserByPrincipalIdResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteUserByPrincipalIdResponse_status :: Lens' DeleteUserByPrincipalIdResponse Int Source #
The HTTP status of the request.