Module Values_1.CreateRoleAliasRequestSource

Creates a role alias. Requires permission to access the CreateRoleAlias 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 : Values_0.RoleAlias.t;
    (*

    The role alias that points to a role ARN. This allows you to change the role without having to update the device.

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

    The role ARN.

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

    How long (in seconds) the credentials will be valid. The default value is 3,600 seconds. This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.

    *)
  4. tags : Values_0.TagList.t option;
    (*

    Metadata which can be used to manage the role alias. For URI Request parameters use format: ...key1=value1&key2=value2... For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..." For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."

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