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 account from the specified Amazon Connect instance.
For information about what happens to a user's data when their account is deleted, see Delete Users from Your Amazon Connect Instance in the Amazon Connect Administrator Guide.
Synopsis
- data DeleteUser = DeleteUser' {
- instanceId :: Text
- userId :: Text
- newDeleteUser :: Text -> Text -> DeleteUser
- deleteUser_instanceId :: Lens' DeleteUser Text
- deleteUser_userId :: Lens' DeleteUser Text
- data DeleteUserResponse = DeleteUserResponse' {
- newDeleteUserResponse :: DeleteUserResponse
Creating a Request
data DeleteUser Source #
See: newDeleteUser
smart constructor.
DeleteUser' | |
|
Instances
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:instanceId:DeleteUser'
, deleteUser_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:userId:DeleteUser'
, deleteUser_userId
- The identifier of the user.
Request Lenses
deleteUser_instanceId :: Lens' DeleteUser Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
deleteUser_userId :: Lens' DeleteUser Text Source #
The identifier of the user.
Destructuring the Response
data DeleteUserResponse Source #
See: newDeleteUserResponse
smart constructor.
Instances
Eq DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser (==) :: DeleteUserResponse -> DeleteUserResponse -> Bool # (/=) :: DeleteUserResponse -> DeleteUserResponse -> Bool # | |
Read DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser | |
Show DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser showsPrec :: Int -> DeleteUserResponse -> ShowS # show :: DeleteUserResponse -> String # showList :: [DeleteUserResponse] -> ShowS # | |
Generic DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser type Rep DeleteUserResponse :: Type -> Type # from :: DeleteUserResponse -> Rep DeleteUserResponse x # to :: Rep DeleteUserResponse x -> DeleteUserResponse # | |
NFData DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser rnf :: DeleteUserResponse -> () # | |
type Rep DeleteUserResponse Source # | |
newDeleteUserResponse :: DeleteUserResponse Source #
Create a value of DeleteUserResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.