Module Values.UpdateProfileRequestSource

Updates a profile, a list of the roles that IAM Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies. Required permissions: rolesanywhere:UpdateProfile.

Sourcetype nonrec t = {
  1. profileId : Uuid.t;
    (*

    The unique identifier of the profile.

    *)
  2. name : ResourceName.t option;
    (*

    The name of the profile.

    *)
  3. sessionPolicy : UpdateProfileRequestSessionPolicyString.t option;
    (*

    A session policy that applies to the trust boundary of the vended session credentials.

    *)
  4. roleArns : RoleArnList.t option;
    (*

    A list of IAM roles that this profile can assume in a temporary credential request.

    *)
  5. managedPolicyArns : ManagedPolicyList.t option;
    (*

    A list of managed policy ARNs that apply to the vended session credentials.

    *)
  6. durationSeconds : UpdateProfileRequestDurationSecondsInteger.t option;
    (*

    Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.

    *)
  7. acceptRoleSessionName : Boolean.t option;
    (*

    Used to determine if a custom role session name will be accepted in a temporary credential request.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?sessionPolicy:??? -> ?roleArns:??? -> ?managedPolicyArns:??? -> ?durationSeconds:??? -> ?acceptRoleSessionName:??? -> profileId:Uuid.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of UpdateProfileRequestDurationSecondsInteger.t | `List of [> `String of RoleArn.t ] list | `String of Uuid.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t