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 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.
DeleteUserByPrincipalId' | |
|
Instances
newDeleteUserByPrincipalId Source #
:: 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.
Instances
Eq DeleteUserByPrincipalIdResponse Source # | |
Read DeleteUserByPrincipalIdResponse Source # | |
Show DeleteUserByPrincipalIdResponse Source # | |
Defined in Amazonka.QuickSight.DeleteUserByPrincipalId | |
Generic DeleteUserByPrincipalIdResponse Source # | |
NFData DeleteUserByPrincipalIdResponse Source # | |
Defined in Amazonka.QuickSight.DeleteUserByPrincipalId rnf :: DeleteUserByPrincipalIdResponse -> () # | |
type Rep DeleteUserByPrincipalIdResponse Source # | |
Defined in Amazonka.QuickSight.DeleteUserByPrincipalId type Rep DeleteUserByPrincipalIdResponse = D1 ('MetaData "DeleteUserByPrincipalIdResponse" "Amazonka.QuickSight.DeleteUserByPrincipalId" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "DeleteUserByPrincipalIdResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.