Module Values.GetSchemaOutputSource

Retrieve the details for the specified schema in the specified policy store.

Sourcetype nonrec t = {
  1. policyStoreId : PolicyStoreId.t option;
    (*

    The ID of the policy store that contains the schema.

    *)
  2. schema : SchemaJson.t option;
    (*

    The body of the schema, written in Cedar schema JSON.

    *)
  3. createdDate : TimestampFormat.t option;
    (*

    The date and time that the schema was originally created.

    *)
  4. lastUpdatedDate : TimestampFormat.t option;
    (*

    The date and time that the schema was most recently updated.

    *)
  5. namespaces : NamespaceList.t option;
    (*

    The namespaces of the entities referenced by this schema.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?policyStoreId:??? -> ?schema:??? -> ?createdDate:??? -> ?lastUpdatedDate:??? -> ?namespaces:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Namespace.t ] list | `String of PolicyStoreId.t | `Timestamp of TimestampFormat.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