Module Values_1.CreateRoleAliasResponseSource

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 option;
    (*

    The role alias.

    *)
  2. roleAliasArn : Values_0.RoleAliasArn.t option;
    (*

    The role alias ARN.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of Values_0.InternalFailureException.t
  2. | `InvalidRequestException of Values_0.InvalidRequestException.t
  3. | `LimitExceededException of Values_0.LimitExceededException.t
  4. | `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.t
  5. | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t
  6. | `ThrottlingException of Values_0.ThrottlingException.t
  7. | `UnauthorizedException of Values_0.UnauthorizedException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?roleAlias:??? -> ?roleAliasArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.t | `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.t | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.t | `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.t | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `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