amazonka-rolesanywhere-2.0: Amazon IAM Roles Anywhere SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data UpdateProfile Source #

See: newUpdateProfile smart constructor.

Constructors

UpdateProfile' 

Fields

Instances

Instances details
ToJSON UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

ToHeaders UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

ToPath UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

ToQuery UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

AWSRequest UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

Associated Types

type AWSResponse UpdateProfile #

Generic UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

Associated Types

type Rep UpdateProfile :: Type -> Type #

Read UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

Show UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

NFData UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

Methods

rnf :: UpdateProfile -> () #

Eq UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

Hashable UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

type AWSResponse UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

type Rep UpdateProfile Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateProfile

type Rep UpdateProfile = D1 ('MetaData "UpdateProfile" "Amazonka.RolesAnywhere.UpdateProfile" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "UpdateProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "durationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "managedPolicyArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "roleArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "sessionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "profileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateProfile Source #

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

Instances details
FromJSON ProfileDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.ProfileDetailResponse

Generic ProfileDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.ProfileDetailResponse

Associated Types

type Rep ProfileDetailResponse :: Type -> Type #

Read ProfileDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.ProfileDetailResponse

Show ProfileDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.ProfileDetailResponse

NFData ProfileDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.ProfileDetailResponse

Methods

rnf :: ProfileDetailResponse -> () #

Eq ProfileDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.ProfileDetailResponse

Hashable ProfileDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.ProfileDetailResponse

type Rep ProfileDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.ProfileDetailResponse

type Rep ProfileDetailResponse = D1 ('MetaData "ProfileDetailResponse" "Amazonka.RolesAnywhere.Types.ProfileDetailResponse" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "ProfileDetailResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "profile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProfileDetail))))

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.