| 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.RolesAnywhere.DeleteProfile
Description
Deletes a profile.
Required permissions: rolesanywhere:DeleteProfile.
Synopsis
- data DeleteProfile = DeleteProfile' {}
- newDeleteProfile :: Text -> DeleteProfile
- deleteProfile_profileId :: Lens' DeleteProfile Text
- data ProfileDetailResponse = ProfileDetailResponse' {}
- newProfileDetailResponse :: ProfileDetailResponse
- profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail)
Creating a Request
data DeleteProfile Source #
See: newDeleteProfile smart constructor.
Constructors
| DeleteProfile' | |
Instances
Arguments
| :: Text | |
| -> DeleteProfile |
Create a value of DeleteProfile 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:
DeleteProfile, deleteProfile_profileId - The unique identifier of the profile.
Request Lenses
deleteProfile_profileId :: Lens' DeleteProfile Text Source #
The unique identifier of the profile.
Destructuring the Response
data ProfileDetailResponse Source #
See: newProfileDetailResponse smart constructor.
Constructors
| ProfileDetailResponse' | |
Fields
| |
Instances
newProfileDetailResponse :: ProfileDetailResponse Source #
Create a value of ProfileDetailResponse 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:profile:ProfileDetailResponse', profileDetailResponse_profile - The state of the profile after a read or write operation.
Response Lenses
profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail) Source #
The state of the profile after a read or write operation.