Module Values.AdminUpdateDeviceStatusRequestSource

The request to update the device status, as an administrator.

Sourcetype nonrec t = {
  1. userPoolId : UserPoolIdType.t;
    (*

    The ID of the user pool where you want to change a user's device status.

    *)
  2. username : UsernameType.t;
    (*

    The name of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

    *)
  3. deviceKey : DeviceKeyType.t;
    (*

    The unique identifier, or device key, of the device that you want to update the status for.

    *)
  4. deviceRememberedStatus : DeviceRememberedStatusType.t option;
    (*

    To enable device authentication with the specified device, set to remembered.To disable, set to not_remembered.

    *)
}
Sourceval context_ : string
Sourceval make : ?deviceRememberedStatus:??? -> userPoolId:UserPoolIdType.t -> username:UsernameType.t -> deviceKey:DeviceKeyType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of UserPoolIdType.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