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 |
Enables the roles in a profile to receive session credentials in CreateSession.
Required permissions: rolesanywhere:EnableProfile
.
Synopsis
- data EnableProfile = EnableProfile' {}
- newEnableProfile :: Text -> EnableProfile
- enableProfile_profileId :: Lens' EnableProfile Text
- data ProfileDetailResponse = ProfileDetailResponse' {}
- newProfileDetailResponse :: ProfileDetailResponse
- profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail)
Creating a Request
data EnableProfile Source #
See: newEnableProfile
smart constructor.
Instances
Create a value of EnableProfile
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:
EnableProfile
, enableProfile_profileId
- The unique identifier of the profile.
Request Lenses
enableProfile_profileId :: Lens' EnableProfile Text Source #
The unique identifier of the profile.
Destructuring the Response
data ProfileDetailResponse Source #
See: newProfileDetailResponse
smart constructor.
ProfileDetailResponse' | |
|
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.