Values.CheckDocumentAccessResponseSourceVerifies if a user has access permissions for a specified document and returns the actual ACL attached to the document. Resolves user access on the document via user aliases and groups when verifying user access.
type nonrec t = {userGroups : AssociatedGroups.t option;An array of groups the user is part of for the specified data source. Each group has a name and type.
*)userAliases : AssociatedUsers.t option;An array of aliases associated with the user. This includes both global and local aliases, each with a name and type.
*)hasAccess : Boolean.t option;A boolean value indicating whether the specified user has access to the document, either direct access or transitive access via groups and aliases attached to the document.
*)documentAcl : DocumentAcl.t option;The Access Control List (ACL) associated with the document. Includes allowlist and denylist conditions that determine user access.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `List of
[> `Structure of
(string * [> `Enum of string | `String of GroupName.t ]) list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of String_.t ])
list ]
list ])
list ]
list ])
list ])
list ])
list ]