Module Values.VirtualMFADeviceSource

Contains information about a virtual MFA device.

Sourcetype nonrec t = {
  1. serialNumber : SerialNumberType.t option;
    (*

    The serial number associated with VirtualMFADevice.

    *)
  2. base32StringSeed : BootstrapDatum.t option;
    (*

    The base32 seed defined as specified in RFC3548. The Base32StringSeed is base32-encoded.

    *)
  3. qRCodePNG : BootstrapDatum.t option;
    (*

    A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where $virtualMFADeviceName is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format. The Base32String value is base64-encoded.

    *)
  4. user : User.t option;
    (*

    The IAM user associated with this virtual MFA device.

    *)
  5. enableDate : DateType.t option;
    (*

    The date and time on which the virtual MFA device was enabled.

    *)
  6. tags : TagListType.t option;
    (*

    A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

    *)
}
Sourceval make : ?serialNumber:??? -> ?base32StringSeed:??? -> ?qRCodePNG:??? -> ?user:??? -> ?enableDate:??? -> ?tags:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of BootstrapDatum.t | `List of [> `Structure of (string * [> `String of TagKeyType.t ]) list ] list | `String of SerialNumberType.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKeyType.t ]) list ] list | `String of PathType.t | `Structure of (string * [> `Enum of string | `String of ArnType.t ]) list | `Timestamp of DateType.t ]) list | `Timestamp of DateType.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