| 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.UpdateProfile
Description
Updates the profile. A profile is configuration resource to list the roles that RolesAnywhere service is trusted to assume. In addition, by applying a profile you can scope-down permissions with IAM managed policies.
Required permissions: rolesanywhere:UpdateProfile.
Synopsis
- data UpdateProfile = UpdateProfile' {}
- newUpdateProfile :: Text -> UpdateProfile
- updateProfile_durationSeconds :: Lens' UpdateProfile (Maybe Natural)
- updateProfile_managedPolicyArns :: Lens' UpdateProfile (Maybe [Text])
- updateProfile_name :: Lens' UpdateProfile (Maybe Text)
- updateProfile_roleArns :: Lens' UpdateProfile (Maybe [Text])
- updateProfile_sessionPolicy :: Lens' UpdateProfile (Maybe Text)
- updateProfile_profileId :: Lens' UpdateProfile Text
- data ProfileDetailResponse = ProfileDetailResponse' {}
- newProfileDetailResponse :: ProfileDetailResponse
- profileDetailResponse_profile :: Lens' ProfileDetailResponse (Maybe ProfileDetail)
Creating a Request
data UpdateProfile Source #
See: newUpdateProfile smart constructor.
Constructors
| UpdateProfile' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateProfile |
Create a value of UpdateProfile 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:
UpdateProfile, updateProfile_durationSeconds - The number of seconds the vended session credentials are valid for.
UpdateProfile, updateProfile_managedPolicyArns - A list of managed policy ARNs that apply to the vended session
credentials.
UpdateProfile, updateProfile_name - The name of the profile.
UpdateProfile, updateProfile_roleArns - A list of IAM roles that this profile can assume in a
CreateSession
operation.
UpdateProfile, updateProfile_sessionPolicy - A session policy that applies to the trust boundary of the vended
session credentials.
UpdateProfile, updateProfile_profileId - The unique identifier of the profile.
Request Lenses
updateProfile_durationSeconds :: Lens' UpdateProfile (Maybe Natural) Source #
The number of seconds the vended session credentials are valid for.
updateProfile_managedPolicyArns :: Lens' UpdateProfile (Maybe [Text]) Source #
A list of managed policy ARNs that apply to the vended session credentials.
updateProfile_name :: Lens' UpdateProfile (Maybe Text) Source #
The name of the profile.
updateProfile_roleArns :: Lens' UpdateProfile (Maybe [Text]) Source #
A list of IAM roles that this profile can assume in a CreateSession operation.
updateProfile_sessionPolicy :: Lens' UpdateProfile (Maybe Text) Source #
A session policy that applies to the trust boundary of the vended session credentials.
updateProfile_profileId :: Lens' UpdateProfile 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.