| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Connect.DeleteUser
Description
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.
Constructors
| DeleteUser' | |
Fields
| |
Instances
Arguments
| :: 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:
DeleteUser, deleteUser_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
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.
Constructors
| DeleteUserResponse' | |
Instances
| Generic DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser Associated Types type Rep DeleteUserResponse :: Type -> Type # Methods from :: DeleteUserResponse -> Rep DeleteUserResponse x # to :: Rep DeleteUserResponse x -> DeleteUserResponse # | |
| Read DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser Methods readsPrec :: Int -> ReadS DeleteUserResponse # readList :: ReadS [DeleteUserResponse] # | |
| Show DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser Methods showsPrec :: Int -> DeleteUserResponse -> ShowS # show :: DeleteUserResponse -> String # showList :: [DeleteUserResponse] -> ShowS # | |
| NFData DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser Methods rnf :: DeleteUserResponse -> () # | |
| Eq DeleteUserResponse Source # | |
Defined in Amazonka.Connect.DeleteUser Methods (==) :: DeleteUserResponse -> DeleteUserResponse -> Bool # (/=) :: DeleteUserResponse -> DeleteUserResponse -> Bool # | |
| 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.