| 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.DisableProfile
Description
Disables a profile. When disabled, CreateSession requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile.
Synopsis
- data DisableProfile = DisableProfile' {}
- newDisableProfile :: Text -> DisableProfile
- disableProfile_profileId :: Lens' DisableProfile Text
- data ProfileDetailResponse = ProfileDetailResponse' {}
- newProfileDetailResponse :: ProfileDetailResponse
- profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail)
Creating a Request
data DisableProfile Source #
See: newDisableProfile smart constructor.
Constructors
| DisableProfile' | |
Instances
Arguments
| :: Text | |
| -> DisableProfile |
Create a value of DisableProfile 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:
DisableProfile, disableProfile_profileId - The unique identifier of the profile.
Request Lenses
disableProfile_profileId :: Lens' DisableProfile 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.