Module Values_0.UpdateRoleAliasRequestSource

Updates a role alias. Requires permission to access the UpdateRoleAlias action. The value of credentialDurationSeconds must be less than or equal to the maximum session duration of the IAM role that the role alias references. For more information, see Modifying a role maximum session duration (Amazon Web Services API) from the Amazon Web Services Identity and Access Management User Guide.

Sourcetype nonrec t = {
  1. roleAlias : RoleAlias.t;
    (*

    The role alias to update.

    *)
  2. roleArn : RoleArn.t option;
    (*

    The role ARN.

    *)
  3. credentialDurationSeconds : CredentialDurationSeconds.t option;
    (*

    The number of seconds the credential will be valid. This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.

    *)
}
Sourceval context_ : string
Sourceval make : ?roleArn:??? -> ?credentialDurationSeconds:??? -> roleAlias:RoleAlias.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of CredentialDurationSeconds.t | `String of RoleAlias.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