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 specified user by user ARN and enrollment ARN.
Synopsis
- data DeleteUser = DeleteUser' {
- userArn :: Maybe Text
- enrollmentId :: Text
- newDeleteUser :: Text -> DeleteUser
- deleteUser_userArn :: Lens' DeleteUser (Maybe Text)
- deleteUser_enrollmentId :: Lens' DeleteUser Text
- data DeleteUserResponse = DeleteUserResponse' {
- httpStatus :: Int
- newDeleteUserResponse :: Int -> DeleteUserResponse
- deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int
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:userArn:DeleteUser'
, deleteUser_userArn
- The ARN of the user to delete in the organization. Required.
$sel:enrollmentId:DeleteUser'
, deleteUser_enrollmentId
- The ARN of the user's enrollment in the organization. Required.
Request Lenses
deleteUser_userArn :: Lens' DeleteUser (Maybe Text) Source #
The ARN of the user to delete in the organization. Required.
deleteUser_enrollmentId :: Lens' DeleteUser Text Source #
The ARN of the user's enrollment in the organization. Required.
Destructuring the Response
data DeleteUserResponse Source #
See: newDeleteUserResponse
smart constructor.
DeleteUserResponse' | |
|
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:httpStatus:DeleteUserResponse'
, deleteUserResponse_httpStatus
- The response's http status code.
Response Lenses
deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int Source #
The response's http status code.