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 profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address. It does not delete the history of that user, for example the history of commits made by that user.
Synopsis
- data DeleteUserProfile = DeleteUserProfile' {}
- newDeleteUserProfile :: Text -> DeleteUserProfile
- deleteUserProfile_userArn :: Lens' DeleteUserProfile Text
- data DeleteUserProfileResponse = DeleteUserProfileResponse' {
- httpStatus :: Int
- userArn :: Text
- newDeleteUserProfileResponse :: Int -> Text -> DeleteUserProfileResponse
- deleteUserProfileResponse_httpStatus :: Lens' DeleteUserProfileResponse Int
- deleteUserProfileResponse_userArn :: Lens' DeleteUserProfileResponse Text
Creating a Request
data DeleteUserProfile Source #
See: newDeleteUserProfile
smart constructor.
Instances
Create a value of DeleteUserProfile
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:DeleteUserProfile'
, deleteUserProfile_userArn
- The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar.
Request Lenses
deleteUserProfile_userArn :: Lens' DeleteUserProfile Text Source #
The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar.
Destructuring the Response
data DeleteUserProfileResponse Source #
See: newDeleteUserProfileResponse
smart constructor.
DeleteUserProfileResponse' | |
|
Instances
newDeleteUserProfileResponse Source #
:: Int | |
-> Text | |
-> DeleteUserProfileResponse |
Create a value of DeleteUserProfileResponse
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:DeleteUserProfileResponse'
, deleteUserProfileResponse_httpStatus
- The response's http status code.
$sel:userArn:DeleteUserProfile'
, deleteUserProfileResponse_userArn
- The Amazon Resource Name (ARN) of the user deleted from AWS CodeStar.
Response Lenses
deleteUserProfileResponse_httpStatus :: Lens' DeleteUserProfileResponse Int Source #
The response's http status code.
deleteUserProfileResponse_userArn :: Lens' DeleteUserProfileResponse Text Source #
The Amazon Resource Name (ARN) of the user deleted from AWS CodeStar.