Module Values.StartViewerSessionRevocationRequestSource

Starts the process of revoking the viewer session associated with a specified channel ARN and viewer ID. Optionally, you can provide a version to revoke viewer sessions less than and including that version. For instructions on associating a viewer ID with a viewer session, see Setting Up Private Channels.

Sourcetype nonrec t = {
  1. channelArn : ChannelArn.t;
    (*

    The ARN of the channel associated with the viewer session to revoke.

    *)
  2. viewerId : ViewerId.t;
    (*

    The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.

    *)
  3. viewerSessionVersionsLessThanOrEqualTo : ViewerSessionVersion.t option;
    (*

    An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.

    *)
}
Sourceval context_ : string
Sourceval make : ?viewerSessionVersionsLessThanOrEqualTo:??? -> channelArn:ChannelArn.t -> viewerId:ViewerId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of ViewerSessionVersion.t | `String of ChannelArn.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